posix_spawn: fix stack setup on ia64 [BZ #21275]
[glibc.git] / ChangeLog
blob578714c4fba73257f95fa254c328c8de90d8a58e
1 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
3         [BZ #21275]
4         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
5         __stack to __stackbase.
6         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7         checks so we can include defined(__ia64__) first.
9 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
11         * sysdeps/unix/sysv/linux/ttyname.h: New file.
12         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
13         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
14         Call is_pty when the link does not exist or does not match, fail
15         with ENODEV when it returns true.
16         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
17         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
18         Call is_pty when the link does not exist or does not match, fail
19         with ENODEV when it returns true.
21 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
23         [BZ #16437]
24         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
25         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
26         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
27         x86_64-x32-linux.
28         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
29         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
30         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
32         [BZ #21261]
33         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
34         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
35         names for all fields.
36         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
37         for jmp_buf field renaming.
38         (_JMPBUF_UNWINDS_ADJ): Likewise.
40         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
41         with allow-header.
43 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
45         * malloc/malloc.c (unlink): Add consistency check between size and
46         next->prev->size, to further harden against 1-byte overflows.
48 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
50         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
51         CPU_FEATURES_CPU_P.
53 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
55         [BZ #21259]
56         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
57         unconditionally, not just for [__USE_MISC].
59         [BZ #17786]
60         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
61         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
62         mips-o32-linux.
64         [BZ #21260]
65         * sysdeps/unix/sysv/linux/alpha/Makefile
66         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
67         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
69         * conform/conformtest.pl ($cross): New variable.
70         (--cross): New command-line option.
71         (runtest): Skip test execution when cross-compiling.
72         * conform/Makefile (conformtest-cross): New variable.
73         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
74         conformtest.pl.
76         * conform/conformtest.pl ($xfail_str): New variable.
77         (--xfail=): New command-line option.
78         (top level): Handle expectations starting xfail[cond]-.
79         * conform/Makefile (conformtest-xfail): New variable.
80         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
81         conformtest.pl.
83 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
85         * conform/conformtest.pl: Use compilation instead of execution
86         tests for testing values of constants and usability in #if.
88 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
90         * math/auto-libm-test-in: Mark some catan and catanh as
91         xfail-rounding:ibm128-libgcc.
92         * math/auto-libm-test-out-catan: Regenerate.
93         * math/auto-libm-test-out-catanh: Likewise.
95 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
97         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
98         (__END_NAMESPACE_STD): Likewise.
99         (__USING_NAMESPACE_STD): Likewise.
100         (__BEGIN_NAMESPACE_C99): Likewise.
101         (__END_NAMESPACE_C99): Likewise.
102         (__USING_NAMESPACE_C99): Likewise.
103         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
104         undefine macro.
105         (_Mdouble_END_NAMESPACE): Likewise.
106         * ctype/ctype.h: Do not handle C++ namespaces.
107         * libio/bits/stdio-ldbl.h: Likewise.
108         * libio/stdio.h: Likewise.
109         * locale/locale.h: Likewise.
110         * math/bits/mathcalls.h: Likewise.
111         * setjmp/setjmp.h: Likewise.
112         * signal/signal.h: Likewise.
113         * stdlib/bits/stdlib-float.h: Likewise.
114         * stdlib/bits/stdlib-ldbl.h: Likewise.
115         * stdlib/stdlib.h: Likewise.
116         * string/string.h: Likewise.
117         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
118         * time/bits/types/clock_t.h: Likewise.
119         * time/bits/types/struct_tm.h: Likewise.
120         * time/bits/types/time_t.h: Likewise.
121         * time/time.h: Likewise.
122         * wcsmbs/bits/wchar-ldbl.h: Likewise.
123         * wcsmbs/uchar.h: Likewise.
124         * wcsmbs/wchar.h: Likewise.
125         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
126         * wctype/wctype.h: Do not handle C++ namespaces.
127         * scripts/begin-end-check.pl: Remove.
128         * Makefile (installed-headers): Likewise.
129         (tests-special): Do not add $(objpfx)begin-end-check.out.
130         ($(objpfx)begin-end-check.out): Remove.
132 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
133             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
135         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
136         (DL_PLATFORM_INIT): New define.
137         (dl_platform_init): New function.
138         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
139         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
140         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
141         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
142         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
144 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
146         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
147         instead of PIC.
149 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
151         [BZ #21094]
152         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
153         24+24+24-bit pi for wider range of values around pi/2.
154         * math/auto-libm-test-in: Add more tests of cos and tan.
155         * math/auto-libm-test-out-cos: Regenerated.
156         * math/auto-libm-test-out-tan: Likewise.
158 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
160         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
161         (RTLD_START): Don't record stack end address in _dl_start_user.
163 2017-03-15  Alexey Neyman  <stilor@att.net>
165         [BZ #21088]
166         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
167         around definitions match those around use.
169 2017-03-15  Alexey Neyman  <stilor@att.net>
171         * configure.ac: Avoid empty subexpression in grep.
172         * configure: Regenerate.
174 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
176         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
177         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
178         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
179         (test_wrp_rv): Fix format.
180         (test_wrp_rv2): New macro.
181         (do_test): Handle mlock return on 64 bits kernels with 32 bits
182         binaries.
184 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
186         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
187         Use a union when storing pointers.
188         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
189         cast result when passing to INIT_VEC_PTRS_LOOP.
190         (VECTOR_WRAPPER_fFF_3): Likewise.
191         (VECTOR_WRAPPER_fFF_4): Likewise.
193 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
195         * include/bits/mathcalls-helper-functions.h: New file.
196         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
197         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
198         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
199         math/bits/mathcalls-helper-functions.h.
200         * math/bits/mathcalls-helper-functions.h: New file.
201         * math/math.h: Include bits/mathcalls-helper-functions.h for
202         float, double, and long double.
204 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
206         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
207         instead of feraiseexcept.
209 2017-03-15  Florian Weimer  <fweimer@redhat.com>
211         [BZ #21243]
212         * support/temp_file.c (support_delete_temp_files): Add comment
213         about ignored errors.
215 2017-03-15  Florian Weimer  <fweimer@redhat.com>
217         [BZ #21244]
218         * support/xclose.c: New file.
219         * support/Makefile (libsupport-routines): Add xclose.
220         * support/xunistd.h (xclose): Declare.
221         * support/resolv_test.c (server_thread_tcp_client)
222         (server_thread_tcp, make_server_sockets, resolv_test_start)
223         (resolv_test_end): Call xclose instead of close.
224         * support/support_enter_network_namespace.c
225         (support_enter_network_namespace): Likewise.
226         * support/support_run_diff.c (write_to_temp_file): Likewise.
228 2017-03-15  Florian Weimer  <fweimer@redhat.com>
230         * support/support_format_dns_packet.c (support_format_dns_packet):
231         Handle CNAME records in the response.  Extract RDATA names from
232         rdata, not the whole packet.  Check AAAA record length.
233         * support/tst-support_format_dns_packet.c: New file.
234         * support/Makefile (tests): Add tst-support_format_dns_packet.
235         (tst-support_format_dns_packet): Link against libresolv.
237 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
239         [BZ #21232]
240         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
241         posix_fadvise64 weak_alias for static build.
243 2017-03-14  Andreas Schwab  <schwab@suse.de>
245         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
246         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
247         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
248         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
249         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
250         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
251         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
252         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
254 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
256         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
257         posix error code.
258         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
260 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
262         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
263         no_isolate usage for SH.
265 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
267         [BZ #15105]
268         [BZ #19463]
269         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
270         * inet/rcmd.c (rcmd_af): Likewise.
271         * inet/rexec.c   (rexec_af): Likewise.
272         * intl/dcigettext.c (_LIBC): Likewise.
273         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
274         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
275         * locale/setlocale.c (setlocale): Likewise.
276         * posix/spawn_faction_addopen.c
277         (posix_spawn_file_actions_addopen): Likewise.
278         * stdlib/putenv.c (putenv): Use __strndup.
279         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
280         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
281         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
282         (__Need_M_And_C) Remove define/undef.
283         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
284         (__malloc_and_calloc_defined): Remove define.
285         * string/bits/string2.h (__strdup): Remove define.
286         (strdup): Likewise.
287         (__strndup): Likewise.
288         (strndup): Likewise.
290 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
292         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
293         macro.
294         (IPV6_ADDR_PREFERENCES): Likewise.
295         (IPV6_MINHOPCOUNT): Likewise.
296         (IPV6_ORIGDSTADDR): Likewise.
297         (IPV6_RECVORIGDSTADDR): Likewise.
298         (IPV6_TRANSPARENT): Likewise.
299         (IPV6_UNICAST_IF): Likewise.
300         (IPV6_RECVFRAGSIZE): Likewise.
302 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
304         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
306 2017-03-12  Alexey Neyman <stilor@att.net>
308         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
309         in R_SH_DIR32 case is always false when inlined from
310         dl-conflict.c. Ifdef out to prevent GCC from insertin an
312 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
314         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
315         (__ASSUME_RECV_SYSCALL): Replace duplicate by
316         __ASSUME_SEND_SYSCALL.
318 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
320         * sunrpc/Makefile: don't build and install rpcsvc header
321         files, rpcgen and librpcsvc.a by default.
323 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
325         * math/auto-libm-test-out-catan: Regenerated.
326         * math/auto-libm-test-out-catanh: Likewise.
327         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
329 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
331         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
332         for long double with corrected test expectations.
334 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
336         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
337         Define.
338         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
339         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
340         * sysdeps/unix/sysv/linux/nios2/sysdep.h
341         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
342         * sysdeps/unix/sysv/linux/tile/sysdep.h
343         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
344         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
345         (__ASSUME_RECV_SYSCALL): Define.
346         * sysdeps/unix/sysv/linux/arm/kernel-features.h
347         (__ASSUME_RECV_SYSCALL): Likewise.
348         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
349         (__ASSUME_RECV_SYSCALL): Likewise.
350         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
351         (__ASSUME_RECV_SYSCALL): Likewise.
352         * sysdeps/unix/sysv/linux/mips/kernel-features.h
353         (__ASSUME_RECV_SYSCALL): Likewise.
354         * sysdeps/unix/sysv/linux/i386/kernel-features.h
355         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
356         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
357         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
358         * sysdeps/unix/sysv/linux/s390/kernel-features.h
359         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
360         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
361         auto-generation list.
362         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
363         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
364         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
365         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
366         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
367         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
368         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
369         __ASSUME_SENDTO_SYSCALL.
370         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
371         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
372         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
374         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
375         auto-generation list.
376         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
377         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
378         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
379         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
380         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
381         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
382         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
383         * sysdeps/unix/sysv/linux/kernel-features.h
384         (__ASSUME_SENDTO_SYSCALL): Define by default.
385         * sysdeps/unix/sysv/linux/i386/kernel-features.h
386         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
387         __NR_sendto.
388         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
389         (__ASSUME_SENDTO_SYSCALL): Likewise.
390         * sysdeps/unix/sysv/linux/s390/kernel-features.h
391         (__ASSUME_SENDTO_SYSCALL): Likewise.
392         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
393         (__ASSUME_SENDTO_SYSCALL): Remove definition.
394         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
395         (__ASSUME_SENDTO_SYSCALL): Likewise.
396         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
397         (__ASSUME_SENDTO_SYSCALL): Likewise.
398         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
400         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
401         auto-generation list.
402         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
403         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
404         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
405         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
406         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
407         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
408         (__ASSUME_RECV_SYSCALL): New define.
409         * sysdeps/unix/sysv/linux/arm/kernel-features.h
410         (__ASSUME_RECV_SYSCALL): Likewise.
411         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
412         (__ASSUME_RECV_SYSCALL): Likewise.
413         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
414         (__ASSUME_RECV_SYSCALL): Likewise.
415         * sysdeps/unix/sysv/linux/mips/kernel-features.h
416         (__ASSUME_RECV_SYSCALL): Likewise.
417         * sysdeps/unix/sysv/linux/i386/kernel-features.h
418         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
419         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
420         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
421         * sysdeps/unix/sysv/linux/s390/kernel-features.h
422         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
423         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
424         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
425         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
426         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
427         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
428         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
430         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
431         auto-generation list.
432         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
433         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
434         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
435         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
436         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
437         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
438         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
439         * sysdeps/unix/sysv/linux/i386/kernel-features.h
440         (__ASSUME_RECVFROM_SYSCALL): Define by default.
441         * sysdeps/unix/sysv/linux/kernel-features.h
442         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
443         __NR_recvfrom.
444         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
445         (__ASSUME_RECVFROM_SYSCALL): Likewise.
446         * sysdeps/unix/sysv/linux/s390/kernel-features.h
447         (__ASSUME_RECVFROM_SYSCALL): Likewise.
448         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
449         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
450         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
451         (__ASSUME_RECVFROM_SYSCALL): Likewise.
452         * sysdeps/unix/sysv/linux/sh/kernel-features.h
453         (__ASSUME_RECVFROM_SYSCALL): Likewise.
454         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
455         (__ASSUME_RECVFROM_SYSCALL): Likewise.
456         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
458         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
459         auto-generation list.
460         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
461         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
462         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
463         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
464         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
465         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
466         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
467         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
468         * sysdeps/unix/sysv/linux/kernel-features.h
469         (__ASSUME_CONNECT_SYSCALL): Define.
470         * sysdeps/unix/sysv/linux/i386/kernel-features.h
471         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
472         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
473         (__ASSUME_CONNECT_SYSCALL): Likewise.
474         * sysdeps/unix/sysv/linux/s390/kernel-features.h
475         (__ASSUME_CONNECT_SYSCALL): Likewise.
476         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
477         (__ASSUME_CONNECT_SYSCALL): Likewise.
479         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
480         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
481         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
482         auto-generation list.
483         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
484         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
485         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
486         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
487         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
488         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
489         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
490         * sysdeps/unix/sysv/linux/i386/kernel-features.h
491         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
492         (__ASSUME_ACCEPT_SYSCALL): Undefine.
493         * sysdeps/unix/sysv/linux/kernel-features.h
494         (__ASSUME_ACCEPT_SYSCALL): New define.
495         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
496         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
497         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
498         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
499         (__ASSUME_ACCEPT_SYSCALL): Define.
500         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
501         (__ASSUME_ACCEPT_SYSCALL): Undefine.
502         * sysdeps/unix/sysv/linux/s390/kernel-features.h
503         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
504         (__ASSUME_ACCEPT_SYSCALL): Undefine.
505         * sysdeps/unix/sysv/linux/sh/kernel-features.h
506         (__ASSUME_ACCEPT_SYSCALL): Undefine.
507         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
508         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
510 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
511             Zack Weinberg  <zackw@panix.com>
513         * posix/test-errno.c: New file.
514         * posix/Makefile (tests): Add test-errno.
515         * sysdeps/unix/sysv/linux/test-errno.c: New file.
516         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
518 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
520         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
522 2017-03-07  Florian Weimer  <fweimer@redhat.com>
524         * time/tzset.c (compute_offset): Open-code min macro.
525         (min, max, sign): Remove.
527 2017-03-07  Florian Weimer  <fweimer@redhat.com>
529         [BZ #15576]
530         Remove TZNAME_MAX limit from sysconf.
531         * include/time.h (__tzname_cur_max, __tzname_max): Remove
532         declaration.
533         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
534         compute_tzname_max.
535         (compute_tzname_max): Remove.
536         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
537         (update_vars): Do not update __tzname_cur_max.
538         (tzset_internal): Remove argument.
539         (__tzset): Adjust call to tzset_internal.
540         (__tz_convert): Likewise.
542         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
543         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
544         * manual/conf.texi (Sysconf Definition): Update comment.
546 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
548         [BZ #21209]
549         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
550         AT_SECURE processes.
551         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
552         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
553         (test_child): Likewise.
554         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
556 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
558         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
560 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
562         * sysdeps/s390/atomic-machine.h
563         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
564         (__arch_compare_and_exchange_val_8_acq,
565         __arch_compare_and_exchange_val_16_acq,
566         __arch_compare_and_exchange_val_32_acq,
567         __arch_compare_and_exchange_val_64_acq):
568         Delete macro.
569         (atomic_compare_and_exchange_val_acq,
570         atomic_compare_and_exchange_val_rel,
571         atomic_compare_and_exchange_bool_acq,
572         catomic_compare_and_exchange_bool_acq,
573         atomic_exchange_acq, atomic_exchange_rel,
574         atomic_exchange_and_add_acq,
575         atomic_exchange_and_add_rel,
576         catomic_exchange_and_add, atomic_or_val,
577         atomic_or, catomic_or, atomic_bit_test_set,
578         atomic_and_val, atomic_and, catomic_and):
579         Define macros with help of C11 atomic builtins.
581 2017-03-03  Justus Winter <justus@gnupg.org>
583         * sysdeps/mach/hurd/ftruncate64.c: New file.
584         * sysdeps/mach/hurd/truncate64.c: Likewise.
586 2017-03-03  Florian Weimer  <fweimer@redhat.com>
588         * time/tzfile.c (NOID): Do not define.
589         * time/tzset.c (NOID): Likewise.
591 2017-03-03  Florian Weimer  <fweimer@redhat.com>
593         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
595 2017-03-02  Florian Weimer  <fweimer@redhat.com>
597         * elf/get-dynamic-info.h: Remove header file inclusion guard.
599 2017-03-02  Florian Weimer  <fweimer@redhat.com>
601         [BZ #21015]
602         * manual/install.texi (Configuring and compiling): Document
603         --enable-bind-now.
604         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
605         (build-shlib-helper): Use $(LDFLAGS-lib.so).
606         (format.lds): Likewise.
607         [bind-now] (LDFLAGS-c.so): Remove.
608         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
609         be R_X86_64_GLOB_DAT.
610         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
611         relocation can be R_386_GLOB_DAT.
612         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
613         relocaiton can be R_ALPHA_GLOB_DAT.
614         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
616 2017-03-01  Zack Weinberg  <zackw@panix.com>
618         * include/libc-pointer-arith.h: New file.  Define
619         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
620         PTR_ALIGN_DOWN here.
621         * include/libc-internal.h: Definitions of above macros
622         moved from here.  Don't include libc-diag.h anymore either.
623         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
624         Don't include libc-internal.h.
626         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
627         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
628         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
629         * string/strcoll_l.c, sysdeps/nacl/brk.c
630         * sysdeps/unix/clock_settime.c
631         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
632         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
633         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
634         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
635         Don't include libc-internal.h.
637         * elf/get-dynamic-info.h, iconv/loop.c
638         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
639         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
640         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
641         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
642         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
643         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
644         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
645         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
646         * sysdeps/ieee754/ldbl-128/k_tanl.c
647         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
648         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
649         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
650         Include libc-diag.h instead of libc-internal.h.
652         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
653         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
654         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
655         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
656         * sysdeps/unix/sysv/linux/spawni.c
657         * sysdeps/x86_64/nptl/tls.h:
658         Include libc-pointer-arith.h instead of libc-internal.h.
660         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
661         * sysdeps/x86_64/atomic-machine.h:
662         Add multiple include guard.
664         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
665         * string/strcasestr.c: No need to include config.h.
666         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
667         sys/auxv.h. Don't include sysdep.h.
668         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
670         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
671         DL_LOOKUP_ADDRESS.
672         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
673         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
674         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
675         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
676         of ARTIFICIAL_LIMIT.
677         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
678         declaration of __clone2.
680 2017-02-28  Florian Weimer  <fweimer@redhat.com>
682         * scripts/backport-support.sh (latest_commit): New file.
684 2017-02-28  Florian Weimer  <fweimer@redhat.com>
686         [BZ #20257]
687         * inet/Makefile (routines): Add deadline.
688         (tests-static): Add tst-deadline.
689         * inet/net-internal.h (struct deadline_current_time)
690         (__deadline_current_time, struct deadline, __deadline_is_infinite)
691         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
692         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
693         * inet/deadline.c: New file.
694         * inet/tst-deadline.c: Likewise.
695         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
696         tst-udp-timeout, tst-udp-garbage.
697         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
698         explicitly.
699         (tst-udp-garbage): Likewise.  Also link against thread library.
700         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
701         struct layout is part of the ABI.
702         (clntudp_call): Rework timeout handling.
703         * sunrpc/tst-udp-garbage.c: New file.
704         * sunrpc/tst-udp-nonblocking.c: Likewise.
705         * sunrpc/tst-udp-timeout.c: Likewise.
707 2017-02-28  Florian Weimer  <fweimer@redhat.com>
709         [BZ #5010]
710         * sunrpc/svc.c (svc_is_mapped): Remove.
711         (svc_unregister): Obtain mapped status while the service is still
712         registered.
713         * sunrpc/Makefile [have-thread-library] (tests): Add
714         tst-svc_register.
715         (tst-svc_register): Link against libc.so explicitly and the thread
716         library.
717         * sunrpc/tst-svc_register.c: New file.
719 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
721         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
722         * sysdeps/pthread/bits/sigthread.h: Likewise.
724 2017-02-27  Florian Weimer  <fweimer@redhat.com>
726         [BZ #21115]
727         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
728         * sunrpc/Makefile (tests): Add tst-udp-error.
729         (tst-udp-error): Link against libc.so explicitly.
730         * sunrpc/tst-udp-error: New file.
732 2017-02-25  Zack Weinberg  <zackw@panix.com>
734         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
735         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
737         * sysdeps/generic/math_ldbl.h
738         * sysdeps/ia64/fpu/math_ldbl.h
739         * sysdeps/ieee754/ldbl-128/math_ldbl.h
740         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
741         * sysdeps/ieee754/ldbl-96/math_ldbl.h
742         * sysdeps/powerpc/fpu/math_ldbl.h
743         * sysdeps/x86_64/fpu/math_ldbl.h:
744         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
745         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
746         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
747         Add copyright notices.
749         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
750         Don't use EXTRACT_WORDS64.
752         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
753         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
754         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
755         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
756         Include math_ldbl.h, not math_private.h.
758 2017-02-25  Zack Weinberg  <zackw@panix.com>
760         * include/libc-diag.h: New file.  Define ignore_value,
761         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
762         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
764         * include/libc-internal.h: Definitions of above macros moved from
765         here.  Include libc-diag.h.  Add copyright notice.
767         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
768         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
769         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
770         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
771         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
772         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
773         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
774         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
775         Include libc-diag.h instead of libc-internal.h.
777         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
778         call to unsetenv (NULL).
779         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
780         call to pthread_mutexattr_destroy (NULL).
782 2017-02-25  Zack Weinberg  <zackw@panix.com>
784         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
785         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
786         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
787         gets was removed from C++ in C++14.
788         * include/stdio.h: Remove redundant declaration of gets.
789         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
790         be declared, since we are testing it.
791         * stdio-common/Makefile (tst-gets.c): Compile with
792         -Wno-deprecated-declarations.
793         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
794         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
795         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
796         Compile with -Wno-deprecated-declarations.
798 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
800         * math/libm-test-support.c (check_ulp): Use LIT() around literal
801         numbers.
803 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
805         * resolv/tst-resolv-qtypes.c (domain):
806         Change type to const pointer to const char.
808 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
810         * math/Makefile (libm-tests-generated): Remove variable.
811         (libm-tests-base-normal): New variable.
812         (libm-tests-base-finite): Likewise.
813         (libm-tests-base-inline): Likewise.
814         (libm-tests-base): Likewise.
815         (libm-tests-normal): Likewise.
816         (libm-tests-finite): Likewise.
817         (libm-tests-inline): Likewise.
818         (libm-tests-vector): Likewise.
819         (libm-tests): Define in terms of these new variables.
820         (libm-tests-for-type): New variable.
821         (libm-tests.o): Move definition.
822         (tests): Move addition of $(libm-tests).
823         (generated): Update for new and removed libm test files.
824         ($(objpfx)libm-test.c): Remove target.
825         ($(objpfx)libm-have-vector-test.h): Likewise.
826         (CFLAGS-test-double-vlen2.c): Remove variable.
827         (CFLAGS-test-double-vlen4.c): Likewise.
828         (CFLAGS-test-double-vlen8.c): Likewise.
829         (CFLAGS-test-float-vlen4.c): Likewise.
830         (CFLAGS-test-float-vlen8.c): Likewise.
831         (CFLAGS-test-float-vlen16.c): Likewise.
832         (CFLAGS-test-float.c): Likewise.
833         (CFLAGS-test-float-finite.c): Likewise.
834         (CFLAGS-libm-test-support-float.c): Likewise.
835         (CFLAGS-test-double.c): Likewise.
836         (CFLAGS-test-double-finite.c): Likewise.
837         (CFLAGS-libm-test-support-double.c): Likewise.
838         (CFLAGS-test-ldouble.c): Likewise.
839         (CFLAGS-test-ldouble-finite.c): Likewise.
840         (CFLAGS-libm-test-support-ldouble.c): Likewise.
841         (libm-test-inline-cflags): New variable.
842         (CFLAGS-test-ifloat.c): Remove variable.
843         (CFLAGS-test-idouble.c): Likewise.
844         (CFLAGS-test-ildouble.c): Likewise.
845         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
846         dependencies.
847         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
848         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
849         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
850         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
851         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
852         Likewise.
853         (dependencies on libm-test-support-*.o): Remove.
854         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
855         rules using iterators.
856         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
857         Likewise.
858         ($(objpfx)libm-test-support-$(o).o): Likewise.
859         ($(addprefix $(objpfx),$(filter-out $(tests-static)
860         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
861         instead.
862         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
863         define rule instead.
864         * math/README.libm-test: Update.
865         * math/libm-test-acos.inc: Include libm-test-driver.c.
866         (do_test): New function.
867         * math/libm-test-acosh.inc: Include libm-test-driver.c.
868         (do_test): New function.
869         * math/libm-test-asin.inc: Include libm-test-driver.c.
870         (do_test): New function.
871         * math/libm-test-asinh.inc: Include libm-test-driver.c.
872         (do_test): New function.
873         * math/libm-test-atan.inc: Include libm-test-driver.c.
874         (do_test): New function.
875         * math/libm-test-atan2.inc: Include libm-test-driver.c.
876         (do_test): New function.
877         * math/libm-test-atanh.inc: Include libm-test-driver.c.
878         (do_test): New function.
879         * math/libm-test-cabs.inc: Include libm-test-driver.c.
880         (do_test): New function.
881         * math/libm-test-cacos.inc: Include libm-test-driver.c.
882         (do_test): New function.
883         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
884         (do_test): New function.
885         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
886         (do_test): New function.
887         * math/libm-test-carg.inc: Include libm-test-driver.c.
888         (do_test): New function.
889         * math/libm-test-casin.inc: Include libm-test-driver.c.
890         (do_test): New function.
891         * math/libm-test-casinh.inc: Include libm-test-driver.c.
892         (do_test): New function.
893         * math/libm-test-catan.inc: Include libm-test-driver.c.
894         (do_test): New function.
895         * math/libm-test-catanh.inc: Include libm-test-driver.c.
896         (do_test): New function.
897         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
898         (do_test): New function.
899         * math/libm-test-ccos.inc: Include libm-test-driver.c.
900         (do_test): New function.
901         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
902         (do_test): New function.
903         * math/libm-test-ceil.inc: Include libm-test-driver.c.
904         (do_test): New function.
905         * math/libm-test-cexp.inc: Include libm-test-driver.c.
906         (do_test): New function.
907         * math/libm-test-cimag.inc: Include libm-test-driver.c.
908         (do_test): New function.
909         * math/libm-test-clog.inc: Include libm-test-driver.c.
910         (do_test): New function.
911         * math/libm-test-clog10.inc: Include libm-test-driver.c.
912         (do_test): New function.
913         * math/libm-test-conj.inc: Include libm-test-driver.c.
914         (do_test): New function.
915         * math/libm-test-copysign.inc: Include libm-test-driver.c.
916         (do_test): New function.
917         * math/libm-test-cos.inc: Include libm-test-driver.c.
918         (do_test): New function.
919         * math/libm-test-cosh.inc: Include libm-test-driver.c.
920         (do_test): New function.
921         * math/libm-test-cpow.inc: Include libm-test-driver.c.
922         (do_test): New function.
923         * math/libm-test-cproj.inc: Include libm-test-driver.c.
924         (do_test): New function.
925         * math/libm-test-creal.inc: Include libm-test-driver.c.
926         (do_test): New function.
927         * math/libm-test-csin.inc: Include libm-test-driver.c.
928         (do_test): New function.
929         * math/libm-test-csinh.inc: Include libm-test-driver.c.
930         (do_test): New function.
931         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
932         (do_test): New function.
933         * math/libm-test-ctan.inc: Include libm-test-driver.c.
934         (do_test): New function.
935         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
936         (do_test): New function.
937         * math/libm-test-erf.inc: Include libm-test-driver.c.
938         (do_test): New function.
939         * math/libm-test-erfc.inc: Include libm-test-driver.c.
940         (do_test): New function.
941         * math/libm-test-exp.inc: Include libm-test-driver.c.
942         (do_test): New function.
943         * math/libm-test-exp10.inc: Include libm-test-driver.c.
944         (do_test): New function.
945         * math/libm-test-exp2.inc: Include libm-test-driver.c.
946         (do_test): New function.
947         * math/libm-test-expm1.inc: Include libm-test-driver.c.
948         (do_test): New function.
949         * math/libm-test-fabs.inc: Include libm-test-driver.c.
950         (do_test): New function.
951         * math/libm-test-fdim.inc: Include libm-test-driver.c.
952         (do_test): New function.
953         * math/libm-test-floor.inc: Include libm-test-driver.c.
954         (do_test): New function.
955         * math/libm-test-fma.inc: Include libm-test-driver.c.
956         (do_test): New function.
957         * math/libm-test-fmax.inc: Include libm-test-driver.c.
958         (do_test): New function.
959         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
960         (do_test): New function.
961         * math/libm-test-fmin.inc: Include libm-test-driver.c.
962         (do_test): New function.
963         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
964         (do_test): New function.
965         * math/libm-test-fmod.inc: Include libm-test-driver.c.
966         (do_test): New function.
967         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
968         (do_test): New function.
969         * math/libm-test-frexp.inc: Include libm-test-driver.c.
970         (do_test): New function.
971         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
972         (do_test): New function.
973         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
974         (do_test): New function.
975         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
976         (do_test): New function.
977         * math/libm-test-hypot.inc: Include libm-test-driver.c.
978         (do_test): New function.
979         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
980         (do_test): New function.
981         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
982         (do_test): New function.
983         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
984         (do_test): New function.
985         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
986         (do_test): New function.
987         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
988         (do_test): New function.
989         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
990         (do_test): New function.
991         * math/libm-test-isinf.inc: Include libm-test-driver.c.
992         (do_test): New function.
993         * math/libm-test-isless.inc: Include libm-test-driver.c.
994         (do_test): New function.
995         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
996         (do_test): New function.
997         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
998         (do_test): New function.
999         * math/libm-test-isnan.inc: Include libm-test-driver.c.
1000         (do_test): New function.
1001         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
1002         (do_test): New function.
1003         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
1004         (do_test): New function.
1005         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
1006         (do_test): New function.
1007         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
1008         (do_test): New function.
1009         * math/libm-test-iszero.inc: Include libm-test-driver.c.
1010         (do_test): New function.
1011         * math/libm-test-j0.inc: Include libm-test-driver.c.
1012         (do_test): New function.
1013         * math/libm-test-j1.inc: Include libm-test-driver.c.
1014         (do_test): New function.
1015         * math/libm-test-jn.inc: Include libm-test-driver.c.
1016         (do_test): New function.
1017         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
1018         (do_test): New function.
1019         * math/libm-test-llogb.inc: Include libm-test-driver.c.
1020         (do_test): New function.
1021         * math/libm-test-llrint.inc: Include libm-test-driver.c.
1022         (do_test): New function.
1023         * math/libm-test-llround.inc: Include libm-test-driver.c.
1024         (do_test): New function.
1025         * math/libm-test-log.inc: Include libm-test-driver.c.
1026         (do_test): New function.
1027         * math/libm-test-log10.inc: Include libm-test-driver.c.
1028         (do_test): New function.
1029         * math/libm-test-log1p.inc: Include libm-test-driver.c.
1030         (do_test): New function.
1031         * math/libm-test-log2.inc: Include libm-test-driver.c.
1032         (do_test): New function.
1033         * math/libm-test-logb.inc: Include libm-test-driver.c.
1034         (do_test): New function.
1035         * math/libm-test-lrint.inc: Include libm-test-driver.c.
1036         (do_test): New function.
1037         * math/libm-test-lround.inc: Include libm-test-driver.c.
1038         (do_test): New function.
1039         * math/libm-test-modf.inc: Include libm-test-driver.c.
1040         (do_test): New function.
1041         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
1042         (do_test): New function.
1043         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
1044         (do_test): New function.
1045         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
1046         (do_test): New function.
1047         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
1048         (do_test): New function.
1049         * math/libm-test-nextup.inc: Include libm-test-driver.c.
1050         (do_test): New function.
1051         * math/libm-test-pow.inc: Include libm-test-driver.c.
1052         (do_test): New function.
1053         * math/libm-test-remainder.inc: Include libm-test-driver.c.
1054         (do_test): New function.
1055         * math/libm-test-remquo.inc: Include libm-test-driver.c.
1056         (do_test): New function.
1057         * math/libm-test-rint.inc: Include libm-test-driver.c.
1058         (do_test): New function.
1059         * math/libm-test-round.inc: Include libm-test-driver.c.
1060         (do_test): New function.
1061         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
1062         (do_test): New function.
1063         * math/libm-test-scalb.inc: Include libm-test-driver.c.
1064         (do_test): New function.
1065         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
1066         (do_test): New function.
1067         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
1068         (do_test): New function.
1069         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
1070         (do_test): New function.
1071         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
1072         (do_test): New function.
1073         * math/libm-test-signbit.inc: Include libm-test-driver.c.
1074         (do_test): New function.
1075         * math/libm-test-significand.inc: Include libm-test-driver.c.
1076         (do_test): New function.
1077         * math/libm-test-sin.inc: Include libm-test-driver.c.
1078         (do_test): New function.
1079         * math/libm-test-sincos.inc: Include libm-test-driver.c.
1080         (do_test): New function.
1081         * math/libm-test-sinh.inc: Include libm-test-driver.c.
1082         (do_test): New function.
1083         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
1084         (do_test): New function.
1085         * math/libm-test-tan.inc: Include libm-test-driver.c.
1086         (do_test): New function.
1087         * math/libm-test-tanh.inc: Include libm-test-driver.c.
1088         (do_test): New function.
1089         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
1090         (do_test): New function.
1091         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
1092         (do_test): New function.
1093         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
1094         (do_test): New function.
1095         * math/libm-test-trunc.inc: Include libm-test-driver.c.
1096         (do_test): New function.
1097         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
1098         (do_test): New function.
1099         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
1100         (do_test): New function.
1101         * math/libm-test-y0.inc: Include libm-test-driver.c.
1102         (do_test): New function.
1103         * math/libm-test-y1.inc: Include libm-test-driver.c.
1104         (do_test): New function.
1105         * math/libm-test-yn.inc: Include libm-test-driver.c.
1106         (do_test): New function.
1107         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
1108         (HAVE_VECTOR): Remove macro.
1109         (START): Do not call HAVE_VECTOR.
1110         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
1111         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
1112         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
1113         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
1114         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
1115         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
1116         * math/test-math-vector.h (FUNC_TEST): New macro.
1117         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
1118         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
1119         (double-vlen4-funcs): Likewise.
1120         (double-vlen4-avx2-funcs): Likewise.
1121         (double-vlen8-funcs): Likewise.
1122         (float-vlen4-funcs): Likewise.
1123         (float-vlen8-funcs): Likewise.
1124         (float-vlen8-avx2-funcs): Likewise.
1125         (float-vlen16-funcs): Likewise.
1126         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
1127         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
1128         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
1129         macro.
1130         (TEST_VECTOR_sin): Likewise.
1131         (TEST_VECTOR_sincos): Likewise.
1132         (TEST_VECTOR_log): Likewise.
1133         (TEST_VECTOR_exp): Likewise.
1134         (TEST_VECTOR_pow): Likewise.
1135         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
1136         Likewise.
1137         (TEST_VECTOR_sin): Likewise.
1138         (TEST_VECTOR_sincos): Likewise.
1139         (TEST_VECTOR_log): Likewise.
1140         (TEST_VECTOR_exp): Likewise.
1141         (TEST_VECTOR_pow): Likewise.
1142         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
1143         Likewise.
1144         (TEST_VECTOR_sinf): Likewise.
1145         (TEST_VECTOR_sincosf): Likewise.
1146         (TEST_VECTOR_logf): Likewise.
1147         (TEST_VECTOR_expf): Likewise.
1148         (TEST_VECTOR_powf): Likewise.
1149         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
1150         Likewise.
1151         (TEST_VECTOR_sinf): Likewise.
1152         (TEST_VECTOR_sincosf): Likewise.
1153         (TEST_VECTOR_logf): Likewise.
1154         (TEST_VECTOR_expf): Likewise.
1155         (TEST_VECTOR_powf): Likewise.
1156         * math/gen-libm-have-vector-test.sh: Remove file.
1157         * math/libm-test.inc: Likewise.
1158         * math/libm-test-support-double.c: Likewise.
1159         * math/libm-test-support-float.c: Likewise.
1160         * math/libm-test-support-ldouble.c: Likewise.
1161         * math/test-double-finite.c: Likewise.: Likewise.
1162         * math/test-double.c: Likewise.
1163         * math/test-float-finite.c: Likewise.
1164         * math/test-float.c: Likewise.
1165         * math/test-idouble.c: Likewise.
1166         * math/test-ifloat.c: Likewise.
1167         * math/test-ildouble.c: Likewise.
1168         * math/test-ldouble-finite.c: Likewise.
1169         * math/test-ldouble.c: Likewise.
1170         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1171         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
1172         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1173         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1174         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1175         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1176         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1177         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
1178         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1179         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1181 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1182            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1184         * math/Makefile: Add wrappers to gen-libm-calls.
1185         * math/w_acos_template.c: New file.
1186         * math/w_acosh_template.c: Likewise.
1187         * math/w_asin_template.c: Likewise.
1188         * math/w_atan2_template.c: Likewise.
1189         * math/w_atanh_template.c: Likewise.
1190         * math/w_cosh_template.c: Likewise.
1191         * math/w_exp10_template.c: Likewise.
1192         * math/w_exp2_template.c: Likewise.
1193         * math/w_exp_template.c: Likewise.
1194         * math/w_fmod_template.c: Likewise.
1195         * math/w_hypot_template.c: Likewise.
1196         * math/w_j0_template.c: Likewise.
1197         * math/w_j1_template.c: Likewise.
1198         * math/w_jn_template.c: Likewise.
1199         * math/w_lgamma_r_template.c: Likewise.
1200         * math/w_lgamma_template.c: Likewise.
1201         * math/w_log10_template.c: Likewise.
1202         * math/w_log2_template.c: Likewise.
1203         * math/w_log_template.c: Likewise.
1204         * math/w_pow_template.c: Likewise.
1205         * math/w_remainder_template.c: Likewise.
1206         * math/w_sinh_template.c: Likewise.
1207         * math/w_sqrt_template.c: Likewise.
1208         * math/w_tgamma_template.c: Likewise.: Likewise.
1209         * sysdeps/generic/math-type-macros-double.h
1210         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
1211         the new wrappers.
1212         * sysdeps/generic/math-type-macros-float.h: Likewise.
1213         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1215 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
1217         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
1218         New enum constant and macro.
1220         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1221         kernel version to 4.10.
1223 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
1225         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
1227 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1231 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1233         * sysdeps/powerpc/tst-set_ppr.c: New file.
1234         Implement test cases for __ppc_set_ppr_* functions.
1235         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
1236         in the list of tests.
1238 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1240         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
1241         instead of test-skeleton.c.
1242         (do_test): Replaced pthread_create and pthread_join with
1243         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
1244         Removed unneeded status variable.
1245         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
1246         instead of test-skeleton.c.
1247         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
1249 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
1251         [BZ #20313]
1252         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1253         201605L, for Unicode 9.
1255 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
1257         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
1258         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1259         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1260         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1261         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1262         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1264 2017-02-19  Zack Weinberg  <zackw@panix.com>
1266         * rt/tst-mqueue4.c: Include stdint.h.
1268 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1270         * sysdeps/arm/libm-test-ulps: Update.
1271         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1272         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1273         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1275 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1277         [BZ #21029]
1278         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
1279         * sysdeps/unix/sysv/linux/i386/Makefile
1280         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
1281         (uses-6-syscall-arguments): Remove.
1282         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
1283         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
1284         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
1285         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
1286         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
1287         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
1288         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
1289         [$(subdir) = misc] (cflags-pselect.o): Likewise.
1290         [$(subdir) = misc] (cflags-pselect.os): Likewise.
1291         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
1292         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
1293         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
1294         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
1295         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
1296         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
1297         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
1298         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
1299         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
1300         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
1301         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
1302         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
1303         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
1304         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
1305         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
1306         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
1307         Likewise.
1308         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
1309         Likewise.
1310         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
1311         Likewise.
1312         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
1313         Likewise.
1314         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
1315         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
1316         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
1317         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
1318         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
1319         ebp on inline assembly.
1320         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
1321         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1322         Set if CAN_USE_REGISTER_ASM_EBP is set.
1324 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
1326         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
1327         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
1329 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1331         * math/auto-libm-test-in: Add tests of catan and catanh.
1332         * math/auto-libm-test-out-catan: New generated file.
1333         * math/auto-libm-test-out-catanh: Likewise.
1334         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
1335         Move tests with finite inputs, except divide-by-zero cases, to
1336         auto-libm-test-in.
1337         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
1338         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
1339         (libm-test-funcs-noauto): Remove catan and catanh.
1340         * sysdeps/i386/fpu/libm-test-ulps: Update.
1341         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1344         * math/auto-libm-test-in: Add tests of casin and casinh.
1345         * math/auto-libm-test-out-casin: New generated file.
1346         * math/auto-libm-test-out-casinh: Likewise.
1347         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
1348         Move tests with finite inputs to auto-libm-test-in.
1349         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
1350         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
1351         (libm-test-funcs-noauto): Remove casin and casinh.
1352         * sysdeps/i386/fpu/libm-test-ulps: Update.
1353         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1356         * math/auto-libm-test-in: Add tests of cacos and cacosh.
1357         * math/auto-libm-test-out-cacos: New generated file.
1358         * math/auto-libm-test-out-cacosh: Likewise.
1359         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
1360         Move tests with finite inputs to auto-libm-test-in.
1361         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
1362         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
1363         (libm-test-funcs-noauto): Remove cacos and cacosh.
1364         * sysdeps/i386/fpu/libm-test-ulps: Update.
1365         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1368         Revert:
1369         2017-02-16  Zack Weinberg  <zackw@panix.com>
1371         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1372         Don't include init-arch.h.
1373         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1374         Don't include init-arch.h.
1376 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1378         [BZ #21171]
1379         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
1380         +Inf and raise divide-by-zero when x is negative.
1381         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
1382         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
1383         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
1384         -Inf and raise divide-by-zero when x = +-0.
1385         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1386         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
1387         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
1388         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
1389         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1390         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1391         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1393 2017-02-16  Zack Weinberg  <zackw@panix.com>
1395         * scripts/build-many-glibcs.py (bot_build_mail): If the
1396         bot_config does not contain all of the necessary email-
1397         related settings, just print a warning and continue.
1399 2017-02-16  Zack Weinberg  <zackw@panix.com>
1401         * crypt/md5.h: Test _LIBC with #if defined, not #if.
1402         * dirent/opendir-tst1.c: Include sys/stat.h.
1403         * dirent/tst-fdopendir.c: Include sys/stat.h.
1404         * dirent/tst-fdopendir2.c: Include stdlib.h.
1405         * dirent/tst-scandir.c: Include stdbool.h.
1406         * elf/tst-auditmod1.c: Include link.h and stddef.h.
1407         * elf/tst-tls15.c: Include stdlib.h.
1408         * elf/tst-tls16.c: Include stdlib.h.
1409         * elf/tst-tls17.c: Include stdlib.h.
1410         * elf/tst-tls18.c: Include stdlib.h.
1411         * iconv/tst-iconv6.c: Include endian.h.
1412         * iconvdata/bug-iconv11.c: Include limits.h.
1413         * io/test-utime.c: Include stdint.h.
1414         * io/tst-faccessat.c: Include sys/stat.h.
1415         * io/tst-fchmodat.c: Include sys/stat.h.
1416         * io/tst-fchownat.c: Include sys/stat.h.
1417         * io/tst-fstatat.c: Include sys/stat.h.
1418         * io/tst-futimesat.c: Include sys/stat.h.
1419         * io/tst-linkat.c: Include sys/stat.h.
1420         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
1421         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
1422         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
1423         * io/tst-openat.c: Include stdbool.h.
1424         * io/tst-readlinkat.c: Include sys/stat.h.
1425         * io/tst-renameat.c: Include sys/stat.h.
1426         * io/tst-symlinkat.c: Include sys/stat.h.
1427         * io/tst-unlinkat.c: Include stdbool.h.
1428         * libio/bug-memstream1.c: Include stdlib.h.
1429         * libio/bug-wmemstream1.c: Include stdlib.h.
1430         * libio/tst-fwrite-error.c: Include stdlib.h.
1431         * libio/tst-memstream1.c: Include stdlib.h.
1432         * libio/tst-memstream2.c: Include stdlib.h.
1433         * libio/tst-memstream3.c: Include stdlib.h.
1434         * malloc/tst-interpose-aux.c: Include stdint.h.
1435         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
1436         * nptl/tst-basic7.c: Include limits.h.
1437         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
1438         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
1439         * nptl/tst-cancel4_1.c: Include stddef.h.
1440         * nptl/tst-cancel4_2.c: Include stddef.h.
1441         * nptl/tst-cond16.c: Include limits.h.
1442         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1443         * nptl/tst-cond18.c: Include limits.h.
1444         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1445         * nptl/tst-cond4.c: Include stdint.h.
1446         * nptl/tst-cond6.c: Include stdint.h.
1447         * nptl/tst-stack2.c: Include limits.h.
1448         * nptl/tst-stackguard1.c: Include stddef.h.
1449         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
1450         * nptl/tst-tls4moda.c: Include stddef.h.
1451         Don't include stdio.h, unistd.h, or tls.h.
1452         * nptl/tst-tls4modb.c: Include stddef.h.
1453         Don't include stdio.h, unistd.h, or tls.h.
1454         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
1455         * posix/tst-getaddrinfo2.c: Include stdio.h.
1456         * posix/tst-getaddrinfo5.c: Include stdio.h.
1457         * posix/tst-pathconf.c: Include sys/stat.h.
1458         * posix/tst-posix_fadvise-common.c: Include stdint.h.
1459         * posix/tst-preadwrite-common.c: Include sys/stat.h.
1460         * posix/tst-regex.c: Include stdint.h.
1461         Don't include spawn.h or spawn_int.h.
1462         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
1463         * posix/tst-vfork3.c: Include sys/stat.h.
1464         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
1465         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
1466         * resolv/tst-resolv-search.c: Include stdlib.h.
1467         * stdio-common/tst-fmemopen2.c: Include stdint.h.
1468         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
1469         * stdlib/test-canon.c: Include sys/stat.h.
1470         * stdlib/tst-tls-atexit.c: Include stdbool.h.
1471         * string/test-memchr.c: Include stdint.h.
1472         * string/tst-cmp.c: Include stdint.h.
1473         * sysdeps/pthread/tst-timer.c: Include stdint.h.
1474         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
1475         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
1476         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1477         Don't include init-arch.h.
1478         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1479         Don't include init-arch.h.
1480         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
1481         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
1482         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
1483         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
1484         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
1485         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
1486         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
1487         * time/clocktest.c: Include stdint.h.
1488         * time/tst-posixtz.c: Include stdint.h.
1489         * timezone/tst-timezone.c: Include stdint.h.
1491 2017-02-16  Zack Weinberg  <zackw@panix.com>
1493         * string/string.h [__USE_MISC]: Include strings.h.
1494         (__bzero, bcmp, bcopy, bzero, index, rindex)
1495         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
1496         (ffs, ffsl, ffsll): Don't declare.
1497         * string/strings.h: Do not suppress the file if string.h has
1498         already been included.
1499         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
1500         annotations.
1501         (index, rindex): Define inline forwarders even if
1502         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
1503         (ffs): Use __attribute_const__.
1504         (ffsl, ffsll): Declare here.
1505         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
1506         have now been standardized.
1507         * include/string.h (__bzero): Declare here.
1509         * bits/types.h: Move to posix/bits.
1510         * include/bits/types.h: New wrapper.
1512 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1514         * string/bits/string2.h (strcmp): Remove define.
1515         (__strcmp_cg): Likewise.
1516         (strncmp): Likewise.
1518 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1520         * include/string.h: Add __cplusplus check.
1522 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1524         [BZ #21134]
1525         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
1526         "divide by zero" exception when the input is zero.
1527         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
1528         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
1529         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
1530         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
1531         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1533 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
1535         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
1536         and include ...
1537         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
1538         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
1539         to, and include ...
1540         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
1541         file.
1542         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
1543         and include ...
1544         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
1545         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
1546         and include ...
1547         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
1548         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
1549         and include ...
1550         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
1551         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
1552         and include ...
1553         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
1554         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
1555         to, and include ...
1556         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
1557         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
1558         and include ...
1559         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
1561 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
1563         * math/libm-test-support.h: Do not include <math-tests-arch.h>
1564         here.
1565         * math/libm-test-support.c (libm_test_init): Do not call
1566         INIT_ARCH_EXT here.
1567         * math/libm-test-driver.c: Include <math-tests-arch.h>.
1568         (main): Call INIT_ARCH_EXT.
1570 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1572         [BZ #21130]
1573         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
1574         with the "invalid" exception raised when x is -Inf.
1575         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1577 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
1579         * string/bits/string2.h (strchr): Remove define.
1581 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
1583         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
1584         tst-avx512.
1585         (test-extras): Add tst-avx-aux and tst-avx512-aux.
1586         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
1587         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
1588         ($(objpfx)tst-sse): New rule.
1589         ($(objpfx)tst-avx): Likewise.
1590         ($(objpfx)tst-avx512): Likewise.
1591         (CFLAGS-tst-avx-aux.c): New.
1592         (CFLAGS-tst-avxmod.c): Likewise.
1593         (CFLAGS-tst-avx512-aux.c): Likewise.
1594         (CFLAGS-tst-avx512mod.c): Likewise.
1595         * sysdeps/x86_64/tst-avx-aux.c: New file.
1596         * sysdeps/x86_64/tst-avx.c: Likewise.
1597         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
1598         * sysdeps/x86_64/tst-avx512.c: Likewise.
1599         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
1600         * sysdeps/x86_64/tst-avxmod.c: Likewise.
1601         * sysdeps/x86_64/tst-sse.c: Likewise.
1602         * sysdeps/x86_64/tst-ssemod.c: Likewise.
1604 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1606         * math/auto-libm-test-in: Add more tests of csin and csinh.
1607         * math/auto-libm-test-out-csin: Regenerated.
1608         * math/auto-libm-test-out-csinh: Likewise.
1609         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
1610         auto-libm-test-in.
1611         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
1613 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1615         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
1616         libm-compat-calls-auto.
1617         (libm-compat-calls): Likewise.
1618         (libm-compat-calls-auto): Rename to libm-compat-calls and add
1619         w_lgamma_compatF and k_standardF (merged from the items above).
1620         (libm-routines): Use libm-compat-calls, instead of
1621         libm-compat-calls-auto, with type-foreach.
1623 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1625         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
1626         macro.
1627         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
1628         (CFLAGS-test-ifloat.c): ... this.  Remove
1629         -U__LIBC_INTERNAL_MATH_INLINES.
1630         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
1631         (CFLAGS-test-idouble.c): ... this.  Remove
1632         -U__LIBC_INTERNAL_MATH_INLINES.
1633         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
1634         (CFLAGS-test-ildouble.c): ... this.  Remove
1635         -U__LIBC_INTERNAL_MATH_INLINES.
1637 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
1639         * math/libm-test-support.c: New file.  Content from
1640         math/libm-test-driver.c.
1641         * math/libm-test-support.h: Likewise.
1642         * math/libm-test-support-double.c: New file.
1643         * math/libm-test-support-float.c: Likewise.
1644         * math/libm-test-support-ldouble.c: Likewise.
1645         * math/libm-test-driver.c: Remove main comment and header
1646         includes.  Include libm-test-support.h.
1647         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
1648         (flag_test_errno): Remove static.
1649         (flag_test_exceptions): Likewise.
1650         (flag_test_finite): Likewise.
1651         (flag_test_inline): Likewise.
1652         (flag_test_mathvec): Likewise.
1653         (test_msg): Likewise.
1654         (NO_EXCEPTION): Remove.
1655         (INVALID_EXCEPTION): Likewise.
1656         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1657         (OVERFLOW_EXCEPTION): Likewise.
1658         (UNDERFLOW_EXCEPTION): Likewise.
1659         (INEXACT_EXCEPTION): Likewise.
1660         (INVALID_EXCEPTION_OK): Likewise.
1661         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1662         (OVERFLOW_EXCEPTION_OK): Likewise.
1663         (UNDERFLOW_EXCEPTION_OK): Likewise.
1664         (NO_INEXACT_EXCEPTION): Likewise.
1665         (EXCEPTIONS_OK): Likewise.
1666         (IGNORE_ZERO_INF_SIGN): Likewise.
1667         (TEST_NAN_SIGN): Likewise.
1668         (TEST_NAN_PAYLOAD): Likewise.
1669         (NO_TEST_INLINE): Likewise.
1670         (XFAIL_TEST): Likewise.
1671         (ERRNO_UNCHANGED): Likewise.
1672         (ERRNO_EDOM): Likewise.
1673         (ERRNO_ERANGE): Likewise.
1674         (IGNORE_RESULT): Likewise.
1675         (NON_FINITE): Likewise.
1676         (TEST_SNAN): Likewise.
1677         (NO_TEST_MATHVEC): Likewise.
1678         (__CONCATX): Likewise.
1679         (TYPE_MIN): Likewise.
1680         (TYPE_TRUE_MIN): Likewise.
1681         (TYPE_MAX): Likewise.
1682         (MIN_EXP): Likewise.
1683         (MAX_EXP): Likewise.
1684         (MANT_DIG): Likewise.
1685         (FSTR_MAX): Likewise.
1686         (ulp_idx): Likewise.
1687         (qtype_str): Remove static.
1688         (TEST_COND_binary32): Remove.
1689         (TEST_COND_binary64): Likewise.
1690         (TEST_COND_binary128): Likewise.
1691         (TEST_COND_ibm128): Likewise.
1692         (TEST_COND_intel96): Likewise.
1693         (TEST_COND_m68k96): Likewise.
1694         (TEST_COND_ibm128_libgcc): Likewise.
1695         (XFAIL_IBM128_LIBGCC): Likewise.
1696         (PAYLOAD_DIG): Likewise.
1697         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1698         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1699         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1700         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1701         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1702         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1703         (TEST_COND_long32): Likewise.
1704         (TEST_COND_long64): Likewise.
1705         (TEST_COND_before_rounding): Likewise.
1706         (TEST_COND_after_rounding): Likewise.
1707         (ulps_file_name): Likewise.
1708         (ulps_file): Likewise.
1709         (output_ulps): Likewise.
1710         (output_dir): Likewise.
1711         (noErrors): Likewise.
1712         (noTests): Likewise.
1713         (noExcTests): Likewise.
1714         (noErrnoTests): Likewise.
1715         (verbose): Likewise.
1716         (output_max_error): Likewise.
1717         (output_points): Likewise.
1718         (ignore_max_ulp): Likewise.
1719         (max_error): Likewise.
1720         (real_max_error): Likewise.
1721         (imag_max_error): Likewise.
1722         (prev_max_error): Likewise.
1723         (prev_real_max_error): Likewise.
1724         (prev_imag_max_error): Likewise.
1725         (max_valid_error): Likewise.
1726         (TYPE_DECIMAL_DIG): Likewise.
1727         (TYPE_HEX_DIG): Likewise.
1728         (fmt_ftostr): Likewise.
1729         (compare_ulp_data): Likewise.
1730         (find_ulps): Likewise.
1731         (init_max_error): Likewise.
1732         (set_max_error): Likewise.
1733         (print_float): Likewise.
1734         (print_screen): Likewise.
1735         (print_screen_max_error): Likewise.
1736         (update_stats): Likewise.
1737         (print_function_ulps): Likewise.
1738         (print_complex_function_ulps): Likewise.
1739         (fpstack_test): Likewise.
1740         (print_max_error): Likewise.
1741         (print_complex_max_error): Likewise.
1742         (test_single_exception): Likewise.
1743         (test_exceptions): Likewise.
1744         (test_single_errno): Likewise.
1745         (test_errno): Likewise.
1746         (ULPDIFF): Likewise.
1747         (ulp): Likewise.
1748         (check_float_internal): Likewise.
1749         (check_float): Likewise.
1750         (check_complex): Likewise.
1751         (check_int): Likewise.
1752         (check_long): Likewise.
1753         (check_bool): Likewise.
1754         (check_longlong): Likewise.
1755         (check_intmax_t): Likewise.
1756         (check_uintmax_t): Likewise.
1757         (enable_test): Likewise.
1758         (matherr): Likewise.
1759         (initialize): Likewise.
1760         (options): Likewise.
1761         (doc): Remove static.
1762         (argp): Likewise.
1763         (parse_opt): Remove.
1764         (check_ulp): Likewise.
1765         (libm_test_init): Likewise.
1766         (libm_test_finish): Likewise.
1767         * math/Makefile (libm-test-support): New variable.
1768         (test-extras): Add libm-test-support files.
1769         (extra-test-objs): Likewise.
1770         (CFLAGS-libm-test-support-float.c): New variable.
1771         (CFLAGS-libm-test-support-double.c): Likewise.
1772         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1773         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
1774         libm-test-support objects.
1776 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1778         * math/Makefile (libm-calls): Move w_exp...
1779         (libm-compat-calls-auto): Here.
1781         * math/w_expl.c: Add suffix "_compat" to filename.
1782         * sysdeps/ia64/fpu/w_expl.c: Likewise.
1783         * sysdeps/ia64/fpu/w_expf.c: Likewise.
1784         * sysdeps/ia64/fpu/w_exp.c: Likewise.
1785         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1786         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1787         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1788         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1789         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1791         * math/w_expl_compat.c: New file, copied from above.
1792         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
1793         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
1794         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
1795         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
1796         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1797         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1798         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1799         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1801         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
1802         to filename.
1803         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
1805         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
1806         copied from above and adjusted for the new filenames.
1807         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
1809 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1811         * math/Makefile (libm-calls): Move w_lgammaF...
1812         (libm-compat-calls-auto): Here.
1814         * math/w_lgamma.c: Add suffix "_compat2" to filename.
1815         * math/w_lgammaf.c: Likewise.
1816         * math/w_lgammal.c: Likewise.
1818         * math/w_lgamma_compat2.c: New file, copied from above.
1819         * math/w_lgammaf_compat2.c: Likewise.
1820         * math/w_lgammal_compat2.c: Likewise.
1822 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1824         * math/Makefile (libm-calls): Move w_lgammaF_r...
1825         (libm-compat-calls-auto): Here.
1827         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
1828         * math/w_lgammaf_r.c: Likewise.
1829         * math/w_lgammal_r.c: Likewise.
1830         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1831         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1832         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1834         * math/w_lgamma_r_compat.c: New file, copied from above.
1835         * math/w_lgammaf_r_compat.c: Likewise.
1836         * math/w_lgammal_r_compat.c: Likewise.
1837         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
1838         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
1839         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
1841         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
1842         to filename.
1843         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
1845         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
1846         copied from above and adjusted for the new filenames.
1847         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1849 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
1851         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
1852         calculation in SYSCALL_ERROR_HANDLER().
1854 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
1856         * manual/contrib.texi: Fix typo.
1858 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1860         [BZ #21109]
1861         * elf/dl-tunable-types.h (tunable_callback_t): Accept
1862         tunable_val_t as argument.
1863         * elf/dl-tunables.c (__tunable_set_val): Add comment.
1864         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
1865         argument.
1866         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
1868 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
1870         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
1871         Add PTRACE_EVENT_STOP.
1872         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1873         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1874         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1875         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1876         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1877         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1879 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
1881         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
1882         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
1883         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
1884         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
1885         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
1886         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
1887         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
1888         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
1889         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
1890         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
1892         [BZ #21112]
1893         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
1894         12 bits zero.
1895         (cp_l): Update for new value of cp_h.
1896         * math/auto-libm-test-in: Add another test of pow.
1897         * math/auto-libm-test-out-pow: Regenerated.
1899 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1901         * manual/contrib.texi: Fix typo.
1903 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1905         [BZ #15998]
1906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1907         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
1908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1910 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1912         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
1913         STRCHR as __strchr_power8.
1914         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
1915         strlen as __strlen_power8.
1917 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1919         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
1920         unaligned load for shorter strings.
1921         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1923 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1925         * math/libm-test-driver.c (flag_test_errno): New variable.
1926         (flag_test_exceptions): Likewise.
1927         (flag_test_finite): Likewise.
1928         (flag_test_inline): Likewise.
1929         (flag_test_mathvec): Likewise.
1930         (test_msg): Likewise.
1931         (ulp_idx): Likewise.
1932         (qtype_str): Likewise.
1933         (ULP_IDX): Remove macro.
1934         (QTYPE_STR): Likewise.
1935         (find_ulps): Use ulp_idx not ULP_IDX.
1936         (print_function_ulps): Use qtype_str, printed with %s, not
1937         QTYPE_STR, printed with concatentation to format string.
1938         (print_complex_function_ulps): Likewise.
1939         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
1940         (test_errno): Use flag_test_errno not TEST_ERRNO.
1941         (enable_test): Use flag_test_inline, flag_test_finite and
1942         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
1943         TEST_MATHVEC.
1944         (libm_test_init): New function.  Factored out of main.
1945         (libm_test_finish): Likewise.
1946         (main): Call libm_test_init and libm_test_finish and move most
1947         code to those functions.
1949         * math/libm-test-driver.c (STRX): New macro.
1950         (STR): Likewise.
1951         (STR_FLOAT): Likewise.
1952         (STR_VEC_LEN): Likewise.
1953         (TEST_MSG): Likewise.  Define here instead of expecting to be
1954         defined by including file.
1955         * math/test-double-finite.c (TEST_MSG): Remove macro.
1956         * math/test-double-vlen2.h (TEST_MSG): Likewise.
1957         * math/test-double-vlen4.h (TEST_MSG): Likewise.
1958         * math/test-double-vlen8.h (TEST_MSG): Likewise.
1959         * math/test-double.c (TEST_MSG): Likewise.
1960         * math/test-float-finite.c (TEST_MSG): Likewise.
1961         * math/test-float-vlen16.h (TEST_MSG): Likewise.
1962         * math/test-float-vlen4.h (TEST_MSG): Likewise.
1963         * math/test-float-vlen8.h (TEST_MSG): Likewise.
1964         * math/test-float.c (TEST_MSG): Likewise.
1965         * math/test-idouble.c (TEST_MSG): Likewise.
1966         * math/test-ifloat.c (TEST_MSG): Likewise.
1967         * math/test-ildouble.c (TEST_MSG): Likewise.
1968         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
1969         * math/test-ldouble.c (TEST_MSG): Likewise.
1971         * math/libm-test.inc: Move all tests of individual functions to
1972         libm-test-*.inc and #include libm-test-*.c files.
1973         (acos_test_data): Remove.
1974         (acos_test): Likewise.
1975         (acosh_test_data): Likewise.
1976         (acosh_test): Likewise.
1977         (asin_test_data): Likewise.
1978         (asin_test): Likewise.
1979         (asinh_test_data): Likewise.
1980         (asinh_test): Likewise.
1981         (atan_test_data): Likewise.
1982         (atan_test): Likewise.
1983         (atanh_test_data): Likewise.
1984         (atanh_test): Likewise.
1985         (atan2_test_data): Likewise.
1986         (atan2_test): Likewise.
1987         (cabs_test_data): Likewise.
1988         (cabs_test): Likewise.
1989         (cacos_test_data): Likewise.
1990         (cacos_test): Likewise.
1991         (cacosh_test_data): Likewise.
1992         (cacosh_test): Likewise.
1993         (canonicalize_test_data): Likewise.
1994         (canonicalize_test): Likewise.
1995         (carg_test_data): Likewise.
1996         (carg_test): Likewise.
1997         (casin_test_data): Likewise.
1998         (casin_test): Likewise.
1999         (casinh_test_data): Likewise.
2000         (casinh_test): Likewise.
2001         (catan_test_data): Likewise.
2002         (catan_test): Likewise.
2003         (catanh_test_data): Likewise.
2004         (catanh_test): Likewise.
2005         (cbrt_test_data): Likewise.
2006         (cbrt_test): Likewise.
2007         (ccos_test_data): Likewise.
2008         (ccos_test): Likewise.
2009         (ccosh_test_data): Likewise.
2010         (ccosh_test): Likewise.
2011         (ceil_test_data): Likewise.
2012         (ceil_test): Likewise.
2013         (cexp_test_data): Likewise.
2014         (cexp_test): Likewise.
2015         (cimag_test_data): Likewise.
2016         (cimag_test): Likewise.
2017         (clog_test_data): Likewise.
2018         (clog_test): Likewise.
2019         (clog10_test_data): Likewise.
2020         (clog10_test): Likewise.
2021         (conj_test_data): Likewise.
2022         (conj_test): Likewise.
2023         (copysign_test_data): Likewise.
2024         (copysign_test): Likewise.
2025         (cos_test_data): Likewise.
2026         (cos_test): Likewise.
2027         (cosh_test_data): Likewise.
2028         (cosh_test): Likewise.
2029         (cpow_test_data): Likewise.
2030         (cpow_test): Likewise.
2031         (cproj_test_data): Likewise.
2032         (cproj_test): Likewise.
2033         (creal_test_data): Likewise.
2034         (creal_test): Likewise.
2035         (csin_test_data): Likewise.
2036         (csin_test): Likewise.
2037         (csinh_test_data): Likewise.
2038         (csinh_test): Likewise.
2039         (csqrt_test_data): Likewise.
2040         (csqrt_test): Likewise.
2041         (ctan_test_data): Likewise.
2042         (ctan_test): Likewise.
2043         (ctanh_test_data): Likewise.
2044         (ctanh_test): Likewise.
2045         (erf_test_data): Likewise.
2046         (erf_test): Likewise.
2047         (erfc_test_data): Likewise.
2048         (erfc_test): Likewise.
2049         (exp_test_data): Likewise.
2050         (exp_test): Likewise.
2051         (exp10_test_data): Likewise.
2052         (exp10_test): Likewise.
2053         (pow10_test): Likewise.
2054         (exp2_test_data): Likewise.
2055         (exp2_test): Likewise.
2056         (expm1_test_data): Likewise.
2057         (expm1_test): Likewise.
2058         (fabs_test_data): Likewise.
2059         (fabs_test): Likewise.
2060         (fdim_test_data): Likewise.
2061         (fdim_test): Likewise.
2062         (floor_test_data): Likewise.
2063         (floor_test): Likewise.
2064         (fma_test_data): Likewise.
2065         (fma_test): Likewise.
2066         (fmax_test_data): Likewise.
2067         (fmax_test): Likewise.
2068         (fmaxmag_test_data): Likewise.
2069         (fmaxmag_test): Likewise.
2070         (fmin_test_data): Likewise.
2071         (fmin_test): Likewise.
2072         (fminmag_test_data): Likewise.
2073         (fminmag_test): Likewise.
2074         (fmod_test_data): Likewise.
2075         (fmod_test): Likewise.
2076         (fpclassify_test_data): Likewise.
2077         (fpclassify_test): Likewise.
2078         (frexp_test_data): Likewise.
2079         (frexp_test): Likewise.
2080         (fromfp_test_data): Likewise.
2081         (fromfp_test): Likewise.
2082         (fromfpx_test_data): Likewise.
2083         (fromfpx_test): Likewise.
2084         (getpayload_test_data): Likewise.
2085         (getpayload_test): Likewise.
2086         (hypot_test_data): Likewise.
2087         (hypot_test): Likewise.
2088         (ilogb_test_data): Likewise.
2089         (ilogb_test): Likewise.
2090         (iscanonical_test_data): Likewise.
2091         (iscanonical_test): Likewise.
2092         (iseqsig_test_data): Likewise.
2093         (iseqsig_test): Likewise.
2094         (isfinite_test_data): Likewise.
2095         (isfinite_test): Likewise.
2096         (finite_test): Likewise.
2097         (isgreater_test_data): Likewise.
2098         (isgreater_test): Likewise.
2099         (isgreaterequal_test_data): Likewise.
2100         (isgreaterequal_test): Likewise.
2101         (isinf_test_data): Likewise.
2102         (isinf_test): Likewise.
2103         (isless_test_data): Likewise.
2104         (isless_test): Likewise.
2105         (islessequal_test_data): Likewise.
2106         (islessequal_test): Likewise.
2107         (islessgreater_test_data): Likewise.
2108         (islessgreater_test): Likewise.
2109         (isnan_test_data): Likewise.
2110         (isnan_test): Likewise.
2111         (isnormal_test_data): Likewise.
2112         (isnormal_test): Likewise.
2113         (issignaling_test_data): Likewise.
2114         (issignaling_test): Likewise.
2115         (issubnormal_test_data): Likewise.
2116         (issubnormal_test): Likewise.
2117         (isunordered_test_data): Likewise.
2118         (isunordered_test): Likewise.
2119         (iszero_test_data): Likewise.
2120         (iszero_test): Likewise.
2121         (j0_test_data): Likewise.
2122         (j0_test): Likewise.
2123         (j1_test_data): Likewise.
2124         (j1_test): Likewise.
2125         (jn_test_data): Likewise.
2126         (jn_test): Likewise.
2127         (lgamma_test_data): Likewise.
2128         (lgamma_test): Likewise.
2129         (gamma_test): Likewise.
2130         (llogb_test_data): Likewise.
2131         (llogb_test): Likewise.
2132         (lrint_test_data): Likewise.
2133         (lrint_test): Likewise.
2134         (llrint_test_data): Likewise.
2135         (llrint_test): Likewise.
2136         (log_test_data): Likewise.
2137         (log_test): Likewise.
2138         (log10_test_data): Likewise.
2139         (log10_test): Likewise.
2140         (log1p_test_data): Likewise.
2141         (log1p_test): Likewise.
2142         (log2_test_data): Likewise.
2143         (log2_test): Likewise.
2144         (logb_test_data): Likewise.
2145         (logb_test): Likewise.
2146         (lround_test_data): Likewise.
2147         (lround_test): Likewise.
2148         (llround_test_data): Likewise.
2149         (llround_test): Likewise.
2150         (modf_test_data): Likewise.
2151         (modf_test): Likewise.
2152         (nearbyint_test_data): Likewise.
2153         (nearbyint_test): Likewise.
2154         (nextafter_test_data): Likewise.
2155         (nextafter_test): Likewise.
2156         (nextup_test_data): Likewise.
2157         (nextup_test): Likewise.
2158         (nextdown_test_data): Likewise.
2159         (nextdown_test): Likewise.
2160         (nexttoward_test_data): Likewise.
2161         (nexttoward_test): Likewise.
2162         (pow_test_data): Likewise.
2163         (pow_test): Likewise.
2164         (remainder_test_data): Likewise.
2165         (remainder_test): Likewise.
2166         (drem_test): Likewise.
2167         (remquo_test_data): Likewise.
2168         (remquo_test): Likewise.
2169         (rint_test_data): Likewise.
2170         (rint_test): Likewise.
2171         (round_test_data): Likewise.
2172         (round_test): Likewise.
2173         (roundeven_test_data): Likewise.
2174         (roundeven_test): Likewise.
2175         (scalb_test_data): Likewise.
2176         (scalb_test): Likewise.
2177         (scalbn_test_data): Likewise.
2178         (scalbn_test): Likewise.
2179         (ldexp_test): Likewise.
2180         (scalbln_test_data): Likewise.
2181         (scalbln_test): Likewise.
2182         (setpayload_test_data): Likewise.
2183         (setpayload_test): Likewise.
2184         (setpayloadsig_test_data): Likewise.
2185         (setpayloadsig_test): Likewise.
2186         (signbit_test_data): Likewise.
2187         (signbit_test): Likewise.
2188         (sin_test_data): Likewise.
2189         (sin_test): Likewise.
2190         (sincos_test_data): Likewise.
2191         (sincos_test): Likewise.
2192         (sinh_test_data): Likewise.
2193         (sinh_test): Likewise.
2194         (sqrt_test_data): Likewise.
2195         (sqrt_test): Likewise.
2196         (tan_test_data): Likewise.
2197         (tan_test): Likewise.
2198         (tanh_test_data): Likewise.
2199         (tanh_test): Likewise.
2200         (tgamma_test_data): Likewise.
2201         (tgamma_test): Likewise.
2202         (totalorder_test_data): Likewise.
2203         (totalorder_test): Likewise.
2204         (totalordermag_test_data): Likewise.
2205         (totalordermag_test): Likewise.
2206         (trunc_test_data): Likewise.
2207         (trunc_test): Likewise.
2208         (ufromfp_test_data): Likewise.
2209         (ufromfp_test): Likewise.
2210         (ufromfpx_test_data): Likewise.
2211         (ufromfpx_test): Likewise.
2212         (y0_test_data): Likewise.
2213         (y0_test): Likewise.
2214         (y1_test_data): Likewise.
2215         (y1_test): Likewise.
2216         (yn_test_data): Likewise.
2217         (yn_test): Likewise.
2218         (significand_test_data): Likewise.
2219         (significand_test): Likewise.
2220         * math/Makefile (auto-libm-test-out-files): Remove variable.
2221         (libm-test-funcs-noauto): New variable.
2222         (libm-test-funcs-all): Likewise.
2223         (libm-test-c-auto): Likewise.
2224         (libm-test-c-noauto): Likewise.
2225         (libm-tests-generated): Add $(libm-test-c-auto) and
2226         $(libm-test-c-noauto).
2227         (generated): Do not add auto-libm-test-out.
2228         (libm-test-c-auto-obj): New variable.
2229         (libm-test-c-noauto-obj): Likewise.
2230         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
2231         ($(libm-test-c-noauto-obj)): New static pattern rule.
2232         ($(libm-test-c-auto-obj)): Likewise.
2233         (libm-test-incs): New variable.
2234         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
2235         and pass it to gen-libm-have-vector-test.sh.
2236         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
2237         be passed on command line.
2238         * math/libm-test-acos.inc: New file.  Content from
2239         math/libm-test.inc.
2240         * math/libm-test-acosh.inc: Likewise.
2241         * math/libm-test-asin.inc: Likewise.
2242         * math/libm-test-asinh.inc: Likewise.
2243         * math/libm-test-atan.inc: Likewise.
2244         * math/libm-test-atan2.inc: Likewise.
2245         * math/libm-test-atanh.inc: Likewise.
2246         * math/libm-test-cabs.inc: Likewise.
2247         * math/libm-test-cacos.inc: Likewise.
2248         * math/libm-test-cacosh.inc: Likewise.
2249         * math/libm-test-canonicalize.inc: Likewise.
2250         * math/libm-test-carg.inc: Likewise.
2251         * math/libm-test-casin.inc: Likewise.
2252         * math/libm-test-casinh.inc: Likewise.
2253         * math/libm-test-catan.inc: Likewise.
2254         * math/libm-test-catanh.inc: Likewise.
2255         * math/libm-test-cbrt.inc: Likewise.
2256         * math/libm-test-ccos.inc: Likewise.
2257         * math/libm-test-ccosh.inc: Likewise.
2258         * math/libm-test-ceil.inc: Likewise.
2259         * math/libm-test-cexp.inc: Likewise.
2260         * math/libm-test-cimag.inc: Likewise.
2261         * math/libm-test-clog.inc: Likewise.
2262         * math/libm-test-clog10.inc: Likewise.
2263         * math/libm-test-conj.inc: Likewise.
2264         * math/libm-test-copysign.inc: Likewise.
2265         * math/libm-test-cos.inc: Likewise.
2266         * math/libm-test-cosh.inc: Likewise.
2267         * math/libm-test-cpow.inc: Likewise.
2268         * math/libm-test-cproj.inc: Likewise.
2269         * math/libm-test-creal.inc: Likewise.
2270         * math/libm-test-csin.inc: Likewise.
2271         * math/libm-test-csinh.inc: Likewise.
2272         * math/libm-test-csqrt.inc: Likewise.
2273         * math/libm-test-ctan.inc: Likewise.
2274         * math/libm-test-ctanh.inc: Likewise.
2275         * math/libm-test-erf.inc: Likewise.
2276         * math/libm-test-erfc.inc: Likewise.
2277         * math/libm-test-exp.inc: Likewise.
2278         * math/libm-test-exp10.inc: Likewise.
2279         * math/libm-test-exp2.inc: Likewise.
2280         * math/libm-test-expm1.inc: Likewise.
2281         * math/libm-test-fabs.inc: Likewise.
2282         * math/libm-test-fdim.inc: Likewise.
2283         * math/libm-test-floor.inc: Likewise.
2284         * math/libm-test-fma.inc: Likewise.
2285         * math/libm-test-fmax.inc: Likewise.
2286         * math/libm-test-fmaxmag.inc: Likewise.
2287         * math/libm-test-fmin.inc: Likewise.
2288         * math/libm-test-fminmag.inc: Likewise.
2289         * math/libm-test-fmod.inc: Likewise.
2290         * math/libm-test-fpclassify.inc: Likewise.
2291         * math/libm-test-frexp.inc: Likewise.
2292         * math/libm-test-fromfp.inc: Likewise.
2293         * math/libm-test-fromfpx.inc: Likewise.
2294         * math/libm-test-getpayload.inc: Likewise.
2295         * math/libm-test-hypot.inc: Likewise.
2296         * math/libm-test-ilogb.inc: Likewise.
2297         * math/libm-test-iscanonical.inc: Likewise.
2298         * math/libm-test-iseqsig.inc: Likewise.
2299         * math/libm-test-isfinite.inc: Likewise.
2300         * math/libm-test-isgreater.inc: Likewise.
2301         * math/libm-test-isgreaterequal.inc: Likewise.
2302         * math/libm-test-isinf.inc: Likewise.
2303         * math/libm-test-isless.inc: Likewise.
2304         * math/libm-test-islessequal.inc: Likewise.
2305         * math/libm-test-islessgreater.inc: Likewise.
2306         * math/libm-test-isnan.inc: Likewise.
2307         * math/libm-test-isnormal.inc: Likewise.
2308         * math/libm-test-issignaling.inc: Likewise.
2309         * math/libm-test-issubnormal.inc: Likewise.
2310         * math/libm-test-isunordered.inc: Likewise.
2311         * math/libm-test-iszero.inc: Likewise.
2312         * math/libm-test-j0.inc: Likewise.
2313         * math/libm-test-j1.inc: Likewise.
2314         * math/libm-test-jn.inc: Likewise.
2315         * math/libm-test-lgamma.inc: Likewise.
2316         * math/libm-test-llogb.inc: Likewise.
2317         * math/libm-test-llrint.inc: Likewise.
2318         * math/libm-test-llround.inc: Likewise.
2319         * math/libm-test-log.inc: Likewise.
2320         * math/libm-test-log10.inc: Likewise.
2321         * math/libm-test-log1p.inc: Likewise.
2322         * math/libm-test-log2.inc: Likewise.
2323         * math/libm-test-logb.inc: Likewise.
2324         * math/libm-test-lrint.inc: Likewise.
2325         * math/libm-test-lround.inc: Likewise.
2326         * math/libm-test-modf.inc: Likewise.
2327         * math/libm-test-nearbyint.inc: Likewise.
2328         * math/libm-test-nextafter.inc: Likewise.
2329         * math/libm-test-nextdown.inc: Likewise.
2330         * math/libm-test-nexttoward.inc: Likewise.
2331         * math/libm-test-nextup.inc: Likewise.
2332         * math/libm-test-pow.inc: Likewise.
2333         * math/libm-test-remainder.inc: Likewise.
2334         * math/libm-test-remquo.inc: Likewise.
2335         * math/libm-test-rint.inc: Likewise.
2336         * math/libm-test-round.inc: Likewise.
2337         * math/libm-test-roundeven.inc: Likewise.
2338         * math/libm-test-scalb.inc: Likewise.
2339         * math/libm-test-scalbln.inc: Likewise.
2340         * math/libm-test-scalbn.inc: Likewise.
2341         * math/libm-test-setpayload.inc: Likewise.
2342         * math/libm-test-setpayloadsig.inc: Likewise.
2343         * math/libm-test-signbit.inc: Likewise.
2344         * math/libm-test-significand.inc: Likewise.
2345         * math/libm-test-sin.inc: Likewise.
2346         * math/libm-test-sincos.inc: Likewise.
2347         * math/libm-test-sinh.inc: Likewise.
2348         * math/libm-test-sqrt.inc: Likewise.
2349         * math/libm-test-tan.inc: Likewise.
2350         * math/libm-test-tanh.inc: Likewise.
2351         * math/libm-test-tgamma.inc: Likewise.
2352         * math/libm-test-totalorder.inc: Likewise.
2353         * math/libm-test-totalordermag.inc: Likewise.
2354         * math/libm-test-trunc.inc: Likewise.
2355         * math/libm-test-ufromfp.inc: Likewise.
2356         * math/libm-test-ufromfpx.inc: Likewise.
2357         * math/libm-test-y0.inc: Likewise.
2358         * math/libm-test-y1.inc: Likewise.
2359         * math/libm-test-yn.inc: Likewise.
2360         * math/README.libm-test: Update.
2362         * math/gen-auto-libm-tests.c: Update comment about use of program.
2363         (generate_output): Add argument FUNCTION.
2364         (main): Require extra argument.  Pass function name to
2365         generate_output.
2366         * math/Makefile (generated): Add auto-libm-test-out.
2367         (libm-test-funcs-auto): New variable.
2368         (auto-libm-test-out-files): New variable.
2369         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
2370         Concatenate those files to form $(objpfx)auto-libm-test-out and
2371         use it as input to gen-libm-test.pl.
2372         * math/README.libm-test: Update.
2373         * math/auto-libm-test-out: Remove.
2374         * math/auto-libm-test-out-acos: New generated file.
2375         * math/auto-libm-test-out-acosh: Likewise.
2376         * math/auto-libm-test-out-asin: Likewise.
2377         * math/auto-libm-test-out-asinh: Likewise.
2378         * math/auto-libm-test-out-atan: Likewise.
2379         * math/auto-libm-test-out-atan2: Likewise.
2380         * math/auto-libm-test-out-atanh: Likewise.
2381         * math/auto-libm-test-out-cabs: Likewise.
2382         * math/auto-libm-test-out-carg: Likewise.
2383         * math/auto-libm-test-out-cbrt: Likewise.
2384         * math/auto-libm-test-out-ccos: Likewise.
2385         * math/auto-libm-test-out-ccosh: Likewise.
2386         * math/auto-libm-test-out-cexp: Likewise.
2387         * math/auto-libm-test-out-clog: Likewise.
2388         * math/auto-libm-test-out-clog10: Likewise.
2389         * math/auto-libm-test-out-cos: Likewise.
2390         * math/auto-libm-test-out-cosh: Likewise.
2391         * math/auto-libm-test-out-cpow: Likewise.
2392         * math/auto-libm-test-out-csin: Likewise.
2393         * math/auto-libm-test-out-csinh: Likewise.
2394         * math/auto-libm-test-out-csqrt: Likewise.
2395         * math/auto-libm-test-out-ctan: Likewise.
2396         * math/auto-libm-test-out-ctanh: Likewise.
2397         * math/auto-libm-test-out-erf: Likewise.
2398         * math/auto-libm-test-out-erfc: Likewise.
2399         * math/auto-libm-test-out-exp: Likewise.
2400         * math/auto-libm-test-out-exp10: Likewise.
2401         * math/auto-libm-test-out-exp2: Likewise.
2402         * math/auto-libm-test-out-expm1: Likewise.
2403         * math/auto-libm-test-out-fma: Likewise.
2404         * math/auto-libm-test-out-hypot: Likewise.
2405         * math/auto-libm-test-out-j0: Likewise.
2406         * math/auto-libm-test-out-j1: Likewise.
2407         * math/auto-libm-test-out-jn: Likewise.
2408         * math/auto-libm-test-out-lgamma: Likewise.
2409         * math/auto-libm-test-out-log: Likewise.
2410         * math/auto-libm-test-out-log10: Likewise.
2411         * math/auto-libm-test-out-log1p: Likewise.
2412         * math/auto-libm-test-out-log2: Likewise.
2413         * math/auto-libm-test-out-pow: Likewise.
2414         * math/auto-libm-test-out-sin: Likewise.
2415         * math/auto-libm-test-out-sincos: Likewise.
2416         * math/auto-libm-test-out-sinh: Likewise.
2417         * math/auto-libm-test-out-sqrt: Likewise.
2418         * math/auto-libm-test-out-tan: Likewise.
2419         * math/auto-libm-test-out-tanh: Likewise.
2420         * math/auto-libm-test-out-tgamma: Likewise.
2421         * math/auto-libm-test-out-y0: Likewise.
2422         * math/auto-libm-test-out-y1: Likewise.
2423         * math/auto-libm-test-out-yn: Likewise.
2425         * math/Makefile (generated): Do not include libm-test.stmp.
2426         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
2427         on $(objpfx)libm-test.stmp.
2428         ($(objpfx)libm-test.stmp): Remove rule.
2429         ($(objpfx)libm-test-ulps.h): New rule.
2430         ($(objpfx)libm-test.c): Likewise.
2431         ($(objpfx)libm-have-vector-test.h): Likewise.
2432         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
2433         individual generated files, not libm-test.stmp.
2435         * math/gen-libm-test.pl ($output_dir): Remove variable.
2436         ($srcdir): Likewise.
2437         ($opt_a): New variable.
2438         ($opt_c): Likewise.
2439         ($opt_C): Likewise.
2440         ($opt_H): Likewise.
2441         (-n): Make option take argument and use it as NewUlps output.
2442         (-a): New option.  Use its argument for auto-libm-test-out input.
2443         (-c): New option.  Use its argument for libm-test.inc input.
2444         (-C): New option.  Use its argument for libm-test.c output.
2445         (-H): New option.  Use its argument for libm-test-ulps.h output.
2446         (top level): Only process inputs needed to generate outputs
2447         specified by command-line options.  Only generate outputs
2448         specified by command-line options.
2449         * math/README.libm-test: Update example gen-libm-test.pl command.
2450         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
2451         commands.
2452         (regen-ulps): Likewise.
2454 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
2456         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
2457         * include/string.h (index): Remove define.
2458         (rindex): Likewise.
2459         * misc/getttyent.c (__getttyent): Rename index to strchr.
2460         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
2461         * sunrpc/rpc_main.c (mkfile_output): Likewise.
2463 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2465         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
2466         * math/libm-test.inc: Move all contents, other than tests of
2467         individual functions, to libm-test-driver.c.
2468         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
2469         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
2470         [!FE_UPWARD] (FE_UPWARD): Likewise.
2471         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
2472         (NO_EXCEPTION): Likewise.
2473         (INVALID_EXCEPTION): Likewise.
2474         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2475         (OVERFLOW_EXCEPTION): Likewise.
2476         (UNDERFLOW_EXCEPTION): Likewise.
2477         (INEXACT_EXCEPTION): Likewise.
2478         (INVALID_EXCEPTION_OK): Likewise.
2479         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2480         (OVERFLOW_EXCEPTION_OK): Likewise.
2481         (UNDERFLOW_EXCEPTION_OK): Likewise.
2482         (NO_INEXACT_EXCEPTION): Likewise.
2483         (EXCEPTIONS_OK): Likewise.
2484         (IGNORE_ZERO_INF_SIGN): Likewise.
2485         (TEST_NAN_SIGN): Likewise.
2486         (TEST_NAN_PAYLOAD): Likewise.
2487         (NO_TEST_INLINE): Likewise.
2488         (XFAIL_TEST): Likewise.
2489         (ERRNO_UNCHANGED): Likewise.
2490         (ERRNO_EDOM): Likewise.
2491         (ERRNO_ERANGE): Likewise.
2492         (IGNORE_RESULT): Likewise.
2493         (NON_FINITE): Likewise.
2494         (TEST_SNAN): Likewise.
2495         (NO_TEST_MATHVEC): Likewise.
2496         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
2497         (__CONCATX): Likewise.
2498         (TYPE_MIN): Likewise.
2499         (TYPE_TRUE_MIN): Likewise.
2500         (TYPE_MAX): Likewise.
2501         (MIN_EXP): Likewise.
2502         (MAX_EXP): Likewise.
2503         (MANT_DIG): Likewise.
2504         (FSTR_MAX): Likewise.
2505         (ULP_IDX): Likewise.
2506         (QTYPE_STR): Likewise.
2507         (TEST_COND_binary32): Likewise.
2508         (TEST_COND_binary64): Likewise.
2509         (TEST_COND_binary128): Likewise.
2510         (TEST_COND_ibm128): Likewise.
2511         (TEST_COND_intel96): Likewise.
2512         (TEST_COND_m68k96): Likewise.
2513         (TEST_COND_ibm128_libgcc): Likewise.
2514         (XFAIL_IBM128_LIBGCC): Likewise.
2515         (PAYLOAD_DIG): Likewise.
2516         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2517         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2518         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2519         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2520         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2521         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2522         (TEST_COND_long32): Likewise.
2523         (TEST_COND_long64): Likewise.
2524         (TEST_COND_before_rounding): Likewise.
2525         (TEST_COND_after_rounding): Likewise.
2526         (lit_pi_3_m_4_d): Likewise.
2527         (lit_pi_3_m_4_ln10_m_d): Likewise.
2528         (lit_pi_2_ln10_m_d): Likewise.
2529         (lit_pi_4_ln10_m_d): Likewise.
2530         (lit_pi_ln10_d): Likewise.
2531         (lit_pi_2_d): Likewise.
2532         (lit_pi_4_d): Likewise.
2533         (lit_pi): Likewise.
2534         (lit_e): Likewise.
2535         (ulps_file_name): Likewise.
2536         (ulps_file): Likewise.
2537         (output_ulps): Likewise.
2538         (output_dir): Likewise.
2539         (noErrors): Likewise.
2540         (noTests): Likewise.
2541         (noExcTests): Likewise.
2542         (noErrnoTests): Likewise.
2543         (verbose): Likewise.
2544         (output_max_error): Likewise.
2545         (output_points): Likewise.
2546         (ignore_max_ulp): Likewise.
2547         (plus_zero): Likewise.
2548         (minus_zero): Likewise.
2549         (plus_infty): Likewise.
2550         (minus_infty): Likewise.
2551         (qnan_value_pl): Likewise.
2552         (qnan_value): Likewise.
2553         (snan_value_pl): Likewise.
2554         (snan_value): Likewise.
2555         (max_value): Likewise.
2556         (min_value): Likewise.
2557         (min_subnorm_value): Likewise.
2558         (snan_value_ld): Likewise.
2559         (max_error): Likewise.
2560         (real_max_error): Likewise.
2561         (imag_max_error): Likewise.
2562         (prev_max_error): Likewise.
2563         (prev_real_max_error): Likewise.
2564         (prev_imag_max_error): Likewise.
2565         (max_valid_error): Likewise.
2566         (TYPE_DECIMAL_DIG): Likewise.
2567         (TYPE_HEX_DIG): Likewise.
2568         (fmt_ftostr): Likewise.
2569         (compare_ulp_data): Likewise.
2570         (find_ulps): Likewise.
2571         (init_max_error): Likewise.
2572         (set_max_error): Likewise.
2573         (print_float): Likewise.
2574         (print_screen): Likewise.
2575         (print_screen_max_error): Likewise.
2576         (update_stats): Likewise.
2577         (print_function_ulps): Likewise.
2578         (print_complex_function_ulps): Likewise.
2579         (fpstack_test): Likewise.
2580         (print_max_error): Likewise.
2581         (print_complex_max_error): Likewise.
2582         (test_single_exception): Likewise.
2583         (test_exceptions): Likewise.
2584         (test_single_errno): Likewise.
2585         (test_errno): Likewise.
2586         (ULPDIFF): Likewise.
2587         (ulp): Likewise.
2588         (check_float_internal): Likewise.
2589         (check_float): Likewise.
2590         (check_complex): Likewise.
2591         (check_int): Likewise.
2592         (check_long): Likewise.
2593         (check_bool): Likewise.
2594         (check_longlong): Likewise.
2595         (check_intmax_t): Likewise.
2596         (check_uintmax_t): Likewise.
2597         (enable_test): Likewise.
2598         (struct test_f_f_data): Likewise.
2599         (struct test_ff_f_data): Likewise.
2600         (struct test_fj_f_data): Likewise.
2601         (struct test_fi_f_data): Likewise.
2602         (struct test_fl_f_data): Likewise.
2603         (struct test_if_f_data): Likewise.
2604         (struct test_fff_f_data): Likewise.
2605         (struct test_fiu_M_data): Likewise.
2606         (struct test_fiu_U_data): Likewise.
2607         (struct test_c_f_data): Likewise.
2608         (struct test_f_f1_data): Likewise.
2609         (struct test_fF_f1_data): Likewise.
2610         (struct test_ffI_f1_data): Likewise.
2611         (struct test_c_c_data): Likewise.
2612         (struct test_cc_c_data): Likewise.
2613         (struct test_f_i_data): Likewise.
2614         (struct test_ff_i_data): Likewise.
2615         (struct test_f_l_data): Likewise.
2616         (struct test_f_L_data): Likewise.
2617         (struct test_fFF_11_data): Likewise.
2618         (struct test_Ff_b1_data): Likewise.
2619         (IF_ROUND_INIT_): Likewise.
2620         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2621         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2622         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2623         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2624         (ROUND_RESTORE_): Likewise.
2625         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2626         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2627         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2628         (ROUND_RESTORE_FE_UPWARD): Likewise.
2629         (RM_): Likewise.
2630         (RM_FE_DOWNWARD): Likewise.
2631         (RM_FE_TONEAREST): Likewise.
2632         (RM_FE_TOWARDZERO): Likewise.
2633         (RM_FE_UPWARD): Likewise.
2634         (COMMON_TEST_SETUP): Likewise.
2635         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2636         (COMMON_TEST_CLEANUP): Likewise.
2637         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2638         (RUN_TEST_f_f): Likewise.
2639         (RUN_TEST_LOOP_f_f): Likewise.
2640         (RUN_TEST_fp_f): Likewise.
2641         (RUN_TEST_LOOP_fp_f): Likewise.
2642         (RUN_TEST_2_f): Likewise.
2643         (RUN_TEST_LOOP_2_f): Likewise.
2644         (RUN_TEST_ff_f): Likewise.
2645         (RUN_TEST_LOOP_ff_f): Likewise.
2646         (RUN_TEST_LOOP_fj_f): Likewise.
2647         (RUN_TEST_fi_f): Likewise.
2648         (RUN_TEST_LOOP_fi_f): Likewise.
2649         (RUN_TEST_fl_f): Likewise.
2650         (RUN_TEST_LOOP_fl_f): Likewise.
2651         (RUN_TEST_if_f): Likewise.
2652         (RUN_TEST_LOOP_if_f): Likewise.
2653         (RUN_TEST_fff_f): Likewise.
2654         (RUN_TEST_LOOP_fff_f): Likewise.
2655         (RUN_TEST_fiu_M): Likewise.
2656         (RUN_TEST_LOOP_fiu_M): Likewise.
2657         (RUN_TEST_fiu_U): Likewise.
2658         (RUN_TEST_LOOP_fiu_U): Likewise.
2659         (RUN_TEST_c_f): Likewise.
2660         (RUN_TEST_LOOP_c_f): Likewise.
2661         (RUN_TEST_f_f1): Likewise.
2662         (RUN_TEST_LOOP_f_f1): Likewise.
2663         (RUN_TEST_fF_f1): Likewise.
2664         (RUN_TEST_LOOP_fF_f1): Likewise.
2665         (RUN_TEST_fI_f1): Likewise.
2666         (RUN_TEST_LOOP_fI_f1): Likewise.
2667         (RUN_TEST_ffI_f1_mod8): Likewise.
2668         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
2669         (RUN_TEST_Ff_b1): Likewise.
2670         (RUN_TEST_LOOP_Ff_b1): Likewise.
2671         (RUN_TEST_Ffp_b1): Likewise.
2672         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2673         (RUN_TEST_c_c): Likewise.
2674         (RUN_TEST_LOOP_c_c): Likewise.
2675         (RUN_TEST_cc_c): Likewise.
2676         (RUN_TEST_LOOP_cc_c): Likewise.
2677         (RUN_TEST_f_i): Likewise.
2678         (RUN_TEST_LOOP_f_i): Likewise.
2679         (RUN_TEST_f_i_tg): Likewise.
2680         (RUN_TEST_LOOP_f_i_tg): Likewise.
2681         (RUN_TEST_ff_b): Likewise.
2682         (RUN_TEST_LOOP_ff_b): Likewise.
2683         (RUN_TEST_ff_i_tg): Likewise.
2684         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2685         (RUN_TEST_f_b): Likewise.
2686         (RUN_TEST_LOOP_f_b): Likewise.
2687         (RUN_TEST_f_b_tg): Likewise.
2688         (RUN_TEST_LOOP_f_b_tg): Likewise.
2689         (RUN_TEST_f_l): Likewise.
2690         (RUN_TEST_LOOP_f_l): Likewise.
2691         (RUN_TEST_f_L): Likewise.
2692         (RUN_TEST_LOOP_f_L): Likewise.
2693         (RUN_TEST_fFF_11): Likewise.
2694         (RUN_TEST_LOOP_fFF_11): Likewise.
2695         (VEC_SUFF): Likewise.
2696         (STR_CONCAT): Likewise.
2697         (STR_CON3): Likewise.
2698         (HAVE_VECTOR): Likewise.
2699         (START): Likewise.
2700         (END): Likewise.
2701         (END_COMPLEX): Likewise.
2702         (ALL_RM_TEST): Likewise.
2703         (matherr): Likewise.
2704         (initialize): Likewise.
2705         (options): Likewise.
2706         (doc): Likewise.
2707         (parse_opt): Likewise.
2708         (argp): Likewise.
2709         (check_ulp): Likewise.
2710         (main): Likewise.
2711         (do_test): New function.  Call tests of individual functions
2712         previously called from main.
2714         * math/libm-test.inc: Remove comment listing functions tested and
2715         not tested.
2717 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2719         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
2720         (allocate_stack): Remove COLORING_INCREMENT usage.
2721         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
2722         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
2724 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2726         * manual/libm-err-tab.pl (@all_functions): Change to
2727         %all_functions.  Initialize as empty.
2728         (parse_ulps): Add to %all_functions based on functions found in
2729         ulps files.  Ignore results for non-default rounding modes and
2730         vector functions.
2731         (print_platforms): Use %all_platforms.
2732         * manual/math.texi (Errors in Math Functions): Document omissions
2733         from the table.
2735         * math/Makefile (before-compile): Remove.
2737 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
2739         [BZ #21075]
2740         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
2741         unused assignment.
2742         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2744 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2746         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
2747         Add __glibc_unlikely hint.
2749 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2751         [BZ #16640]
2752         * sysdeps/i386/i686/strtok.S: Remove file.
2753         * sysdeps/i386/i686/strtok_r.S: Likewise.
2754         * sysdeps/i386/strtok.S: Likewise.
2755         * sysdeps/i386/strtok_r.S: Likewise.
2756         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
2757         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
2758         * sysdeps/x86_64/strtok.S: Likewise.
2759         * sysdeps/x86_64/strtok_r.S: Likewise.
2761         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
2762         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2763         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2764         (__ASSUME_FADVISE64_AS_64_64): Define.
2765         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
2766         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
2767         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
2768         __ALIGNMENT_ARG usage.
2769         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
2770         __NR_fadvise64_64 if it is not defined.
2772 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2774         * version.h (RELEASE): Set to "development"
2775         (VERSION): Set to 2.25.90.
2776         * NEWS: Add 2.26 section.
2778         * version.h (RELEASE): Set to "stable"
2779         (VERSION): Set to 2.25.
2780         * include/features.h (__GLIBC_MINOR__): Set to 25.
2782         * manual/contrib.texi: Add more contributors from this release
2783         and past releases.
2785         * NEWS (2.25): Add list of bugs fixed.
2787         * NEWS: Add missing news items.
2789 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2791         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
2792         parent if child exited in that manner.  Print WEXITSTATUS
2793         instead of the raw status.
2794         (do_test_prep): Rename to do_test.
2795         (do_test): Return the result of run_executable_sgid.
2796         (TEST_FUNCTION_ARGV): Adjust.
2798 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
2799             Florian Weimer  <fweimer@redhat.com>
2800             Carlos O'Donell  <carlos@redhat.com>
2802         [BZ #20915]
2803         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
2804         Do not initialize DTV.
2805         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2807 2017-02-03  David S. Miller  <davem@davemloft.net>
2809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
2810         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2811         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
2812         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2813         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
2814         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2815         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
2816         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2817         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2818         (libm-sysdep_routines): Update.
2819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
2820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
2821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
2823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2824         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
2825         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
2826         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
2827         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
2828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
2829         Likewise.
2830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
2832         Likewise.
2833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
2835         Likewise.
2836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
2838         Likewise.
2839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2841         (libm-sysdep_routines): Update.
2843 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
2845         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
2846         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
2847         against unrelocated shared library.
2848         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2850 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2852         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
2853         * elf/tst-env-setuid-tunables.c
2854         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
2855         GLIBC_TUNABLES is removed in a setgid process.
2857         [BZ #21073]
2858         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
2859         * elf/dl-tunables.c (tunables_strdup): Remove.
2860         (get_next_env): Also return the previous envp.
2861         (parse_tunables): Erase tunables of category
2862         TUNABLES_SECLEVEL_SXID_ERASE.
2863         (maybe_enable_malloc_check): Make MALLOC_CHECK_
2864         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
2865         (__tunables_init)[TUNABLES_FRONTEND ==
2866         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
2867         after parsing.
2868         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
2869         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
2870         * elf/dl-tunables.h (struct _tunable): Change member is_secure
2871         to security_level.
2872         * elf/dl-tunables.list: Add security_level annotations for all
2873         tunables.
2874         * scripts/gen-tunables.awk: Recognize and generate enum values
2875         for security_level.
2876         * elf/tst-env-setuid.c: New test case.
2877         * elf/tst-env-setuid-tunables: new test case.
2878         * elf/Makefile (tests-static): Add them.
2880 2017-02-01  Richard Henderson  <rth@twiddle.net>
2882         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
2883         adjusting the byte count.
2885 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
2887         * conform/Makefile (linknamespace-libs): Define.
2889         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
2890         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
2891         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
2892         operands.
2894 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
2896         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
2898 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2900         [BZ #21081]
2901         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2902         (L(stosb)): Add VZEROUPPER before ret.
2904 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
2905             Alexey Makhalov <amakhalov@vmware.com>
2906             Florian Weimer <fweimer@redhat.com>
2908         [BZ #20116]
2909         * nptl/pthread_create.c: Document concurrency notes.
2910         Enhance thread creation notes.
2911         (create_thread): Use bool *stopped_start.
2912         (START_THREAD_DEFN): Comment ownership of PD.
2913         (__pthread_create_2_1): Add local bool stopped_start and use
2914         that instead of pd->stopped_start where appropriate.
2915         * nptl/createthread.c (create_thread): Use bool *stopped_start.
2916         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
2917         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2918         * nptl/tst-create-detached.c: New file.
2919         * nptl/Makefile (tests): Add tst-create-detached.
2920         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2921         Reference the enhanced thread creation notes.
2922         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
2923         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2924         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
2925         (__pthread_current_priority): Likewise.
2926         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
2927         xpthread_attr_init, xpthread_attr_setdetachstate, and
2928         xpthread_attr_setstacksize.
2929         * support/xpthread_attr_destroy.c: New file.
2930         * support/xpthread_attr_init.c: New file.
2931         * support/xpthread_attr_setdetachstate.c: New file.
2932         * support/xpthread_attr_setstacksize.c: New file.
2933         * support/xthread.h: Define prototypes for xpthread_attr_destroy
2934         xpthread_attr_init, xpthread_attr_setdetachstate, and
2935         xpthread_attr_setstacksize.
2937 2017-01-27  Florian Weimer  <fweimer@redhat.com>
2939         * nptl/Makefile (tests): Add tst-robust-fork.
2940         * nptl/tst-robust-fork.c: New file.
2941         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
2942         xpthread_mutex_consistent, xpthread_mutex_destroy,
2943         xpthread_mutex_init, xpthread_mutexattr_destroy,
2944         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
2945         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
2946         xpthread_mutexattr_settype.
2947         * support/xmmap.c: New file.
2948         * support/xmunmap.c: Likewise.
2949         * support/xpthread_mutex_consistent.c: Likewise.
2950         * support/xpthread_mutex_destroy.c: Likewise.
2951         * support/xpthread_mutex_init.c: Likewise.
2952         * support/xpthread_mutexattr_destroy.c: Likewise.
2953         * support/xpthread_mutexattr_init.c: Likewise.
2954         * support/xpthread_mutexattr_setprotocol.c: Likewise.
2955         * support/xpthread_mutexattr_setpshared.c: Likewise.
2956         * support/xpthread_mutexattr_setrobust.c: Likewise.
2957         * support/xpthread_mutexattr_settype.c: Likewise.
2958         * support/xthread.h (xpthread_mutexattr_destroy)
2959         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
2960         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
2961         (xpthread_mutexattr_settype, xpthread_mutex_init)
2962         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
2963         * support/xunistd.h (xmmap, xmunmap): Likewise.
2965 2017-01-25  Florian Weimer  <fweimer@redhat.com>
2967         * string/Makefile (xtests): Add comment.
2968         (LOCALES): Add en_GB.UTF-8.
2969         (tst-strcoll-overflow.out): Depend on generated locales.
2970         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
2971         (SIZE, TIMEOUT): Update comments.
2972         (do_test): Define as static.  Fail test if setlocale fails.
2973         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
2974         messages.
2975         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
2976         TIMEOUT at 300 seconds should be enough to run this test
2977         successfully.
2979 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
2981         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2982         /* FALLTHRU */ comments.
2984 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
2986         [BZ #21053]
2987         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
2988         constants instead of the old R* ones.
2989         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
2990         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
2991         (NGREG): ... to this, to fit in with other architectures.
2992         (gpregset_t): Use new NGREG macro.
2993         [__USE_GNU]: Remove condition; all architectures other than tile
2994         are unconditional.
2995         (R*): Rename to REG_R*.
2997 2017-01-20  DJ Delorie  <dj@redhat.com>
2999         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
3000         (tunable_set_val_if_valid_range_signed) ... this, and ...
3001         (tunable_set_val_if_valid_range_unsigned) ... this.
3002         (tunable_initialize): Call the correct one of the above based on type.
3004 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
3006         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
3007         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3008         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3009         * sysdeps/microblaze/libm-test-ulps: Likewise.
3010         * sysdeps/sh/libm-test-ulps: Likewise.
3012         * math/README.libm-test: Update list of characters for input and
3013         output types.
3015 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3017         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3018         (__lll_unlock_elision): Fix adapt_count decrement.
3020 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
3022         * README.pretty-printers (Known issues): Warn about printers not
3023         always covering everything.
3024         * nptl/nptl-printers.py (MutexPrinter): Change output.
3025         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
3027 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3029         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
3030         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3031         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
3032         (__lll_lock_elision): Do not test futex before starting a
3033         transaction.  Use __glibc_likely instead of __builtin_expect.
3034         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
3035         (__lll_trylock_elision): Do not test futex before starting a
3036         transaction.  Use __glibc_likely instead of __builtin_expect.
3038 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3040         * po/Makefile (update-translations): New target.
3042 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3044         [BZ #21061]
3045         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
3047 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3049         * elf/dl-tunables (get_next_env): Always advance envp.
3050         * stdlib/tst-empty-env.c: New test case.
3051         * stdlib/Makefile (tests): Use it.
3053 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3055         [BZ #21047]
3056         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
3057         name for instruction.
3058         [!__SOFTFP__] (_FPU_SETCW): Likewise.
3060 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3062         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
3063         for make install.
3065 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3067         * po/bg.po: Merge from Translation Project.
3068         * po/fr.po: Likewise.
3069         * po/ko.po: Likewise.
3070         * po/nl.po: Likewise.
3071         * po/sv.po: Likewise.
3073 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3075         * manual/install.texi (Tools for Compilation): Update GCC version
3076         known to work to build glibc.
3077         * INSTALL: Regenerated.
3079 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3081         [BZ #21006]
3082         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
3084 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
3086         [BZ #21045]
3087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3088         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
3089         to __sigprocmask.
3091 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
3093         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
3094         wrap-around.
3095         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
3097         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
3099 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3101         * NEWS: Fix typo.
3103 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3105         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
3106         barriers and comments.
3107         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
3108         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3109         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3111 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3113         [BZ #19402]
3114         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
3115         mutexes.
3117 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3119         [BZ #20985]
3120         * nptl/Makefile: Adapt.
3121         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3122         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3123         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3124         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3125         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
3126         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
3127         lll_robust* functions and adapt.
3128         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3129         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
3130         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3131         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3132         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
3133         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3134         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
3135         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3136         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
3137         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3138         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3139         * nptl/lowlevelrobustlock.c: Remove file.
3140         * nptl/lowlevelrobustlock.sym: Likewise.
3141         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
3142         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
3144 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3146         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3148 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3150         * po/cs.po: Merge translations from the Translation Project.
3151         * po/de.po: Likewise.
3152         * po/pl.po: Likewise.
3153         * po/ru.po: Likewise.
3154         * po/tr.po: Likewise.
3155         * po/uk.po: Likewise.
3156         * po/vi.po: Likewise.
3157         * po/zh_CN.po: Likewise.
3159 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
3161         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
3163         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
3164         object.
3166 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3168         [BZ #16458]
3169         * bits/uintn-identity.h: New file.
3170         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
3171         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
3172         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
3173         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
3174         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
3175         * string/endian.h: Include <bits/uintn-identity.h>.
3176         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
3177         __uint16_identity.
3178         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
3179         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
3180         __uint32_identity.
3181         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
3182         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
3183         __uint64_identity.
3184         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
3185         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
3186         __uint16_identity.
3187         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
3188         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
3189         __uint32_identity.
3190         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
3191         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
3192         __uint64_identity.
3193         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
3194         * string/Makefile (headers): Add bits/uintn-identity.h.
3195         (tests): Add test-endian-types.
3196         * string/test-endian-types.c: New file.
3197         * inet/Makefile (tests): Add test-hnto-types.
3198         * inet/test-hnto-types.c: New file.
3200 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3202         * po/be.po: Update from Translation Project.
3203         * po/bg.po: Likewise.
3204         * po/ca.po: Likewise.
3205         * po/cs.po: Likewise.
3206         * po/da.po: Likewise.
3207         * po/de.po: Likewise.
3208         * po/el.po: Likewise.
3209         * po/eo.po: Likewise.
3210         * po/es.po: Likewise.
3211         * po/fi.po: Likewise.
3212         * po/fr.po: Likewise.
3213         * po/gl.po: Likewise.
3214         * po/hr.po: Likewise.
3215         * po/hu.po: Likewise.
3216         * po/ia.po: Likewise.
3217         * po/id.po: Likewise.
3218         * po/it.po: Likewise.
3219         * po/ja.po: Likewise.
3220         * po/ko.po: Likewise.
3221         * po/lt.po: Likewise.
3222         * po/nb.po: Likewise.
3223         * po/nl.po: Likewise.
3224         * po/pl.po: Likewise.
3225         * po/pt_BR.po: Likewise.
3226         * po/ru.po: Likewise.
3227         * po/rw.po: Likewise.
3228         * po/sk.po: Likewise.
3229         * po/sl.po: Likewise.
3230         * po/sv.po: Likewise.
3231         * po/tr.po: Likewise.
3232         * po/uk.po: Likewise.
3233         * po/vi.po: Likewise.
3234         * po/zh_CN.po: Likewise.
3235         * po/zh_TW.po: Likewise.
3237 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3239         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
3240         -Wformat-truncation instead of -Wformat-length.
3241         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
3242         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
3243         GCC 7.
3244         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
3245         (do_test): Ignore -Wformat-truncation for GCC 7.
3247         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
3248         buffer used to print long int value.
3250         * elf/sotruss-lib.c (init): Increase space allocated for pid by
3251         one byte.  Print it with %ld, cast to long int.
3253 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3255         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
3256         (re.fullmatch, subprocess.run): Likewise.
3258 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3260         * po/libc.pot: Regenerate.
3262 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3264         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
3265         (min_strlen): Likewise.
3266         (disable_tunable): Likewise.
3267         (maybe_disable_malloc_check): Rename to
3268         maybe_enable_malloc_check.
3269         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
3270         if /etc/suid-debug file exists.
3271         (__tunables_init): Update caller.
3272         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
3273         secure.
3275 2016-01-10  Torvald Riegel  <triegel@redhat.com>
3277         * nptl/DESIGN-rwlock.txt: Remove.
3278         * nptl/lowlevelrwlock.sym: Remove.
3279         * nptl/Makefile: Add new tests.
3280         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
3281         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
3282         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
3283         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
3284         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
3285         PTHREAD_RWLOCK_FUTEX_USED): New.
3286         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
3287         implementation.
3288         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
3289         (__pthread_rwlock_rdlock): Adapt.
3290         * nptl/pthread_rwlock_timedrdlock.c
3291         (pthread_rwlock_timedrdlock): Adapt.
3292         * nptl/pthread_rwlock_timedwrlock.c
3293         (pthread_rwlock_timedwrlock): Adapt.
3294         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
3295         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
3296         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
3297         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
3298         (__pthread_rwlock_wrlock): Adapt.
3299         * nptl/tst-rwlock10.c: Adapt.
3300         * nptl/tst-rwlock11.c: Adapt.
3301         * nptl/tst-rwlock17.c: New file.
3302         * nptl/tst-rwlock18.c: New file.
3303         * nptl/tst-rwlock19.c: New file.
3304         * nptl/tst-rwlock2b.c: New file.
3305         * nptl/tst-rwlock8.c: Adapt.
3306         * nptl/tst-rwlock9.c: Adapt.
3307         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3308         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3309         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3310         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3311         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3312         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3313         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3314         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3315         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3316         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3317         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3318         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3319         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3320         (pthread_rwlock_t): Adapt.
3321         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3322         (pthread_rwlock_t): Adapt.
3323         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3324         * nptl/nptl-printers.py (): Adapt.
3325         * nptl/nptl_lock_constants.pysym: Adapt.
3326         * nptl/test-rwlock-printers.py: Adapt.
3327         * nptl/test-rwlockattr-printers.c: Adapt.
3328         * nptl/test-rwlockattr-printers.py: Adapt.
3330 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
3332         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
3333         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
3334         (fma_test_data): Likewise.
3335         (hypot_test_data): Likewise.
3336         (log1p_test_data): Likewise.
3337         (modf_test_data): Likewise.
3338         (pow_test_data): Likewise.
3339         (remainder_test_data): Likewise.
3340         (remquo_test_data): Likewise.
3341         (scalb_test_data): Likewise.
3342         (scalbn_test_data): Likewise.
3343         (scalbln_test_data): Likewise.
3344         * math/gen-libm-test.pl (parse_args): Transform
3345         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
3346         on the rounding mode.
3348 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
3350         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
3351         xfail-rounding:ibm128-libgcc automatically to tests overflowing
3352         and those that can underflow to zero.
3353         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
3354         add others.
3355         * math/auto-libm-test-out: Regenerated.
3357         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
3358         supported.
3359         (feholdexcept_tests): Skip tests requiring exceptions or rounding
3360         modes support if not supported.
3362         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
3363         Add libc.so PLT entry.
3364         (__tls_get_addr): Make ld.so PLT entry optional.
3366 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3368         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
3369         * string/bits/string3.h: ... here.
3371 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3373         [BZ #21028]
3374         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
3375         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
3376         if EXCEPTION_TESTS returns false.
3378 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3380         [BZ #20558]
3381         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
3382         strings_fortified.h.
3383         [__USE_MISC] (bzero): Likewise.
3384         [__USE_MISC] (explicit_bzero): Likewise.
3385         * string/strings.h: Include strings_fortified.h.
3386         * string/Makefile (headers): Add strings_fortified.h.
3387         * string/bits/strings_fortified.h: New file.
3388         * include/bits/strings_fortified.h: Likewise.
3390 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3392         * elf/tst-tls13.c (TIMEOUT): Remove.
3393         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
3394         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
3395         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
3396         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
3397         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
3399         [BZ #21026]
3400         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
3401         (readahead): New syscall entry.
3403 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3405         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
3406         around tests of strncat with large sizes.
3408         * malloc/tst-malloc.c: Include <libc-internal.h>.
3409         (do_test): Disable -Walloc-size-larger-than= around tests of
3410         malloc with negative sizes.
3411         * malloc/tst-mcheck.c: Include <libc-internal.h>.
3412         (do_test): Disable -Walloc-size-larger-than= around tests of
3413         malloc and realloc with negative sizes.
3414         * malloc/tst-realloc.c: Include <libc-internal.h>.
3415         (do_test): Disable -Walloc-size-larger-than= around tests of
3416         realloc with negative sizes.
3418         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
3419         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
3420         allowed to 16 ulps.
3421         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
3422         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
3423         * math/auto-libm-test-out: Regenerated.
3425 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3427         * math/Makefile (libm-calls): Move wrappers...
3428         (libm-compat-call-auto): Here.
3429         (libm-routines): Add items in libm-compat-calls-auto.
3430         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
3431         the filenames of the wrappers that have been renamed.
3432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
3433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3435         * math/w_acos.c: Add _compat suffix to filename.
3436         * math/w_acosf.c: Likewise.
3437         * math/w_acosh.c: Likewise.
3438         * math/w_acoshf.c: Likewise.
3439         * math/w_acoshl.c: Likewise.
3440         * math/w_acosl.c: Likewise.
3441         * math/w_asin.c: Likewise.
3442         * math/w_asinf.c: Likewise.
3443         * math/w_asinl.c: Likewise.
3444         * math/w_atan2.c: Likewise.
3445         * math/w_atan2f.c: Likewise.
3446         * math/w_atan2l.c: Likewise.
3447         * math/w_atanh.c: Likewise.
3448         * math/w_atanhf.c: Likewise.
3449         * math/w_atanhl.c: Likewise.
3450         * math/w_cosh.c: Likewise.
3451         * math/w_coshf.c: Likewise.
3452         * math/w_coshl.c: Likewise.
3453         * math/w_exp10.c: Likewise.
3454         * math/w_exp10f.c: Likewise.
3455         * math/w_exp10l.c: Likewise.
3456         * math/w_exp2.c: Likewise.
3457         * math/w_exp2f.c: Likewise.
3458         * math/w_exp2l.c: Likewise.
3459         * math/w_fmod.c: Likewise.
3460         * math/w_fmodf.c: Likewise.
3461         * math/w_fmodl.c: Likewise.
3462         * math/w_hypot.c: Likewise.
3463         * math/w_hypotf.c: Likewise.
3464         * math/w_hypotl.c: Likewise.
3465         * math/w_j0.c: Likewise.
3466         * math/w_j0f.c: Likewise.
3467         * math/w_j0l.c: Likewise.
3468         * math/w_j1.c: Likewise.
3469         * math/w_j1f.c: Likewise.
3470         * math/w_j1l.c: Likewise.
3471         * math/w_jn.c: Likewise.
3472         * math/w_jnf.c: Likewise.
3473         * math/w_jnl.c: Likewise.
3474         * math/w_log10.c: Likewise.
3475         * math/w_log10f.c: Likewise.
3476         * math/w_log10l.c: Likewise.
3477         * math/w_log2.c: Likewise.
3478         * math/w_log2f.c: Likewise.
3479         * math/w_log2l.c: Likewise.
3480         * math/w_log.c: Likewise.
3481         * math/w_logf.c: Likewise.
3482         * math/w_logl.c: Likewise.
3483         * math/w_pow.c: Likewise.
3484         * math/w_powf.c: Likewise.
3485         * math/w_powl.c: Likewise.
3486         * math/w_remainder.c: Likewise.
3487         * math/w_remainderf.c: Likewise.
3488         * math/w_remainderl.c: Likewise.
3489         * math/w_scalb.c: Likewise.
3490         * math/w_scalbf.c: Likewise.
3491         * math/w_scalbl.c: Likewise.
3492         * math/w_sinh.c: Likewise.
3493         * math/w_sinhf.c: Likewise.
3494         * math/w_sinhl.c: Likewise.
3495         * math/w_sqrt.c: Likewise.
3496         * math/w_sqrtf.c: Likewise.
3497         * math/w_sqrtl.c: Likewise.
3498         * math/w_tgamma.c: Likewise.
3499         * math/w_tgammaf.c: Likewise.
3500         * math/w_tgammal.c: Likewise.
3502         * math/w_acos_compat.c: New file copied from above and
3503         adjusted for new #includes path
3504         * math/w_acosf_compat.c: Likewise.
3505         * math/w_acosh_compat.c: Likewise.
3506         * math/w_acoshf_compat.c: Likewise.
3507         * math/w_acoshl_compat.c: Likewise.
3508         * math/w_acosl_compat.c: Likewise.
3509         * math/w_asin_compat.c: Likewise.
3510         * math/w_asinf_compat.c: Likewise.
3511         * math/w_asinl_compat.c: Likewise.
3512         * math/w_atan2_compat.c: Likewise.
3513         * math/w_atan2f_compat.c: Likewise.
3514         * math/w_atan2l_compat.c: Likewise.
3515         * math/w_atanh_compat.c: Likewise.
3516         * math/w_atanhf_compat.c: Likewise.
3517         * math/w_atanhl_compat.c: Likewise.
3518         * math/w_cosh_compat.c: Likewise.
3519         * math/w_coshf_compat.c: Likewise.
3520         * math/w_coshl_compat.c: Likewise.
3521         * math/w_exp10_compat.c: Likewise.
3522         * math/w_exp10f_compat.c: Likewise.
3523         * math/w_exp10l_compat.c: Likewise.
3524         * math/w_exp2_compat.c: Likewise.
3525         * math/w_exp2f_compat.c: Likewise.
3526         * math/w_exp2l_compat.c: Likewise.
3527         * math/w_fmod_compat.c: Likewise.
3528         * math/w_fmodf_compat.c: Likewise.
3529         * math/w_fmodl_compat.c: Likewise.
3530         * math/w_hypot_compat.c: Likewise.
3531         * math/w_hypotf_compat.c: Likewise.
3532         * math/w_hypotl_compat.c: Likewise.
3533         * math/w_j0_compat.c: Likewise.
3534         * math/w_j0f_compat.c: Likewise.
3535         * math/w_j0l_compat.c: Likewise.
3536         * math/w_j1_compat.c: Likewise.
3537         * math/w_j1f_compat.c: Likewise.
3538         * math/w_j1l_compat.c: Likewise.
3539         * math/w_jn_compat.c: Likewise.
3540         * math/w_jnf_compat.c: Likewise.
3541         * math/w_jnl_compat.c: Likewise.
3542         * math/w_log10_compat.c: Likewise.
3543         * math/w_log10f_compat.c: Likewise.
3544         * math/w_log10l_compat.c: Likewise.
3545         * math/w_log2_compat.c: Likewise.
3546         * math/w_log2f_compat.c: Likewise.
3547         * math/w_log2l_compat.c: Likewise.
3548         * math/w_log_compat.c: Likewise.
3549         * math/w_logf_compat.c: Likewise.
3550         * math/w_logl_compat.c: Likewise.
3551         * math/w_pow_compat.c: Likewise.
3552         * math/w_powf_compat.c: Likewise.
3553         * math/w_powl_compat.c: Likewise.
3554         * math/w_remainder_compat.c: Likewise.
3555         * math/w_remainderf_compat.c: Likewise.
3556         * math/w_remainderl_compat.c: Likewise.
3557         * math/w_scalb_compat.c: Likewise.
3558         * math/w_scalbf_compat.c: Likewise.
3559         * math/w_scalbl_compat.c: Likewise.
3560         * math/w_sinh_compat.c: Likewise.
3561         * math/w_sinhf_compat.c: Likewise.
3562         * math/w_sinhl_compat.c: Likewise.
3563         * math/w_sqrt_compat.c: Likewise.
3564         * math/w_sqrtf_compat.c: Likewise.
3565         * math/w_sqrtl_compat.c: Likewise.
3566         * math/w_tgamma_compat.c: Likewise.
3567         * math/w_tgammaf_compat.c: Likewise.
3568         * math/w_tgammal_compat.c: Likewise.
3570         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
3571         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3572         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3573         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3574         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3575         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3576         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3577         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3578         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3579         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
3580         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
3581         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
3582         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3583         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3584         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3585         * sysdeps/ia64/fpu/w_powl.c: Likewise.
3586         * sysdeps/ia64/fpu/w_powf.c: Likewise.
3587         * sysdeps/ia64/fpu/w_pow.c: Likewise.
3588         * sysdeps/ia64/fpu/w_logl.c: Likewise.
3589         * sysdeps/ia64/fpu/w_logf.c: Likewise.
3590         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3591         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3592         * sysdeps/ia64/fpu/w_log2.c: Likewise.
3593         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3594         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3595         * sysdeps/ia64/fpu/w_log10.c: Likewise.
3596         * sysdeps/ia64/fpu/w_log.c: Likewise.
3597         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3598         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3599         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3600         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3601         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3602         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3603         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3604         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3605         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3606         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3607         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3608         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3609         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3610         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3611         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3612         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3613         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3614         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3615         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3616         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3617         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3618         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3619         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3620         * sysdeps/ia64/fpu/w_asin.c: Likewise.
3621         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3622         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3623         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3624         * sysdeps/ia64/fpu/w_acos.c: Likewise.
3625         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3626         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3627         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3628         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
3629         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
3630         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
3631         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
3632         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
3633         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
3634         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
3635         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
3636         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
3637         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
3638         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
3639         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
3640         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
3641         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
3642         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
3643         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
3644         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
3645         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
3646         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
3647         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
3648         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
3649         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
3650         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
3651         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
3652         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
3653         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
3654         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
3655         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
3656         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
3657         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
3658         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
3659         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
3660         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
3661         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
3662         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
3663         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
3664         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
3665         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
3666         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
3667         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
3668         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
3669         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
3670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
3671         Likewise.
3672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
3673         Likewise.
3674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
3675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
3676         Likewise.
3677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
3678         Likewise.
3679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
3680         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3681         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3682         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3683         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3684         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3685         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
3687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
3689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3690         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3691         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3692         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3693         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3695         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
3696         and adjusted for new #includes path
3697         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
3698         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
3699         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
3700         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
3701         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
3702         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
3703         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
3704         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
3705         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
3706         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
3707         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
3708         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
3709         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
3710         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
3711         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
3712         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
3713         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
3714         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
3715         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
3716         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
3717         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
3718         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
3719         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
3720         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
3721         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
3722         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
3723         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
3724         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
3725         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
3726         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
3727         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
3728         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
3729         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
3730         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
3731         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
3732         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
3733         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
3734         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
3735         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
3736         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
3737         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
3738         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
3739         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
3740         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
3741         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
3742         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
3743         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
3744         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
3745         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
3746         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
3747         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
3748         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
3749         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
3750         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
3751         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
3752         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
3753         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
3754         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
3755         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3756         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3757         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3758         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3759         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3760         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3761         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3762         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3763         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3764         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3765         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3766         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
3767         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
3768         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3769         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3770         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3771         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3772         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3773         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3774         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3775         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3776         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3777         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3778         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3779         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3780         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3781         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3782         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3783         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3784         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3785         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3786         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
3787         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3788         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
3789         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
3790         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3791         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3792         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3793         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3794         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3795         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
3797         Likewise.
3798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
3799         Likewise.
3800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
3801         Likewise.
3802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
3803         Likewise.
3804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
3805         Likewise.
3806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
3807         Likewise.
3808         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3809         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3810         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3811         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3812         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3813         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3815         Likewise.
3816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3817         Likewise.
3818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3819         Likewise.
3820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3821         Likewise.
3822         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3823         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3824         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3825         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3827 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3829         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
3830         __jmp_buf_internal_tag.
3832         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
3833         preserve NaN payload if [__mips_nan2008].
3834         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3836         [BZ #21022]
3837         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
3839 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3841         * sysdeps/i386/fpu/libm-test-ulps: Update.
3843 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3845         * sysdeps/ia64/strcat.c: Remove file.
3846         * sysdeps/powerpc/strcat.c: Likewise.
3847         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
3848         C implementation.
3849         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
3850         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
3852 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3853             Steven Munroe  <sjmunroe@us.ibm.com>
3854             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3856         [BZ #20822]
3857         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3858         (__lll_lock_elision): Access adapt_count via C11 atomics.
3859         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3860         (__lll_trylock_elision): Likewise.
3861         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3862         (__lll_unlock_elision):  Update adapt_count variable inside the
3863         critical section using C11 atomics.
3865 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3867         * math/test-fenvinline.c (do_test): Disable tests of raised
3868         exceptions if !EXCEPTION_TESTS (FLOAT).
3870 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3872         [BZ #19390]
3873         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
3874         maximum string size.
3875         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
3876         in pointer addition.
3877         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
3878         Likewise.
3880 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3882         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
3883         passed to tst-ldconfig-X.sh.
3885 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
3887         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
3889 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3891         [BZ #21019]
3892         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
3893         New syscall entry.
3894         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
3895         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
3896         lseek.
3898         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3899         power4 glibc for powerpc-linux-gnu.
3901 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3903         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
3904         semctl.
3906 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3908         * math/test-nearbyint-except.c: Include <stdbool.h>.
3909         (any_supported): New variable.
3910         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
3911         set any_supported.
3912         (do_test): Return 77 if no floating-point type supported
3913         exceptions.
3915         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
3916         condition on [__mips_hard_float].
3918 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3920         [BZ #21014]
3921         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
3922         in pointer addition.
3923         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
3925 2017-01-02  Torvald Riegel  <triegel@redhat.com>
3927         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
3928         new condvar.
3930 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3932         * scripts/build-many-glibcs.py (Context.checkout): Default
3933         binutils version to 2.28 branch.
3935 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3937         * support/support_format_netent.c (support_format_netent): Work
3938         around alpha struct netent definition difference.
3940 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3942         * support/xwrite.c (xwrite): Use %td for pointer difference.
3944 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3946         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
3947         have-tunables only.
3948         (tests-static): Add tst-malloc-usable-static-tunables for
3949         have-tunables only.
3951 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
3953         * scripts/config.guess: Update to version 2017-01-01.
3954         * scripts/config.sub: Update to version 2017-01-01.
3956         * NEWS: Update copyright dates.
3957         * catgets/gencat.c (print_version): Likewise.
3958         * csu/version.c (banner): Likewise.
3959         * debug/catchsegv.sh: Likewise.
3960         * debug/pcprofiledump.c (print_version): Likewise.
3961         * debug/xtrace.sh (do_version): Likewise.
3962         * elf/ldconfig.c (print_version): Likewise.
3963         * elf/ldd.bash.in: Likewise.
3964         * elf/pldd.c (print_version): Likewise.
3965         * elf/sotruss.sh: Likewise.
3966         * elf/sprof.c (print_version): Likewise.
3967         * iconv/iconv_prog.c (print_version): Likewise.
3968         * iconv/iconvconfig.c (print_version): Likewise.
3969         * locale/programs/locale.c (print_version): Likewise.
3970         * locale/programs/localedef.c (print_version): Likewise.
3971         * login/programs/pt_chown.c (print_version): Likewise.
3972         * malloc/memusage.sh (do_version): Likewise.
3973         * malloc/memusagestat.c (print_version): Likewise.
3974         * malloc/mtrace.pl: Likewise.
3975         * manual/libc.texinfo: Likewise.
3976         * nptl/version.c (banner): Likewise.
3977         * nscd/nscd.c (print_version): Likewise.
3978         * nss/getent.c (print_version): Likewise.
3979         * nss/makedb.c (print_version): Likewise.
3980         * posix/getconf.c (main): Likewise.
3981         * scripts/test-installation.pl: Likewise.
3982         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3984         * All files with FSF copyright notices: Update copyright dates
3985         using scripts/update-copyrights.
3986         * intl/plural.c: Regenerated.
3987         * locale/programs/charmap-kw.h: Likewise.
3988         * locale/programs/locfile-kw.h: Likewise.
3990 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3992         [BZ #20593]
3993         Update DNS RR type definitions.
3994         * scripts/gen-rrtypes.py: New file.
3995         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
3996         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
3997         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
3998         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
3999         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
4000         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
4001         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
4002         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
4003         ns_t_ta, ns_t_dlv.
4004         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
4005         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
4006         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
4007         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
4008         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
4009         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
4010         Define.
4011         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
4012         entry for ns_t_zxfr.
4014 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4016         [BZ #18784]
4017         CVE-2015-5180
4018         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
4019         T_UNSPEC.  Adjust value.
4020         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
4021         * resolv/res_query.c (__libc_res_nquery): Likewise.
4022         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
4023         QTYPEs.
4024         * resolv/tst-resolv-qtypes.c: New file.
4025         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
4026         (tst-resolv-qtypes): Link against libresolv and libpthread.
4028 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4030         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
4032 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4034         * manual/tunables.texi: New chapter.
4035         * manual/Makefile (chapters): Add it.
4036         * manual/probes.texi (@node): Point to the Tunables chapter.
4038         * Makeconfig (have-tunables): Check for non-negative instead
4039         of positive.
4040         * configure.ac: Add 'valstring' as a valid value for
4041         --enable-tunables.
4042         * configure: Regenerate.
4043         * elf/Makefile (have-tunables): Check for non-negative instead
4044         of positive.
4045         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
4046         dl-tunables.c.
4047         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
4048         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4049         (tunables_strdup): Likewise.
4050         (disable_tunables): Likewise.
4051         (parse_tunables): Likewise.
4052         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
4053         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4054         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
4055         (TUNABLES_FRONTEND_yes): New macro, define as
4056         TUNABLES_FRONTEND_valstring by default.
4057         * manual/install.texi: Document new acceptable values for
4058         --enable-tunables.
4059         * INSTALL: Regenerate.
4061         * config.make.in (have-loop-to-function): Define.
4062         * elf/Makefile (CFLAGS-dl-tunables.c): Add
4063         -fno-tree-loop-distribute-patterns.
4064         * elf/dl-tunables.c: Include libc-internals.h.
4065         (GLIBC_TUNABLES): New macro.
4066         (tunables_strdup): New function.
4067         (parse_tunables): New function.
4068         (min_strlen): New function.
4069         (__tunables_init): Use the new functions and macro.
4070         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
4071         * malloc/tst-malloc-usable-tunables.c: New test case.
4072         * malloc/tst-malloc-usable-static-tunables.c: New test case.
4073         * malloc/Makefile (tests, tests-static): Add tests.
4075         * manual/install.texi: Add --enable-tunables option.
4076         * INSTALL: Regenerate.
4077         * README.tunables: New file.
4078         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
4079         (before-compile): Generate dl-tunable-list.h early.
4080         * config.h.in: Add HAVE_TUNABLES.
4081         * config.make.in: Add have-tunables.
4082         * configure.ac: Add --enable-tunables option.
4083         * configure: Regenerate.
4084         * csu/init-first.c (__libc_init_first): Move
4085         __libc_init_secure earlier...
4086         * csu/init-first.c (LIBC_START_MAIN):... to here.
4087         Include dl-tunables.h, libc-internal.h.
4088         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
4089         binaries.
4090         * elf/Makefile (dl-routines): Add dl-tunables.
4091         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
4092         namespace.
4093         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
4094         only when !HAVE_TUNABLES.
4095         * elf/rtld.c (process_envvars): Likewise.
4096         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
4097         (_dl_sysdep_start): Call __tunables_init.
4098         * elf/dl-tunable-types.h: New file.
4099         * elf/dl-tunables.c: New file.
4100         * elf/dl-tunables.h: New file.
4101         * elf/dl-tunables.list: New file.
4102         * malloc/tst-malloc-usable-static.c: New test case.
4103         * malloc/Makefile (tests-static): Add it.
4104         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
4105         Define TUNABLE_NAMESPACE.
4106         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
4107         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
4108         callback functions.
4109         (ptmalloc_init): Set tunable values.
4110         * scripts/gen-tunables.awk: New file.
4111         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
4112         (_dl_sysdep_start): Call __tunables_init.
4114 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4116         * resolv/resolv.h (RES_BLAST): Deprecate.
4117         * resolv/res_debug.c (p_option): Remove RES_BLAST.
4118         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
4119         to RES_BLAST.
4121 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4123         [BZ #19582]
4124         Deprecate RES_USE_INET6.
4125         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
4126         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
4127         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
4128         RES_USE_INET6.
4129         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
4130         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
4131         (_nss_nisplus_gethostbyaddr_r): Likewise.
4132         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
4133         of res_use_inet6.
4134         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
4135         instead of RES_USE_INET6.
4136         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
4137         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
4138         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
4139         Likewise.
4140         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
4141         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
4142         Likewise.
4143         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
4144         (_nss_dns_gethostbyname_r): Likewise.
4145         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
4146         alternate RES_USE_INET6 handling.
4147         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
4148         instead of RES_USE_INET6.
4149         * resolv/res_init.c (res_setoptions): Likewise.
4150         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
4151         * resolv/resolv-internal.h: New file.
4152         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
4153         make the deprecation warning non-fatal.
4154         * resolv/README (Using the resolver in multi-threaded code): Drop
4155         reference to RES_USE_INET6.
4156         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
4157         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
4159 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4161         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
4162         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
4163         tst-resolv-search.
4164         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
4165         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
4166         with libresolv and libpthread.
4167         * resolv/tst-bug18665.c: New file.
4168         * resolv/tst-bug18665-tcp: Likewise.
4169         * resolv/tst-res_use_inet6: Likewise.
4170         * resolv/tst-resolv-basic: Likewise.
4171         * resolv/tst-resolv-network: Likewise.
4172         * resolv/tst-resolv-search: Likewise.
4173         * support/Makefile (libsupport-routines): Add check_addrinfo,
4174         check_dns_packet, check_hostent, check_netent, resolv_test,
4175         support_format_address_family, support_format_addrinfo,
4176         support_format_dns_packet, support_format_herrno,
4177         support_format_hostent, support_format_netent, support_run_diff,
4178         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
4179         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
4180         xstrdup, xwrite.
4181         * support/check_addrinfo.c: New file.
4182         * support/check_dns_packet.c: Likewise.
4183         * support/check_hostent.c: Likewise.
4184         * support/check_netent.c: Likewise.
4185         * support/check_nss.h: Likewise.
4186         * support/format_nss.h: Likewise.
4187         * support/resolv_test.c: Likewise.
4188         * support/resolv_test.h: Likewise.
4189         * support/run_diff.h: Likewise.
4190         * support/support_format_address_family.c: Likewise.
4191         * support/support_format_addrinfo.c: Likewise.
4192         * support/support_format_dns_packet.c: Likewise.
4193         * support/support_format_herrno.c: Likewise.
4194         * support/support_format_hostent.c: Likewise.
4195         * support/support_format_netent.c: Likewise.
4196         * support/support_run_diff.c: Likewise.
4197         * support/xaccept.c: Likewise.
4198         * support/xbind.c: Likewise.
4199         * support/xconnect.c: Likewise.
4200         * support/xfclose.c: Likewise.
4201         * support/xfopen.c: Likewise.
4202         * support/xgetsockname.c: Likewise.
4203         * support/xlisten.c: Likewise.
4204         * support/xmemstream.c: Likewise.
4205         * support/xmemstream.h: Likewise.
4206         * support/xpoll.c: Likewise.
4207         * support/xpthread_once.c: Likewise.
4208         * support/xrecvfrom.c: Likewise.
4209         * support/xsendto.c: Likewise.
4210         * support/xsetsockopt.c: Likewise.
4211         * support/xstdio.h: Likewise.
4212         * support/xstrdup.c: Likewise.
4213         * support/support.h (xstrdup): Declare.
4214         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
4215         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
4216         * support/xthread.h (xpthread_once): Likwise.
4217         * support/xunistd.h (xwrite): Declare.
4219 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4221         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
4222         (test_verbose): Declare.
4223         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
4224         * support/support_test_main.c (default_options): Likewise.
4225         (usage, support_test_main): Handle 'v'.
4226         (test_verbose): Define.
4227         * support/tst-support_record_failure.c (do_test): Use
4228         test_verbose.
4229         * support/tst-support_record_failure-2.sh (different_status): Add
4230         --verbose test.
4232 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4234         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
4235         test failures are recorded.
4236         * support/check.c (support_print_failure_impl): Call
4237         support_record_failure.
4238         (support_exit_failure_impl): Call support_record_failure if status
4239         indicates failure.
4240         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
4241         * support/xasprintf.c (xasprintf): Likewise.
4242         * support/xfork.c (xfork): Likewise.
4243         * support/xpthread_check_return.c (xpthread_check_return):
4244         Likewise.
4245         * support/xsocket.c (xsocket): Likeweise.
4246         * support/xwaitpid.c (xwaitpid): Likewise.
4247         * support/support_record_failure.c (struct test_failures): Adjust
4248         to coding style.
4249         * support/support_test_verify_impl.c (support_test_verify_impl):
4250         Adjust error messages.
4251         * support/tst-support_record_failure-2.sh (different_status):
4252         Adjust error messages.
4254 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4256         * support/namespace.h: New file.
4257         * support/support_become_root.c: Likewise.
4258         * support/support_enter_network_namespace.c: Likewise.
4259         * support/tst-support-namespace.c: Likewise.
4260         * support/xsocket.c: Likewise.
4261         * support/xsocket.h: Likewise.
4262         * support/Makefile (libsupport-routines): Add support_become_root,
4263         support_enter_network_namespace, xsocket.
4264         (tests): Add tst-support-namespace.
4266 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4268         [BZ #17252]
4269         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
4270         __USE_GNU.
4272 2016-12-31  Torvald Riegel  <triegel@redhat.com>
4274         [BZ #13165]
4275         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
4276         use new algorithm.
4277         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4278         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4279         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4280         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4281         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
4282         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
4283         __condvar_cleanup_waiting, __condvar_dec_grefs,
4284         __pthread_cond_wait_common): New.
4285         (__condvar_cleanup): Remove.
4286         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
4287         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
4288         Likewise.
4289         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
4290         Likewise.
4291         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
4292         * nptl/tst-cond1.c: Add comment.
4293         * nptl/tst-cond20.c (do_test): Adapt.
4294         * nptl/tst-cond22.c (do_test): Likewise.
4295         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
4296         structure.
4297         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4298         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4299         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4300         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
4301         Likewise.
4302         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4303         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4304         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4305         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4306         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4307         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
4308         Likewise.
4309         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
4310         Likewise.
4311         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4312         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
4313         (COND_CLOCK_BITS): Adapt.
4314         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
4315         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
4316         __PTHREAD_COND_SHARED_MASK): New.
4317         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
4318         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
4319         * nptl/nptl_lock_constants.pysym: Adapt.
4320         * nptl/test-cond-printers.py: Adapt.
4321         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
4322         cond_compat_check_and_clear): Adapt.
4323         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
4324         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4325         (__pthread_cond_timedwait): ... and move here.
4326         * nptl/DESIGN-condvar.txt: Remove file.
4327         * nptl/lowlevelcond.sym: Likewise.
4328         * nptl/pthread_cond_timedwait.c: Likewise.
4329         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
4330         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
4331         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
4332         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
4333         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
4334         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
4335         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
4336         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
4337         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
4338         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
4339         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
4340         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
4341         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
4342         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
4343         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
4344         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
4346 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
4348         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4349         (fromfp): New declaration.
4350         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4351         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4353         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
4354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
4355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4356         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4357         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4358         * math/math.h: Include <bits/types.h>.
4359         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
4360         constant and macro.
4361         (FP_INT_DOWNWARD): Likewise.
4362         (FP_INT_TOWARDZERO): Likewise.
4363         (FP_INT_TONEARESTFROMZERO): Likewise.
4364         (FP_INT_TONEAREST): Likewise.
4365         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
4366         (fromfpf): Likewise.
4367         (fromfpl): Likewise.
4368         (ufromfp): Likewise.
4369         (ufromfpf): Likewise.
4370         (ufromfpl): Likewise.
4371         (fromfpx): Likewise.
4372         (fromfpxf): Likewise.
4373         (fromfpxl): Likewise.
4374         (ufromfpx): Likewise.
4375         (ufromfpxf): Likewise.
4376         (ufromfpxl): Likewise.
4377         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
4378         s_fromfpxF and s_ufromfpxF.
4379         * math/gen-fromfp-tests.py: New file.
4380         * math/gen-fromfp-tests-inputs: Likewise.
4381         * math/libm-test.inc: Include <stdint.h>
4382         (check_intmax_t): New function.
4383         (check_uintmax_t): Likewise.
4384         (struct test_fiu_M_data): New type.
4385         (struct test_fiu_U_data): Likewise.
4386         (RUN_TEST_fiu_M): New macro.
4387         (RUN_TEST_LOOP_fiu_M): Likewise.
4388         (RUN_TEST_fiu_U): Likewise.
4389         (RUN_TEST_LOOP_fiu_U): Likewise.
4390         (fromfp_test_data): New array.
4391         (fromfp_test): New function.
4392         (fromfpx_test_data): New array.
4393         (fromfpx_test): New function.
4394         (ufromfp_test_data): New array.
4395         (ufromfp_test): New function.
4396         (ufromfpx_test_data): New array.
4397         (ufromfpx_test): New function.
4398         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
4399         ufromfpx_test.
4400         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
4401         characters.
4402         * math/test-tgmath-ret.c: Include <stdint.h>.
4403         (rm): New variable.
4404         (width): Likewise.
4405         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
4406         called function.
4407         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
4408         CHECK_RET_CONST_TYPE.
4409         (CHECK_RET_CONST_DOUBLE): Likewise.
4410         (CHECK_RET_CONST_LDOUBLE): Likewise.
4411         (CHECK_RET_CONST): Take extra arguments and pass them to calls
4412         macros.
4413         (fromfp): New CHECK_RET_CONST call.
4414         (ufromfp): Likewise.
4415         (fromfpx): Likewise.
4416         (ufromfpx): Likewise.
4417         (do_test): Call check_return_fromfp, check_return_ufromfp,
4418         check_return_fromfpx and check_return_ufromfpx.
4419         * math/test-tgmath.c: Include <stdint.h>
4420         (NCALLS): Increase to 138.
4421         (F(compile_test)): Initialize i.  Call fromfp functions.
4422         (F(fromfp)): New function.
4423         (F(fromfpx)): Likewise.
4424         (F(ufromfp)): Likewise.
4425         (F(ufromfpx)): Likewise.
4426         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
4427         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
4428         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
4429         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
4430         ufromfpxl.
4431         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
4432         ufromfp and ufromfpx.
4433         * math/fromfp.h: New file.
4434         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
4435         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
4436         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
4437         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
4438         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
4439         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
4440         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
4441         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
4442         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
4443         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
4444         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
4445         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
4446         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
4447         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
4448         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
4449         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
4450         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
4451         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
4452         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
4453         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
4454         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
4455         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
4456         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
4457         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
4458         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
4459         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
4460         ufromfp, fromfpx and ufromfpx.
4461         (CFLAGS-nldbl-fromfp.c): New variable.
4462         (CFLAGS-nldbl-fromfpx.c): Likewise.
4463         (CFLAGS-nldbl-ufromfp.c): Likewise.
4464         (CFLAGS-nldbl-ufromfpx.c): Likewise.
4465         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
4466         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
4467         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
4468         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
4469         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
4470         * sysdeps/nacl/libm.abilist: Update.
4471         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4472         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4473         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4474         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4475         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4476         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4477         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4478         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4479         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4480         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4481         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4482         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4484         Likewise.
4485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4486         Likewise.
4487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4488         Likewise.
4489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4490         Likewise.
4491         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4492         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4493         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4494         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4495         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4497         Likewise.
4498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4499         Likewise.
4500         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4501         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4502         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4504 2016-12-30  Florian Weimer  <fweimer@redhat.com>
4506         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
4507         compat-gethnamaddr.
4508         (CPPFLAGS): Remove.
4509         * resolv/gethnamaddr.c: Rename ...
4510         * resolv/compat-gethnamaddr.c: ... to this file.
4511         (_endhtent): Make static.
4512         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
4513         symbol.
4514         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
4515         compat symbol.
4516         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
4517         symbol.
4518         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
4519         Turn into compat symbol.
4520         * include/resolv.h (_endhtent): Remove declaration.
4522 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
4524         * bits/types.h (__intmax_t): New typedef.
4525         (__uintmax_t): Likewise.
4526         * sysdeps/generic/stdint.h: Include <bits/types.h>.
4527         (intmax_t): Define using __intmax_t.
4528         (uintmax_t): Define using __uintmax_t.
4530         * support/Makefile (tests-special): Make definition conditional on
4531         [$(run-built-tests) = yes].
4532         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
4533         on [$(run-built-tests) = yes].
4535 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4537         * Rules (tests): Add tests-printers-programs to tests to be
4538         built.
4540 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4542         * sysvipc/Makefile (tests): Add test-sysvshm.
4543         * sysvipc/test-sysvshm.c: New file.
4545         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
4546         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
4547         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
4548         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
4549         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
4550         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
4551         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
4552         Likewise.
4553         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
4554         Likewise.
4555         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
4556         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
4557         is defined.
4559         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
4560         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
4561         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
4562         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
4563         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
4564         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
4565         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
4566         Likewise.
4567         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
4568         Likewise.
4569         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
4570         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
4571         defined.
4573         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4574         oldshmctl.
4575         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
4576         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
4577         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
4578         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
4579         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
4580         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
4581         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
4582         Likewise.
4583         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
4584         Likewise.
4585         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
4586         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
4587         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
4588         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
4589         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
4590         implementation.
4591         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
4592         if it is defined.
4594         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
4595         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
4596         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
4597         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
4598         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
4599         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
4600         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
4601         Likewise.
4602         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
4603         Likewise.
4604         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
4605         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4606         Define to __NR_osf_shmat.
4607         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
4608         defined.
4610         * sysvipc/Makefile (tests): Add test-sysvsem.
4611         * sysvipc/test-sysvsem.c: New file.
4613         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
4614         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
4615         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
4616         Likewise.
4617         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
4618         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
4619         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
4620         Likewise.
4621         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
4622         Likewise.
4623         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
4624         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
4625         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
4626         add a comment about s390 syscall difference from default one.
4627         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
4628         syscall if it is defined.
4630         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
4631         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
4632         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
4633         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
4634         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
4635         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
4636         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
4637         Likewise.
4638         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
4639         Likewise.
4640         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
4641         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
4642         defined.
4644         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
4645         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
4646         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
4647         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
4648         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
4649         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
4650         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
4651         Likewise.
4652         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
4653         Likewise.
4654         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
4655         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
4656         if it is defined.
4658         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4659         oldsemctl.
4660         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
4661         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
4662         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
4663         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4664         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
4665         implementation.
4666         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
4667         syscall if it is defined.
4668         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
4669         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
4670         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
4671         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
4672         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
4673         Likewise.
4674         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
4676         * sysvipc/Makefile (tests): Add test-sysvmsg.
4677         * sysvipc/test-sysvmsg.c: New file.
4678         * support/check.h (FAIL_UNSUPPORTED): New define.
4680         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
4681         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
4682         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
4683         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
4684         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
4685         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
4686         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
4687         Likewise.
4688         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
4689         Likewise.
4690         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
4691         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
4692         define.
4694         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
4695         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
4696         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
4697         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
4698         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
4699         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
4700         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
4701         Likewise.
4702         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
4703         Likewise.
4704         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
4705         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
4706         if defined.
4708         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
4709         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
4710         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4711         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4712         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4713         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
4714         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4715         Likewise.
4716         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
4717         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
4718         Likewise.
4719         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
4720         if defined.
4721         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
4723         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4724         oldmsgctl.
4725         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
4726         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
4727         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
4728         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
4729         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4730         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4731         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4732         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4733         Likewise.
4734         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
4735         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
4736         implementation.
4737         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
4738         if defined.
4740         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
4741         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
4742         definition and define its own.
4743         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
4744         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
4745         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
4746         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
4747         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
4748         definitions to common header.
4749         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
4750         operation from ipc_ops.h.
4752         * sysdeps/unix/sysv/linux/kernel-features.h
4753         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
4754         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4755         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
4756         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4757         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4758         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4759         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4760         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4761         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4762         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4763         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4764         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4765         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4766         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4767         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4769 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4771         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
4772         overflow in pointer addition.
4774 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4776         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4777         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
4778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4779         (strchr): Add __strchr_power8 to list of strchr functions.
4780         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
4781         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
4782         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
4783         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
4784         (strchr): Add __strchr_power8 to ifunc list.
4785         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
4786         (__strchrnul): Add __strchrnul_power8 to ifunc list.
4787         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
4788         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
4790 2016-12-28  Florian Weimer  <fweimer@redhat.com>
4792         * support/Makefile (libsupport-routines): Add
4793         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
4794         (tests): Add tst-support_record_failure.
4795         (tests-special): tst-support_record_failure-2.
4796         (tst-support_record_failure-2.out): Depend on
4797         tst-support_record_failure-2.sh and tst-support_record_failure.
4798         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
4799         (support_test_verify_impl, support_record_failure)
4800         (support_report_failure, support_report_failure_reset): Declare.
4801         * support/support_test_main.c (adjust_exit_status): New function.
4802         (support_test_main): Call it to incorporate record test failures.
4803         * support/support_test_verify_impl.c: New file.
4804         * support/support_record_failure.c: Likewise.
4805         * support/tst-support_record_failure.c: Likewise.
4806         * support/tst-support_record_failure-2.sh: Likewise.
4807         * support/xunistd.h: Likewise.
4808         * support/xfork.c: Likewise.
4809         * support/xwaitpid.c: Likewise.
4811 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
4813         * scripts/check-c++-types.sh: Add comments.
4815 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
4817         [BZ #19514]
4818         * resolv/res_send.c: Fix typo in comment.
4819         * sysdeps/i386/i386-mcount.S: Likewise.
4820         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4821         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4822         * sysdeps/sparc/sparc-mcount.S: Likewise.
4824 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4826         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
4827         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
4828         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4829         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4830         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
4831         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
4832         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
4833         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
4835 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4837         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
4839 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4841         [BZ #17252]
4842         * posix/unistd.h (getentropy): Declare.
4844 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4846         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
4847         Remove.
4848         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
4849         (cmd): Remove spoof, nospoof, spoofalert.
4850         (parse_line): Ignore spoof-related lines.
4851         (do_init): Do not process RESOLV_SPOOF_CHECK.
4853 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4855         [BZ #20964]
4856         sunrpc: Always obtain AF_INET addresses from NSS.
4857         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
4858         * sunrpc/rpc_gethostbyname.c: New file.
4859         * sunrpc/Makefile (routines): Add it.
4860         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
4861         * sunrpc/clnt_simp.c (callrpc): Likewise.
4862         * sunrpc/getrpcport.c (getrpcport): Likewise.
4864 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4866         * sunrpc/rpcinfo.c: Remove.
4867         * sunrpc/Makefile: Remove comments referring to rpcinfo.
4869 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4871         [BZ# 19387]
4872         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
4873         addition.
4874         * string/test-memchr.c (do_test): Remove alignment limitation.
4875         (test_main): Add test that trigger BZ# 19387.
4877 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4879         [BZ #7065]
4880         Enable stack protectore if requested by ./configure.
4881         * Makeconfig (+stack-protector): New variable.
4882         (+cflags): Use it.
4884 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4886         [BZ #7065]
4887         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
4888         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
4889         (__rt_sigreturn_stub): Use inhibit_stack_protector.
4890         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4891         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
4893 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4895         [BZ #7065]
4896         * login/Makefile (pt_chown-cflags): Remove.
4897         * nscd/Makefile (CFLAGS-nscd): Likewise.
4898         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4900 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4902         [BZ #7065]
4903         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
4904         non-libc-linking testcase.
4906 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4907             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4908             Florian Weimer  <fweimer@redhat.com>
4910         [BZ #7065]
4911         PLT avoidance for __stack_chk_fail*.
4912         * debug/Makefile (CFLAGS-stack_chk_fail.c)
4913         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
4914         * debug/stack_chk_fail.c (__stack_chk_fail): Add
4915         __stack_chk_fail_local alias.
4916         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
4917         (__stack_chk_fail): Turn into hidden reference to
4918         __stack_chk_fail_local.
4920 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4922         [BZ #7065]
4923         * configure.ac: Add check for unsupported stack-protection level.
4924         (libc_cv_predef_stack_protector): Remove.
4925         (no_ssp): New variable.
4926         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
4927         (stack_protector): Set to -fno-stack-protector similarly.
4928         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
4929         (libc_cv_asm_set_directive): Likewise.
4930         (libc_cv_protected_data): Likewise.
4931         (libc_cv_z_combreloc): Likewise.
4932         (libc_cv_hashstyle): Likewise.
4933         (libc_cv_has_glob_dat): Likewise.
4934         (libc_cv_output_format): Likewise.
4935         (libc_cv_output_format): Likewise.
4936         (libc_cv_ehdr_start): Likewise.
4937         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
4938         (LIBC_LINKER_FEATURE): Likewise.
4939         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
4941 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4943         [BZ #7065]
4944         * elf/Makefile (dummy-stack-chk-fail): New.
4945         (librtld.map): Use it.
4947 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4949         [BZ #7065]
4950         Compile the dynamic linker without stack protection.
4951         * elf/Makefile (elide-stack-protector): New.
4952         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
4953         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
4954         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
4955         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
4957 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4959         [BZ #7065]
4960         * config.make.in (have-ssp, no-stack-protector): New.
4961         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
4962         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
4963         (CFLAGS-sbrk.op): Likewise.
4964         (CFLAGS-brk.o): Likewise.
4965         (CFLAGS-brk.op): Likewise.
4966         * string/Makefile (CFLAGS-memcpy.c): Likewise.
4967         (CFLAGS-wordcopy.c): Likewise.
4969 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4971         [BZ #7065]
4972         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
4973         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
4974         * include/libc-symbols.h (inhibit_stack_protector): New macro.
4975         (__ifunc_resolver): Use it.
4976         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
4977         inhibit_stack_protector.
4978         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
4979         * elf/ifuncmain7.c (foo_ifunc): Likewise.
4980         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
4981         (foo_protected_ifunc): Likewise.
4982         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
4983         (foo_protected_ifunc): Likewise.
4984         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4985         * sysdeps/nacl/nacl_interface_query.c
4986         (nacl_interface_query_ifunc): Likewise.
4987         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4988         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
4989         Likewise.
4990         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
4991         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
4992         the generated vDSO syscall resolver.
4994 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4995             Florian Weimer  <fweimer@redhat.com>
4997         [BZ #7065]
4998         Initialize the stack guard earlier when linking statically.
4999         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
5000         (__pthread_initialize_minimal): Declare.
5001         * csu/libc-start.c (__pthread_initialize_minimal): Remove
5002         declaration.
5003         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
5004         stack canary and apply_irel initialization up.  Call
5005         __pthread_initialize_minimal only if linked in.
5006         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
5007         constant values.
5008         (__pthread_initialize_minimal): Remove.
5009         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
5010         (__pthread_initialize_minimal_internal): Do not call
5011         __libc_setup_tls.
5013 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5015         [BZ #7065]
5016         * configure.ac (libc_cv_ssp): Move up.
5017         (libc_cv_ssp_strong): Likewise.
5018         (libc_cv_ssp_all): New.
5019         (stack_protector): Augment, adding -fstack-protector-all.
5020         (no_stack_protector): New.
5021         (STACK_PROTECTOR_LEVEL): New.
5022         (AC_ARG_ENABLE(stack-protector)): New configure flag.
5023         * manual/install.texi (--enable-stack-protector): Document it.
5024         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
5026 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
5028         * README.pretty-printers: Must specify CPPFLAGS-* also.
5029         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
5030         (CPPFLAGS-test-mutex-printers.c): Define.
5031         (CPPFLAGS-test-condattr-printers.c): Define.
5032         (CPPFLAGS-test-cond-printers.c): Define.
5033         (CPPFLAGS-test-rwlockattr-printers.c): Define.
5034         (CPPFLAGS-test-rwlock-printers.c): Define.
5036         * nss/Makefile [ifeq (yes,$(have-thread-library))]
5037         (tests): Add tst-cancel-getpwuid_r.
5038         * nss/tst-cancel-getpwuid_r.c: New file.
5040         [BZ #11941]
5041         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
5042         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
5043         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
5044         tst-nodelete-dlclose.
5045         (modules-names): Add tst-nodelete-dlclose-dso and
5046         tst-nodelete-dlclose-plugin.
5047         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
5048         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
5049         ($(objpfx)tst-nodelete-dlclose): Define.
5050         ($(objpfx)tst-nodelete-dlclose.out): Define.
5052 2016-12-23  Florian Weimer  <fweimer@redhat.com>
5054         * scripts/test_printers_common.py: Log GDB output in case of
5055         Python detection failure.
5057 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5059         * configure.ac: Check for python3 or python.
5060         * configure: Regenerated.
5061         * config.make.in (PYTHON): New variable.
5062         * benchtests/Makefile: Don't define PYTHON.
5063         (bench): Define target only if PYTHON was defined.
5064         * Rules: Don't define PYTHON.
5065         Define pretty printer targets only if PYTHON was defined.
5066         (tests-printers): Add to tests-unsupported if PYTHON is not
5067         found.
5068         (python-flags, python-invoke): Remove.
5069         (tests-printers-out): Use PYTHON instead of python-invoke.
5071 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5073         [BZ #20978]
5074         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5075         Compare name == NULL, not name != NULL.
5077         * manual/texinfo.tex: Update to version 2016-09-18.18 with
5078         trailing whitespace removed.
5079         * scripts/config.guess: Update to version 2016-10-02.
5080         * scripts/config.sub: Update to version 2016-11-19.
5081         * scripts/install-sh: Update to version 2016-01-11.22.
5082         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
5083         * scripts/move-if-change: Update to version 2016-01-11 22:04.
5085 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
5087         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
5088         (do_one_test) Restore original string so iteration works.
5089         * string/string-inlines.c (do_test): Create better input strings.
5090         (test_main) Reduce number of testruns.
5091         * string/string-inlines.c (__old_strsep_1c): New function.
5092         (__old_strsep_2c): Likewise.
5093         (__old_strsep_3c): Likewise.
5094         * string/strsep.c (__strsep): Remove case of small delim string.
5095         Call strcspn directly rather than strpbrk.
5096         * string/bits/string2.h (__strsep): Remove define.
5097         (__strsep_1c): Remove.
5098         (__strsep_2c): Remove.
5099         (__strsep_3c): Remove.
5100         (strsep): Remove.
5101         * sysdeps/unix/sysv/linux/internal_statvfs.c
5102         (__statvfs_getflags): Rename to __strsep.
5104 2016-12-21  Florian Weimer  <fweimer@redhat.com>
5106         * csu/libc-tls.c (_dl_tls_setup): Remove.
5107         * elf/dl-tls.c (_dl_tls_setup): Likewise.
5108         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
5109         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
5111 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5113         [BZ #7065]
5114         * sysdeps/x86_64/Makefile [$(subdir) = elf]
5115         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
5117 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5118             Florian Weimer  <fweimer@redhat.com>
5120         [BZ #7065]
5121         * csu/Makefile (tests): Empty assignment and document it.
5122         (tests-static): Remove.
5123         * csu/tst-empty.c: Move to...
5124         * misc/tst-empty.c: ... here.  Switch to new test driver.
5125         * csu/tst-atomic.c: Move to...
5126         * misc/tst-atomic.c: ... here.  Switch to new test driver.
5127         * csu/tst-atomic-long.c: Move to...
5128         * misc/tst-atomic-long.c: ... here.
5129         * misc/Makefile (tests): Add tst-empty, tst-atomic,
5130         tst-atomic-long.
5131         (tests-static): Add tst-empty.
5133 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
5135         * manual/nss.texi: Change incorrect @vtable to @table.
5136         * manual/arith.texi: Convert @tables of variables to @vtables
5137         and remove unnecessary indexing.
5138         * manual/filesys.texi: Likewise.
5139         * manual/llio.texi: Likewise.
5140         * manual/memory.texi: Likewise.
5141         * manual/process.texi: Likewise.
5142         * manual/resource.texi: Likewise.
5143         * manual/search.texi: Likewise.
5144         * manual/signal.texi: Likewise.
5145         * manual/socket.texi: Likewise.
5146         * manual/stdio.texi: Likewise.
5147         * manual/sysinfo.texi: Likewise.
5148         * manual/syslog.texi: Likewise.
5149         * manual/terminal.texi: Likewise.
5150         * manual/time.texi: Likewise.
5151         * manual/users.texi: Likewise.
5153 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5155         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5156         (roundeven): New declaration.
5157         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
5158         macro.
5159         * math/Versions (roundeven): New libm symbol at version
5160         GLIBC_2.25.
5161         (roundevenf): Likewise.
5162         (roundevenl): Likewise.
5163         * math/Makefile (libm-calls): Add s_roundevenF.
5164         * math/libm-test.inc (roundeven_test_data): New array.
5165         (roundeven_test): New function.
5166         (main): Call roundeven_test.
5167         * math/test-tgmath.c (NCALLS): Increase to 134.
5168         (F(compile_test)): Call roundeven.
5169         (F(roundeven)): New function.
5170         * manual/arith.texi (Rounding Functions): Document roundeven,
5171         roundevenf and roundevenl.
5172         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
5173         * include/math.h (roundeven): Use libm_hidden_proto.
5174         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
5175         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
5176         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
5177         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
5178         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
5179         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
5180         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5181         roundeven.
5182         (CFLAGS-nldbl-roundeven.c): New variable.
5183         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
5184         * sysdeps/nacl/libm.abilist: Update.
5185         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5186         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5187         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5188         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5189         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5190         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5191         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5192         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5193         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5194         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5195         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5196         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5198         Likewise.
5199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5200         Likewise.
5201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5202         Likewise.
5203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5204         Likewise.
5205         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5206         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5207         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5208         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5209         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5211         Likewise.
5212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5213         Likewise.
5214         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5215         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5216         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5218 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5220         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
5221         preprocessor indentation inside #if.
5223 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5225         * math/libm-test.inc (fmt_ftostr): New function.
5226         (print_float, check_float_internal): Replace some uses of
5227         FTOSTR with uses of fmt_ftostr.
5228         (print_max_error, print_complex_max_error, print_function_ulps)
5229         (print_complex_function_ulps): Remove uses of the macros
5230         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
5231         * math/test-double.h (FTOSTR): Define to strfromd.
5232         (PRINTF_EXPR): Delete.
5233         (PRINTF_XEXPR): Likewise.
5234         (PRINTF_NEXPR): Likewise.
5235         * math/test-float.h (FTOSTR): Define to strfromf.
5236         (PRINTF_EXPR): Delete.
5237         (PRINTF_XEXPR): Likewise.
5238         (PRINTF_NEXPR): Likewise.
5239         * math/test-ldouble.h (FTOSTR): Define to strfroml.
5240         (PRINTF_EXPR): Delete.
5241         (PRINTF_XEXPR): Likewise.
5242         (PRINTF_NEXPR): Likewise.
5244 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5246         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5247         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
5248         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5249         (__lll_lock_elision): Decrement adapt_count while unlocking
5250         instead of before locking.
5251         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5252         (__lll_trylock_elision): Likewise.
5253         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
5254         (__lll_unlock_elision): Likewise.
5256 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5258         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
5259         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
5260         Use __libc_tbegin_retry macro.
5262 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5264         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
5265         Add -msoft-float.
5266         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
5267         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5268         Use __libc_t* transaction macros instead of __builtin_t*.
5269         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5270         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5272 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5274         * sysdeps/unix/sysv/linux/s390/elision-lock.c
5275         (__lll_lock_elision): Use atomics to load / store adapt_count.
5276         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5277         (__lll_trylock_elision): Likewise.
5279 2016-12-20  Florian Weimer  <fweimer@redhat.com>
5281         Do not require memset elimination in explicit_bzero test.
5282         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
5283         (enum test_expectation): Add NO_EXPECTATIONS.
5284         (subtests): NO_EXPECTATIONS for ordinary clear.
5285         (check_test_buffer): Handle NO_EXPECTATIONS.
5286         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
5288 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5290         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5291         (fmaxmag): New declaration.
5292         (fminmag): Likewise.
5293         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
5294         macro.
5295         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
5296         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
5297         (fmaxmagf): Likewise.
5298         (fmaxmagl): Likewise.
5299         (fminmag): Likewise.
5300         (fminmagf): Likewise.
5301         (fminmagl): Likewise.
5302         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
5303         * math/s_fmaxmag_template.c: New file.
5304         * math/s_fminmag_template.c: Likewise.
5305         * math/libm-test.inc (fmaxmag_test_data): New array.
5306         (fmaxmag_test): New function.
5307         (fminmag_test_data): New array.
5308         (fminmag_test): New function.
5309         (main): Call fmaxmag_test and fminmag_test.
5310         * math/test-tgmath.c (NCALLS): Increase to 132.
5311         (F(compile_test)): Call fmaxmag and fminmag.
5312         (F(fminmag)): New function.
5313         (F(fmaxmag)): Likewise.
5314         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
5315         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
5316         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
5317         fminmag.
5318         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
5319         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
5320         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
5321         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
5322         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
5323         and fminmag.
5324         (CFLAGS-nldbl-fmaxmag.c): New variable.
5325         (CFLAGS-nldbl-fminmag.c): Likewise.
5326         * sysdeps/nacl/libm.abilist: Update.
5327         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5328         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5329         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5330         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5331         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5332         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5333         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5334         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5335         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5336         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5337         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5338         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5340         Likewise.
5341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5342         Likewise.
5343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5344         Likewise.
5345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5346         Likewise.
5347         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5348         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5349         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5350         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5351         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5353         Likewise.
5354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5355         Likewise.
5356         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5357         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5358         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5360 2016-12-19  Torvald Riegel  <triegel@redhat.com>
5362         [BZ #20973]
5363         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
5364         wake-up in robust mutexes.
5365         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5367 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5369         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
5370         (CFLAGS-bench-fmaxf.c): New rule.
5371         (CFLAGS-bench-fminf.c): Likewise.
5372         * benchtests/fmaxf-inputs: New file.
5373         * benchtests/fminf-inputs: Likewise.
5375         * benchtests/Makefile (bench-math): Add fmin and fmax.
5376         (CFLAGS-bench-fmax.c): New rule.
5377         (CFLAGS-bench-fmin.c): Likewise.
5378         * benchtests/fmax-inputs: New file.
5379         * benchtests/fmin-inputs: Likewise.
5381         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
5382         parenthesis.
5383         (CMDLINE_PROCESS): Define using function instead of macro.
5384         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
5385         of test-skeleton.
5386         * benchtests/bench-memchr.c: Likewise.
5387         * benchtests/bench-memcmp.c: Likewise.
5388         * benchtests/bench-memcpy-large.c: Likewise.
5389         * benchtests/bench-memcpy.c: Likewise.
5390         * benchtests/bench-memmem.c: Likewise.
5391         * benchtests/bench-memmove-large.c: Likewise.
5392         * benchtests/bench-memmove.c: Likewise.
5393         * benchtests/bench-memset-large.c: Likewise.
5394         * benchtests/bench-memset.c: Likewise.
5395         * benchtests/bench-rawmemchr.c: Likewise.
5396         * benchtests/bench-strcasecmp.c: Likewise.
5397         * benchtests/bench-strcasestr.c: Likewise.
5398         * benchtests/bench-strcat.c: Likewise.
5399         * benchtests/bench-strchr.c: Likewise.
5400         * benchtests/bench-strcmp.c: Likewise.
5401         * benchtests/bench-strcpy.c: Likewise.
5402         * benchtests/bench-strcpy_chk.c: Likewise.
5403         * benchtests/bench-strlen.c: Likewise.
5404         * benchtests/bench-strncasecmp.c: Likewise.
5405         * benchtests/bench-strncmp.c: Likewise.
5406         * benchtests/bench-strncpy.c: Likewise.
5407         * benchtests/bench-strnlen.c: Likewise.
5408         * benchtests/bench-strpbrk.c: Likewise.
5409         * benchtests/bench-strrchr.c: Likewise.
5410         * benchtests/bench-strsep.c: Likewise.
5411         * benchtests/bench-strspn.c: Likewise.
5412         * benchtests/bench-strstr.c: Likewise.
5413         * benchtests/bench-strtok.c: Likewise.
5415 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5417         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
5418         stepping identification.
5419         (init_cpu_features): Add handle of Haswell.
5421 2016-11-25  Jim Meyering  <meyering@fb.com>
5423         [BZ #20386]
5424         Let gcc detect assert(a = 1) errors.
5425         * assert/assert.h (assert): Rewrite, retaining the old definintion
5426         when required, but otherwise putting the expression as-is in an "if"
5427         expression (hence, with no added parentheses) within a statement
5428         expression.
5430 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5432         * benchtests/Makefile (binaries-benchset): Depend on libsupport
5433         DSO.
5435 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
5437         * Rules (python-flags, python-invoke): New.
5438         ($(test-printers-out)): Use $(python-flags).
5440 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5442         * manual/arith.texi (Math Error Reporting): Document that sNaN
5443         arguments are not considered domain errors.
5445 2016-12-16  Zack Weinberg <zackw@panix.com>
5446             Florian Weimer <fweimer@redhat.com>
5447             Nick Mathewson <nickm@torproject.org>
5449         * string/explicit_bzero.c: New routine.
5450         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
5451         * string/Makefile (routines, strop-tests, tests): Add them.
5452         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
5453         * string/string.h [__USE_MISC]: Declare explicit_bzero.
5455         * debug/explicit_bzero_chk.c: New routine.
5456         * debug/Makefile (routines): Add it.
5457         * debug/tst-chk1.c: Test fortification of explicit_bzero.
5458         * string/bits/string3.h: Fortify explicit_bzero.
5460         * manual/string.texi: Document explicit_bzero.
5461         * NEWS: Mention addition of explicit_bzero.
5463         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
5464         data before returning, using explicit_bzero.
5465         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
5466         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5467         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5469         * include/string.h: Redirect internal uses of explicit_bzero
5470         to __explicit_bzero_chk[_internal].
5471         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
5472         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
5473         * sysdeps/arm/nacl/libc.abilist
5474         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5475         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5476         * sysdeps/unix/sysv/linux/arm/libc.abilist
5477         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5478         * sysdeps/unix/sysv/linux/i386/libc.abilist
5479         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5480         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5481         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5482         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5483         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5484         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5485         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5486         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5487         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5492         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5493         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5494         * sysdeps/unix/sysv/linux/sh/libc.abilist
5495         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5496         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5499         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5500         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5501         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5502         Add entries for explicit_bzero and __explicit_bzero_chk.
5504 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5506         * math/fenv.h
5507         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
5508         (FE_SNANS_ALWAYS_SIGNAL): New macro.
5509         * math/test-fe-snans-always-signal.c: New file.
5510         * math/Makefile (tests): Add test-fe-snans-always-signal.
5511         (CFLAGS-test-fe-snans-always-signal.c): New variable.
5512         * manual/arith.texi (Infinity and NaN): Document
5513         FE_SNANS_ALWAYS_SIGNAL.
5515 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5517         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
5518         bracket.
5520 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5522         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
5523         before calling execv.
5525 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5527         [BZ# 20971]
5528         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
5529         overflow in pointer addition.
5530         * string/test-memchr.c (do_test): Add an argument to pass as
5531         the size on memchr.
5532         (test_main): Add check for SIZE_MAX.
5534 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5536         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
5537         (libm-calls): Add w_scalblnF.
5538         * math/w_scalbln.c: Remove.
5539         * math/w_scalblnf.c: Likewise.
5540         * math/w_scalblnl.c: Likewise.
5541         * math/w_scalbln_template.c: New file with type-generic
5542         implementation based on math/w_scalbln.c.
5543         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
5544         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
5546 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5548         [BZ #20947]
5549         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
5550         either is a signaling NaN.
5551         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
5552         follow fmaxl more closely.
5553         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
5554         when either is a signaling NaN.
5555         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
5556         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
5557         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
5558         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
5559         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
5560         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
5561         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
5562         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
5563         (fmin_test_data): Likewise.
5565 2016-12-15  Andreas Schwab  <schwab@suse.de>
5567         * support/support_test_main.c (support_test_main): Don't shadow
5568         file-local variable test_pid.
5570 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5572         [BZ #20947]
5573         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
5574         either is a signaling NaN.
5575         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
5577 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5579         [BZ #20947]
5580         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
5581         when either is a signaling NaN.
5582         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
5584         * bits/long-double.h: New file.
5585         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
5586         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
5587         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
5588         * sysdeps/mips/bits/long-double.h: Likewise.
5589         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
5590         * math/Makefile (headers): Add bits/long-double.h.
5591         * misc/sys/cdefs.h: Include <bits/long-double.h>.
5592         * stdlib/strtold.c: Include <bits/long-double.h> instead of
5593         <bits/wordsize.h>.
5594         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
5595         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
5596         * math/math.h: Do not include <bits/mathdef.h>.
5597         * sysdeps/aarch64/bits/mathdef.h: Remove file.
5598         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
5599         inclusion.
5600         * sysdeps/ia64/bits/mathdef.h: Remove file.
5601         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
5602         * sysdeps/mips/bits/mathdef.h: Likewise.
5603         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5604         * sysdeps/s390/bits/mathdef.h: Likewise.
5605         * sysdeps/sparc/bits/mathdef.h: Likewise.
5606         * sysdeps/x86/bits/mathdef.h: Likewise.
5607         * sysdeps/s390/s390-32/bits/wordsize.h
5608         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
5609         conditional code.
5610         * sysdeps/s390/s390-64/bits/wordsize.h
5611         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5612         Likewise.
5613         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
5614         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5615         Likewise.
5616         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
5617         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5618         Likewise.
5619         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5620         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5621         Likewise.
5623         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
5624         <linux/falloc.h>.
5625         (FALLOC_FL_KEEP_SIZE): Remove.
5626         (FALLOC_FL_PUNCH_HOLE): Likewise.
5627         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
5628         (FALLOC_FL_ZERO_RANGE): Likewise.
5630 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5632         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
5634 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5636         * sysdeps/unix/sysv/linux/renameat.c: New file.
5637         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
5639         * sysdeps/unix/sysv/linux/rename.c: New file.
5640         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
5642 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5644         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
5645         * string/strtok.c (strtok): Change to tailcall __strtok_r.
5646         * string/strtok_r.c (__strtok_r): Optimize for performance.
5647         * string/string-inlines.c (__old_strtok_r_1c): New function.
5648         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
5650 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5652         * math/Makefile (gen-libm-calls): Add w_log1pF.
5653         (libm-calls): Remove w_log1pF.
5654         * math/w_log1p.c: Remove.
5655         * math/w_log1pf.c: Likewise.
5656         * math/w_log1pl.c: Likewise.
5657         * math/w_log1p_template.c: New file with type-generic
5658         implementation based on math/w_log1p.c.
5659         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
5660         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
5662 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5664         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
5666 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5668         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5669         kernel version to 4.9.
5671 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
5673         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
5674         ($(inst_libdir)/libm.a): Fix rule to create the target only.
5676 2016-12-13  Andreas Schwab  <schwab@suse.de>
5678         * sysdeps/powerpc/dl-procinfo.c: Don't define
5679         _dl_powerpc_platforms.
5680         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
5681         constants instead of referencing _dl_powerpc_platforms.
5682         (_dl_platform_string): Remove.
5684 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5686         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
5688 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5690         * Rules (binaries-shared-tests, binaries-pie-tests)
5691         (binaries-static-tests): Link with $(link-extra-libs-tests).
5692         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
5693         Remove $(link-extra-libs-tests).
5695 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5697         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5698         (sysdep_routines): Add strncmp_power9.
5699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5700         (strncmp): Add __strncmp_power9 to list of strncmp functions.
5701         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
5702         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5703         (strncmp): Add __strncmp_power9 to ifunc list.
5704         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
5706 2016-12-12  Florian Weimer  <fweimer@redhat.com>
5708         [BZ #17252]
5709         Add getentropy, getrandom.
5710         * stdlib/sys/random.h: New file.
5711         (headers): Add it.
5712         * stdlib/Makefile (routines): Add getentropy, getrandom.
5713         (tests): Add tst-getrandom.
5714         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
5715         * stdlib/getentropy.c: New file.
5716         * stdlib/getrandom.c: Likewise.
5717         * stdlib/tst-getrandom.c: Likewise.
5718         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
5719         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
5720         * manual/crypt.texi (Unpredictable Bytes): New section.
5721         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
5722         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
5723         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5724         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5725         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5726         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5727         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5728         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5729         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5730         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5731         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5732         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5733         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5734         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5735         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5736         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5738         Likewise.
5739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5740         Likewise.
5741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5743         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5744         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5745         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5746         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5747         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5750         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5751         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5752         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5754 2016-12-10  Florian Weimer  <fweimer@redhat.com>
5756         [BZ #20956]
5757         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
5758         as additional compiler barriers.
5759         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
5760         (fn2, do_test): Declare with external linkage.
5761         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
5762         (do_test): Declare with external linkage.
5763         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
5764         (do_test): Declare with external linkage.
5765         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
5766         (do_test): Declare with external linkage.
5768 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
5770         * support/support_test_main.c (support_test_main): Use correct
5771         timeout.
5773 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
5774             Florian Weimer  <fweimer@redhat.com>
5776         [BZ #16421]
5777         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
5778         and __u6_addr32 members.
5779         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
5780         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
5781         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
5782         Use __u6_addr32.
5783         * inet/tst-checks.c: Use <support/test-driver.c>
5784         * inet/tst-checks-posix.c: New file.
5785         * inet/Makefile (tests): Add it.
5786         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
5788 2016-12-09  Florian Weimer  <fweimer@redhat.com>
5790         New subdirectory support for build and test infrastructure.
5791         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
5792         setting install-lib.
5793         * Makeconfig (link-extra-libs-tests): Define.
5794         (+link-pie-tests, +link-static-tests, +link-tests): Use
5795         link-extra-libs-tests.
5796         (rpath-dirs, all-subdirs): Add support.
5797         (built-modules): Add libsupport.
5798         (libsupport): Define.
5799         * support: New directory.
5800         * support/Makefile: New file.
5801         * support/check.c: Likewise.
5802         * support/check.h: Likewise.
5803         * support/delayed_exit.c: Likewise.
5804         * support/ignore_stderr.c: Likewise.
5805         * support/oom_error.c: Likewise.
5806         * support/set_fortify_handler.c: Likewise.
5807         * support/support.h: Likewise.
5808         * support/temp_file-internal.h: Likewise.
5809         * support/temp_file.c: Likewise.
5810         * support/test-driver.c: Likewise.
5811         * support/test-driver.h: Likewise.
5812         * support/test_main.c: Likewise.
5813         * support/write_message.c: Likewise.
5814         * support/xasprintf.c: Likewise.
5815         * support/xcalloc.c: Likewise.
5816         * support/xmalloc.c: Likewise.
5817         * support/xpthread_barrier_destroy.c: Likewise.
5818         * support/xpthread_barrier_init.c: Likewise.
5819         * support/xpthread_barrier_wait.c: Likewise.
5820         * support/xpthread_cancel.c: Likewise.
5821         * support/xpthread_check_return.c: Likewise.
5822         * support/xpthread_cond_wait.c: Likewise.
5823         * support/xpthread_create.c: Likewise.
5824         * support/xpthread_detach.c: Likewise.
5825         * support/xpthread_join.c: Likewise.
5826         * support/xpthread_mutex_lock.c: Likewise.
5827         * support/xpthread_mutex_unlock.c: Likewise.
5828         * support/xpthread_sigmask.c: Likewise.
5829         * support/xpthread_spin_lock.c: Likewise.
5830         * support/xpthread_spin_unlock.c: Likewise.
5831         * support/xrealloc.c: Likewise.
5832         * support/xsignal.h: Likewise.
5833         * support/xthread.h: Likewise.
5834         * support_tempfile.h: Likewise.
5835         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
5836         (TEST_DATA_LIMIT): Remove unused macro.
5837         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
5838         <support/check.h>.
5839         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
5840         (ignore_stderr, set_fortify_handler): Remove.  Now in
5841         <support/support.h>.
5842         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
5843         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
5844         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
5845         (xpthread_join): Remove.  Now in <support/xthread.h>.
5846         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
5847         Introduce legacy wrappers.
5848         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
5849         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
5850         (write_message): Remove.
5851         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
5852         test-skeleton.c.
5853         * io/test-open-tmpfile: Likewise.
5854         * io/tst-posix_fallocate-common.c: Likewise.
5855         * libio/tst-fseek.c: Likewise.
5856         * malloc/tst-malloc-backtrace.c: Likewise.
5857         * malloc/tst-malloc-fork-deadlock.c: Likewise.
5858         * malloc/tst-malloc-thread-exit.c: Likewise.
5859         * nptl/tst-cancel7.c: Likewise.
5860         * nptl/tst-cleanup0.c: Likewise.
5861         * posix/tst-posix_fadvise-common.c: Likewise.
5862         * rt/tst-shm.c: Likewise.
5863         * time/bug-getdate1.c: Likewise.
5864         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5865         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
5866         * elf/Makefile (tst-piemod1.so): Link against libsupport.
5868 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
5870         * Rules [$(run-built-tests) != no] (tests-expected): Add
5871         $(tests-printers).
5872         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
5874 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
5876         [BZ #20539]
5877         * math/Makefile (install-lib-ldscripts): Add libm.a.
5878         (install_subdir): Remove.
5879         (install-others): Add.
5880         ($(inst_libdir)/libm.a): Add rule for installation as
5881         linker script.
5882         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
5884 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
5886         * INSTALL: Regenerated.
5887         * Makeconfig: Add comments and whitespace to make the control flow
5888         clearer.
5889         (+link-printers-tests, +link-pie-printers-tests,
5890         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
5891         built-rtld-LDFLAGS, link-libc-rpath,
5892         link-libc-tests-after-rpath-link,
5893         link-libc-printers-tests): New.
5894         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
5895         link-libc-tests): Use the new variables as required.
5896         * Makerules ($(py-const)): New rule.
5897         generated: Add $(py-const).
5898         * README.pretty-printers: New file.
5899         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
5900         (others): Depend on $(py-const).
5901         (tests): Depend on $(tests-printers-programs) or
5902         $(tests-printers-out),
5903         as required.  Pass $(tests-printers) to merge-test-results.sh.
5904         * manual/install.texi: Add requirements for testing the pretty
5905         printers.
5906         * nptl/Makefile (gen-py-const-headers, pretty-printers,
5907         tests-printers, CFLAGS-test-mutexattr-printers.c
5908         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
5909         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
5910         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
5911         * nptl/nptl-printers.py: New file.
5912         * nptl/nptl_lock_constants.pysym: Likewise.
5913         * nptl/test-cond-printers.c: Likewise.
5914         * nptl/test-cond-printers.py: Likewise.
5915         * nptl/test-condattr-printers.c: Likewise.
5916         * nptl/test-condattr-printers.py: Likewise.
5917         * nptl/test-mutex-printers.c: Likewise.
5918         * nptl/test-mutex-printers.py: Likewise.
5919         * nptl/test-mutexattr-printers.c: Likewise.
5920         * nptl/test-mutexattr-printers.py: Likewise.
5921         * nptl/test-rwlock-printers.c: Likewise.
5922         * nptl/test-rwlock-printers.py: Likewise.
5923         * nptl/test-rwlockattr-printers.c: Likewise.
5924         * nptl/test-rwlockattr-printers.py: Likewise.
5925         * scripts/gen-py-const.awk: Likewise.
5926         * scripts/test_printers_common.py: Likewise.
5927         * scripts/test_printers_exceptions.py: Likewise.
5929 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5931         * scripts/build-many-glibcs.py (Context.__init__): Take strip
5932         argument.
5933         (Glibc.build_glibc): Strip installed shared libraries if
5934         requested.
5935         (get_parser): Add --strip option.
5936         (main): Update Context call.
5938 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5939             Dominik Vogt  <vogt@linux.vnet.ibm.com>
5941         [BZ #20847]
5942         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5943         array bounds for else branch.
5944         (__execvpe): Style fixes.
5945         * posix/tst-vfork3.c (run_script): New function.
5946         (create_script): Likewise.
5947         (do_test): Use run_script internal function.
5948         (do_prepare): Use create_script internal function.
5950 2016-12-07  Andreas Schwab  <schwab@suse.de>
5952         * sysdeps/unix/sysv/linux/x86/elision-conf.h
5953         (__elision_available): Don't declare.
5954         * sysdeps/unix/sysv/linux/x86/elision-conf.c
5955         (__elision_available): Don't define.
5956         (elision_init): Don't set __elision_available.
5958 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5960         [BZ #20940]
5961         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
5962         return Inf for arguments Inf and sNaN.
5963         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
5964         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5965         Likewise.
5966         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5967         Likewise.
5968         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5969         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
5970         for arguments Inf and sNaN.  When returning a NaN, compute it by
5971         arithmetic on the arguments.
5972         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
5973         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
5974         arguments.
5976 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
5978         [BZ #20916]
5979         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
5980         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
5981         to compute result.
5982         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5983         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
5985 2016-12-05  Torvald Riegel  <triegel@redhat.com>
5987         * include/atomic.h (__atomic_check_size_ls): New.
5988         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
5989         atomic_store_release): Use it.
5990         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
5991         (elision_adapt, ELIDE_LOCK): Use atomics.
5992         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
5993         atomics and improve code comments.
5994         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
5995         (__lll_trylock_elision): Likewise.
5997 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5999         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
6000         programs.
6002 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6004         [BZ #20916]
6005         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
6006         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
6007         arguments to compute result.
6008         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
6009         1 for arguments (sNaN, 0) or (1, sNaN).
6010         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6011         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6013         [BZ #20919]
6014         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
6015         NaN first argument when raised to power 0.
6016         * math/w_pow.c (__pow): Do not check for NaN or zero results from
6017         raising to power zero.
6018         * math/w_powf.c (__powf): Likewise.
6019         * math/w_powl.c (__powl): Likewise.
6020         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
6021         pow (0, 0) or pow (NaN, 0).
6023 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
6025         [BZ #20918]
6026         * configure.ac: Test for static NSS cryptographic libraries and set
6027         libc_cv_static_nss_crypt.
6028         * configure: Regenerate.
6029         * config.make.in (static-nss-crypt): Define.
6030         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
6031         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
6032         (CFLAGS-tst-linkall-static.c): Define.
6033         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
6034         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
6035         ($(objpfx)tst-linkall-static): Define.
6036         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
6037         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
6039 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6041         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
6042         (one-hundred, tst-tls-many-dynamic-modules): Define.
6043         (modules-names): Add $(tst-tls-many-dynamic-modules).
6044         (tst-tls-manydynamic%mod.os): Build with special preprocessor
6045         macros.
6046         (tst-tls-manydynamic): Link against libdl, libpthread.
6047         (tst-tls-manydynamic.out): The test needs the test modules at run
6048         time.
6049         * elf/tst-tls-manydynamic.c: New file.
6050         * elf/tst-tls-manydynamic.h: Likewise.
6051         * elf/tst-tls-manydynamicmod.c: Likewise.
6053 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6055         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
6056         (TLS_DTV_UNALLOCATED): Add.
6057         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
6058         offsets.
6060 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6062         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6064 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6066         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
6067         Add -fno-optimize-sibling-calls.
6069 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6071         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
6072         New declaration.
6073         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
6074         macro.
6075         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
6076         New macro.
6077         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
6078         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
6079         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
6080         (llogbf): Likewise.
6081         (llogbl): Likewise.
6082         * math/Makefile (gen-libm-calls): Add w_llogbF.
6083         (tests): Add test-fp-llogb-constants.
6084         * math/w_llogb_template.c: New file.  Based on
6085         math/w_ilogb_template.c.
6086         * math/libm-test.inc (llogb_test_data): New array.
6087         (llogb_test): New function.
6088         (main): Call llogb_test.
6089         * math/test-fp-llogb-constants.c: New file.  Based on
6090         math/test-fp-ilogb-constants.c.
6091         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
6092         (do_test): Call check_return_llogb.
6093         * math/test-tgmath.c (NCALLS): Increase to 126.
6094         (F(compile_test)): Call llogb.
6095         (F(llogb)): New function.
6096         * manual/math.texi (Exponents and Logarithms): Document llogb,
6097         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
6098         * manual/libm-err-tab.pl (@all_functions): Add llogb.
6099         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
6100         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
6101         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
6102         (CFLAGS-nldbl-llogb.c): New variable.
6103         * sysdeps/nacl/libm.abilist: Update.
6104         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6105         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6106         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6107         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6108         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6109         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6110         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6111         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6112         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6113         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6114         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6115         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6117         Likewise.
6118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6119         Likewise.
6120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6121         Likewise.
6122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6123         Likewise.
6124         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6125         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6126         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6127         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6128         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6130         Likewise.
6131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6132         Likewise.
6133         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6134         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6135         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6137 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6139         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
6140         _Float128 instead of long double.
6141         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
6143         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
6144         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
6145         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
6146         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
6147         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
6148         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
6149         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
6150         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
6151         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
6152         Likewise.
6154 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6156         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
6157         Remove redirection to __strrchr_ppc.
6159 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6161         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6162         (sysdep_routines): Add strcmp_power9.
6163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6164         (strcmp): Add __strcmp_power9 to list of strcmp functions.
6165         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
6166         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6167         (strcmp): Add __strcmp_power9 to ifunc list.
6168         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
6170 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6172         * bits/fp-logb.h: New file.
6173         * sysdeps/ia64/bits/fp-logb.h: Likewise.
6174         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
6175         * sysdeps/x86/bits/fp-logb.h: Likewise.
6176         * math/Makefile (headers): Add bits/fp-logb.h.
6177         * math/math.h: Include <bits/fp-logb.h>.
6178         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
6179         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
6180         * bits/mathdef.h (FP_ILOGB0): Remove.
6181         (FP_ILOGBNAN): Likewise.
6182         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
6183         (FP_ILOGBNAN): Likewise.
6184         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
6185         (FP_ILOGBNAN): Likewise.
6186         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
6187         (FP_ILOGBNAN): Likewise.
6188         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
6189         (FP_ILOGBNAN): Likewise.
6190         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
6191         (FP_ILOGBNAN): Likewise.
6192         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
6193         (FP_ILOGBNAN): Likewise.
6194         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
6195         (FP_ILOGBNAN): Likewise.
6196         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
6197         (FP_ILOGBNAN): Likewise.
6198         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
6199         (FP_ILOGBNAN): Likewise.
6201         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
6202         time module.
6203         (Context.__init__): Initialize self.logsdir_old.
6204         (Context.run_builds): Handle bot action.
6205         (Context.bot_cycle): Copy logs directory before running builds.
6206         (Context.bot_run_self): Take argument for whether to check
6207         subprocess result.  Flush stdout before running subprocess.
6208         (Context.bot): New function.
6209         (get_parser): Allow bot action.
6211 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
6213         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
6214         Import email.mime.text, email.utils and smtplib modules.
6215         (Context.__init__): Initialize self.bot_config_json.
6216         (Context.run_builds): Handle bot-cycle action.
6217         (Context.load_bot_config_json): New function.
6218         (Context.part_build_old): Likewise.
6219         (Context.bot_cycle): Likewise.
6220         (Context.bot_build_mail): Likewise.
6221         (Context.bot_run_self): Likewise.
6222         (get_parser): Allow bot-cycle action.
6224 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6226         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
6227         Remove redirection to __stpcpy_ppc.
6229 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6231         Remove __libc_memalign from ld.so because it is unused.
6232         * elf/dl-minimal.c: Update comment on the malloc implementation.
6233         (malloc): Renamed from __libc_memalign, replacing the original
6234         malloc implementation.  Replace the align parameter with
6235         MALLOC_ALIGNMENT.
6236         * elf/Versions (ld): Update comment and remove __libc_memalign.
6237         * sysdeps/nacl/ld.abilist: Likewise.
6238         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
6239         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
6240         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
6241         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
6242         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
6243         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
6244         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
6245         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
6246         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
6247         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
6248         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
6249         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
6250         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
6251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
6252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6254         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
6255         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
6256         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
6257         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
6258         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
6259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
6260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
6261         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
6262         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
6263         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
6264         * sysdeps/generic/localplt.data (ld.so): Likewise.
6265         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6266         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6267         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6268         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6269         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6270         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6271         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6272         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
6273         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6275         (ld.so): Likewise.
6276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6277         (ld.so): Likewise.
6278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6279         Likewise.
6280         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6281         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6282         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
6283         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
6284         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6286 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6288         [BZ #16628]
6289         Implement _dl_catch_error, _dl_signal_error in libc.so.
6290         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
6291         (catch_hook): Define as thread-local or regular variable,
6292         depending on DL_ERROR_BOOTSTRAP.
6293         (CATCH_HOOK): Remove.
6294         (dl_signal_error, _dl_catch_error): Use
6295         catch_hook.  Add hidden definition for libc.
6296         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
6297         for DL_ERROR_BOOTSTRAP only.
6298         * elf/dl-error.c: New file.
6299         * elf/dl-error-minimal.c: Likewise.
6300         * elf/tst-latepthread.c: Likewise.
6301         * elf/tst-latepthreadmod.c: Likewise.
6302         * elf/Makefile (routines): Add dl-error.
6303         (dl-routines): Remove dl-error.
6304         (rtld-routines): Add dl-error-minimal.
6305         [build-shared] (tests): Add tst-latepthread.
6306         (module-names): Add tst-latepthreadmod.
6307         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
6308         symbol.
6309         (tst-latepthreadmod.so): Link against libpthread.
6310         (tst-latepthread): Link against libdbl.
6311         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
6312         _dl_catch_error.
6313         [ld] (GLIBC_PRIVATE): Likewise.
6314         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
6315         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
6316         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
6317         directly.
6318         * elf/dl-tsd.c: Remove file.
6319         * elf/rtld.c (_rtld_global_ro): Remove initializers for
6320         _dl_catch_error, _dl_signal_error.
6321         (_dl_initial_error_catch_tsd): Remove definition.
6322         (do_preload): Remove initialization of dl_error_catch_tsd.
6323         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
6324         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
6325         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6326         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6327         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
6328         set dl_error_catch_tsd.
6329         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
6330         _dl_error_catch_tsd member.
6331         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
6332         members.
6333         (_dl_initial_error_catch_tsd): Remove declaration.
6334         (_dl_dprintf): Provide definition for use outside of ld.so.
6335         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
6336         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
6337         prototype for libc.
6338         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
6339         _dl_catch_error.
6340         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6341         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6342         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6343         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6344         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6345         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6346         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6347         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6348         Likewise.
6349         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6351         (ld.so): Likewise.
6352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6353         (ld.so): Likewise.
6354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6355         Likewise.
6356         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6357         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6358         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6359         Likewise.
6360         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6361         Likewise.
6362         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6364 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6366         [BZ #4099]
6367         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
6368         _IO_BUFSIZ (8192).
6370 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
6372         * PROJECTS: Remove file.
6374 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6376         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
6378 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
6379             Steve Ellcey  <sellcey@caviumnetworks.com>
6381         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
6382         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
6383         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
6384         fxstatat.
6385         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
6386         lxstat.
6387         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
6388         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
6389         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
6390         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
6391         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
6392         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
6393         __xstat.
6395 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6397         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
6398         Define.
6399         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
6400         definition.
6402 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6404         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
6405         version and turn into strong alias.  Remove compat symbol.
6407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6408         (__longjmp): Remove.
6410 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
6412         * bits/fp-fast.h: New file.
6413         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
6414         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
6415         * math/Makefile (headers): Add bits/fp-fast.h.
6416         * math/math.h: Include <bits/fp-fast.h>.
6417         * bits/mathdef.h (FP_FAST_FMA): Remove.
6418         (FP_FAST_FMAF): Likewise.
6419         (FP_FAST_FMAL): Likewise.
6420         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
6421         (FP_FAST_FMAF): Likewise.
6422         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
6423         (FP_FAST_FMAF): Likewise.
6424         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
6425         (FP_FAST_FMAF): Likewise.
6426         (FP_FAST_FMAL): Likewise.
6427         * sysdeps/arm/bits/mathdef.h: Remove file.
6428         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
6429         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6430         * sysdeps/tile/bits/mathdef.h: Likewise.
6432 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6434         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
6435         * math/w_ilogb.c: Remove.
6436         * math/w_ilogbf.c: Likewise.
6437         * math/w_ilogbl.c: Likewise.
6438         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
6439         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
6440         * math/Makefile (gen-libm-calls): Add w_ilogbF.
6441         (libm-calls): Remove w_ilogbF.
6442         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
6443         (LDOUBLE_ilogbl_libm_version): New macro.
6445         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
6447         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
6448         [!__STRICT_ANSI__ && !__cplusplus].
6450 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6452         [BZ #20750]
6453         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
6454         of PIC.
6456 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
6457             Yury Norov  <ynorov@caviumnetworks.com>
6458             Steve Ellcey  <sellcey@caviumnetworks.com>
6460         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
6461         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
6462         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
6463         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
6464         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
6465         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
6466         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
6467         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
6468         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
6469         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
6470         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
6471         to get correct reg name for ILP32.
6472         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
6473         (RELA_SIZE): New Macro.
6474         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
6475         to support ILP32.
6476         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
6477         cast for ILP32 mode.
6478         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
6479         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
6480         * sysdeps/aarch64/memset.S (__memset): Ditto.
6481         * sysdeps/aarch64/strchr.S (strchr): Ditto.
6482         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
6483         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
6484         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
6485         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
6486         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
6487         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
6488         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
6489         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
6490         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
6491         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
6492         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
6493         change PTR_MANGLE call to use register numbers instead of names.
6494         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
6495         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
6496         ILP32 mode, change PTR_MANGLE calls to use register numbers.
6497         * sysdeps/aarch64/start.S (_start): Ditto.
6498         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
6499         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
6500         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
6501         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
6502         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
6503         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
6504         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
6505         Make defined values dependent on __ILP32__.
6506         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
6507         (sem_t): Change __align type.
6508         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
6509         PTR_SIZE): New Macros.
6510         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
6511         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
6512         Set when in ILP32 mode.
6513         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
6514         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
6515         Set elf flags for ILP32.
6516         (add_system_dir): Set ILP32 library directories.
6517         * sysdeps/unix/sysv/linux/aarch64/init-first.c
6518         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
6519         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
6520         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
6521         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
6522         New Macros.
6523         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
6525 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6527         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
6528         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
6529         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
6531 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6533         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
6534         <asm/cachectl.h>.
6536 2016-11-27  Zack Weinberg  <zackw@panix.com>
6538         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
6539         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
6541 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6543         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
6544         error_t to fix usage in C++ programs.
6546 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
6548         * scripts/build-many-glibcs.py: Import datetime module.
6549         (Context.__init__): Load JSON build state.  Initialize list of
6550         status logs.
6551         (Context.run_builds): Update saved build state.
6552         (Context.add_makefile_cmdlist): Update list of status logs.
6553         (Context.load_build_state_json): New function.
6554         (Context.store_build_state_json): Likewise.
6555         (Context.clear_last_build_state): Likewise.
6556         (Context.update_build_state): Likewise.
6557         (CommandList.status_logs): Likewise.
6559 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
6561         * scripts/build-many-glibcs.py (Context.__init__): Save text of
6562         script being executed.
6563         (Context.get_script_text): New function.
6564         (Context.exec_self): Likewise.
6565         (Context.checkout): Re-exec script if changed by checkout process.
6567 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6569         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6570         (setpayloadsig): New declaration.
6571         * math/Versions (setpayloadsig): New libm symbol at version
6572         GLIBC_2.25.
6573         (setpayloadsigf): Likewise.
6574         (setpayloadsigl): Likewise.
6575         * math/Makefile (libm-calls): Add s_setpayloadsigF.
6576         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
6577         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
6578         (setpayloadsig_test_data): New array.
6579         (setpayloadsig_test): New function.
6580         (main): Call setpayloadsig_test.
6581         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
6582         setpayloadsigf and setpayloadsigl.
6583         * manual/libm-err-tab.pl: Update comment on interfaces without
6584         ulps tabulated.
6585         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
6586         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
6587         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
6588         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
6589         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
6590         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
6591         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6592         setpayloadsig.
6593         (CFLAGS-nldbl-setpayloadsig.c): New variable.
6594         * sysdeps/nacl/libm.abilist: Update.
6595         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6596         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6597         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6598         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6599         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6600         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6601         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6602         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6603         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6604         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6605         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6606         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6608         Likewise.
6609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6610         Likewise.
6611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6612         Likewise.
6613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6614         Likewise.
6615         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6616         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6617         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6618         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6619         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6621         Likewise.
6622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6623         Likewise.
6624         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6625         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6626         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6628         * scripts/build-many-glibcs.py: Import json module.
6629         (Context.__init__): Take replace_sources argument.  Load
6630         versions.json.
6631         (Context.load_versions_json): New function.
6632         (Context.store_json): Likewise.
6633         (Context.store_versions_json): Likewise.
6634         (Context.set_component_version): Likewise.
6635         (Context.checkout): Update versions.json.  Check for and handle
6636         changes of version.  Prefer previously explicitly specified
6637         version to default version.
6638         (Context.checkout_vcs): Return a revision identifier.
6639         (Context.git_checkout): Likewise.
6640         (Context.gcc_checkout): Likewise.
6641         (get_parser): Add --replace-sources option.
6642         (main): Pass replace_sources argument to Context call.
6644 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6646         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
6647         * nptl/allocatestack.c (allocate_stack): Likewise.
6648         (__reclaim_stacks): Likewise.
6649         (setxid_signal_thread): Obtain pid through syscall.
6650         * nptl/nptl-init.c (sigcancel_handler): Likewise.
6651         (sighandle_setxid): Likewise.
6652         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
6653         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6654         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6655         Likewise.
6656         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6657         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
6658         comment.
6659         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
6660         * nptl/descr.h (struct pthread): Change comment about pid value.
6661         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
6662         pid assert.
6663         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
6664         Do not set pid value.
6665         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
6666         pid cache check.
6667         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
6668         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
6669         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
6670         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
6671         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
6672         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6673         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
6674         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
6675         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
6676         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
6677         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
6678         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6679         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
6680         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6681         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
6682         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
6683         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6684         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
6685         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6686         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6687         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
6688         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6689         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
6690         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
6691         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
6692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6694         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6695         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6696         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6697         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
6698         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6699         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
6700         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6701         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
6702         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6703         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
6704         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6705         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
6706         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6707         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6708         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
6709         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
6710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6712         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6713         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6714         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6715         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6716         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6717         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
6718         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6719         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
6720         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
6721         struct access.
6722         (clone_test): Remove function.
6723         (do_test): Rewrite to take in consideration pid is not cached anymore.
6725 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6727         * bits/flt-eval-method.h: New file.
6728         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
6729         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
6730         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
6731         * math/Makefile (headers): Add bits/flt-eval-method.h.
6732         * math/math.h: Include <bits/flt-eval-method.h>.
6733         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
6734         [__USE_ISOC99] (double_t): Likewise.
6735         * bits/mathdef.h (float_t): Remove.
6736         (double_t): Likewise.
6737         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
6738         (double_t): Likewise.
6739         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
6740         (double_t): Likewise.
6741         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
6742         (double_t): Likewise.
6743         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
6744         (double_t): Likewise.
6745         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
6746         (double_t): Likewise.
6747         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
6748         (double_t): Likewise.
6749         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
6750         (double_t): Likewise.
6751         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
6752         (double_t): Likewise.
6753         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
6754         (double_t): Likewise.
6755         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
6756         (double_t): Likewise.
6757         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
6758         (double_t): Likewise.
6759         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
6760         (double_t): Likewise.
6761         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
6762         (double_t): Likewise.
6764 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
6766         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
6767         instead of PIC.
6769 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6771         [BZ #20859]
6772         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
6773         (-0x7fffffff) instead of 0x80000001.
6774         * math/test-fp-ilogb-constants.c: New file.
6775         * math/Makefile (tests): Add test-fp-ilogb-constants.
6777 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
6779         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
6780         (_init): Use it in place of hardcoded R_MIPS_JALR.
6781         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
6782         (_init): Use it in place of hardcoded R_MIPS_JALR.
6783         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
6784         (_init): Use it in place of hardcoded R_MIPS_JALR.
6786 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6788         [BZ #20787]
6789         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
6790         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
6791         (double_t): Do not define to double if [__x86_64__] when
6792         __FLT_EVAL_METHOD__ is nonzero.
6793         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
6794         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
6795         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6796         test-flt-eval-method-387 and test-flt-eval-method-sse.
6797         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
6798         variable.
6799         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
6801 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
6803         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
6804         use of -fno-isolate-erroneous-paths options for tilepro.
6806 2016-11-23  Florian Weimer  <fweimer@redhat.com>
6808         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
6809         structure initialization is no longer needed.
6811 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6813         [BZ #20855]
6814         * bits/mathdef.h (float_t): Define to float.
6815         * math/test-flt-eval-method.c: New file.
6816         * math/Makefile (tests): Add test-flt-eval-method.
6817         (CFLAGS-test-flt-eval-method.c): New variable.
6819 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
6821         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
6822         and __fstatfs.  Make them aliases of __fstatfs64 if
6823         STATFS_IS_STATFS64 is set to non-zero.
6824         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
6825         and __statfs64.
6826         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
6827         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
6828         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
6829         for __statfs and statfs.
6830         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
6831         to 0.
6832         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
6833         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
6834         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
6835         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6836         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6837         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
6840         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
6841         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6842         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
6843         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
6845 2016-11-22  Andreas Schwab  <schwab@suse.de>
6847         * misc/mkstemp.c: Include <fcntl.h>.
6848         * misc/mkstemps.c: Likewise.
6849         * misc/mkostemp.c: Likewise.
6850         * misc/mkostemps.c: Likewise.
6852 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
6854         [BZ #20847]
6855         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6856         array bounds.
6857         (__execvpe): Likewise.
6859 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
6861         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
6862         -fno-isolate-erroneous-paths options for tilepro.
6864 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
6866         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
6867         to 0 when in 32 bit mode.
6868         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
6869         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6870         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6871         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6873         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6874         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
6875         XSTAT_IS_XSTAT64 test.
6876         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
6877         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
6878         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
6879         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
6880         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
6881         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
6882         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
6883         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
6884         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
6885         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
6886         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
6888 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
6890         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6891         (setpayload): New declaration.
6892         * math/Versions (setpayload): New libm symbol at version
6893         GLIBC_2.25.
6894         (setpayloadf): Likewise.
6895         (setpayloadl): Likewise.
6896         * math/Makefile (libm-calls): Add s_setpayloadF.
6897         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
6898         test_Ff_b1_data.
6899         (RUN_TEST_Ff_b1): New macro.
6900         (RUN_TEST_LOOP_Ff_b1): Likewise.
6901         (canonicalize_test_data): Update type.
6902         (setpayload_test_data): New array.
6903         (setpayload_test): New function.
6904         (main): Call setpayload_test.
6905         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
6906         setpayloadf and setpayloadl.
6907         * manual/libm-err-tab.pl: Update comment on interfaces without
6908         ulps tabulated.
6909         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
6910         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
6911         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
6912         Likewise.
6913         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
6914         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
6915         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
6916         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
6917         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
6918         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
6919         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
6920         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
6921         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
6922         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6923         setpayload.
6924         (CFLAGS-nldbl-setpayload.c): New variable.
6925         * sysdeps/nacl/libm.abilist: Update.
6926         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6927         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6928         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6929         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6930         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6931         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6932         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6933         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6934         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6935         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6936         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6937         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6939         Likewise.
6940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6941         Likewise.
6942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6943         Likewise.
6944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6945         Likewise.
6946         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6947         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6948         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6949         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6950         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6952         Likewise.
6953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6954         Likewise.
6955         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6956         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6957         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6959 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6961         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
6962         * include/unistd.h: Extend comment about __access_noerrno return
6963         semantics.
6964         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
6965         (access_common): Correct typo for EACCES.
6967 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
6969         * sysdeps/tile/math-tests.h: New file.
6971         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
6972         (__old_set_dataplane): Rename from set_dataplane and make a
6973         compatibility symbol.
6974         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
6975         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
6976         sys/dataplane.h.
6978 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
6980         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
6981         script quote words in command output to log suitably for input to
6982         the shell.
6984 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
6985             Maciej W. Rozycki  <macro@imgtec.com>
6987         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
6988         `.Lno_weak_fn' label.
6989         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
6990         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
6992 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6993             Yury Norov  <ynorov@caviumnetworks.com>
6995         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
6996         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
6997         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6998         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
6999         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7000         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
7001         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7002         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7003         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7004         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
7005         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7006         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
7007         (sysdep_routines): Remove oldgetrlimit64.
7008         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
7009         (sysdep_routines): Likewise.
7010         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
7011         (sysdep_routines): Likewise.
7012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7013         [$(subdir) = resource] (sysdep_routines): Likewise.
7014         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7015         [$(subdir) = resource] (sysdep_routines): Likewise.
7016         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
7017         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
7018         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
7019         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
7020         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
7021         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7022         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7023         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
7024         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
7025         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
7026         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
7027         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
7028         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
7029         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
7030         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
7031         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
7032         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
7033         setrlimit and getrlimit.
7034         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7035         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7036         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
7037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
7039         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7040         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
7041         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7042         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7043         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
7044         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
7045         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
7046         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
7047         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
7048         (__old_getrlimit64): Add compatibility symbol.
7049         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
7051 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
7053         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
7054         newly built gmp, mpfr and mpc.
7056         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
7058 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7060         * conform/Makefile (linknamespace-libs): Rename to
7061         linknamespace-libs-thr.
7062         (linknamespace-libs-posix): New variable.
7063         (linknamespace-libs-xsi): Likewise.
7064         (linknamespace-libs-XPG3): Include libcrypt.a.
7065         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
7066         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
7067         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
7068         (linknamespace-libs-XOPEN2K): Likewise.
7069         (linknamespace-libs-XOPEN2K8): Likewise.
7070         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
7072         [BZ #20829]
7073         * stdio-common/Versions (__snprintf): Add to version
7074         GLIBC_PRIVATE.
7075         * include/stdio.h (__snprintf): Use libc_hidden_proto.
7076         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
7077         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
7078         of snprintf.
7079         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7081 2016-11-16  Zack Weinberg  <zackw@panix.com>
7083         * string/string.h: Remove obsolete comment stating that
7084         strcoll_l and strxfrm_l have not yet been standardized.
7086 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7088         * hurd/hurd.h (__hurd_fail_noerrno): New function.
7089         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
7090         __access_noerrno.
7091         * io/access.c (__access_noerrno): New function.
7092         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
7093         (hurd_fail_seterrno): Likewise.
7094         (access_common): Likewise.
7095         (__access_noerrno): Likewise.
7096         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
7097         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
7098         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
7099         macro.
7101 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7103         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
7104         Only declare fpregs if [__SH_FPU_ANY__].
7106 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
7108         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
7109         Make code unconditional.
7110         [!(__SH4__ || __SH4A__)]: Remove conditional code.
7112 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
7114         * manual/sysinfo.texi (S_APPEND): Delete.
7115         (S_IMMUTABLE): Likewise.
7117 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
7118             Magnus Granberg  <zorry@gentoo.org>
7119             Mike Frysinger  <vapier@gentoo.org>
7121         [BZ #20662]
7122         * configure.ac (libc_cv_predef_stack_protector): Also check for
7123         __stack_chk_fail_local symbols.
7124         * configure: Regenerated.
7126 2016-11-15  Florian Weimer  <fweimer@redhat.com>
7128         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7129         (libc_hidden_def): Remove redefinition.
7130         (__sigsetjmp): Add hidden definition.
7131         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7132         (libc_hidden_def): Remove redefinition.
7133         (__sigsetjmp): Add hidden definition.
7135 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
7137         * scripts/build-many-glibcs.py (os.path): Do not import.
7138         (Context): Inherit explicitly from object.  Remove blank line
7139         between class and docstring.
7140         (Config): Likewise.
7141         (Glibc): Likewise.
7142         (Command): Likewise.
7143         (CommandList): Likewise.
7144         (Context.write_files): Store chmod mode in a variable.
7146         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
7147         LIBC_SLIBDIR_RTLDDIR for tilegx32.
7148         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
7150 2016-11-14  Zack Weinberg  <zackw@panix.com>
7152         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
7153         creating or re-creating it.
7155         * string/bits/string2.h: Fix typo in comment.
7157 2016-11-14  Zack Weinberg  <zackw@panix.com>
7159         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
7160         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
7161         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
7162         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
7163         of redirected function names.
7165         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
7166         as well.  Document that MESSAGE must be a single string literal.
7168 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
7170         * scripts/build-many-glibcs.py: New file.
7172         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
7173         (do_test): Disable -Wmaybe-uninitialized around uses of
7174         except_mask.
7176         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
7178 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
7180         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
7181         (atomic_store_release): Provide tilepro-specific implementations.
7183 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
7185         * math/math.h (__MATH_TG): New macro.
7186         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
7187         [__USE_ISOC99] (signbit): Likewise.
7188         [__USE_ISOC99] (isfinite): Likewise.
7189         [__USE_ISOC99] (isnan): Likewise.
7190         [__USE_ISOC99] (isinf): Likewise.
7191         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
7192         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
7193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
7194         __MATH_TG and __MATH_EVAL_FMT2.
7195         * sysdeps/generic/math_private.h (fabs_tg): Define using
7196         __MATH_TG.
7197         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7198         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
7199         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
7200         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
7201         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
7202         macro.
7203         (__iscanonical): Likewise.
7204         (iscanonical): Define using __MATH_TG.
7206 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7208         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
7209         guards.
7211         * sysdeps/unix/sysv/linux/access.c: New file.
7212         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
7214 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
7216         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
7217         and __WORDSIZE32_PTRDIFF_LONG.
7219 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7221         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7223 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7225         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
7226         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
7227         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
7228         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
7229         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
7230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
7231         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
7232         * sysdeps/unix/sysv/linux/truncate.c: New file.
7233         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
7234         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7235         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
7236         Remove.
7237         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
7238         Likewise.
7240         * posix/tst-truncate-common.c: New file.
7241         * posix/tst-truncate.c: Use tst-truncate-common.c.
7242         * posix/tst-truncate64.c: Likewise and add LFS tests.
7243         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
7244         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
7245         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
7246         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
7247         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
7248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
7249         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
7250         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
7251         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
7252         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7253         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
7254         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
7255         Remove.
7256         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
7257         Likewise.
7259 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
7261         [BZ #20790]
7262         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
7263         to MAXLINESIZE.
7264         * sunrpc/bug20790.x: New file.
7265         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
7266         variable.
7267         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
7268         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
7270         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
7272         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
7274         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
7275         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
7276         calloc, realloc, free, memalign and __libc_memalign rather than
7277         making them optional.
7279         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
7280         for libc.so.
7282 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7284         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
7285         ptw-lseek64.
7286         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
7287         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
7288         Likewise.
7289         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
7290         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
7291         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
7292         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
7293         * sysdeps/unix/sysv/linux/lseek.c: New file.
7294         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
7295         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
7296         __libc_lseek64 from auto-generation.
7297         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7298         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
7300 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7302         * nptl/tst-basic1.c (tf, do_test): Use write_message.
7303         * nptl/tst-cleanup1.c (do_test): Likewise.
7304         * nptl/tst-cleanup3.c (do_test): Likewise.
7305         * nptl/tst-key1.c (do_test): Likewise.
7306         * nptl/tst-key2.c (tf, do_test): Likewise.
7307         * nptl/tst-key3.c (tf, do_test): Likewise.
7308         * nptl/tst-stdio1.c (do_test): Likewise.
7309         * nptl/tst-stdio2.c (do_test): Likewise.
7311         * nptl/tst-kill3.c (handler): Use write_message in place of write.
7312         * nptl/tst-kill6.c (handler): Likewise.
7313         * nptl/tst-tls2.c (CB): Likewise.
7314         * nptl/tst-tls3.c (CB): Likewise.
7316 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
7318         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
7320 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
7321             Steve Ellcey  <sellcey@caviumnetworks.com>
7323         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
7324           __ASSUME_ST_INO_64_BIT as 0
7325         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
7326         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
7327           over the code where __ASSUME_ST_INO_64_BIT is used.
7328         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7329         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7330         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7332 2016-11-07  Florian Weimer  <fweimer@redhat.com>
7334         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7335         Document ABI exposure of the __kind offset.
7336         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7337         Mention reason for the __kind offset exposure in the ABI.
7338         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7339         Likewise.
7340         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7341         Likewise.
7342         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7343         Likewise.
7344         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
7345         (struct __pthread_mutex_s): Likewise.
7346         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7347         Likewise.
7348         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7349         Likewise.
7350         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7351         Likewise.
7352         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7353         Likewise.
7354         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7355         Likewise.
7356         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7357         Likewise.
7358         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7359         (struct __pthread_mutex_s): Likewise.
7360         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7361         (struct __pthread_mutex_s): Likewise.
7362         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
7363         Likewise.
7365 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
7367         * test-skeleton.c: Document do_test usage.
7369 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
7371         * iconv/gconv.h (__gconv_info): Define __data element using a
7372         zero-length array.
7374 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
7376         * math/test-tgmath2.c: Split up test function.
7378 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7380         * Rules (tests-expected): New variable, depending on
7381         $(run-built-tests).
7382         (tests): Pass $(tests-expected) to merge-test-results.sh, not
7383         $(tests).
7385         * Rules [$(run-built-tests) = no] (tests): Do not depend on
7386         $(tests-unsupported).
7388 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7390         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7391         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
7393 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7395         [BZ #20768]
7396         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
7397         __fegetenv instead of fegetenv.
7399         [BZ #14139]
7400         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
7401         (find_files): Obtain platform name from libm-test-ulps-name and
7402         store in %pplatforms.
7403         (canonicalize_platform): Remove.
7404         (print_platforms): Use $pplatforms directly.
7405         (by_platforms): Do not allow for platforms missing from
7406         %pplatforms.
7407         * sysdeps/aarch64/libm-test-ulps-name: New file.
7408         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
7409         * sysdeps/arm/libm-test-ulps-name: Likewise.
7410         * sysdeps/generic/libm-test-ulps-name: Likewise.
7411         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
7412         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
7413         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
7414         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
7415         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
7416         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
7417         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
7418         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
7419         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
7420         * sysdeps/nios2/libm-test-ulps-name: Likewise.
7421         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
7422         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
7423         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
7424         * sysdeps/sh/libm-test-ulps-name: Likewise.
7425         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
7426         * sysdeps/tile/libm-test-ulps-name: Likewise.
7427         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
7429         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
7431         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
7432         (test-xfail-check-execstack): New variable.
7434         * sysdeps/mips/localplt.data: New file.
7436 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
7437             Steve Ellcey  <sellcey@caviumnetworks.com>
7439         * bits/wordsize.h: Add documentation.
7440         * sysdeps/aarch64/bits/wordsize.h : New file
7441         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
7442         definitions.
7443         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
7444         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
7445         with #if instead of #ifdef.
7446         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
7447         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
7448         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
7449         Add or change defines.
7450         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
7451         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7452         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
7453         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
7454         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7455         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7456         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
7457         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
7458         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
7459         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7460         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
7461         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
7462         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
7463         * sysdeps/x86/bits/wordsize.h: Likewise.
7465 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
7466             Kevin Petit  <kevin.petit@arm.com>
7468         * sysdeps/aarch64/memchr.S (__memchr): New file.
7470 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7472         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
7474 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
7476         [BZ #19398]
7477         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
7478         $(linknamespace-symlists-tests).
7480 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
7482         * time/tst-strptime2.c: Ignore -Wformat-length warning.
7484 2016-11-02  Florian Weimer  <fweimer@redhat.com>
7485             Carlos O'Donell  <carlos@redhat.com>
7487         [Bug #20729]
7488         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
7489         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
7490         for -Os related change.
7492 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
7494         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
7496 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
7498         [BZ #19673]
7499         * manual/math.texi (Exponents and Logarithms): Correct description
7500         of clog10.
7502 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
7504         [Bz #20729]
7505         * locale/weight.h: Include libc-internal.h.
7506         * locale/weightwc.h: Likewise.
7507         * nptl/nptl_dbP.h: Likewise.
7509 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
7511         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
7512         when it is MACH_PORT_NULL.
7514 2016-10-31  Andreas Schwab  <schwab@suse.de>
7516         [BZ #20707]
7517         * posix/glob.c (glob): Initialize pglob before checking for
7518         GLOB_BRACE.  Don't call glob recursively if pattern contains no
7519         valid brace expression despite GLOB_BRACE.
7520         * posix/globtest.sh: Test it.
7522 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7524         [BZ #20729]
7525         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
7526         Define.
7527         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
7528         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
7529         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
7530         for seq2.back_us and seq1.back_us only for -Os compiles.
7531         * locale/weightwc.h (findix): Likewise.
7532         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
7533         DB_GET_FIELD_ADDRESS only for -Os compiles.
7534         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
7535         for slen only for -Os compiles.
7536         * string/strcoll_l.c (get_next_seq): Ignore
7537         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
7538         for -Os compiles.
7540         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
7541         * include/crypt.h: New file.
7543 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7545         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
7546         from test-skeleton.c.
7547         (statclass): Replace calls to write with calls to write_message.
7549 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7551         * math/math.h
7552         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
7553         New macro.
7554         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
7555         Likewise.
7556         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
7557         Likewise.
7558         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
7559         SNANL.
7560         * math/test-double.h (snan_value_MACRO): New macro.
7561         * math/test-float.h (snan_value_MACRO): Likewise.
7562         * math/test-ldouble.h (snan_value_MACRO): Likewise.
7563         * math/libm-test.inc (issignaling_test_data): Add tests of
7564         snan_value_MACRO.
7566 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7568         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
7569         behavior when eliding a lock not held by the current thread.
7570         * sysdeps/powerpc/nptl/elide.h: Likewise.
7572 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7574         [BZ #20728]
7575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
7576         branch to _exit() by a function call.
7578 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7580         * malloc/malloc.c: Update chunk layout comments.
7581         (chunk_main_arena): Update comment.
7583 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7585         * crypt/sha256.c, crypt/sha256-block.c,
7586         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
7587         sha256_process_block to __sha256_process_block.
7588         * crypt/sha512.c, crypt/sha512-block.c,
7589         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
7590         sha512_process_block to __sha512_process_block.
7592 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7594         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
7596         * math/test-nan-overflow.c: Include stdlib.h for malloc.
7598 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
7600         [BZ #20019]
7601         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
7602         definition in unrelocated shared library.
7603         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7605 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7607         [BZ #20729]
7608         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
7609         * sysdeps/unix/sysv/linux/i386/Makefile
7610         (uses-6-syscall-arguments): Define.
7611         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
7612         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
7613         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
7614         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
7615         Likewise.
7616         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
7617         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
7618         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
7619         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
7620         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
7621         (CFLAGS-fallocate64.os): Likewise.
7622         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
7623         (CFLAGS-pthread_rwlock_timedrdlock.os)
7624         (CFLAGS-pthread_rwlock_timedwrlock.o)
7625         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
7626         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
7627         (CFLAGS-sem_timedwait.os): Likewise.
7629 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7631         * elf/tst-linkall-static.c: New file.
7632         * elf/Makefile (tests-static): Add tst-linkall-static.
7633         (tst-linkall-static): Link against static libraries.
7635 2016-10-27  Florian Weimer  <fweimer@redhat.com>
7637         * malloc/malloc.c (sysmalloc): Initialize previous size field of
7638         mmaped chunks.
7640 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7642         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
7643         members to mchunk_prev_size, mchunk_size.
7644         (chunk_main_arena): Reverse sense and rename from
7645         chunk_non_main_arena.
7646         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
7647         mchunk_size instead of size.
7648         (set_non_main_arena): Define.
7649         (chunksize): Use chunksize_nomask instead of direct member access.
7650         (chunksize_nomask): Define.
7651         (next_chunk): Use chunksize instead of direct member access.
7652         (prev_size, set_prev_size): Define.
7653         (prev_chunk): Use prev_size instead of direct member access.
7654         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
7655         (inuse_bit_at_offset, set_inuse_bit_at_offset)
7656         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
7657         (mchunk_prev_size, mchunk_size): Poison tokens.
7658         (unlink): Use chunksize_nomask, prev_size accessors.
7659         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
7660         (do_check_free_chunk): Use prev_size accessor.
7661         (sysmalloc): Use set_prev_size, set_head accessors.
7662         (munmap_chunk, mremap_chunk): Use prev_size accessor.
7663         (__libc_free): Use chunksize_nomask accessor.
7664         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
7665         chunk_main_arena accessors.
7666         (_int_free): Use chunksize_nomask, prev_size accessors.
7667         (malloc_consolidate): Use chunksize, prev_size accessors.
7668         (_int_realloc): Use chunksize_nomask accessor.
7669         (_int_memalign): Use set_prev_size accessor.
7670         (__malloc_info): Use chunksize_nomask accessor.
7671         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
7672         accessors.
7673         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
7674         (heap_trim): Use chunksize_nomask, prev_size accessors.
7676 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7678         [BZ #19380]
7679         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
7680         for inexact results.
7681         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
7682         of inexact result where mpfr_subnormalize is the only inexact
7683         step.
7684         * stdlib/tst-strtod-round-data.h: Regenerated.
7685         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
7686         Define to 0.
7687         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
7689 2016-10-27  David S. Miller  <davem@davemloft.net>
7691         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
7693 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7695         * malloc/malloc.c (do_set_mallopt_check): New function.
7696         (do_set_mmap_threshold): Likewise.
7697         (do_set_mmaps_max): Likewise.
7698         (do_set_top_pad): Likewise.
7699         (do_set_perturb_byte): Likewise.
7700         (do_set_trim_threshold): Likewise.
7701         (do_set_arena_max): Likewise.
7702         (do_set_arena_test): Likewise.
7703         (__libc_mallopt): Use them.
7705 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
7707         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7708         (canonicalize): New declaration.
7709         * math/Versions (canonicalize): New libm symbol at version
7710         GLIBC_2.25.
7711         (canonicalizef): Likewise.
7712         (canonicalizel): Likewise.
7713         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
7714         * math/s_canonicalize_template.c: New file.
7715         * math/libm-test.inc: Update comment on functions tested and
7716         testing of NaN payloads.
7717         (TEST_NAN_PAYLOAD): New macro.
7718         (NO_TEST_INLINE): Update value.
7719         (XFAIL_TEST): Likewise.
7720         (ERRNO_UNCHANGED): Likewise.
7721         (ERRNO_EDOM): Likewise.
7722         (ERRNO_ERANGE): Likewise.
7723         (IGNORE_RESULT): Likewise.
7724         (NON_FINITE): Likewise.
7725         (TEST_SNAN): Likewise.
7726         (NO_TEST_MATHVEC): Likewise.
7727         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
7728         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
7729         (struct test_Ffp_b1_data): New type.
7730         (RUN_TEST_Ffp_b1): New macro.
7731         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7732         (canonicalize_test_data): New array.
7733         (canonicalize_test): New function.
7734         (main): Call canonicalize_test.
7735         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
7736         canonicalizef and canonicalizel.
7737         * manual/libm-err-tab.pl: Update comment on interfaces without
7738         ulps tabulated.
7739         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
7740         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
7741         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7742         canonicalize.
7743         (CFLAGS-nldbl-canonicalize.c): New variable.
7744         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
7745         to ...
7746         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
7747         ... here.
7748         (do_test): Also test canonicalizel.
7749         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
7750         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
7751         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
7752         file.
7753         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
7754         Use libm_hidden_def.
7755         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
7756         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
7757         (do_test): Also test canonicalizel.
7758         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
7759         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
7760         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
7761         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
7762         libm_hidden_def.
7763         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
7764         macro.
7765         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
7766         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
7767         * sysdeps/nacl/libm.abilist: Update.
7768         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7769         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7770         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7771         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7772         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7773         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7774         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7775         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7776         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7777         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7778         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7779         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7781         Likewise.
7782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7783         Likewise.
7784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7785         Likewise.
7786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7787         Likewise.
7788         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7789         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7790         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7791         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7792         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7794         Likewise.
7795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7796         Likewise.
7797         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7798         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7799         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7801         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
7802         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7803         getpayload.
7804         (CFLAGS-nldbl-getpayload.c): New variable.
7806 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7808         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
7809         integer from the format string.
7811 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7813         [BZ #19473]
7814         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
7815         declarations.
7816         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
7817         weak aliases.
7818         * malloc/hooks.c (__malloc_get_state): Remove definition.
7819         (malloc_get_state): New stub implementation as
7820         compatibility symbol.
7821         (malloc_set_state): Rename from __malloc_set_state.  Turn into
7822         compat symbol.
7823         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
7824         malloc_set_state.
7825         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
7827 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7829         * iconvdata/iso646.c (enum variant): Drop illegal_var.
7830         (names): Turn into concatenation of strings.
7831         (gconv_init): Adapt iteration over names.
7833 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7835         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
7836         make const.
7837         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
7838         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
7839         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
7840         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
7841         character in sbconv.
7842         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
7843         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
7844         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
7846 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7848         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
7850         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
7851         (M_TRIM_THRESHOLD): Likewise.
7853         * manual/memory.texi (M_ARENA_TEST): Add documentation.
7854         (M_ARENA_MAX): Likewise.
7855         * malloc/malloc.c: Remove obsolete comment.
7857         * manual/memory.texi: Add environment variable alternatives to
7858         setting mallopt parameters.
7860 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
7862         * include/atomic.h
7863         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
7864         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
7866 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7868         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
7869         * stdlib/tst-strfrom.h: New file.
7870         * stdlib/tst-strfrom.c: New file.
7871         * stdlib/tst-strfrom-locale.c: New file.
7873         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
7874         * stdlib/bug-strtod2.c: Likewise.
7875         * stdlib/tst-strtod-round-skeleton.c: Likewise.
7876         * stdlib/tst-strtod6.c: Likewise.
7877         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
7879 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7881         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
7882         * manual/arith.texi: Document strfromd, strfromf, strfroml.
7883         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
7884         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
7885         * stdlib/stdlib.h (strfromd): New declaration.
7886         (strfromf): Likewise.
7887         (strfroml): Likewise.
7888         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
7889         strfrom.
7890         * stdlib/strfromd.c: New file.
7891         * stdlib/strfromf.c: Likewise.
7892         * stdlib/strfroml.c: Likewise.
7893         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
7894         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
7895         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
7896         * sysdeps/arm/nacl/libc.abilist: Update.
7897         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7898         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7899         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7900         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7901         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7902         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7903         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7904         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7905         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7906         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7907         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7908         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7909         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7910         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
7912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7915         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7916         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7917         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7918         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7919         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7922         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7923         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7924         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7926 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
7928         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
7929         instead of cmpli.
7930         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
7931         instead of cmpli.
7933 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
7935         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
7936         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
7937         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
7938         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7939         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7940         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7942 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7944         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
7945         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7946         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
7947         SYSCALL_LL64_PRW.
7948         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7949         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
7950         __ASSUME_PRW_DUMMY_ARG.
7951         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
7952         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7953         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7954         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7955         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
7956         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
7958 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
7960         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
7962 2016-10-22  Florian Weimer  <fweimer@redhat.com>
7964         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
7965         "C++", to override a potential extern "C" directive around the
7966         header file inclusion.
7968 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
7970         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
7972 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7974         * sysdeps/powerpc/fpu/fenv_private.h:
7975         (_FPU_MASK_ALL): Rename to...
7976         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
7977         XE FPSCR bits.
7979         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
7981         (_FPU_MASK_ROUNDING): Rename to...
7982         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
7983         NI bits.
7985         (_FPU_MASK_EXCEPT_ROUND): Rename to...
7986         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
7987         bits and rounding bits.
7989         (__libc_feholdbits_ppc): New inline function to mask, set,
7990         and pontentially clear FSPCR bits, and change MSR[FE] bits.
7991         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
7992         (libc_feholdexcept_setround_ppc): Likewise.
7994         (__libc_femergeenv_ppc): New function to dynamically mask both
7995         old and new FP environments and merge.
7996         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
7997         (libc_feresetround_ppc): Likewise.
7998         (libc_feupdateenv_test_ppc): Likewise.
7999         (libc_feupdateenv_ppc): Likewise.
8001         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
8002         of ISA RN bits, and update macro names.
8003         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
8004         effectively the same as the previously mentioned function.
8006         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
8007         usage with fe_resetround_ppc.
8009         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
8010         to be used.
8011         (libc_feholdexcept_setround_ctxf): Likewise.
8012         (libc_feholdexcept_setround_ctxl): Likewise.
8014 2016-10-21  Florian Weimer  <fweimer@redhat.com>
8016         [BZ #20715]
8017         * math/math.h [__cplusplus] (iszero): Define as function template.
8018         * math/Makefile [CXX] (tests): Add test-math-iszero.
8019         (CFLAGS-test-math-iszero.cc): Set.
8020         * math/test-math-iszero.cc: New file.
8022 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
8024         [BZ #20660]
8025         * sysdeps/arm/e_sqrt.c: New file.
8026         * sysdeps/arm/e_sqrtf.c: Likewise.
8028 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
8030         [BZ #20718]
8031         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
8032         not use floating-point comparisons to test sign.
8033         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
8034         Likewise.
8036         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8037         (getpayload): New declaration.
8038         * math/Versions (getpayload): New libm symbol at version
8039         GLIBC_2.25.
8040         (getpayloadf): Likewise.
8041         (getpayloadl): Likewise.
8042         * math/Makefile (libm-calls): Add s_getpayloadF.
8043         * math/libm-test.inc: Include <nan-high-order-bit.h>.
8044         (struct test_f_f_data): Add comment.
8045         (RUN_TEST_fp_f): New macro.
8046         (RUN_TEST_LOOP_fp_f): Likewise.
8047         (getpayload_test_data): New array.
8048         (getpayload_test): New function.
8049         (main): Call getpayload_test.
8050         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
8051         descriptor.
8052         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
8053         getpayloadf and getpayloadl.
8054         * manual/libm-err-tab.pl: Update comment on interfaces without
8055         ulps tabulated.
8056         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
8057         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
8058         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
8059         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
8060         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
8061         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
8062         * sysdeps/nacl/libm.abilist: Update.
8063         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8064         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8065         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8066         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8067         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8068         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8069         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8070         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8071         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8072         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8073         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8074         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8076         Likewise.
8077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8078         Likewise.
8079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8080         Likewise.
8081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8082         Likewise.
8083         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8084         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8085         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8086         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8087         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8089         Likewise.
8090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8091         Likewise.
8092         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8093         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8094         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8096 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8098         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
8099         tst-fallocate{64}.
8100         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
8101         on syscall return.
8103 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
8105         [BZ #20689]
8106         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
8107         usable.
8109 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
8111         * sysdeps/generic/nan-high-order-bit.h: New file.
8112         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
8113         * sysdeps/mips/nan-high-order-bit.h: Likewise.
8114         * sysdeps/hppa/math_private.h: Remove file.
8115         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
8116         not define here.
8117         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
8118         <nan-high-order-bit.h>.
8119         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8120         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8121         <nan-high-order-bit.h>.
8122         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8123         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8124         <nan-high-order-bit.h>.
8125         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8126         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
8127         <nan-high-order-bit.h>.
8128         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8129         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8130         <nan-high-order-bit.h>.
8131         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8132         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8133         <nan-high-order-bit.h>.
8134         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8135         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
8136         <nan-high-order-bit.h>.
8137         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8138         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8139         <nan-high-order-bit.h>.
8140         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8141         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8142         <nan-high-order-bit.h>.
8143         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8144         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
8145         <nan-high-order-bit.h>.
8146         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8147         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8148         <nan-high-order-bit.h>.
8149         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8150         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8151         <nan-high-order-bit.h>.
8152         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8153         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
8154         <nan-high-order-bit.h>.
8155         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8156         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
8157         <nan-high-order-bit.h>.
8158         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8159         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
8160         <nan-high-order-bit.h>.
8161         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8162         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
8163         <nan-high-order-bit.h>.
8164         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8165         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8166         <nan-high-order-bit.h>.
8167         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8168         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8169         <nan-high-order-bit.h>.
8170         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8172 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8174         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
8176 2016-09-22  John David Anglin  <dave.anglin@bell.net>
8178         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
8179         abort-instr.h.
8180         (EFAULT): Remove conditional define.
8181         (ENOSYS): Likewise.
8182         (atomic_compare_and_exchange_val_acq): Use instruction nullification
8183         instead of conditional branch instructions.
8185 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
8187         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8188         (totalordermag): New declaration.
8189         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
8190         New macro.
8191         * math/Versions (totalordermag): New libm symbol at version
8192         GLIBC_2.25.
8193         (totalordermagf): Likewise.
8194         (totalordermagl): Likewise.
8195         * math/Makefile (libm-calls): Add s_totalordermagF.
8196         * math/libm-test.inc (totalordermag_test_data): New array.
8197         (totalordermag_test): New function.
8198         (main): Call totalordermag_test.
8199         * math/test-tgmath.c (NCALLS): Increase to 125.
8200         (F(compile_test)): Call totalordermag.
8201         (F(totalordermag)): New function.
8202         * manual/arith.texi (FP Comparison Functions): Document
8203         totalordermag, totalordermagf and totalordermagl.
8204         * manual/libm-err-tab.pl: Update comment on interfaces without
8205         ulps tabulated.
8206         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
8207         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
8208         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
8209         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
8210         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
8211         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
8212         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
8213         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8214         totalordermag.
8215         (CFLAGS-nldbl-totalordermag.c): New variable.
8216         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
8217         (do_test): Also test totalordermagl.
8218         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
8219         Likewise.
8220         * sysdeps/nacl/libm.abilist: Update.
8221         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8222         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8223         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8224         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8225         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8226         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8227         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8228         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8229         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8230         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8231         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8232         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8234         Likewise.
8235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8236         Likewise.
8237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8238         Likewise.
8239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8240         Likewise.
8241         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8242         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8243         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8244         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8245         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8247         Likewise.
8248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8249         Likewise.
8250         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8251         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8252         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8254 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
8256         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
8257         boolean.
8259 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
8261         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
8262         raising FE_INVALID with feraisexcept in case where part of
8263         argument is infinite, subtract that part of argument from itself.
8264         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
8265         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
8266         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8268 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8270         * math/libm-test.inc (totalorder_test_data): Add more tests.
8272 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8274         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
8275         Undefine weak_alias and add a comment why mips64 require
8276         versioning.
8278 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8280         [BZ #20647]
8281         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
8282         maximum CPUID level is less than 2.
8284 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8286         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8287         (totalorder): New declaration.
8288         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
8289         New macro.
8290         * math/Versions (totalorder): New libm symbol at version
8291         GLIBC_2.25.
8292         (totalorderf): Likewise.
8293         (totalorderl): Likewise.
8294         * math/Makefile (libm-calls): Add s_totalorderF.
8295         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
8296         string.
8297         * math/libm-test.inc (PAYLOAD_DIG): New macro.
8298         (qnan_value_pl): Likewise.
8299         (snan_value_pl): Likewise.
8300         (qnan_value): Define using qnan_value_pl.
8301         (snan_value): Define using snan_value_pl.
8302         (struct test_ff_i_data): Add comment about which tests use this
8303         structure.
8304         (RUN_TEST_ff_b): New macro.
8305         (RUN_TEST_LOOP_ff_b): Likewise.
8306         (totalorder_test_data): New array.
8307         (totalorder_test): New function.
8308         (main): Call totalorder_test.
8309         * math/test-tgmath.c (NCALLS): Increase to 122.
8310         (F(compile_test)): Call totalorder.
8311         (F(totalorder)): New function.
8312         * manual/arith.texi (FP Comparison Functions): Document
8313         totalorder, totalorderf and totalorderl.
8314         * manual/libm-err-tab.pl: Update comment on interfaces without
8315         ulps tabulated.
8316         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
8317         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
8318         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
8319         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
8320         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
8321         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
8322         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
8323         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8324         totalorder.
8325         (CFLAGS-nldbl-totalorder.c): New variable.
8326         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
8327         file.
8328         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8329         Add test-totalorderl-ldbl-128ibm.
8330         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
8331         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
8332         test-totalorderl-ldbl-96.
8333         * sysdeps/nacl/libm.abilist: Update.
8334         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8335         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8336         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8337         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8338         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8339         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8340         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8341         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8342         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8343         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8344         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8345         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8347         Likewise.
8348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8349         Likewise.
8350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8351         Likewise.
8352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8353         Likewise.
8354         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8355         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8356         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8357         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8358         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8360         Likewise.
8361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8362         Likewise.
8363         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8364         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8365         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8367 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8369         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
8370         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
8371         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
8372         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
8373         remove ENOSYS implementation.
8374         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
8375         Consolidate all Linux implementations.
8377 2016-10-11  Florian Weimer  <fweimer@redhat.com>
8379         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
8380         * resolv/herror.c (herror): Cast away const-ness.
8381         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
8382         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
8384 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
8386         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
8387         instead of M_NAN + M_NAN.
8388         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8390 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8392         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
8393         unused variable 'p'.
8395 2016-10-09  Alan Modra  <amodra@gmail.com>
8396             Andreas Schwab  <schwab@linux-m68k.org>
8398         [BZ #20554]
8399         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
8400         [PIC && !SHARED]: Set up PIC register for PLT call.
8402 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
8404         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
8405         conditional on value of [__FLT_EVAL_METHOD__].
8406         * math/test-iseqsig-excess-precision.c: New file.
8407         * math/Makefile (tests): Add test-iseqsig-excess-precision.
8409 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8411         * math/s_iseqsig_template.c: Include math-private.h.
8413         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
8414         * posix/tst-posix_fadvise.c: New file.
8415         * posix/tst-posix_fadvise64.c: Likewise.
8416         * posix/tst-posix_fadvise-common.c: Likewise.
8417         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8418         (__ASSUME_FADVISE64_64_6ARG): Define.
8419         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8420         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
8421         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8422         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
8423         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
8424         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
8425         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
8426         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8427         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
8428         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
8429         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
8430         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
8431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
8432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
8433         Likewise.
8434         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
8435         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
8436         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
8437         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8438         Alias to __posix_fadvise64_l32.
8439         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
8440         Add compat definition to posix_fadvise64.
8441         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8442         Add versioned definition to posix_fadvise64.
8443         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
8444         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
8445         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
8446         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
8447         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
8449         * io/Makefile (tests): Add tst-posix_fallocate and
8450         tst-posix_fallocate64.
8451         * io/tst-posix_fallocate-common.c: New file.
8452         * io/tst-posix_fallocate.c: Likewise.
8453         * io/tst-posix_fallocate64.c: Likewise.
8454         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
8455         file.
8456         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
8457         Likewise.
8458         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
8459         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
8460         Likewise.
8461         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
8462         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
8463         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
8464         SYSCALL_LL to pass both offset and len arguments.
8465         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
8466         Likewise.
8467         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
8468         __libc_pwrite64 alias used by posix_fallocate64.
8470         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8471         tst-fallocate64.
8472         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8473         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8474         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8475         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8476         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8477         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8478         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8479         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8480         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8481         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8482         macro on offset argument.
8483         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8484         SYSCALL_LL64 on offset argument.
8486         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8487         tst-fallocate64.
8488         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8489         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8490         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8491         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8492         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8493         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8494         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8495         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8496         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8497         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8498         macro on offset argument.
8499         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8500         SYSCALL_LL64 on offset argument.
8501         * test-skeleton.c (FAIL_RET): Add macro.
8502         (FAIL_EXIT): Likewise.
8503         (FAIL_EXIT1): Likewise.
8504         (_FAIL): Likewise.
8506 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8508         [BZ #20629]
8509         resolv: Remove RES_USEBSTRING and its implementation.
8510         * resolv/resolv.h (RES_USEBSTRING): Remove.
8511         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
8512         (digitvalue, encode_bitstring, decode_bitstring): Remove.
8513         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
8514         (labellen): Remove extended label types support.
8515         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
8516         * resolv/res_init.c (res_setoptions): Likewise.
8517         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8519 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8521         resolv: Remove RES_NOIP6DOTINT and its implementation.
8522         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
8523         (RES_NOIP6DOTINT): Remove.
8524         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
8525         handling.
8526         * resolv/res_debug.c (p_option): Likewise.
8527         * resolv/res_init.c (res_setoptions): Likewise.
8528         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8530 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8532         resolv: Deprecate unimplemented flags.
8533         * misc/sys/cdefs.h (__glibc_macro_warning1)
8534         (__glibc_macro_warning): Define.
8535         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
8536         (RES_KEEPTSIG): Mark as deprecated.
8537         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
8538         RES_NOCHECKNAME, RES_KEEPTSIG.
8539         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
8541 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8543         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
8544         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
8545         Use strong_alias to create symbols for glibc verison 2.19.
8547 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8549         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
8551 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8553         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
8555 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8557         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
8559 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8561         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8562         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
8563         in header for using it as type for ifunc function because __GI_* symbols
8564         for ppc32 do not target the ifunc symbols.
8565         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8567 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8569         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
8570         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
8571         libc_ifunc_hidden_def.
8572         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
8573         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
8574         Redirect ifunced function in header for using it as type of ifunc'ed
8575         function. Redefine libc_hidden_def to use fallback non ifunc'ed
8576         function for __GI_* symbol.
8577         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
8578         * include/libc-symbols.h
8579         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
8581 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8583         [BZ #20478]
8584         * sysdeps/s390/multiarch/ifunc-resolve.h
8585         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
8586         to create ifunc symbols.
8587         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
8588         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
8589         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
8590         for using it as type for ifunc function.
8591         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8592         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8593         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8594         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8595         * sysdeps/s390/multiarch/strcat.c: Likewise.
8596         * sysdeps/s390/multiarch/strchr.c: Likewise.
8597         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8598         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8599         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8600         * sysdeps/s390/multiarch/strlen.c: Likewise.
8601         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8602         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8603         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8604         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8605         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8606         * sysdeps/s390/multiarch/strspn.c: Likewise.
8607         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8608         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8609         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8610         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8611         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8612         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8613         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8614         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
8615         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
8616         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8617         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
8618         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
8620 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8622         * include/libc-symbols.h (__ifunc_resolver):
8623         New macro is used by __ifunc* macros.
8624         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
8625         depending on HAVE_GCC_IFUNC.
8626         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
8627         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
8628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8629         Redirect ifunced function in header for using as type for ifunc function.
8630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
8631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
8632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
8633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
8634         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8635         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8636         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8637         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8638         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8639         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8640         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8641         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8642         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8643         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
8646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
8648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8649         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8650         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8651         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8652         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8653         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8654         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8655         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8656         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8657         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8658         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8659         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8660         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8661         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
8662         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
8664         Add libc_hidden_def() and use libc_ifunc_hidden() macro
8665         instead of libc_ifunc() macro.
8666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
8667         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8669 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8671         * config.h.in (HAVE_GCC_IFUNC): New undef.
8672         * configure.ac: Add check if gcc supports attribute ifunc feature.
8673         * configure: Regenerated.
8674         * manual/install.texi: Add recommendation for gcc with
8675         indirect-function support.
8676         * INSTALL: Regenerated.
8678 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
8680         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
8681         macro.
8682         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8683         (__iseqsig): New declaration.
8684         * math/s_iseqsig_template.c: New file.
8685         * math/Versions (__iseqsigf): New libm symbol at version
8686         GLIBC_2.25.
8687         (__iseqsig): Likewise.
8688         (__iseqsigl): Likewise.
8689         * math/libm-test.inc (iseqsig_test_data): New array.
8690         (iseqsig_test): New function.
8691         (main): Call iseqsig_test.
8692         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
8693         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
8694         * manual/libm-err-tab.pl: Update comment on interfaces without
8695         ulps tabulated.
8696         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
8697         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
8698         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
8699         * sysdeps/nacl/libm.abilist: Update.
8700         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8701         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8702         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8703         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8704         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8705         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8706         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8707         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8708         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8709         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8710         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8711         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8713         Likewise.
8714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8715         Likewise.
8716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8717         Likewise.
8718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8719         Likewise.
8720         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8721         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8722         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8723         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8724         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8726         Likewise.
8727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8728         Likewise.
8729         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8730         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8731         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8733 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8735         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
8736         do_sincos_2, sloww, sloww1): Update comments.
8738         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
8739         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
8741         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
8742         K boolean and rename it.
8743         (__sin): Adjust.
8744         (__cos): Adjust.
8746 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8747             Siddhesh Poyarekar  <siddhesh@sourceware.org>
8749         * manual/nss.texi: Fix typos in the manual.
8751 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8753         * manual/contrib.texi: Fix typos in the manual.
8755         * manual/maint.texi: Fix typos in the manual.
8757         * manual/install.texi: Fix typos in the manual.
8758         * INSTALL: Regenerated.
8760         * manual/lang.texi: Fix typos in the manual.
8762         * manual/probes.texi: Fix typos in the manual.
8764         * manual/threads.texi: Fix typos in the manual.
8766         * manual/debug.texi: Fix typos in the manual.
8768         * manual/crypt.texi: Fix typos in the manual.
8770         * manual/conf.texi: Fix typos in the manual.
8772         * manual/sysinfo.texi: Fix typos in the manual.
8774         * manual/users.texi: Fix typos in the manual.
8776         * manual/job.texi: Fix typos in the manual.
8778         * manual/process.texi: Fix typos in the manual.
8780         * manual/argp.texi: Fix typos in the manual.
8781         * manual/getopt.texi: Likewise.
8782         * manual/startup.texi: Likewise.
8784         * manual/signal.texi: Fix typos in the manual.
8786         * manual/setjmp.texi: Fix typos in the manual.
8788         * manual/resource.texi: Fix typos in the manual.
8790         * manual/time.texi: Fix typos in the manual.
8792         * manual/arith.texi: Fix typos in the manual.
8794         * manual/math.texi: Fix typos in the manual.
8796         * manual/syslog.texi: Fix typos in the manual.
8798         * manual/terminal.texi: Fix typos in the manual.
8800         * manual/socket.texi: Fix typos in the manual.
8802         * manual/filesys.texi: Fix typos in the manual.
8804         * manual/llio.texi: Fix typos in the manual.
8806         * manual/stdio.text: Fix typos in the manual.
8808 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8810         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
8811         instead of K1.
8813         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
8814         SHIFT_QUADRANT and make it bool.
8815         (do_sincos_2): Likewise.
8816         (sloww): Likewise.
8817         (sloww1): Likewise.
8818         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
8819         (__cos): Likewise.
8821 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8823         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8825 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
8827         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
8828         Define to __WORDSIZE, not conditional on [LONG_MAX ==
8829         0x7fffffffL].
8830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8832 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8834         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
8835         inline by __inline__.
8836         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
8837         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
8838         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
8839         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
8840         sigset_t from signal.h.
8841         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
8842         which is already required.
8844 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
8846         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8848 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
8850         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
8851         (struct tcp_repair_window): New type.
8853 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8855         * libio/tst-memstream3.c: Include string.h.
8857 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8859         [BZ #18241]
8860         [BZ #20181]
8861         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
8862         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
8863         write position is at the end the buffer.
8864         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
8865         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
8866         (_IO_str_seekoff): Set correct offset from negative displacement and
8867         set EINVAL for invalid ones.
8868         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
8869         buffer length.
8870         (_IO_wstr_switch_to_get_mode): New function.
8871         (_IO_wstr_seekoff): Set correct offset from negative displacement and
8872         set EINVAL for invalid ones.
8873         * libio/tst-memstream3.c: New file.
8874         * libio/tst-wmemstream3.c: Likewise.
8875         * manual/examples/memstrm.c: Remove warning when priting size_t.
8877 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8879         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
8880         macro to use __builtin_fma.
8881         * sysdeps/x86_64/fpu/dla.h: Remove file.
8883         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8884         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
8885         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
8887 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
8889         [BZ #20292]
8890         * elf/Makefile (routines): Add dl-addr-obj.
8891         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
8892         tst-_dl_addr_inside_object.
8893         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
8894         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8895         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
8896         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8897         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
8898         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
8899         * elf/dl-open.c: Likewise.
8900         * elf/dl-addr-obj.c: New file.
8901         * elf/tst-_dl_addr_inside_object.c: New file.
8903 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8905         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
8906         <bits/iscanonical.h>.
8907         * bits/iscanonical.h: New file.
8908         * math/s_iscanonicall.c: Likewise.
8909         * math/Versions (__iscanonicall): New libm symbol at version
8910         GLIBC_2.25.
8911         * math/libm-test.inc (iscanonical_test_data): New array.
8912         (iscanonical_test): New function.
8913         (main): Call iscanonical_test.
8914         * math/Makefile (headers): Add bits/iscanonical.h.
8915         (type-ldouble-routines): Add s_iscanonicall.
8916         * manual/arith.texi (Floating Point Classes): Document
8917         iscanonical.
8918         * manual/libm-err-tab.pl: Update comment on interfaces without
8919         ulps tabulated.
8920         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
8921         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
8922         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
8923         Likewise.
8924         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8925         test-iscanonical-ldbl-128ibm.
8926         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
8927         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
8928         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
8929         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
8930         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8931         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8932         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8934         Likewise.
8935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8936         Likewise.
8937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8938         Likewise.
8939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8940         Likewise.
8941         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8942         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8944 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8946         * string/bits/string3.h: Remove C++ style comments.
8948 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8950         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
8951         instead of ternary condition.
8952         (do_sincos_2): Likewise.
8953         (__sin): Likewise.
8954         (__cos): Likewise.
8955         (slow): Likewise.
8956         (sloww): Likewise.
8957         (sloww1): Likewise.
8958         (bsloww): Likewise.
8959         (bsloww1): Likewise.
8961         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
8962         instead of ternary condition.
8963         (do_sin_slow): Likewise.
8964         (do_sincos_1): Likewise.
8965         (do_sincos_2): Likewise.
8966         (__cos): Likewise.
8967         (sloww): Likewise.
8968         (sloww1): Likewise.
8969         (sloww2): Likewise.
8970         (bsloww): Likewise.
8971         (bsloww1): Likewise.
8972         (bsloww2): Likewise.
8974         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
8975         check from here...
8976         (slow2): ... and here...
8977         (__sin): ... to here.
8979 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
8981         * math/math.h
8982         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
8983         Cast argument to its own type.
8984         * math/test-iszero-excess-precision.c: New file.
8985         * math/Makefile (tests): Add test-iszero-excess-precision.
8986         (CFLAGS-test-iszero-excess-precision.c): New variable.
8988 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
8990         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
8991         field, add err field.
8992         (__spawni_child): Report error through err member instead of pipe.
8993         (__spawnix): Likewise.
8995 2016-09-28  Zack Weinberg  <zackw@panix.com>
8997         * scripts/check-installed-headers.sh: Generalize treatment of
8998         sys/elf.h to all target architectures.
9000         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
9001         deleted typedef ucontext_t.
9003 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9005         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
9006         (__INTERNAL_SYSCALL1): Likewise.
9007         (__INTERNAL_SYSCALL2): Likewise.
9008         (__INTERNAL_SYSCALL3): Likewise.
9009         (__INTERNAL_SYSCALL4): Likewise.
9010         (__INTERNAL_SYSCALL5): Likewise.
9011         (__INTERNAL_SYSCALL6): Likewise.
9012         (__INTERNAL_SYSCALL7): Likewise.
9013         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
9014         (__INTERNAL_SYSCALL_NARGS): Likewise.
9015         (__INTERNAL_SYSCALL_DISP): Likewise.
9016         (INTERNAL_SYSCALL_CALL): Likewise.
9017         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
9018         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
9019         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
9020         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
9021         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
9022         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
9023         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
9024         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
9025         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
9026         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
9027         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
9028         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
9029         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
9031 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
9033         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
9034         macro.
9035         * math/libm-test.inc (iszero_test_data): New array.
9036         (iszero_test): New function.
9037         (main): Call iszero_test.
9038         * manual/arith.texi (Floating Point Classes): Document iszero.
9039         * manual/libm-err-tab.pl: Update comment on interfaces without
9040         ulps tabulated.
9042 2016-09-23  Zack Weinberg  <zackw@panix.com>
9044         * scripts/check-installed-headers.sh: New script.
9045         * Rules: In each directory that defines header files to be installed,
9046         run check-installed-headers.sh on them as a special test.
9047         * Makefile: Likewise for the headers installed at top level.
9049         * include/aliases.h, include/alloca.h, include/argz.h
9050         * include/arpa/nameser.h, include/arpa/nameser_compat.h
9051         * include/elf.h, include/envz.h, include/err.h
9052         * include/execinfo.h, include/fpu_control.h, include/getopt.h
9053         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
9054         * include/link.h, include/malloc.h, include/mcheck.h
9055         * include/mntent.h, include/netinet/ether.h
9056         * include/nss.h, include/obstack.h, include/printf.h
9057         * include/pty.h, include/resolv.h, include/rpc/auth.h
9058         * include/rpc/auth_des.h, include/rpc/auth_unix.h
9059         * include/rpc/clnt.h, include/rpc/des_crypt.h
9060         * include/rpc/key_prot.h, include/rpc/netdb.h
9061         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
9062         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
9063         * include/rpc/rpc_msg.h, include/rpc/svc.h
9064         * include/rpc/svc_auth.h, include/rpc/xdr.h
9065         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
9066         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
9067         * include/rpcsvc/ypupd.h, include/shadow.h
9068         * include/stdio_ext.h, include/sys/epoll.h
9069         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
9070         * include/sys/prctl.h, include/sys/profil.h
9071         * include/sys/statfs.h, include/sys/sysctl.h
9072         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
9073         * sysdeps/arm/nacl/include/bits/setjmp.h
9074         * sysdeps/mips/include/sys/asm.h
9075         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
9076         * sysdeps/unix/sysv/linux/include/sys/timex.h
9077         * sysdeps/x86/fpu/include/bits/fenv.h:
9078         Add #ifndef _ISOMAC guard around internal declarations.
9079         Add multiple-inclusion guard if not already present.
9081 2016-09-23  Zack Weinberg  <zackw@panix.com>
9083         * sysdeps/generic/sys/ucontext.h
9084         * sysdeps/arm/sys/ucontext.h
9085         * sysdeps/i386/sys/ucontext.h
9086         * sysdeps/m68k/sys/ucontext.h
9087         * sysdeps/mips/sys/ucontext.h
9088         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
9089         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
9090         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
9091         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
9092         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
9093         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
9094         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
9095         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
9096         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
9097         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
9098         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
9099         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
9100         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
9101         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
9102         Include both bits/sigcontext.h and bits/sigstack.h.
9103         Fix grammar error in comment, if present.
9105         * bits/sigstack.h
9106         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
9107         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
9108         * sysdeps/unix/sysv/linux/bits/sigstack.h
9109         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
9110         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
9111         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
9112         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
9113         * bits/sigcontext.h
9114         * sysdeps/mach/hurd/i386/bits/sigcontext.h
9115         * sysdeps/unix/sysv/linux/bits/sigcontext.h
9116         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
9117         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
9118         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
9119         as well as signal.h, if this was not already allowed.  Request
9120         definition of size_t if necessary.  Minimize semantically-null
9121         differences across files.
9123 2016-09-23  Zack Weinberg  <zackw@panix.com>
9125         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
9126         Remove all logic conditional on __need macros.  Move all the
9127         conditionally defined types to their own headers...
9128         * time/bits/types/clock_t.h: Define clock_t here.
9129         * time/bits/types/clockid_t.h: Define clockid_t here.
9130         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
9131         * time/bits/types/struct_timespec.h: Define struct timespec here.
9132         * time/bits/types/struct_timeval.h: Define struct timeval here.
9133         * time/bits/types/struct_tm.h: Define struct tm here.
9134         * time/bits/types/time_t.h: Define time_t here.
9135         * time/bits/types/timer_t.h: Define timer_t here.
9136         * time/Makefile: Install the new headers.
9138         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
9139         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
9140         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
9141         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
9142         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
9143         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
9144         * sysdeps/unix/sysv/linux/bits/resource.h
9145         * sysdeps/unix/sysv/linux/bits/timex.h
9146         * sysdeps/unix/sysv/linux/mips/bits/resource.h
9147         * sysdeps/unix/sysv/linux/net/ppp_defs.h
9148         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
9149         * sysdeps/unix/sysv/linux/sys/acct.h
9150         * sysdeps/unix/sysv/linux/sys/timerfd.h
9151         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
9152         * time/sys/time.h, time/sys/timeb.h
9153         Use the new bits/types headers.
9155         * include/time.h: Remove __need logic.
9156         * include/bits/time.h
9157         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
9158         * include/bits/types/time_t.h, include/bits/types/timer_t.h
9159         * include/bits/types/struct_itimerspec.h
9160         * include/bits/types/struct_timespec.h
9161         * include/bits/types/struct_timeval.h
9162         * include/bits/types/struct_tm.h:
9163         New wrapper headers.
9165 2016-09-23  Zack Weinberg  <zackw@panix.com>
9167         * sysdeps/mach/hurd/net/if_ppp.h
9168         * sysdeps/unix/sysv/linux/net/if_ppp.h:
9169         Only define struct ifpppstatsreq and struct ifpppcstatsreq
9170         if __USE_MISC is defined, to ensure struct ifreq is declared.
9172         * inet/netinet/ether.h: Condition all function prototypes
9173         on __USE_MISC, to ensure struct ether_addr is declared.
9175         * socket/bits/types/struct_osockaddr.h: New header.
9176         * include/bits/types/struct_osockaddr.h: New wrapper.
9177         * socket/Makefile: Install the new header.
9178         * socket/sys/socket.h, inet/protocols/talkd.h:
9179         Refer to bits/types/struct_osockaddr.h for the definition of
9180         struct osockaddr.
9182 2016-09-23  Zack Weinberg  <zackw@panix.com>
9184         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
9185         * inet/protocols/routed.h, inet/protocols/talkd.h
9186         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
9187         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
9188         * sysdeps/generic/netinet/if_ether.h
9189         * sysdeps/generic/netinet/in_systm.h
9190         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
9191         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9192         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
9193         * sysdeps/mach/hurd/net/if_arp.h
9194         * sysdeps/mach/hurd/net/if_ppp.h
9195         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
9196         * sysdeps/unix/sysv/linux/bits/in.h
9197         * sysdeps/unix/sysv/linux/net/ethernet.h
9198         * sysdeps/unix/sysv/linux/net/if_arp.h
9199         * sysdeps/unix/sysv/linux/net/if_ppp.h
9200         * sysdeps/unix/sysv/linux/net/if_shaper.h
9201         * sysdeps/unix/sysv/linux/net/route.h
9202         * sysdeps/unix/sysv/linux/netinet/if_ether.h
9203         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9204         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9205         * sysdeps/unix/sysv/linux/netipx/ipx.h
9206         * sysdeps/unix/sysv/linux/sys/acct.h
9207         * include/arpa/nameser.h, include/resolv.h:
9208         Change all uses of u_char to unsigned char,
9209         u_short and ushort to unsigned short, u_int and uint to unsigned int,
9210         u_long and ulong to unsigned long, u_int8_t to uint8_t,
9211         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
9212         and u_int64_t and u_quad_t to uint64_t.
9214         * mach/sys/reboot.h: Remove two casts of integer literals
9215         to the types they already have.
9217         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
9218         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
9219         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
9220         from referring to 'unsigned char' to 'uint8_t' for consistency with
9221         the macro definition below.
9223         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
9224         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
9225         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
9226         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
9227         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
9228         * sysdeps/unix/sysv/linux/sys/acct.h
9229         * include/arpa/nameser.h, include/resolv.h:
9230         Fix indentation disrupted by mechanical edits.
9232         * inet/protocols/talkd.h, resolv/arpa/nameser.h
9233         * sysdeps/generic/netinet/in_systm.h
9234         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9235         * sysdeps/gnu/netinet/udp.h
9236         * sysdeps/unix/sysv/linux/net/ethernet.h
9237         * sysdeps/unix/sysv/linux/net/if_arp.h
9238         * sysdeps/unix/sysv/linux/net/if_ppp.h
9239         * sysdeps/unix/sysv/linux/net/if_shaper.h
9240         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9241         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9242         * sysdeps/unix/sysv/linux/netipx/ipx.h
9243         * sysdeps/unix/sysv/linux/sys/acct.h
9244         Include stdint.h for uintNN_t definitions.
9245         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
9247 2016-09-23  Zack Weinberg  <zackw@panix.com>
9249         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
9250         * sysdeps/unix/sysv/linux/netrose/rose.h:
9251         Include sys/socket.h and netax25/ax25.h.
9253         * inet/netinet/icmp6.h, inet/netinet/ip6.h
9254         * resolv/arpa/nameser_compat.h:
9255         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
9257         * sysdeps/unix/sysv/linux/sys/quota.h:
9258         Use __caddr_t instead of caddr_t.
9259         * sysdeps/unix/sysv/linux/sys/timerfd.h:
9260         Use __clockid_t instead of clockid_t.
9262         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
9264         * argp/argp.h: Check whether _LIBC is defined before expanding it.
9265         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
9266         expanding it.
9268         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
9269         Define __glibc_c99_flexarr_available to 1 when the compiler
9270         supports C99-compatible flexible array members, 0 otherwise.
9271         * sysdeps/unix/sysv/linux/bits/socket.h
9272         * sysdeps/mach/hurd/bits/socket.h
9273         * bits/socket.h: Use __glibc_c99_flexarr_available in
9274         definitions of struct cmsghdr and CMSG_DATA.
9276 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9278         * manual/nss.texi (NSS Modules Interface): Adjust function return
9279         type to enum nss_status.  Document errnop argument.  Clarify
9280         h_errnop semantics.  Fix cross-reference formatting.
9281         (NSS Module Function Internals): Mention that *errnop needs to be
9282         set on failure, but not to zero.
9284 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9286         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
9287         (get_random_name): New functions.
9288         (check_wrapper_flags_mode): Use linkat to give the new file a name
9289         determined by get_random_name.
9290         (do_test): Add calls to test open64 and openat64.
9292 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9294         * test-skeleton.c: Remove #include <stdarg.h>.
9296 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
9298         [BZ #19826]
9299         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
9300         initialization of static TLS entries.
9301         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
9302         * nptl/allocatestack.c (init_one_static_tls): Likewise.
9304 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9306         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
9307         _hurd_malloc_fork_prepare.
9308         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
9309         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
9310         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
9311         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
9312         (_hurd_fork_child_hook): Drop malloc_fork_child.
9313         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
9314         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
9315         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
9316         after locking locks (notably hurd_dtable_lock). Call
9317         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
9318         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
9319         __malloc_fork_unlock_child.
9320         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
9322 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
9324         * soft-fp/extendhftf2.c: New.
9325         * soft-fp/fixhfti.c: Likewise.
9326         * soft-fp/fixunshfti.c: Likewise.
9327         * soft-fp/floattihf.c: Likewise.
9328         * soft-fp/floatuntihf.c: Likewise.
9329         * soft-fp/half.h: Likewise.
9330         * soft-fp/trunctfhf2.c: Likewise.
9332 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
9334         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
9335         macro.
9336         * math/libm-test.inc (issubnormal_test_data): New array.
9337         (issubnormal_test): New function.
9338         * manual/arith.texi (Floating Point Classes): Document
9339         issubnormal.
9340         * manual/libm-err-tab.pl: Update comment on interfaces without
9341         ulps tabulated.
9343         * sysdeps/generic/stdint.h: Define
9344         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9345         <bits/libc-header-start.h> instead of including <features.h>.
9346         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
9347         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
9348         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
9349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
9350         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
9351         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
9352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
9353         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
9354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
9355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
9356         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
9357         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
9358         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
9359         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
9360         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
9361         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
9362         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
9363         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
9364         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
9365         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
9366         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
9367         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
9368         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
9369         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
9370         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
9371         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
9372         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
9373         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
9374         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
9375         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
9376         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
9377         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
9378         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
9379         * manual/arith.texi (Integers): Document these macros for types
9380         specified by width properties.
9381         * manual/lang.texi (Width of Type): Document these macros for
9382         other standard typedefs.
9383         * stdlib/tst-width-stdint.c: New file.
9384         * stdlib/Makefile (tests): Add tst-width-stdint.
9386 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9388         [BZ #20016]
9389         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
9390         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
9391         Move ...
9392         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
9393         ... here, as compatibility symbols in a new file.
9394         * resolv/Makefile (libresolv-routines): Add compat-hooks.
9395         * resolv/res_init.c (__res_vinit): Adjust member names.
9396         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
9397         * resolv/resolv.h (res_sendhookact, res_send_qhook)
9398         (res_send_rhook): Remove.
9399         (struct __res_state): Rename qhook, rhook members.
9401 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9403         malloc: Use __libc_lock wrappers.
9404         * malloc/arena.c (list_lock, free_list_lock): Define using
9405         __libc_lock_define_initialized.
9406         (arena_lock): Adjust formatting.
9407         * malloc/malloc.c (struct malloc_state): Define mutex using
9408         __libc_lock_define.
9409         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
9410         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
9411         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
9412         (mutex_unlock, mutex_trylock): Remove.
9413         (__pthread_initialize): Remove unused macro.
9414         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
9415         (mutex_unlock, mutex_trylock): Remove.
9417 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9419         [BZ #20592]
9420         Remove RR type classification macros.
9421         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
9422         (ns_t_udp_p, ns_t_xfr_p): Remove.
9424 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9426         Remove misleading version information.
9427         * resolv/arpa/nameser.h (__NAMESER): Remove.
9428         * resolv/arpa/nameser_compat.h (__BIND): Remove.
9430 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9432         Remove the always-defined BIND_4_COMPAT macro.
9433         * resolv/arpa/nameser.h: Unconditionally include
9434         <arpa/nameser_compat.h>.
9435         (BIND_4_COMPAT): Remove.
9436         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
9438 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9440         [BZ #20591]
9441         Remove obsolete DNSSEC support.
9442         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
9443         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
9444         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
9445         (ns_verify_tcp, ns_verify_tcp_init): Remove.
9446         (ns_cert_types): Add comment.
9447         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
9448         separately.
9449         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
9450         (dst_s_dns_key_id): Remove.
9451         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
9452         variables.
9454 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9456         [BZ #20524]
9457         * manual/string.texi (String/Array Comparison): Clarify the
9458         strverscmp behavior.
9460 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9462         * test-skeleton.c (xasprintf): Add function.
9463         * io/tst-open-tmpfile.c: New test.
9464         * io/Makefile (tests): Add it.
9466 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9468         Avoid running $(CXX) during build to obtain header file paths.
9469         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
9470         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
9471         * Makerules (cstdlib, cmath): Remove variables.  Use
9472         $(c++-cstdlib-header), $(c++-cmath-header) instead.
9473         * configure: Regenerate.
9475 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9477         * Makeconfig (all-object-suffixes): Include .op only if
9478         $(build-profile).
9480 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9482         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
9483         conditionals.  Do not define PATH_MAX.
9485 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9487         * posix/Makefile (tests): Add tst-spawn3.
9488         * posix/tst-spawn3.c: New file.
9489         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
9490         if it is already opened for open action.
9492         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
9493         all signals when executing the clone vfork child.
9494         (SIGALL_SET): Remove macro.
9496         * nptl/Makefile (tests): Add tst-exec5.
9497         * nptl/tst-exec5.c: New file.
9498         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
9499         asynchronous cancellation.
9501 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9503         * hurd/exc2signal.c: #include <hurd/signal.h>
9504         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
9505         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
9506         accordingly.
9507         * mach/mach_error.c (mach_error): Fix old-style function definition.
9508         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
9510 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9512         * math/Makefile (libm-calls): Remove s_nanF.
9513         (gen-libm-calls): Add s_nanF.
9515         * math/s_nan.c: Refactor into ...
9516         * math/s_nan_template.c: New file.
9518         * math/s_nanf.c: Removed.
9519         * math/s_nanl.c: Removed.
9520         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
9521         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
9523         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9524         (LDOUBLE_nanl_libm_version): New macro.
9526         * sysdeps/generic/math-type-macros-double.h:
9527         (M_STRTO_NAN): New macro.
9528         * sysdeps/generic/math-type-macros-float.h: Likewise.
9529         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9531         * sysdeps/generic/math-type-macros.h: Document
9532         M_STRTO_NAN.
9534 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9536         * math/s_nanf.c: Remove __nanf undef.
9537         * math/s_nan.c: Remove __nan undef.
9538         * math/s_nanl.c: Remove __nanl undef.
9540         * sysdeps/generic/math_private.h (__nan): Remove macro
9541         override.
9542         (__nanf): Likewise.
9543         (__nanl): Likewise.
9545 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9547         * math/Makefile (gen-all-calls): New variable.
9548         (generated): Replace gen-libm-calls with gen-all-calls.
9549         (gen-libm-templates.stmp): Likewise.  Also, ensure
9550         the output directory exists or is created and add
9551         dependency on the Makefile.
9552         (calls): Move s_ldexpF into gen-calls.
9553         (gen-calls): New variable.
9555         * math/s_ldexpf.c: Removed.
9556         * math/s_ldexpl.c: Removed.
9557         * math/s_ldexp.c: Refactored into ...
9558         * math/s_ldexp_template.c: New file.
9560         * sysdeps/generic/math-type-macros-double.h: Remove
9561         redundant fall-through definition of declare_mgen_alias.
9562         (declare_mgen_alias_2): New macro.
9564         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
9565         New macro for function aliased to two exported symbols.
9567         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
9568         new template file.
9569         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9571 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9573         * Makeconfig (all-object-suffixes): Remove .og.
9574         * Makerules (elide-routines.og): Remove.
9575         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
9576         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
9577         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
9579 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9581         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
9582         .os objects.
9584 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9586         [BZ #20615]
9587         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
9588         fpu directory by non-fpu.
9589         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
9590         on non-fpu directory from a fpu directory.
9592 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
9594         * include/limits.h: Define
9595         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9596         <bits/libc-header-start.h> instead of including <features.h>.
9597         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
9598         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
9599         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
9600         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
9601         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
9602         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
9603         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
9604         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
9605         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9606         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
9607         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
9608         * manual/lang.texi (Width of Type): Document these macros.
9609         * stdlib/tst-width.c: New file.
9610         * stdlib/Makefile (tests): Add tst-width.
9612 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9614         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
9615         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
9617 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9619         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
9620         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9621         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9623 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9625         [BZ #18243]
9626         * rt/Makefile (test): Add tst-shm-cancel.
9627         * rt/tst-shm-cancel.c: New file.
9628         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
9630         [BZ #18243]
9631         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
9632         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
9633         definition.
9634         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
9635         uncontended case.
9636         * nptl/sem_wait.c (__new_sem_wait): Likewise.
9637         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
9638         (tf): Fix check for uncontended case.
9639         (do_test): Likewise.
9640         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
9641         (tf): Fix check for uncontended case.
9642         (do_test): Likewise.
9643         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
9644         (tf): Fix check for uncontended case.
9645         (do_test): Likewise.
9646         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
9647         (tf): Fix check for uncontended case.
9648         (do_test): Likewise.
9650         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
9651         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
9653         [BZ #15765]
9654         * nptl/Makefile (tests): Add tst-sem16.
9655         * nptl/tst-sem16.c: New file.
9656         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
9658         * nptl/sem_open.c (sem_open): Init pad value to 0.
9659         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9660         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9662 2016-09-15  Florian Weimer  <fweimer@redhat.com>
9664         [BZ #20611]
9665         * inet/Makefile (routines): Add inet6_scopeid_pton.
9666         (tests): Add tst-inet6_scopeid_pton.
9667         * inet/inet6_scopeid_pton.c: New file.
9668         * inet/net-internal.h: Likewise.
9669         * inet/tst-inet6_scopeid_pton.c: New test.
9670         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
9671         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
9672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9674 2016-09-14  Florian Weimer  <fweimer@redhat.com>
9676         Remove support for compiling wrappers with PTW.
9677         * sysdeps/nptl/Makeconfig: Drop ptw- support.
9678         * nptl/Makefile (pthread-compat-wrappers): Define.
9679         (libpthread-routines): Use pthread-compat-wrappers.
9680         * sysdeps/unix/sysv/linux/alpha/Makefile
9681         (libpthread-routines, libpthread-shared-only-routines): Remove
9682         ptw- prefix.
9683         * sysdeps/s390/nptl/Makefile
9684         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9685         * sysdeps/ia64/nptl/Makefile
9686         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9687         * sysdeps/nacl/Makefile (libpthread-routines): Use
9688         pthread-compat-wrappers to filter the routines list instead of the
9689         ptw- prefix.
9691 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9693         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
9694         with L() and remove explicit suffix, convert real literals
9695         which can be equivalentally substituted with integers, and
9696         transform -L(x) to L(-x).
9698         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9699         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9700         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9701         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9702         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9703         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9704         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9705         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9706         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9707         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9708         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9709         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9710         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9711         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9712         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9713         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9714         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9715         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9716         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9717         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9718         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9719         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9720         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9721         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9722         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9723         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9724         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9725         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9726         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9727         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9728         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9729         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9730         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9731         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9732         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9733         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9734         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9735         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9736         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9737         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9738         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9739         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9740         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9741         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9742         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9743         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9744         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9745         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9746         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9747         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9749 2016-09-13  Florian Weimer  <fweimer@redhat.com>
9751         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
9753 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9755         * malloc/Makefile (tests): Remove individual static test names
9756         and just add all of tests-static.
9758         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
9760 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
9762         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
9763         file.
9765         * sysdeps/sparc/fpu/fegetmode.c: New file.
9766         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
9768         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
9769         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
9771         * sysdeps/s390/fpu/fegetmode.c: New file.
9772         * sysdeps/s390/fpu/fesetmode.c: Likewise.
9774         * sysdeps/powerpc/fpu/fegetmode.c: New file.
9775         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
9776         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
9777         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
9778         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
9779         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
9781         * sysdeps/mips/fpu/fegetmode.c: New file.
9782         * sysdeps/mips/fpu/fesetmode.c: Likewise.
9784         * sysdeps/m68k/fpu/fegetmode.c: New file.
9785         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
9787         * sysdeps/ia64/fpu/fegetmode.c: New file.
9788         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
9790         * sysdeps/hppa/fpu/fegetmode.c: New file.
9791         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
9793         * sysdeps/arm/fegetmode.c: New file.
9794         * sysdeps/arm/fesetmode.c: Likewise.
9796         * sysdeps/alpha/fpu/fegetmode.c: New file.
9797         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
9799         * sysdeps/aarch64/fpu/fegetmode.c: New file.
9800         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
9802         * math/fegetmode.c: New file.
9803         * math/fesetmode.c: Likewise.
9804         * sysdeps/i386/fpu/fegetmode.c: Likewise.
9805         * sysdeps/i386/fpu/fesetmode.c: Likewise.
9806         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
9807         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
9808         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
9809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
9810         declaration.
9811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
9812         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
9813         typedef.
9814         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9815         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9816         (femode_t): New typedef.
9817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9818         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9819         (femode_t): New typedef.
9820         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9821         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9822         (femode_t): New typedef.
9823         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9824         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9825         (femode_t): New typedef.
9826         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9827         * sysdeps/ia64/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/m68k/fpu/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/microblaze/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/mips/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/nios2/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         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9843         (femode_t): New typedef.
9844         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
9845         declaration.
9846         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9847         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9848         (femode_t): New typedef.
9849         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9850         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9851         (femode_t): New typedef.
9852         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9853         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9854         (femode_t): New typedef.
9855         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9856         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9857         (femode_t): New typedef.
9858         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9859         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9860         (femode_t): New typedef.
9861         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9862         * manual/arith.texi (FE_DFL_MODE): Document macro.
9863         (fegetmode): Document function.
9864         (fesetmode): Likewise.
9865         * math/Versions (fegetmode): New libm symbol at version
9866         GLIBC_2.25.
9867         (fesetmode): Likewise.
9868         * math/Makefile (libm-support): Add fegetmode and fesetmode.
9869         (tests): Add test-femode and test-femode-traps.
9870         * math/test-femode-traps.c: New file.
9871         * math/test-femode.c: Likewise.
9872         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
9873         alias for __fe_dfl_env.
9874         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
9875         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
9876         (__fe_dfl_mode): Likewise.
9877         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
9878         version GLIBC_2.25.
9879         * sysdeps/nacl/libm.abilist: Update.
9880         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9881         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9882         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9883         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9884         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9885         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9886         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9887         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9888         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9889         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9890         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9891         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9893         Likewise.
9894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9895         Likewise.
9896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9897         Likewise.
9898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9899         Likewise.
9900         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9901         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9902         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9903         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9904         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9906         Likewise.
9907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9908         Likewise.
9909         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9910         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9911         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9913 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9915         [BZ #20495]
9916         [BZ #20508]
9917         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
9918         processors, set Use_dl_runtime_resolve_slow and set
9919         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
9920         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
9921         New.
9922         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
9923         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
9924         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
9925         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
9926         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
9927         if Use_dl_runtime_resolve_opt is set.  Use
9928         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
9929         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
9930         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
9931         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
9932         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
9933         New.
9934         (_dl_runtime_resolve_opt): Likewise.
9935         (_dl_runtime_profile): Define only if _dl_runtime_profile is
9936         defined.
9938 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9940         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
9941         __libc_memalign with "+ RELA R_390_GLOB_DAT".
9943 2016-09-06  Florian Weimer  <fweimer@redhat.com>
9945         Convert malloc to __libc_lock.  Automated part, using this Perl
9946         s/// command:
9947           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
9948             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
9949         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
9950         conversion.
9952 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
9954         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
9955         (linknamespace-symlists-tests): Likewise.
9956         (linknamespace-header-tests): Likewise.
9958 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
9960         [BZ #19810]
9961         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
9962         * elf/tst-noload.c: New test case.
9963         * elf/Makefile (tests): Add tst-noload.
9965 2016-09-02  Roland McGrath  <roland@hack.frob.com>
9967         * sysdeps/nacl/dup.c: Add libc_hidden_def.
9969         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
9970         not any more.
9972         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
9974 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9976         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
9977         (do_cos_slow): Likewise.
9978         (do_sin): Likewise.
9979         (do_sin_slow): Likewise.
9980         (slow): Likewise.
9981         (slow1): Likewise.
9982         (slow2): Likewise.
9983         (sloww): Likewise.
9984         (sloww1): Likewise.
9985         (sloww2): Likewise.
9986         (bsloww): Likewise.
9987         (bsloww1): Likewise.
9988         (bsloww2): Likewise.
9989         (cslow2): Likewise.
9991         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
9993         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
9994         arguments.  Consolidate input partitioning from callers here.
9995         (do_cos_slow): Likewise.
9996         (do_sin): Likewise.
9997         (do_sin_slow): Likewise.
9998         (do_sincos_1): Remove the no longer necessary input partitioning.
9999         (do_sincos_2): Likewise.
10000         (__sin): Likewise.
10001         (__cos): Likewise.
10002         (slow1): Likewise.
10003         (slow2): Likewise.
10004         (sloww1): Likewise.
10005         (sloww2): Likewise.
10006         (bsloww1): Likewise.
10007         (bsloww2): Likewise.
10008         (cslow2): Likewise.
10010 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10012         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
10013         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
10014         outside of allocated array.
10016 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10018         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
10019         instead of MB_CUR_MAX to avoid variable-length array.
10021 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10023         * math/Makefile (libm-calls): Remove k_rem_pio2F.
10024         (type-double-routines): Add k_rem_pio2.
10025         (type-float-routines): Add k_rem_pio2f.
10027         * sysdeps/generic/math_private.h:
10028         (__kernel_rem_pio2l): Removed.
10030         * math/k_rem_pio2l.c: Removed.
10031         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
10032         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
10033         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
10034         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
10036 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10038         * math/Makefile (gen-libm-calls): Add s_fmin
10039         (libm-calls): Remove above.
10041         * math/s_fmin.c: Refactor into ...
10042         * math/s_fmin_template.c: New file.
10044         * math/s_fminf.c: Removed.
10045         * math/s_fminl.c: Removed.
10046         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10047         (LDOUBLE_fmin_libm_version): New macro.
10049         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
10050         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
10052 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10054         * math/Makefile: (gen-libm-calls): Add s_fmax.
10055         (libm-calls): Remove above.
10057         * math/s_fmax.c: Refactor into ...
10058         * math/s_fmax_template.c: New file.
10059         * math/s_fmaxf.c: Removed.
10060         * math/s_fmaxl.c: Removed.
10062         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10063         (LDOUBLE_fmaxl_libm_version): New macro.
10065         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
10066         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
10068         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
10069         s_fmin.c to pick the aarch64 version of the file.
10070         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
10071         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
10073 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10075         * math/Makefile: (gen-libm-calls): Add s_nextdown.
10076         (libm-calls): Remove above.
10078         * math/s_nextdown.c: Refactor into ...
10079         * math/s_nextdown_template.c: New file.
10080         * math/s_nextdownf.c: Removed.
10081         * math/s_nextdownl.c: Removed.
10083         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
10085 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10087         * math/Makefile (gen-libm-calls): Add s_fdim.
10088         (libm-calls): Move to above.
10090         * math/s_fdim.c: Renamed and refactored into to ...
10091         * math/s_fdim_template.c: New file.
10092         * math/s_fdiml.c: Removed.
10093         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
10094         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
10096         * sysdeps/generic/math-type-macros-double.h:
10097         (declare_mgen_alias): Don't declare if already declared.
10098         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
10099         Likewise.
10101         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10102         (declare_mgen_alias): Don't declare if already declared.
10103         (M_LIBM_NEED_COMPAT): Likewise.
10104         (declare_mgen_libm_compat): Likewise.
10105         (LDOUBLE_fdiml_libm_version): New macro.
10107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10108         Include math/s_fdim.c now that ldbl-opt version is not needed.
10109         (declare_mgen_alias): New macro to disable aliasing.
10111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
10112         (declare_mgen_alias): Likewise.
10113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
10114         (declare_mgen_alias): Likewise.
10115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
10116         (declare_mgen_alias): Likewise.
10117         (M_LIBM_NEED_COMPAT): Likewise.
10119 2016-09-01  Florian Weimer  <fweimer@redhat.com>
10121         [BZ #20525]
10122         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
10123         Include <linux/quota.h>.
10124         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
10125         and btodb.
10126         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
10127         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
10128         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
10129         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
10130         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
10131         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
10132         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
10133         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
10134         types.
10135         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
10136         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
10138 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10140         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
10141         (gammal_positive): Fix spacing.
10142         (__ieee754_gammal_r): Likewise.
10144 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10146         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
10147         (_Float128): Define as long double, always.
10148         (L): Apply long double type suffix, always.
10150         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
10151         _Float128, excepting comments.
10153         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10154         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10155         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10156         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10157         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10158         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10159         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10160         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10161         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10162         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
10163         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10164         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10165         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10166         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10167         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10168         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10169         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10170         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10171         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10172         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10173         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10174         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10175         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10176         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10177         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10178         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10179         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10180         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10181         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10182         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10183         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10184         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10185         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10186         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10187         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10188         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10189         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10190         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10191         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10192         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10193         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10194         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10195         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10196         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10197         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10198         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10199         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10200         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10201         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10202         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10203         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10204         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10205         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10206         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10207         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10208         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10209         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10210         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10211         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10212         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10213         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10214         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10215         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10216         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10217         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10218         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10219         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10220         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10222         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
10223         _Float128, and include math_private.h.
10224         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10226         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
10227         long double semantics.
10228         (_Float128): Likewise.
10229         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
10230         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10231         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10232         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10234 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10236         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
10237         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
10238         * sysdeps/s390/configure: Regenerated.
10239         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
10240         instruction for raising over-/underflow if z196 zarch is supported
10241         by default.
10242         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
10244 2016-08-30  Svante Signell  <svante.signell@gmail.com>
10246         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
10247         it point to a dumb buffer for RPC to fill it.
10249 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10251         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
10252         instead of if/else.
10253         (do_sin_slow): Likewise.
10254         (do_sincos_1): Use fabs instead of if/else.
10255         (do_sincos_2): Likewise.
10256         (__sin): Likewise.
10257         (__cos): Likewise.
10258         (slow2): Likewise.
10259         (sloww): Likewise.
10260         (sloww1): Likewise.  Drop argument M.
10261         (sloww2): Use fabs instead of if/else.
10262         (bsloww): Likewise.
10263         (bsloww1): Likewise.
10264         (bsloww2): Likewise.
10266         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
10267         fall through comment.
10268         (do_sincos_1): Likewise.
10270         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
10271         Consolidate switch cases 0 and 2.
10273 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10275         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
10276         (libm-calls): Remove the above.
10278         * math/s_cexp_template.c: Update using type-generic macros.
10279         * math/s_clog10_template.c: Likewise.
10280         * math/s_cpow_template.c: Likewise.
10281         * math/s_clog_template.c: Likewise.
10282         * math/s_cproj_template.c: Likewise.
10283         * math/s_csqrt_template.c: Likewise.
10285         * math/s_cexp.c: Removed.
10286         * math/s_cexpf.c: Removed.
10287         * math/s_cexpl.c: Removed.
10288         * math/s_clog10.c: Removed.
10289         * math/s_clog10f.c: Removed.
10290         * math/s_clog10l.c: Removed.
10291         * math/s_cpow.c: Removed.
10292         * math/s_cpowf.c: Removed.
10293         * math/s_cpowl.c: Removed.
10294         * math/s_clog.c: Removed.
10295         * math/s_clogf.c: Removed.
10296         * math/s_clogl.c: Removed.
10297         * math/s_cproj.c: Removed.
10298         * math/s_cprojf.c: Removed.
10299         * math/s_cprojl.c: Removed.
10300         * math/s_csqrt.c: Removed.
10301         * math/s_csqrtf.c: Removed.
10302         * math/s_csqrtl.c: Removed.
10304         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
10305         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
10306         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
10307         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
10308         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
10309         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
10311         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
10312         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
10313         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
10314         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
10315         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
10316         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
10317         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
10318         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
10319         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
10320         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
10321         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
10323         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
10324         version.
10326         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
10327         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
10328         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
10329         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
10331 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10333         * s_cexp_template.c: Copy of s_cexp.c.
10334         * s_clog_template.c: Copy of s_clog.c.
10335         * s_clog10_template.c: Copy of s_clog10.c.
10336         * s_cpow_template.c: Copy of s_cpow.c.
10337         * s_cproj_template.c: Copy of s_cproj.c.
10338         * s_csqrt_template.c: Copy of s_csqrt.c.
10340 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10342         [BZ #20517]
10343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10344         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
10345         exported.
10347 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
10349         * math/fetestexceptflag.c: New file.
10350         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
10351         Stefan Liebler.
10352         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10353         (fetestexceptflag): New function declaration.
10354         * manual/arith.texi (fetestexceptflag): Document function.
10355         * math/Versions (fetestexceptflag): New libm symbol at version
10356         GLIBC_2.25.
10357         * math/Makefile (libm-support): Add fetestexceptflag.
10358         (tests): Add test-fetestexceptflag.
10359         * math/test-fetestexceptflag.c: New file.
10360         * sysdeps/nacl/libm.abilist: Update.
10361         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10362         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10363         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10364         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10365         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10366         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10367         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10368         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10369         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10370         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10371         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10372         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10374         Likewise.
10375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10376         Likewise.
10377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10378         Likewise.
10379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10380         Likewise.
10381         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10382         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10383         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10384         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10385         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10387         Likewise.
10388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10389         Likewise.
10390         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10391         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10392         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10394 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10396         [BZ #20432]
10397         Avoid strong references to malloc-internal symbols when linking
10398         statically, to support statically interposed mallocs.
10399         * include/libc-symbols.h (call_function_static_weak): New macro.
10400         * malloc/Makefile (tests): Add tst-interpose-nothread,
10401         tst-interpose-thread, tst-interpose-static-nothread,
10402         tst-interpose-static-thread.
10403         (tests-static): Add tst-interpose-static-nothread,
10404         tst-interpose-static-thread.
10405         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
10406         tst-interpose-aux-thread.o.
10407         (test-extras): Add tst-interpose-aux-nothread,
10408         tst-interpose-aux-thread.
10409         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
10410         tst-interpose-aux-nothread.o.
10411         (tst-interpose-thread, tst-interpose-static-thread): Link with
10412         tst-interpose-aux-thread.o and libthread.
10413         * malloc/tst-interpose-aux-nothread.c: New file.
10414         * malloc/tst-interpose-aux-thread.c: Likewise.
10415         * malloc/tst-interpose-aux.c: Likewise.
10416         * malloc/tst-interpose-aux.h: Likewise.
10417         * malloc/tst-interpose-nothread.c: Likewise.
10418         * malloc/tst-interpose-skeleton.c: Likewise.
10419         * malloc/tst-interpose-static-nothread.c: Likewise.
10420         * malloc/tst-interpose-static-thread.c: Likewise.
10421         * malloc/tst-interpose-thread.c: Likewise.
10422         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
10423         * sysdeps/mach/hurd/fork.c (__fork): Only call
10424         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10425         __malloc_fork_unlock_child if defined.
10426         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10428 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10430         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
10431         timespec C99 designated initialization.
10433 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10435         [BZ #19946]
10436         Avoid expected SIGALRM signals.
10437         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
10438         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
10439         (xpthread_create, xpthread_detach, xpthread_join)
10440         (delayed_exit_thread, delayed_exit): New functions.
10441         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
10442         (tf): Use xpthread_cond_wait.
10443         (do_test): Likewise.  Replace alarm with delayed_exit.
10444         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10445         (do_test): Call delayed_exit.  Report failure.
10446         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10447         (do_test): Call delayed_exit.
10448         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10449         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
10450         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10451         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
10452         error.
10453         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10454         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
10455         error.
10456         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
10457         (do_test): Call delayed_exit.
10458         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
10459         (do_test): Call delayed_exit.
10460         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
10461         (do_test): Call delayed_exit instead of alarm.  Use
10462         xpthread_mutex_lock.
10463         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
10464         (do_test): Call delayed_exit instead of alarm.  Use
10465         xpthread_mutex_lock.
10466         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
10467         (do_test): Call delayed_exit instead of alarm.
10468         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
10469         (do_test): Call delayed_exit instead of alarm.  Use
10470         xpthread_spin_lock.
10471         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
10472         (do_test): Call delayed_exit instead of alarm.  Use
10473         xpthread_join.
10475 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10477         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
10478         adjust CFA when allocating register save area on re-aligned
10479         stack.
10481 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10483         * string/tst-cmp.c: New test.
10484         * string/Makefile (tests): Add it.
10486 2016-08-25  Mark Wielaard  <mark@klomp.org>
10488         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
10489         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
10490         (check_tree_recurse): Use newly defined accessors.
10491         (check_tree): Likewise.
10492         (maybe_split_for_insert): Likewise.
10493         (__tfind): Likewise.
10494         (__tdelete): Likewise.
10495         (trecurse): Likewise.
10496         (tdestroy_recurse): Likewise.
10497         (__tsearch): Likewise. And add asserts for malloc alignment.
10498         (__twalk): Cast root to node in case CHECK_TREE is defined.
10500 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10502         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
10504 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10506         * math/Makefile (libm-gen-calls): Add
10507         catan, catanh, ctan, ctanh.
10508         (libm-calls): Remove the above.
10510         * math/s_catan_template.c: Update using type-generic macros.
10511         * math/s_catanh_template.c: Likewise.
10512         * math/s_ctan_template.c: Likewise.
10513         * math/s_ctanh_template.c: Likewise.
10515         * math/s_catanf.c: Removed.
10516         * math/s_catan.c: Removed.
10517         * math/s_catanl.c: Removed.
10518         * math/s_catanhf.c: Removed.
10519         * math/s_catanh.c: Removed.
10520         * math/s_catanhl.c: Removed.
10521         * math/s_ctanf.c: Removed.
10522         * math/s_ctan.c: Removed.
10523         * math/s_ctanl.c: Removed.
10524         * math/s_ctanhf.c: Removed.
10525         * math/s_ctanh.c: Removed.
10526         * math/s_ctanhl.c: Removed.
10528         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
10529         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
10530         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
10531         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
10532         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
10533         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
10535         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
10536         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
10537         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
10538         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
10540 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10542         * s_catan_template.c: Copy of s_catan.c.
10543         * s_catanh_template.c: Copy of s_catanh.c.
10544         * s_ctan_template.c: Copy of s_ctan.c.
10545         * s_ctanh_template.c: Copy of s_ctanh.c.
10547 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10549         * math/Makefile (gen-libm-calls): Move
10550         casin, casinh, csin, csinh here.
10551         (libm-calls): Remove the above.
10553         * math/s_casin_template.c: Update using type-generic macros.
10554         * math/s_casinh_template.c: Likewise.
10555         * math/s_csin_template.c: Likewise.
10556         * math/s_csinh_template.c: Likewise.
10557         * math/k_casinh_template.c: Likewise.
10559         * math/s_casinf.c: Removed.
10560         * math/s_casin.c: Removed.
10561         * math/s_casinl.c: Removed.
10562         * math/s_casinh.c: Removed.
10563         * math/s_casinhf.c: Removed.
10564         * math/s_casinhl.c: Removed.
10565         * math/s_csin.c: Removed.
10566         * math/s_csinf.c: Removed.
10567         * math/s_csinl.c: Removed.
10568         * math/s_csinh.c: Removed.
10569         * math/s_csinhf.c: Removed.
10570         * math/s_csinhl.c: Removed.
10571         * math/k_casinh.c: Removed.
10572         * math/k_casinhf.c: Removed.
10573         * math/k_casinhl.c: Removed.
10575         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
10576         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
10577         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
10578         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
10580         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
10581         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
10582         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
10583         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
10584         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
10585         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
10586         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
10587         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
10589         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
10590         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
10591         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
10592         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
10594         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
10595         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
10596         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
10597         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
10599 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10601         * s_casin_template.c: Copy of s_casin.c.
10602         * s_casinh_template.c: Copy of s_casinh.c.
10603         * s_csin_template.c: Copy of s_csin.c.
10604         * s_csinh_template.c: Copy of s_csinh.c.
10605         * k_casinh_template.c: Copy of k_casinh.c.
10607 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10609         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
10611 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10613         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
10614         (mul_split) Remove, rename as mul_splitl, remove
10615         redundant float.h include, and include via mul_splitl.h
10617         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10618         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10619         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10620         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10621         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10623         * math/mul_splitl.h: New file.
10625         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
10626         Move into mul_split.h, and remove redundant float.h include.
10628         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10629         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10630         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10631         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
10633         * math/mul_split.h: New file.
10635 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10637         * math/Makefile (libm-gen-calls): Move
10638         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
10639         (libm-calls): Remove above.
10641         * math/s_cacos_template.c: Update using type-generic macros.
10642         * math/s_cacosh_template.c: Likewise.
10643         * math/s_ccos_template.c: Likewise.
10644         * math/s_ccosh_template.c: Likewise.
10646         * math/s_cacosf.c: Removed.
10647         * math/s_cacos.c: Removed.
10648         * math/s_cacosl.c: Removed.
10649         * math/s_cacoshf.c: Removed.
10650         * math/s_cacosh.c: Removed.
10651         * math/s_cacoshl.c: Removed.
10652         * math/s_ccosf.c: Removed.
10653         * math/s_ccos.c: Removed.
10654         * math/s_ccosl.c: Removed.
10655         * math/s_ccoshf.c: Removed.
10656         * math/s_ccosh.c: Removed.
10657         * math/s_ccoshl.c: Removed.
10659         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
10660         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
10661         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
10662         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
10663         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
10664         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
10666         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
10667         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
10668         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
10669         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
10671         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
10672         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
10673         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
10674         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
10676 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10678         * s_cacos_template.c: Copy of s_cacos.c.
10679         * s_cacosh_template.c: Copy of s_cacosh.c.
10680         * s_ccos_template.c: Copy of s_ccos.c.
10681         * s_ccosh_template.c: Copy of s_ccosh.c.
10683 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10685         * stdlib/tst-strtod-round-skeleton.c:
10686         Refactored from tst-strtod-round.c.
10688         (L_): New macro to apply literal modifier.
10689         (FNPFX): New macro to select str or wcs prefix.
10690         (CHAR): New macro to choose wchar_t or char.
10691         (STRM): New macro to choose printf for tested character type.
10693         (STRTO): New macro to choose appropriate string -> real function.
10694         (FNPFXS): Stringitized version of FNPFX.
10695         (STR): Support for above macro.
10696         (STRX): Likewise.
10698         (TEST): Update with above macros.
10699         (test): Likewise.
10700         (GEN_ONE_TEST): Likewise.
10701         (test_in_one_mode): Likewise.
10703         * stdlib/tst-strtod-round.c: New file.
10704         * wcsmbs/tst-wcstod-round.c: New file.
10706         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
10707         (tst-wcstod-round): Add libm depencency for fesetround.
10709 2016-08-19  Zack Weinberg  <zackw@panix.com>
10711         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
10713 2016-08-18  Torvald Riegel  <triegel@redhat.com>
10715         [BZ #20477]
10716         * resolv/res_hconf.c (do_init): Use atomic access.
10717         * resolv/res_hconf.h: Add comments.
10718         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
10719         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
10720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10722 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10724         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10725         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
10726         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10727         Likewise.
10729 2016-08-18  Florian Weimer  <fweimer@redhat.com>
10731         [BZ #16907]
10732         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
10733         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
10734         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
10735         (__attribute__): Remove definition.
10737 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10739         * sysdeps/ieee754/ldbl-128/e_asinl.c:
10740         Remove unused sqrtl declaration.
10742 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10744         * math/Makefile: (gen-libm-templates.stmp): New rule.
10745         (libm-calls): Move carg conj cimag and cabs into ...
10746         (gen-libm-calls): New variable.
10747         (generated): Inform Make objects from gen-libm-calls
10748         may be generated.
10750         * sysdeps/generic/math-type-macros.h: New file.
10751         * sysdeps/generic/math-type-macros-float.h: Likewise.
10752         * sysdeps/generic/math-type-macros-double.h: Likewise.
10753         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10754         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
10755         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
10757         * math/cabs.c: Refactor into
10758         * math/cabs_template.c: new file.
10759         * math/cabsf.c: Removed.
10760         * math/cabsl.c: Removed.
10761         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
10762         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
10764         * math/carg.c: Refactor into
10765         * math/carg_template.c: new file.
10766         * math/cargf.c: Removed.
10767         * math/cargl.c: Removed.
10768         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
10769         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
10771         * math/conj.c: Refactor into
10772         * math/conj_template.c: new file.
10773         * math/conjf.c: Removed.
10774         * math/conjl.c: Removed.
10775         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
10776         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
10778         * math/cimag.c: Refactor into
10779         * math/cimag_template.c: new file.
10780         * math/cimagf.c: Removed.
10781         * math/cimagl.c: Removed.
10782         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10783         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10785         * math/cimag.c: Refactor into
10786         * math/cimag_template.c: new file.
10787         * math/cimagf.c: Removed.
10788         * math/cimagl.c: Removed.
10789         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10790         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10792 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10794         Reduce time to expected nptl/tst-once5 failure.
10795         * nptl/tst-once5.cc (TIMEOUT): Define.
10797 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10799         [BZ #20452]
10800         Avoid additional copies of objects in libc.a in static libraries.
10801         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
10802         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
10803         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
10804         rt-sysdep.
10805         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
10806         Add nptl-sysdep.
10807         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
10808         Add ptw-sysdep.
10809         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
10810         rt-sysdep.
10811         * sysdeps/unix/sysv/linux/alpha/Makefile
10812         (libpthread-shared-only-routines): Add ptw-sysdep,
10813         ptw-sigprocmask, ptw-rt_sigaction.
10814         * sysdeps/unix/sysv/linux/ia64/Makefile
10815         (librt-shared-only-routines): Add rt-sysdep.
10816         * sysdeps/unix/sysv/linux/i386/Makefile
10817         (libpthread-shared-only-routines): Add libc-do-syscall.
10818         * sysdeps/unix/sysv/linux/microblaze/Makefile
10819         (libpthread-shared-only-routines): Add sysdep.
10820         * sysdeps/unix/sysv/linux/powerpc/Makefile
10821         (librt-shared-only-routines): Add rt-sysdep.
10822         (libpthread-shared-only-routines): Add sysdep.
10823         * sysdeps/unix/sysv/linux/s390/Makefile
10824         (librt-shared-only-routines): Add rt-sysdep.
10825         * sysdeps/unix/sysv/linux/sparc/Makefile
10826         (librt-shared-only-routines): Add rt-sysdep.
10827         (libpthread-shared-only-routines): Add sysdep.
10828         * sysdeps/unix/sysv/linux/tile/Makefile
10829         (libpthread-shared-only-routines): Likewise.
10831 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
10833         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
10834         Mask implicit bit out of unpacked value.
10835         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
10836         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
10837         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
10839         * sysdeps/sparc/fpu/fesetexcept.c: New file.
10841         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
10843         * sysdeps/s390/fpu/fesetexcept.c: New file.
10845         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
10846         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
10847         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
10849         * sysdeps/mips/fpu/fesetexcept.c: New file.
10851         * sysdeps/m68k/fpu/fesetexcept.c: New file.
10853         * sysdeps/ia64/fpu/fesetexcept.c: New file.
10855         * sysdeps/hppa/fpu/fesetexcept.c: New file.
10857         * sysdeps/arm/fesetexcept.c: New file.
10859         * sysdeps/alpha/fpu/fesetexcept.c: New file.
10861         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
10863         * math/fesetexcept.c: New file.
10864         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
10865         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
10866         * math/fenv.h: Define
10867         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10868         <bits/libc-header-start.h> instead of including <features.h>.
10869         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
10870         declaration.
10871         * manual/arith.texi (fesetexcept): Document function.
10872         * math/Versions (fesetexcept): New libm symbol at version
10873         GLIBC_2.25.
10874         * math/Makefile (libm-support): Add fesetexcept.
10875         (tests): Add test-fesetexcept and test-fesetexcept-traps.
10876         * math/test-fesetexcept.c: New file.
10877         * math/test-fesetexcept-traps.c: Likewise.
10878         * sysdeps/nacl/libm.abilist: Update.
10879         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10880         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10881         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10882         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10883         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10884         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10885         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10886         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10887         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10888         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10889         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10890         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10892         Likewise.
10893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10894         Likewise.
10895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10896         Likewise.
10897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10898         Likewise.
10899         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10900         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10901         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10902         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10903         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10905         Likewise.
10906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10907         Likewise.
10908         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10909         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10910         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10912 2016-08-16  Florian Weimer  <fweimer@redhat.com>
10914         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
10915         New.
10916         (do_test): Apply default_stack_size_in_mb if not set.
10917         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
10919 2016-08-15  Andreas Schwab  <schwab@suse.de>
10921         [BZ #20435]
10922         CVE-2016-6323
10923         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
10924         as .cantunwind.
10926 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
10928         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
10929         comment from fraiseexcpt.c.
10931         * math/test-fexcept.c (feraiseexcept_exact): New function.
10932         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
10933         (test_except): Likewise.
10935 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
10937         [BZ #20455]
10938         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
10939         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
10940         to be restored.
10942         * math/test-fexcept-traps.c: New file.
10943         * math/test-fexcept.c: Likewise.
10944         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
10945         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
10946         macro.
10947         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
10948         (EXCEPTION_SET_FORCES_TRAP): Likewise.
10950 2016-08-09  Torvald Riegel  <triegel@redhat.com>
10952         * include/atomic.h (atomic_fetch_and_relaxed,
10953         atomic_fetch_and_release, atomic_fetch_or_release,
10954         atomic_fetch_xor_release): New.
10956 2016-08-06  Christian Seiler  <christian@iwakd.de>
10958         [BZ #20444]
10959         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
10960         MACH_PORT_NULL.
10962 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10964         * math/s_fdim.c: Avoid alias renamed.
10965         * math/s_fdimf.c: Likewise.
10966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10967         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10968         Add s_fdimf-vis3, s_fdim-vis3.
10969         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10970         (CFLAGS-s_fdim-vis3.c): Likewise.
10971         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
10972         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
10974 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10977         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10978         Remove s_fdimf-vis3, s_fdim-vis3.
10979         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
10980         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
10981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
10982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
10983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
10984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
10985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
10986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
10987         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
10988         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
10990 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10992         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
10993         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
10994         -Wa,-Av9a -mvis.
10996 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10998         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
10999         LIT() to individual constants in simple expressions
11000         after splitting on spaces.
11001         (_apply_lit): Rename replaced version, and use it to
11002         apply to what appears to be a token.
11004         * math/libm-test.inc: Fix many, many issues with
11005         spacing.
11007 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
11009         * math/math.h: Move comment about <bits/mathdef.h> definitions
11010         above inclusion of <bits/mathdef.h>.  Do not mention
11011         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
11013 2016-08-05  Torvald Riegel  <triegel@redhat.com>
11015         * include/atomic.h (atomic_exchange_relaxed): New.
11017 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
11019         * math/e_scalb.c: Do not include <fenv.h>.
11020         (invalid_fn): Do calculation resulting in NaN instead of raising
11021         FE_INVALID and returning a NaN explicitly.
11022         * math/e_scalbf.c: Do not include <fenv.h>.
11023         (invalid_fn): Do calculation resulting in NaN instead of raising
11024         FE_INVALID and returning a NaN explicitly.
11025         * math/e_scalbl.c: Do not include <fenv.h>.
11026         (invalid_fn): Do calculation resulting in NaN instead of raising
11027         FE_INVALID and returning a NaN explicitly.
11029 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
11031         * po/de.po: Updated from Translation Project.
11032         * po/fi.po: Likewise.
11033         * po/sv.po: Likewise.
11035 2016-08-04  Florian Weimer  <fweimer@redhat.com>
11037         [BZ #20452]
11038         Use sysdep.o from libc.a in static libraries.
11039         * sysdeps/unix/sysv/linux/i386/Makefile
11040         (libpthread-shared-only-routines): Add sysdep.
11041         (librt-shared-only-routines): Likewise.
11043 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11045         * math/tgmath.h (nextdown): Define if
11046         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
11047         (nextup): Likewise.
11049         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
11050         macro.
11051         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11052         Document.
11053         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11054         Document macro.
11055         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
11056         (exp10f): Likewise.
11057         (exp10l): Likewise.
11058         * math/bits/mathcalls.h (exp10): Declare if
11059         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
11061         * manual/arith.texi (nextup): Fix typo in last change.
11063 2016-08-03  Zack Weinberg  <zackw@panix.com>
11065         [BZ #19239]
11066         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
11067         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
11068         define major, minor, and makedev to issue deprecation warnings on use.
11069         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
11070         previously-activated deprecation warnings for these macros and prevent
11071         subsequent inclusions of this header from having any effect.
11072         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
11073         including <sys/sysmacros.h>, and undefine it again afterward.
11075 2016-08-03  Zack Weinberg  <zackw@panix.com>
11077         * sysdeps/generic/sys/sysmacros.h: Delete file.
11078         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
11079         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
11080         * bits/sysmacros.h: ... here; this encoding is now the generic
11081         encoding.  Now defines only the following macros:
11082         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
11083         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
11084         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
11086         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
11087         bits/sysmacros.h and the above new macros to generate the
11088         public implementations of major, minor, and makedev.
11089         * misc/tst-makedev.c: New test.
11090         * include/sys/sysmacros.h: New wrapper.
11092         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
11093         (routines): Add makedev.
11094         (tests): Add tst-makedev.
11095         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
11096         gnu_dev_makedev.
11097         * posix/Makefile (headers): Remove sys/sysmacros.h.
11098         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
11100         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
11101         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
11102         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11103         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11104         * sysdeps/unix/sysv/linux/arm/libc.abilist
11105         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11106         * sysdeps/unix/sysv/linux/i386/libc.abilist
11107         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11108         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11109         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11110         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11111         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11112         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11113         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11114         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11115         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11120         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11121         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11122         * sysdeps/unix/sysv/linux/sh/libc.abilist
11123         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11124         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11127         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11128         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11129         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11130         Add GLIBC_2.25.
11132         * include/features.h (__glibc_clang_prereq): New macro.
11133         * misc/sys/cdefs.h (__glibc_clang_has_extension)
11134         (__attribute_deprecated_msg__): New macros.
11136 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11138         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
11139         macro.
11140         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
11141         * manual/arith.texi (issignaling): Document as ISO from TS
11142         18661-1:2014.
11143         (nextup): Likewise.
11144         (nextupf): Likewise.
11145         (nextupl): Likewise.
11146         (nextdown): Likewise.
11147         (nextdownf): Likewise.
11148         (nextdownl): Likewise.
11149         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
11150         macro.
11151         * math/math.h: Define
11152         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11153         <bits/libc-header-start.h> instead of including <features.h>.
11154         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
11155         [__USE_GNU].
11156         * math/bits/mathcalls.h (nextdown): Declare if
11157         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
11158         (nextup): Likewise.
11159         (__issignaling): Likewise.
11161 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11163         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
11164         check, and remove __glibc_likely hint
11165         from FP_INFINITE check.
11166         * s_csinhf.c (__csinhf): Likewise.
11168         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
11169         hint from FP_INFINITE check.
11170         * s_csinhl.c (__csinhl): Likewise.
11172 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11174         * math/Makefile (libm-calls): Insert F placeholder into
11175         object names.  Move w_lgamma_compat* routines into
11176         (libm-compat-calls): New variable.
11177         (libm-compat-calls-ldouble-yes): New variable.
11178         (calls): Insert F placeholder.
11179         (generated): Redefine using new type-foreach macro call.
11180         (routines): Likewise.
11182         (types): New variable to hold a list of symbolic names
11183         for each type supported by the target machine.
11184         (libm-routines): Redefine using new types variable.
11185         (type-foreach): macro to replace fooF with the
11186         appropriately suffixed foo for each types.
11188         (type-ldouble-suffix): New variable.
11189         (type-ldouble-routines): Likewise.
11190         (type-ldouble-yes): Likewise.
11191         (type-double-suffix): Likewise.
11192         (type-double-routines): Likewise.
11193         (type-float-suffix): Likewise.
11194         (type-float-routines): Likewise.
11196         (dbl-only-routines): Remove.
11197         (long-c-yes): Likewise.
11198         (long-m-routines): Likewise.
11199         (long-m-support): Likewise.
11200         (long-m-yes): Likewise.
11201         (test-longdouble-yes): Likewise.
11203         (test-float.o): Simplify by increasing the scope of the
11204         recipe which adds libm-test.stmp to the vector types.
11205         (test-ifloat.o): Likewise.
11206         (test-float-finite.o): Likewise.
11207         (test-double.o): Likewise
11208         (test-idouble.o): Likewise.
11209         (test-double-finite.o): Likewise.
11210         (test-ldouble.o): Likewise
11211         (test-ildoubl.o): Likewise.
11212         (test-ldouble-finite.o): Likewise.
11214         (libm-tests): Redefine type tests using foreach and the
11215         list of types in types.
11217         (CPPFLAGS-test-ildoubl.c): Rename to
11218         (CPPFLAGS-test-ildouble.c): New variable
11220         * math/test-ildoubl.c: Rename to
11221         * math/test-ildouble.c: New file.
11223 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11225         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
11226         Use fabsl instead of fabs.
11227         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
11228         Likewise.
11229         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
11230         Add long double suffix to constant to ensure proper
11231         promotion to long double.
11233 2016-08-03  Tom Tromey  <tom@tromey.com>
11235         [BZ #20311]
11236         * nptl_db/Makefile (headers): Add proc_service.h.
11237         * nptl_db/proc_service.h: Add include guard.  Use
11238         __BEGIN/__END_DECLS.
11239         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
11240         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
11241         arguments.
11244 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11246         [BZ #17730]
11247         Avoid using memalign for TCB allocations.
11248         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
11249         (_dl_allocate_tls_storage): Use malloc and manual alignment.
11250         Avoid alignment gap in the TLS_DTV_AT_TP case.
11251         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
11252         determine the pointer to free.
11253         * nptl/tst-tls3-malloc.c: New test.
11254         * nptl/Makefile (tests): Add it.
11255         (tst-tls3-malloc): Link with libdl, libpthread.
11256         (LDFLAGS-tst-tls3-malloc): Set.
11257         (tst-tls3-malloc.out): Depend on DSO used in test.
11259 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11261         [BZ #17730]
11262         Avoid using memalign for TLS allocations.
11263         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
11264         is_static member with to_free member.
11265         (union dtv): Use struct dtv_pointer.
11266         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
11267         dtv_pointer instead of is_static.
11268         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
11269         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
11270         instead of val.
11271         (allocate_dtv_entry): New function.
11272         (allocate_and_init): Return struct dtv_pointer.  Call
11273         allocate_dtv_entry instead of __libc_memalign.
11274         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
11275         instead of val.
11276         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
11277         instead of is_static.  Adjust call to allocate_and_init.
11278         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
11279         struct dtv_pointer instead of val.
11281 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11283         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
11284         (MALLOC_ALIGN_MASK): Move ...
11285         * malloc/malloc-internal.h: ... to here.
11286         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
11288 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11290         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
11291         (UDP_ENCAP_GTP1U): Likewise.
11293         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
11294         (PF_MAX): Update value.
11295         (AF_QIPCRTR): New macro.
11297 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11299         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
11300         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11301         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11302         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
11303         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11304         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11305         s_truncf-vis3, s_trunc-vis3.
11306         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11307         (CFLAGS-s_ceil-vis3.c): Likewise.
11308         (CFLAGS-s_floorf-vis3.c): Likewise.
11309         (CFLAGS-s_floor-vis3.c): Likewise.
11310         (CFLAGS-s_truncf-vis3.c): Likewise.
11311         (CFLAGS-s_trunc-vis3.c): Likewise.
11312         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
11313         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
11315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11316         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
11317         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11318         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
11319         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11320         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
11321         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11322         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
11323         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11325 2016-08-02  David S. Miller  <davem@davemloft.net>
11327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11328         (__nearbyint_vis3): Don't check for sNaN before float register is
11329         loaded with the incoming argument.
11330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11331         (__nearbyintf_vis3): Likewise.
11332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
11333         Likewise.
11334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
11335         Likewise.
11337         * string/test-strncmp.c (do_test_limit): Make sure the test data
11338         stream is aligned as required for the type "CHAR".
11339         (do_test): Likewise.
11341 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11343         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
11344         by beq instructions jumping to the end of the function.
11345         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
11346         clobber list. Use "i" constraint instead of "X".
11347         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
11348         of "X".
11350 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
11352         * bits/libc-header-start.h: New file.
11353         * Makefile (headers): Add bits/libc-header-start.h.
11354         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
11355         (__GLIBC_USE): New macro.
11356         * libio/stdio.h: Define
11357         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11358         <bits/libc-header-start.h> instead of including <features.h>.
11359         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
11360         (open_memstream): Likewise.
11361         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
11362         (__asprintf): Likewise.
11363         (asprintf): Likewise.
11364         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
11365         (getdelim): Likewise.
11366         (getline): Likewise.
11367         * string/string.h: Define
11368         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11369         <bits/libc-header-start.h> instead of including <features.h>.
11370         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
11371         (strndup): Likewise.
11372         * wcsmbs/wchar.h: Define
11373         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11374         <bits/libc-header-start.h> instead of including <features.h>.
11375         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
11376         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
11378 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11380         Support linking against compatibility symbols, for use in tests.
11381         * include/libc-symbols.h (symbol_version_reference): New macro.
11382         (symbol_version): Use it.
11383         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
11384         (compat_symbol): Use compat_symbol_reference.
11385         (compat_symbol_1, compat_symbol_2): Remove.
11386         (compat_symbol_reference, compat_symbol_reference_1)
11387         (compat_symbol_reference_2): New macro.  Use
11388         symbol_version_reference.
11390 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11392         [BZ #19469]
11393         * malloc/Makefile (CPPFLAGS): Compile tests with
11394         -DTEST_NO_MALLOPT.
11395         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
11397 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
11399         [BZ #20033]
11400         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
11401         finite version.
11402         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
11403         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
11404         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
11405         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
11406         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
11407         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
11408         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
11409         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
11410         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
11411         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
11412         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
11413         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
11414         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
11415         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
11416         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
11417         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
11418         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
11419         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
11420         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
11421         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
11422         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
11423         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
11424         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
11425         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
11426         in zero power.
11428 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11430         [BZ #20370]
11431         * malloc/arena.c (get_free_list): Update comment.  Assert that
11432         arenas on the free list have no attached threads.
11433         (remove_from_free_list): New function.
11434         (reused_arena): Call it.
11436 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
11438         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
11439         when it is a NaN.
11440         [_IEEE_FP_INEXACT] Remove.
11441         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
11442         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
11443         when it is a NaN.
11444         [_IEEE_FP_INEXACT] Remove.
11445         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
11446         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
11447         when it is a NaN.
11448         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
11449         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
11450         when its absolute value is greater than 0x1.0p52.
11451         [_IEEE_FP_INEXACT] Remove.
11452         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
11453         when its absolute value is greater than 0x1.0p23.
11454         [_IEEE_FP_INEXACT] Remove.
11456 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
11458         * version.h (RELEASE): Set to "development"
11459         (VERSION): Set to 2.24.90.
11460         * NEWS: Add 2.25 section.
11462         * version.h (RELEASE): Set to "stable"
11463         (VERSION): Set to 2.24.
11464         * include/features.h (__GLIBC_MINOR__): Set to 24.
11466         * NEWS: Add 2.24 fixed bugs.
11467         * po/libc.pot: Regenerate.
11469 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
11471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11472         [$(subdir) = math] (libm-sysdep_routines): Remove.
11473         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11474         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11475         s_truncf-vis3, s_trunc-vis3.
11476         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
11478         file.
11479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
11480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
11481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
11485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
11486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
11488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
11489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
11490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
11491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
11492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
11493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
11494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
11498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
11499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
11500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
11501         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11502         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11503         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11504         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11505         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11506         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
11507         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11508         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11509         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
11510         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11511         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11512         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
11513         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
11514         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
11515         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
11516         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11517         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11518         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
11519         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
11520         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
11521         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
11523 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
11525         [BZ #20384]
11526         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
11527         test-double-libmvec-sincos-avx-main.o,
11528         test-double-libmvec-sincos-avx2-main.o,
11529         test-double-libmvec-sincos-main.o,
11530         test-float-libmvec-sincosf-avx-main.o,
11531         test-float-libmvec-sincosf-avx2-main.o and
11532         test-float-libmvec-sincosf-main.o.
11533         test-float-libmvec-sincosf-avx512-main.o.
11534         ($(objpfx)test-double-libmvec-sincos): Also link with
11535         $(objpfx)test-double-libmvec-sincos-main.o.
11536         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
11537         $(objpfx)test-double-libmvec-sincos-avx-main.o.
11538         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
11539         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
11540         ($(objpfx)test-float-libmvec-sincosf): Also link with
11541         $(objpfx)test-float-libmvec-sincosf-main.o.
11542         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
11543         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
11544         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
11545         test-double-libmvec-sincos-avx512-main.o and
11546         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
11547         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
11548         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
11549         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
11550         (CFLAGS-test-double-libmvec-sincos.c): Removed.
11551         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
11552         (CFLAGS-test-double-libmvec-sincos-main.c): New.
11553         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
11554         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
11555         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
11556         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
11557         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
11558         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
11559         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
11560         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
11561         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
11562         -DREQUIRE_AVX2.
11563         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
11564         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
11565         -DREQUIRE_AVX512F.
11566         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
11567         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
11568         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11569         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
11570         file.
11571         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
11572         Likewise.
11573         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
11574         Likewise.
11575         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
11576         Likewise.
11577         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
11578         Likewise.
11579         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
11580         Likewise.
11581         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
11582         Likewise.
11583         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
11584         Likewise.
11586 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
11588         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
11590 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
11592         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
11593         and typo in a comment about AT_HWCAP entry.
11595 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11597         * sysdeps/aarch64/libm-test-ulps: Updated.
11599 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11601         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
11602         of r13 as it is not restored in mvcle case.
11604 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
11606         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
11607         Rename "ret" to "__ret".
11608         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
11609         inline_syscall5, inline_syscall6): Likewise.
11611 2016-07-19   Will Newton  <will.newton@gmail.com>
11613         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
11614         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
11615         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
11616         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
11617         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
11619 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
11621         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
11622         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
11623         -mfpmath=387 with $(rtld-CFLAGS).
11624         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
11625         $(rtld-CFLAGS).
11627 2016-07-18   Ross Burton  <ross.burton@intel.com>
11628              Khem Raj  <raj.khem@gmail.com>
11630         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
11631         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
11632         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
11633         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
11634         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
11635         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
11636         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
11637         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
11638         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
11639         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
11640         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
11641         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
11642         R_METAG_TLS_DTPOFF): New.
11644 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11645             Matt Clay  <mclay@lycos.com>
11647         [BZ #20357]
11648         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
11649         to call __mpsin/__mpcos and to negate values.
11650         * math/auto-libm-test-in: Add test.
11651         * math/auto-libm-test-out: Regenerate.
11653 2016-07-18  Zack Weinberg  <zackw@panix.com>
11655         * grp/Makefile: Don't install the internal header grp-merge.h.
11657 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11659         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11661 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11663         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
11665 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11667         [BZ #15368]
11668         * sysdeps/unix/sysv/linux/nptl-signals.h
11669         (__nptl_clear_internal_signals): New function.
11670         (__libc_signal_block_all): Likewise.
11671         (__libc_signal_block_app): Likewise.
11672         (__libc_signal_restore_set): Likewise.
11673         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
11674         implementation.
11675         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
11676         the cached pid/tid value in pthread structure.
11678 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
11680         [BZ #20347]
11681         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11683 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11685         [BZ #20348]
11686         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
11687         preadv64, pwrite64 and pwritev64.
11689 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11691         [BZ #20350]
11692         * posix/tst-preadwrite.c: Renamed to ...
11693         * posix/tst-preadwrite-common.c: This.
11694         (PREAD): Removed.
11695         (PWRITE): Likewise.
11696         (STRINGIFY): Likewise.
11697         (STRINGIFY2): Likewise.
11698         (do_prepare): Make it static and remove function arguments.
11699         (do_test): Likewise.
11700         (PREPARE): Updated.
11701         (TEST_FUNCTION): New.
11702         (name): Make it static.
11703         (fd): Likewise.
11704         (do_prepare): Use create_temp_file.
11705         (do_test): Renamed to ...
11706         (do_test_with_offset): This.  Make it static and accept offset.
11707         Properly check return value of PWRITE and PREAD.  Return bytes
11708         read.  Don't close fd nor unlink name.
11709         * posix/tst-preadwrite.c: Rewrite.
11710         * posix/tst-preadwrite64.c: Likewise.
11712 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11714         [BZ #20309]
11715         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
11716         -mtls-dialect=gnu2 works.
11717         * configure: Regenerated.
11718         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
11719         (tests): Add tst-gnu2-tls1.
11720         (modules-names): Add tst-gnu2-tls1mod.
11721         ($(objpfx)tst-gnu2-tls1): New.
11722         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
11723         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
11724         * elf/tst-gnu2-tls1.c: New file.
11725         * elf/tst-gnu2-tls1mod.c: Likewise.
11726         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
11727         bytes for push in the PLT entry to align the stack.
11729 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11731         [BZ #20349]
11732         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
11734 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11736         [BZ #18707]
11737         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
11738         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
11740 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11742         * sysdeps/unix/sysv/linux/sysdep.h
11743         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
11744         guards.
11745         * misc/tst-preadvwritev-common.c: New file.
11746         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
11747         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
11748         a check for files larger than 2GB.
11750         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11751         (__ASSUME_OFF_DIFF_OFF64): Remove define.
11752         * sysdeps/unix/sysv/linux/pread.c
11753         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
11754         __OFF_T_MATCHES_OFF64_T.
11755         * sysdeps/unix/sysv/linux/pread64.c
11756         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
11757         * sysdeps/unix/sysv/linux/preadv.c
11758         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
11759         * sysdeps/unix/sysv/linux/preadv64.c
11760         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
11761         * sysdeps/unix/sysv/linux/pwrite.c
11762         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
11763         * sysdeps/unix/sysv/linux/pwrite64.c
11764         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
11765         * sysdeps/unix/sysv/linux/pwritev.c
11766         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
11767         * sysdeps/unix/sysv/linux/pwritev64.c
11768         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
11770 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
11772         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11773         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
11775 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11777         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
11779 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11781         [BZ #20240]
11782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11783         (CFLAGS-s_modf-ppc32.c): New variable.
11784         (CFLAGS-s_modff-ppc32.c): Likewise.
11785         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11786         (CFLAGS-s_modf-ppc64.c): Likewise.
11787         (CFLAGS-s_modff-ppc64.c): Likewise.
11789 2016-07-07  Andreas Schwab  <schwab@suse.de>
11791         [BZ #20263]
11792         * nptl/tst-robust10.c: New test.
11793         * nptl/Makefile (tests): Add tst-robust10.
11795 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
11797         [BZ #20263]
11798         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
11800 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11802         * sysdeps/s390/linkmap.h (struct link_map_machine):
11803         Remove member gotplt and add member jmprel.
11804         * sysdeps/s390/s390-32/dl-machine.h
11805         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
11806         instead of gotplt with &got[3].
11807         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
11808         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11810 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
11812         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
11814 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11816         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
11817         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
11818         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11819         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
11820         * libio/vtables.c (_IO_vtable_check)
11821         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11822         * libio/libioP.h (IO_set_accept_foreign_vtables)
11823         [!PTR_MANGLE]: Do not call PTR_MANGLE.
11825 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
11827         [BZ #20314]
11828         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
11829         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
11830         $(common-objpfx)cmath.
11831         ($(common-objpfx)cstdlib): New target.
11832         ($(common-objpfx)cmath): Likewise.
11834 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
11836         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
11838 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11840         [BZ #20327]
11841         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
11842         are not part of the string.
11844 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11846         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
11847         * nptl/tst-cancel4-common.h (fifoname): New variable.
11848         (fifofd): Likewise.
11849         (cl_fifo): New function.
11850         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
11851         SIGINT.
11852         (tf_open): Add early cancel test.
11854 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11856         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
11858 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
11860         * sysdeps/generic/ldsodefs.h
11861         (dl_symbol_visibility_binds_local_p): New inline function.
11862         * elf/dl-addr.c (determine_info): Treat hidden and internal
11863         symbols as local.
11864         * elf/dl-lookup.c (do_lookup_x): Likewise.
11865         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
11867 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
11869         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
11870         invalid exception for a sNaN input.
11871         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11872         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11873         (__nearbyint_vis3): Likewise
11874         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11875         (__nearbyintf_vis3): Likewise
11876         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
11877         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11878         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
11879         Likewise.
11880         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
11881         Likewise.
11883 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
11885         [BZ #20139]
11886         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
11887         (HAVE_AVX512DQ_ASM_SUPPORT): This.
11888         * sysdeps/x86_64/configure.ac: Require assembler from binutils
11889         2.24 or above.
11890         (HAVE_AVX512_ASM_SUPPORT): Removed.
11891         (HAVE_AVX512DQ_ASM_SUPPORT): New.
11892         * sysdeps/x86_64/configure: Regenerated.
11893         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
11894         check unconditional.
11895         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11896         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11897         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11898         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
11899         Likewise.
11900         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11901         Likewise.
11902         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11903         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11904         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11905         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11906         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11907         Likewise.
11908         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11909         Likewise.
11910         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11911         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11912         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
11913         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
11914         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
11915         Likewise.
11916         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
11917         Likewise.
11918         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
11919         Likewise.
11920         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
11921         Likewise.
11922         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
11923         Likewise.
11924         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
11925         Likewise.
11926         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
11927         Likewise.
11928         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
11929         Likewise.
11930         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
11931         Likewise.
11932         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
11933         Likewise.
11934         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
11935         Likewise.
11937 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
11939         [BZ #20024]
11940         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
11941         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
11942         of this implementation of vector function.
11943         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11944         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11945         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
11946         Likewise.
11947         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11948         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11949         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
11950         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
11951         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
11952         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
11953         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
11954         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
11955         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
11956         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
11957         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
11958         for testing vector sincos with fixed ABI.
11959         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11960         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11961         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11962         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11963         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11964         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11965         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11966         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
11967         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
11968         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
11969         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
11970         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
11971         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
11972         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
11973         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11974         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11976 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11978         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
11980 2016-06-30  Anton Blanchard  <anton@samba.org>
11982         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11983         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
11984         s_sinf-ppc64.
11985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
11986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11988         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11990 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11993         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11994         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
11995         e_expf-ppc64.
11996         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
11997         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
11998         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
11999         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
12001 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
12003         [BZ #20277]
12004         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
12005         when SHARED is defined.
12007 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
12009         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
12010         (index_arch_Prefer_ERMS): Likewise.
12011         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
12012         __memcpy_erms for Prefer_ERMS.
12013         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12014         (__memmove_erms): Enabled for libc.a.
12015         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
12016         __memmove_erms or Prefer_ERMS.
12017         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
12018         __mempcpy_erms for Prefer_ERMS.
12019         * sysdeps/x86_64/multiarch/memset.S (memset): Return
12020         __memset_erms for Prefer_ERMS.
12022 2016-06-30  Andreas Schwab  <schwab@suse.de>
12024         [BZ #20262]
12025         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
12026         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
12027         of memory.
12029 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
12031         [BZ #18645]
12032         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
12033         (test-extras): Add tst-cleanupx4aux.
12034         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
12035         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
12036         tst-cleanupx4aux.o.
12037         * nptl/tst-cleanupx4aux.c: New file.
12039 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12041         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12043 2016-06-29  Andreas Schwab  <schwab@suse.de>
12045         [BZ #20260]
12046         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
12047         address before the beginning of the string as an integer to avoid
12048         array-bounds warning.
12050 2016-06-28  Richard Henderson  <rth@redhat.com>
12052         * elf/elf.h (EM_BPF): New.
12053         (EM_NUM): Update.
12054         (R_BPF_NONE, R_BPF_MAP_FD): New.
12056         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
12057         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
12058         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
12059         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
12060         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
12061         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
12062         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
12063         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
12064         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
12065         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
12066         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
12067         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
12068         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
12069         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
12070         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
12071         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
12072         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
12073         (EM_NUM): Update.
12075 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
12077         [BZ #18960]
12078         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
12079         Set _nl_current_LC_CATEGORY_used to two instead of one.
12081 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
12083         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
12084         (do_test): ... this.
12085         (TEST_FUNCTION): New macro.
12086          Include test-skeleton.c.
12087         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
12088         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
12090 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
12092         [BZ #15479]
12093         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
12094         floating-point environment rather than just control word.
12095         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12096         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
12097         floating-point environment, with "invalid" exceptions merged in,
12098         rather than just control word.
12099         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
12100         * math/libm-test.inc (trunc_test_data): Do not allow spurious
12101         "inexact" exceptions.
12103         [BZ #15479]
12104         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
12105         floating-point environment rather than just control word.
12106         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12107         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
12108         floating-point environment, with "invalid" exceptions merged in,
12109         rather than just control word.
12110         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
12111         * math/libm-test.inc (floor_test_data): Do not allow spurious
12112         "inexact" exceptions.
12114         [BZ #15479]
12115         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
12116         floating-point environment rather than just control word.
12117         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12118         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
12119         floating-point environment, with "invalid" exceptions merged in,
12120         rather than just control word.
12121         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
12122         * math/libm-test.inc (ceil_test_data): Do not allow spurious
12123         "inexact" exceptions.
12125 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
12127         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
12128         __libc_vfork.
12129         (__vfork) [IS_IN (libc)]: Remove alias.
12130         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
12131         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12132         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12134 2016-06-24  Torvald Riegel  <triegel@redhat.com>
12136         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
12137         of atomic_compare_and_exchange_bool_rel.
12138         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12139         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
12140         catomic_compare_and_exchange_bool_rel): Remove.
12141         * sysdeps/aarch64/atomic-machine.h
12142         (atomic_compare_and_exchange_bool_rel): Likewise.
12143         * sysdeps/alpha/atomic-machine.h
12144         (atomic_compare_and_exchange_bool_rel): Likewise.
12145         * sysdeps/arm/atomic-machine.h
12146         (atomic_compare_and_exchange_bool_rel): Likewise.
12147         * sysdeps/mips/atomic-machine.h
12148         (atomic_compare_and_exchange_bool_rel): Likewise.
12149         * sysdeps/microblaze/atomic-machine.h
12150         ( __arch_compare_and_exchange_bool_8_rel,
12151         __arch_compare_and_exchange_bool_16_rel): Likewise.
12152         * sysdeps/powerpc/atomic-machine.h
12153         ( __arch_compare_and_exchange_bool_8_rel,
12154         __arch_compare_and_exchange_bool_16_rel): Likewise.
12155         * sysdeps/powerpc/powerpc32/atomic-machine.h
12156         ( __arch_compare_and_exchange_bool_32_rel,
12157         __arch_compare_and_exchange_bool_64_rel): Likewise.
12158         * sysdeps/powerpc/powerpc64/atomic-machine.h
12159         ( __arch_compare_and_exchange_bool_32_rel,
12160         __arch_compare_and_exchange_bool_64_rel): Likewise.
12161         * sysdeps/tile/atomic-machine.h
12162         (atomic_compare_and_exchange_bool_rel): Likewise.
12164 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
12166         [BZ #20296]
12167         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
12168         when either argument is a NaN.
12169         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12170         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
12172         * math/libm-test.inc (snan_value_ld): New macro.
12173         (isgreater_test_data): Add sNaN tests.
12174         (isgreaterequal_test_data): Likewise.
12175         (isless_test_data): Likewise.
12176         (islessequal_test_data): Likewise.
12177         (islessgreater_test_data): Likewise.
12178         (isunordered_test_data): Likewise.
12179         (nextafter_test_data): Likewise.
12180         (nexttoward_test_data): Likewise.
12181         (remainder_test_data): Likewise.
12182         (remquo_test_data): Likewise.
12183         (significand_test_data): Likewise.
12184         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
12186 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12188         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
12189         environment macros are defined.
12190         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
12192 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12194         [BZ #20191]
12195         Implement vtable verification in libio.
12196         * Makerules (shlib.lds): Place __libc_IO_vtables section.
12197         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
12198         * debug/vdprintf_chk.c (__vdprintf_chk): Call
12199         _IO_new_file_init_internal instead of _IO_file_init.
12200         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
12201         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
12202         * libio/Makefile (routines): Add vtables.
12203         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
12204         (_IO_init): Remove, not for internal use.
12205         (_IO_init_internal): Declare, internal replacement for _IO_init.
12206         (_IO_file_init): Remove, not for internal use.
12207         (_IO_new_file_init): Remove, not for internal use.
12208         (_IO_new_file_init_internal): Declare, internal replacement for
12209         _IO_new_file_init.
12210         (_IO_old_file_init): Remove, not for internal use.
12211         (_IO_old_file_init_internal): Declare, internal replacement for
12212         _IO_old_file_init.
12213         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
12214         internal use.
12215         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
12216         Declare.
12217         (libio_vtable): New macro.
12218         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
12219         functions.
12220         * libio/fileops.c (_IO_new_file_init_internal): Rename from
12221         _IO_new_file_init.
12222         (_IO_new_file_init): New externally visible wrapper which disables
12223         vtable verification.
12224         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
12225         Define as vtables.
12226         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
12227         (_IO_init): New externally visible wrapper which disables
12228         vtable verification.
12229         * libio/iofdopen.c (_IO_new_fdopen): Call
12230         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
12231         comment.
12232         * libio/iofopen.c (__fopen_internal): Call
12233         _IO_new_file_init_internal instead of _IO_file_init.
12234         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
12235         Define as vtables.
12236         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
12237         _IO_new_file_init_internal instead of _IO_file_init.
12238         * libio/iopopen.c (_IO_new_popen): Likewise.
12239         (_IO_proc_jumps): Define as vtable.
12240         * libio/iovdprintf.c (_IO_vdprintf): Call
12241         _IO_new_file_init_internal instead of _IO_file_init.
12242         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
12243         (__open_memstream): Call _IO_init_internal instead of _IO_init.
12244         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
12245         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
12246         _IO_old_file_init.
12247         (_IO_old_file_init): New externally visible wrapper which disables
12248         vtable verification.
12249         (_IO_old_file_jumps): Define as vtable.
12250         * libio/oldiofdopen.c (_IO_old_fdopen): Call
12251         _IO_old_file_init_internal instead of _IO_old_file_init.
12252         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12253         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12254         (_IO_old_proc_jumps): Define as vtable.
12255         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
12256         Define as vtables.
12257         * libio/vtables.c: New file.
12258         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
12259         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
12260         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
12261         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
12262         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
12263         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
12264         instead of _IO_init.
12266 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12268         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
12270 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12272         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
12273         potentially unused.
12275 2016-06-22  Florian Weimer  <fweimer@redhat.com>
12277         * test-skeleton.c (write_message): New function.
12278         * malloc/tst-mallocfork2.c (write_message): Remove.
12279         * debug/tst-longjmp_chk2.c (write_indented): New function.
12280         (write_message): Remove.
12281         (stackoverflow_handler): Call write_indented.
12283 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
12285         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
12286         "inexact" exceptions after fnstenv.
12287         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12288         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12289         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12291 2015-06-22  Zack Weinberg  <zackw@panix.com>
12293         * sysdeps/generic/bits/hwcap.h: Moved to ...
12294         * bits/hwcap.h: Here.
12296 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
12298         * sysdeps/aarch64/memcpy.S (memcpy):
12299         Further tuning for performance.
12301 2016-06-21  Florian Weimer  <fweimer@redhat.com>
12303         [BZ #20284]
12304         * malloc/arena.c (reused_arena): Do not return NULL if we start
12305         out with a non-corrupted arena.
12307 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12309         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
12310         * misc/tst-preadvwritev.c: New file.
12311         * misc/tst-preadvwritev64.c: Likewise.
12312         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
12313         usage.
12314         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
12315         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
12316         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
12317         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
12319 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
12321         [BZ #19654]
12322         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12323         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
12324         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
12325         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
12326         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
12327         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
12328         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
12329         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
12330         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
12331         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
12332         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
12333         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
12334         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
12335         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
12336         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
12337         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
12338         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
12339         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
12340         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
12341         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
12342         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
12343         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
12344         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
12345         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
12346         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
12347         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
12349 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12351         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
12352         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
12354 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12356         * sysdeps/aarch64/memcpy.S (memcpy):
12357         Rewrite of optimized memcpy and memmove.
12358         * sysdeps/aarch64/memmove.S (memmove): Remove
12359         memmove code (merged into memcpy.S).
12361 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12363         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
12364         * sysdeps/generic/dl-dtv.h: New file.
12365         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12366         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
12367         (dtv_t): Remove.
12368         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12369         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
12370         (dtv_t): Remove.
12371         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12372         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
12373         (dtv_t): Remove.
12374         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12375         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
12376         (dtv_t): Remove.
12377         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12378         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
12379         (dtv_t): Remove.
12380         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12381         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
12382         (dtv_t): Remove.
12383         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12384         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
12385         (dtv_t): Remove.
12386         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
12387         (dtv_t): Remove.
12388         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12389         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
12390         (dtv_t): Remove.
12391         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12392         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
12393         (dtv_t): Remove.
12394         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12395         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
12396         (dtv_t): Remove.
12397         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12398         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
12399         (dtv_t): Remove.
12400         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12401         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
12402         (dtv_t): Remove.
12403         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12404         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
12405         (dtv_t): Remove.
12406         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12407         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
12408         (dtv_t): Remove.
12409         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12410         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
12411         (dtv_t): Remove.
12413 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12415         Revert symbol poisoning of  __malloc_initialize_hook.
12416         * include/stdc-predef.h (__malloc_initialize_hook): Remove
12417         poisoning.
12418         * malloc/Makefile: Remove un-poisoning.
12419         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
12420         instead of old__malloc_initialize_hook.
12421         * malloc/malloc-hooks.h: Likewise.
12422         * malloc/malloc.c: Likewise.
12423         * malloc/mcheck-init.c: Likewise.
12425 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
12427         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
12429 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
12431         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
12432         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
12433         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12434         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12436 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12438         * NEWS: Mention addition of nextup and nextdown.
12439         * manual/arith.texi: Document nextup and nextdown.
12440         * manual/libm-err-tab.pl: Add nextup and nextdown.
12441         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
12442         * math/Versions (libm): Add GLIBC_2.24.
12443         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
12444         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12445         Add new test.
12446         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
12447         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
12448         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
12449         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
12450         (nextup_test_data): Likewise.
12451         (nextdown_test_data): Likewise.
12452         * math/s_nextdown.c: New file.
12453         * math/s_nextdownf.c: Likewise.
12454         * math/s_nextdownl.c: Likewise.
12455         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
12456         F(nextup): New function.
12457         F(nextdown): Likewise.
12458         * math/tgmath.h: Add nextup and nextdown.
12459         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
12460         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
12461         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12462         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12463         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12464         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
12465         Add nextup and nextdown.
12466         (CFLAGS-nldbl-nextup.c): New variable.
12467         (CFLAGS-nldbl-nextdown.c): Likewise.
12468         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
12469         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
12470         * sysdeps/nacl/libm.abilist: Update.
12471         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12472         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12473         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12474         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12475         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12476         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12477         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12478         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12479         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12480         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12481         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12482         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12485         Likewise.
12486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12488         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12489         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12490         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12491         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12492         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
12494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
12495         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12496         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12497         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12498         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12500 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12502         * manual/pattern.texi: Fix typos & grammar errors.
12504 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12506         * manual/search.texi: Fix typos & grammar errors.
12508 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12510         * manual/message.texi: Fix typos & grammar errors.
12512 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
12514         * manual/contrib.texi: Fix spelling typos.
12515         * manual/crypt.texi: Likewise.
12516         * manual/filesys.texi: Likewise.
12517         * manual/locale.texi: Likewise.
12518         * manual/message.texi: Likewise.
12519         * manual/nss.texi: Likewise.
12520         * manual/string.texi: Likewise.
12522 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12524         * manual/locale.texi: Fix typos & grammar errors.
12526 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12528         * manual/charset.texi: Fix typos & grammar errors.
12530 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12532         * manual/string.texi: Fix typos.
12534 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12536         * manual/ctype.texi: Fix typos.
12538 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12540         * manual/memory.texi: Fix various typos & grammar errors.
12542 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
12544         [BZ #20255]
12545         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
12546         * math/libm-test.inc (fdim_test_data): Add another test.
12548         [BZ #6796]
12549         [BZ #20255]
12550         [BZ #20256]
12551         * math/s_fdim.c: Include <math_private.h>.
12552         (__fdim): Use math_narrow_eval on result.
12553         * math/s_fdimf.c: Include <math_private.h>.
12554         (__fdimf): Use math_narrow_eval on result.
12555         * sysdeps/i386/fpu/s_fdim.S: Remove file.
12556         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
12557         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
12558         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
12559         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
12560         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
12561         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
12562         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
12563         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
12564         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
12565         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
12566         * math/libm-test.inc (fdim_test_data): Expect errno setting on
12567         overflow.  Add sNaN tests.
12569         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
12570         fpclassify.
12571         * math/s_fdimf.c (__fdimf): Likewise.
12572         * math/s_fdiml.c (__fdiml): Likewise.
12574 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12576         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12577         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
12578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12579         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12580         ifunc'ed strcasecmp/strncasecmp.
12581         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
12582         [EALIGN]: Removed.
12583         [END]: Likewise.
12584         [__strcasecmp]: Define instead of the above to control symbol name.
12585         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
12586         for __strcasecmp_power8.
12587         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
12588         for __strncasecmp_power8.
12589         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
12590         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
12591         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
12592         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
12593         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
12594         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
12596 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
12598         [BZ #20252]
12599         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
12600         arguments when second argument is a NaN.
12601         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
12602         qNaN tests.
12604         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
12605         (conj_test_data): Likewise.
12606         (copysign_test_data): Likewise.
12607         (creal_test_data): Likewise.
12608         (fma_test_data): Likewise.
12609         (fmod_test_data): Likewise.
12611         [BZ #20250]
12612         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
12613         itself.
12614         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
12615         zero input to itself.
12616         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
12617         Likewise.
12618         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
12619         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
12620         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12621         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
12622         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
12624 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12626         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
12627         * nptl/tst-cancel4-common.c: New file.
12628         * nptl/tst-cancel4-common.h: Likewise.
12629         * nptl/tst-cancel4.c: Move common definitions to
12630         tst-cancel4-common.{c,h} file.
12631         * nptl/tst-cancel4_1.c: New test.
12632         * nptl/tst-cancel4_2.c: New test.
12634 2016-06-13  Florian Weimer  <fweimer@redhat.com>
12636         [BZ #20248]
12637         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
12638         (write_message): New function.
12639         (stackoverflow_handler): Call it instead of printf, to avoid
12640         excessive stack usage by printf.
12641         (do_test): Restore SIGSEGV, SIGBUS default handlers.
12643 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12645         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
12646         (prio_inherit_missing): Remove define.
12647         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12648         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12649         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
12650         Likewise.
12651         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12652         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12653         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12654         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12655         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12656         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12658 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12660         [BZ #19670]
12661         [BZ #19672]
12663         * io/test-lfs.c (do_prepare): Use xmalloc.
12664         * io/tst-fcntl.c (do_prepare): Likewise.
12665         * libio/tst-fopenloc.c (do_bz17916): Likewise.
12666         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
12667         * login/tst-utmp.c (do_prepare): Likewise.
12668         * posix/tst-exec.c (do_prepare): Likewise.
12669         * posix/tst-pathconf.c (prepare): Likewise.
12670         * posix/tst-spawn.c (do_prepare): Likewise.
12671         * posix/tst-truncate.c (do_prepare): Likewise.
12672         * rt/tst-aio.c (do_prepare): Likewise.
12673         * rt/tst-aio64.c (do_prepare): Likewise.
12675 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12677         [BZ #20237]
12678         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
12679         (get*ent): Set entidx to NULL during initialization.  If entidx is
12680         NULL, start iteration from the beginning.
12682 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12684         * malloc/malloc.c (musable): Return correct size for dumped fake
12685         mmapped chunk.
12687 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12689         [BZ #20222]
12690         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
12691         (_IO_cookie_write): Likewise.
12692         (_IO_cookie_seek): Likewise.
12693         (_IO_cookie_close): Likewise.
12694         (_IO_old_cookie_seek): Likewise.
12695         (set_callbacks): New function.
12696         (_IO_cookie_init): Call set_callbacks to copy callbacks.
12698 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
12700         * locale/programs/localedef.c (oldstyle_tables): Remove.
12701         * locale/programs/localedef.h (oldstyle_tables): Likewise.
12703 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
12705         [BZ #20240]
12706         * math/Makefile (CFLAGS-s_modf.c): New variable.
12707         (CFLAGS-s_modff.c): Likewise.
12708         (CFLAGS-s_modfl.c): Likewise.
12709         * math/libm-test.inc (modf_test_data): Add sNaN tests.
12711 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
12713         [BZ #20215]
12714         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
12715         [!__GNUC_PREREQ (3,2)]: Likewise.
12717 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12719         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
12720         (msghdr.msg_controllen): Likewise.
12721         (cmsghdr.cmsg_len): Likewise.
12722         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
12723         ptw-oldsendmsg.
12724         (CFLAGS-oldrecvmsg.c): Remove rule.
12725         (CFLAGS-oldsendmsg.c): Likewise.
12726         (CFLAGS-recvmsg.c): Add rule.
12727         (CFLAGS-sendmsg.c): Likewise.
12728         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
12729         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
12730         (CFLAGS-recvmsg.c): Remove rule.
12731         (CFLAGS-sendmsg.c): Likewise.
12732         (CFLAGS-oldrecvmsg.c): Likewise.
12733         (CFLAGS-oldsendmsg.c): Likewise.
12734         (CFLAGS-recvmmsg.c): Likewise.
12735         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
12736         to kernel defined interfaces.
12737         (msghdr.msg_controllen): Likewise.
12738         (cmsghdr.cmsg_len): Likewise.
12739         (msghdr.__glibc_reserved1): Remove member.
12740         (msghdr.__glibc_reserved2): Likewise.
12741         (cmsghdr.__glibc_reserved1): Likewise.
12742         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
12743         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
12744         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12745         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12746         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
12747         version.
12748         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12749         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
12750         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12751         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
12752         Remove recvmsg and sendmsg.
12753         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
12754         Likewise.
12755         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12756         Likewise.
12757         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12758         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12759         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12760         Likewise.
12761         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12762         Likewise.
12763         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
12764         [libc] (GLIBC_2.24): Likewise.
12765         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12766         Likewise.
12767         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12768         Likewise.
12769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12770         [libc] (GLIBC_2.24): Likewise.
12771         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12772         Likewise.
12773         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12774         Likewise.
12775         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12776         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12777         Likewise.
12778         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12779         Likewise.
12780         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12781         Likewise.
12782         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
12783         Likewise.
12784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
12785         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
12786         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
12787         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
12788         version for {recv,send,recm,sendm}msg.
12789         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12790         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12791         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12792         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12793         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12794         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12795         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12796         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12797         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12798         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12799         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12800         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12802         Likewise.
12803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12804         Likewise.
12805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12807         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12808         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12809         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12810         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12811         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12812         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12815         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12816         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12817         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12819 2016-06-10  Florian Weimer  <fweimer@redhat.com>
12821         [BZ #19564]
12822         Remove __malloc_initialize_hook from the API.
12823         * malloc/malloc.h (__malloc_initialize_hook): Remove.
12824         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
12825         #pragma GCC poison.
12826         * malloc/malloc-hooks.h: New file.
12827         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
12828         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
12829         (old__malloc_initialize_hook): Rename from
12830         __malloc_initialize_hook to evade poisoning.  Turn into compat
12831         symbol.
12832         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
12833         __malloc_initialize_hook.
12834         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
12835         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
12836         * manual/memory.texi (Hooks for Malloc): Remove
12837         __malloc_initialize_hook.  Adjust hook example.
12839 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
12841         [BZ #20235]
12842         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
12843         itself.
12844         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12845         * math/libm-test.inc (log2_test_data): Add sNaN tests.
12847         [BZ #20234]
12848         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
12849         infinity or NaN input to itself.
12851         [BZ #20233]
12852         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
12853         to itself.
12855         [BZ #20232]
12856         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
12857         itself.
12859 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12861         * sysdeps/x86_64/start.S (_start): Always indirect branch to
12862         __libc_start_main via GOT.
12864 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12866         * sysdeps/x86_64/memcopy.h: New file.
12867         * sysdeps/x86_64/wordcopy.c: Likewise.
12869 2016-06-09  Florian Weimer  <fweimer@redhat.com>
12871         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
12872         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
12873         <cstdlib>.
12874         (optimization_barrier): New.
12875         (do_test): Use it.  Call quick_exit in the global namespace.
12876         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
12877         instead of <cstdlib>, <thread>.
12878         (optimization_barrier): New.
12879         (non_main_thread): Adjust declaration.  Call optimization_barrier.
12880         Call quick_exit in the global namespace.
12881         (do_test): Call optimization_barrier.  Use pthread_create,
12882         pthread_join instead of std::thread.
12884 2016-06-09  Andreas Schwab  <schwab@suse.de>
12886         [BZ #19755]
12887         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
12888         new entries in auto-propagate mode.
12889         * nscd/grpcache.c (cache_addgr): Likewise.
12891 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12893         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
12894         New functions.
12895         (add_temp_file): Use them.
12897 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
12899         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
12901 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
12903         [BZ #20229]
12904         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
12905         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
12906         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
12908         [BZ #20228]
12909         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
12910         itself.
12911         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12912         * math/libm-test.inc (log10_test_data): Add sNaN tests.
12914         [BZ #20227]
12915         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
12916         itself.
12917         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12918         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12919         * math/libm-test.inc (log_test_data): Add sNaN tests.
12921         [BZ #20226]
12922         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
12923         itself.
12924         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12925         * math/libm-test.inc (exp_test_data): Add sNaN tests.
12926         (exp10_test_data): Likewise.
12927         (expm1_test_data): Likewise.
12929         [BZ #20225]
12930         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
12931         itself.
12932         * math/s_ldexpf.c (__ldexpf): Likewise.
12933         * math/s_ldexpl.c (__ldexpl): Likewise.
12934         * math/w_scalbln.c (__w_scalbln): Likewise.
12935         * math/w_scalblnf.c (__w_scalblnf): Likewise.
12936         * math/w_scalblnl.c (__w_scalblnl): Likewise.
12937         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
12938         (scalbln_test_data): Likewise.
12940         [BZ #20224]
12941         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
12942         argument to itself.
12943         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
12945 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12947         [BZ #19776]
12948         * sysdeps/x86_64/memcpy.S: Make it dummy.
12949         * sysdeps/x86_64/mempcpy.S: Likewise.
12950         * sysdeps/x86_64/memmove.S: New file.
12951         * sysdeps/x86_64/memmove_chk.S: Likewise.
12952         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12953         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12954         * sysdeps/x86_64/memmove.c: Removed.
12955         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12956         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12957         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
12958         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12959         Likewise.
12960         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12961         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12962         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12963         memcpy-sse2-unaligned, memmove-avx-unaligned,
12964         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
12965         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12966         (__libc_ifunc_impl_list): Replace
12967         __memmove_chk_avx512_unaligned_2 with
12968         __memmove_chk_avx512_unaligned.  Remove
12969         __memmove_chk_avx_unaligned_2.  Replace
12970         __memmove_chk_sse2_unaligned_2 with
12971         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
12972         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
12973         with __memmove_avx512_unaligned.  Replace
12974         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
12975         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
12976         with __memcpy_chk_avx512_unaligned.  Remove
12977         __memcpy_chk_avx_unaligned_2.  Replace
12978         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
12979         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
12980         Replace __memcpy_avx512_unaligned_2 with
12981         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
12982         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
12983         with __mempcpy_chk_avx512_unaligned.  Remove
12984         __mempcpy_chk_avx_unaligned_2.  Replace
12985         __mempcpy_chk_sse2_unaligned_2 with
12986         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
12987         Replace __mempcpy_avx512_unaligned_2 with
12988         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
12989         Replace __mempcpy_sse2_unaligned_2 with
12990         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
12991         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
12992         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
12993         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
12994         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
12995         (ENTRY): Removed.
12996         (END): Likewise.
12997         (ENTRY_CHK): Likewise.
12998         (libc_hidden_builtin_def): Likewise.
12999         Don't include ../memcpy.S.
13000         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
13001         __memcpy_chk_avx512_unaligned_erms and
13002         __memcpy_chk_avx512_unaligned.  Use
13003         __memcpy_chk_avx_unaligned_erms and
13004         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13005         Default to __memcpy_chk_sse2_unaligned.
13006         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13007         Change function suffix from unaligned_2 to unaligned.
13008         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
13009         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
13010         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
13011         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
13012         (ENTRY): Removed.
13013         (END): Likewise.
13014         (ENTRY_CHK): Likewise.
13015         (libc_hidden_builtin_def): Likewise.
13016         Don't include ../mempcpy.S.
13017         (mempcpy): New.  Add a weak alias.
13018         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
13019         __mempcpy_chk_avx512_unaligned_erms and
13020         __mempcpy_chk_avx512_unaligned.  Use
13021         __mempcpy_chk_avx_unaligned_erms and
13022         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13023         Default to __mempcpy_chk_sse2_unaligned.
13025 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13027         [BZ #19881]
13028         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
13029         into ...
13030         * sysdeps/x86_64/memset.S: This.
13031         (__bzero): Removed.
13032         (__memset_tail): Likewise.
13033         (__memset_chk): Likewise.
13034         (memset): Likewise.
13035         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
13036         defined.
13037         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
13038         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
13039         (__memset_zero_constant_len_parameter): Check SHARED instead of
13040         PIC.
13041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13042         memset-avx2 and memset-sse2-unaligned-erms.
13043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13044         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
13045         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
13046         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13047         (__bzero): Enabled.
13048         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
13049         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
13050         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
13051         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
13052         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13053         (memset): Removed.
13054         (__memset_chk): Likewise.
13055         (MEMSET_SYMBOL): New.
13056         (libc_hidden_builtin_def): Replace __memset_sse2 with
13057         __memset_sse2_unaligned.
13058         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
13059         __memset_chk_sse2 and __memset_chk_avx2 with
13060         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
13061         Use __memset_chk_sse2_unaligned_erms or
13062         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
13063         __memset_chk_avx512_unaligned_erms and
13064         __memset_chk_avx512_unaligned.
13066 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13068         * math/gen-auto-libm-test.c (fp_format_desc): remove
13069         suffix member.
13070         (output_generic_value): Remove usage of suffix member,
13071         and the resulting unuse of the fp_format argument.
13072         (output_for_one_input_case): Remove unused fp_format
13073         parameter.
13075         * math/auto-libm-test-out: Regenerate.
13077         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
13078         usage with TEST_COND_ibm128.
13079         (TEST_COND_flt_32): Remove.
13080         (TEST_COND_dbl_64): Remove.
13081         (TEST_COND_ldbl_96_intel): Remove.
13082         (TEST_COND_ldbl_96_m68k): Remove.
13083         (TEST_COND_ldbl_128): Remove.
13085 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13087         * auto-libm-test-in:
13088         Replace flt-32 usage with binary32.
13089         Replace dbl-64 usage with binary64.
13090         Replace ldbl-intel-96 usage with intel96.
13091         Replace ldbl-m68k-96 usage with m68k96.
13092         Replace ldbl-128ibm usage with ibm128.
13093         Replace ldbl-128 usage with binary128.
13095         * auto-libm-test-out: Regenerate.
13097 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13099         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
13100         (parse_ulps): Dynamically generate type name matching
13101         string from all_floats.
13102         (get_ulps): Generate the ulps as an array instead.
13103         (output_ulps): Dynamically compose the type based
13104         on the number of supported formats, and print
13105         the indices as type specific helper macros.
13107         * math/libm-test.inc: Remove comment about CHOOSE.
13108         (ulp_data): Generate the type in libm-test-ulps.h.
13109         (ULP_IDX): New macro.
13110         (find_ulps): Update usage of max_ulp.
13112         * math/test-double-vlen2.h (CHOOSE): Remove.
13113         * math/test-double-vlen4.h (CHOOSE): Likewise.
13114         * math/test-double-vlen8.h (CHOOSE): Likewise.
13115         * math/test-float.c (CHOOSE): Likewise.
13116         * math/test-float-finite.c (CHOOSE): Likewise.
13117         * math/test-double.c (CHOOSE): Likewise.
13118         * math/test-double-finite.c (CHOOSE): Likewise.
13119         * math/test-idouble.c (CHOOSE): Likewise.
13120         * math/test-ifloat.c (CHOOSE): Likewise.
13121         * math/test-ildoubl.c (CHOOSE): Likewise.
13122         * math/test-ldouble-finite.c (CHOOSE): Likewise.
13123         * math/test-ldouble.c (CHOOSE): Likewise.
13125         * math/test-float.h (TEST_FLOAT): Remove.
13126         * math/test-double.h (TEST_DOUBLE): Likewise.
13127         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
13129 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13131         * math/gen-libm-test.pl: (apply_lit): New subroutine.
13132         (parse_args): Strip C suffix from floating point literals
13133         typed with 'f' and wrap them with LIT().
13135         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
13136         (test_ff_f_data_nexttoward): Rename to
13137         (test_fj_f_data): New struct.
13138         (nexttoward_test_data): Relabel tests as
13139         TEST_fj_f instead of TEST_ff_f.
13141 2016-06-08  Florian Weimer  <fweimer@redhat.com>
13143         Emacs bug 23726.
13144         * malloc/malloc.c (dumped_main_arena_start): Update comment.
13145         (__libc_realloc): Correct size computation for dumped fake mmapped
13146         chunks.
13148 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
13150         [BZ #20219]
13151         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
13152         to itself.
13153         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
13155         [BZ #20218]
13156         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
13157         to itself.
13158         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
13160 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
13162         [BZ #20195]
13163         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
13164         check to ...
13165         (init_cpu_features): Here.
13167 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
13169         [BZ #20214]
13170         * sysdeps/unix/sysv/linux/bits/in.h
13171         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13172          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
13173         Define to 1.
13174         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13175          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
13176         Define to 0.
13177         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
13178         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
13180 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
13182         [BZ #20198]
13183         * stdlib/Makefile (tests): Add tst-quick_exit, and
13184         tst-thread-quick_exit.
13185         [ifeq ($(have-cxx-thread_local),yes)]
13186         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
13187         (CFLAGS-tst-thread-quick_exit.o): Likewise.
13188         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
13189         (LDLIBS-tst-thread-quick_exit): Likewise.
13190         [ifneq ($(have-cxx-thread_local),yes)]
13191         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
13192         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
13193         If run_dtors is true call __call_tls_dtors.
13194         (exit): Call __run_exit_handlers with run_dtors set to true.
13195         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
13196         definition.
13197         * stdlib/quick_exit.c (quick_exit): Remove function.
13198         (__new_quick_exit): New function.
13199         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
13200         function.
13201         * stdlib/tst-quick_exit.cc: New file.
13202         * stdlib/tst-thread-quick_exit.cc: New file.
13203         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
13204         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
13205         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
13206         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
13207         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
13208         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
13209         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
13210         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
13211         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
13212         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
13213         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
13214         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
13215         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
13216         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
13217         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
13218         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
13220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
13221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
13222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
13223         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
13224         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
13225         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
13226         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
13227         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
13228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
13229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
13230         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
13231         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
13232         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
13234 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
13236         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
13237         a typo in comments.
13239 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13241         [BZ #20213]
13242         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
13243         argument to itself.
13244         * math/libm-test.inc (asin_test_data): Add sNaN tests.
13246 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13248         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
13249         required flags.
13250         (CFLAGS-pwritev64.c): Likewise.
13251         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
13252         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13253         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
13254         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13255         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
13256         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
13257         syscall from auto-generation.
13258         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
13259         [WORDSIZE == 64] (pwritev64): Remove macro.
13260         [!PWRITEV] (PWRITEV): Likewise.
13261         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13262         [!PWRITEV] (PWRITE): Likewise.
13263         [!PWRITEV] (OFF_T): Likewise.
13264         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13265         (LO_HI_LONG): Remove macro.
13266         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
13267         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
13268         (PWRITEV): Remove macro.
13269         (PWRITEV_REPLACEMENTE): Likewise.
13270         (PWRITE): Likewise.
13271         (OFF_T): Likewise.
13272         (pwritev64): New function.
13273         * nptl/tst-cancel4.c (tf_writev): Add test.
13275         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
13276         required flags.
13277         (CFLAGS-preadv64.c): Likewise.
13278         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
13279         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13280         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
13281         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
13282         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
13283         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
13284         syscall from auto-generation.
13285         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
13286         [WORDSIZE == 64] (preadv64): Remove macro.
13287         [!PREADV] (PREADV): Likewise.
13288         [!PREADV] (PREADV_REPLACEMENT): Likewise.
13289         [!PREADV] (PREAD): Likewise.
13290         [!PREADV] (OFF_T): Likewise.
13291         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
13292         (LO_HI_LONG): Remove macro.
13293         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
13294         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
13295         (PREADV): Remove macro.
13296         (PREADV_REPLACEMENTE): Likewise.
13297         (PREAD): Likewise.
13298         (OFF_T): Likewise.
13299         (preadv64): New function.
13300         * nptl/tst-cancel4.c (tf_preadv): Add test.
13302 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13304         [BZ #20212]
13305         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
13306         argument to itself.
13307         * math/libm-test.inc (acos_test_data): Add sNaN tests.
13309 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13311         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
13312         New symbol defined as libc_hidden_def.
13313         (strcasestr): Became a weak alias to __strcasestr.
13314         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
13315         according to multi-arch support.  Move __stpncpy hidden
13316         definition from here to...
13317         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
13318         symbol stpncpy.
13319         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
13320         libc_hidden_builtin_def.
13321         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
13322         memset symbol to use when multi-arch support is available.
13324 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13326         * dlfcn/tst-rec-dlopen.c: Include string.h.
13328 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13330         * manual/install.texi: Remove mention of --without-tls
13331         * INSTALL: Regenerate.
13333 2016-06-05  Florian Weimer  <fweimer@redhat.com>
13335         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
13336         Remove.
13337         (call_function, interposed_malloc_called): New variables.
13338         (malloc): New function.
13339         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
13340         and clear call_function as needed.
13342 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
13344         * include/wchar.h (__wmemset): Use __typeof.
13346 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
13348         * include/wchar.h (__wmemset): Declare function without typeof.
13350 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
13352         [BZ #20205]
13353         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
13354         exponent when incrementing negative subnormal with low mantissa
13355         word zero.
13356         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13357         Add another test.
13359 2016-06-03  Florian Weimer  <fweimer@redhat.com>
13361         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
13362         __wmemset instead of wmemset.
13364 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
13366         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
13367         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
13368         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
13369         __USE_KERNEL_IPV6_DEFS to 0.
13370         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
13371         Update comment.
13373 2016-06-01  Florian Weimer  <fweimer@redhat.com>
13375         [BZ #19861]
13376         Do not use IFUNC resolver with potentially unrelocated symbol.
13377         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
13378         (DEFINE_FORK): Remove macro and inline definition.
13379         (fork_alias): Renamed from fork_ifunc.
13380         (__fork_alias): Renamed from __fork_ifunc.
13382 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
13384         [BZ 19653]
13385         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
13386         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
13388 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13390         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
13391         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
13392         i386-linux-gnu).
13393         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
13394         Set to no.
13395         * sysdeps/mach/hurd/configure: Refresh.
13397 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13399         [BZ #20178]
13400         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
13401         on failure instead of exit.
13403 2016-05-30  Roland McGrath  <roland@hack.frob.com>
13405         [BZ #3629]
13406         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
13407         of POSIX.1-2008.
13409 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13411         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
13412           Use PLT entry for calling _hurd_self_sigstate.
13414 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
13416         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
13417         available logical processors with SMT level type sharing L2
13418         cache for Intel processors.
13420 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13422         [BZ #20160]
13423         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
13424         argument to itself before returning the result.
13425         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13426         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13427         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13428         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13429         Likewise.
13430         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13431         Likewise.
13432         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
13433         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
13434         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13435         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13436         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13437         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13439         [BZ #20160]
13440         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
13441         argument to itself before returning the result.
13442         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13443         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13444         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13445         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
13446         Likewise.
13447         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13448         Likewise.
13449         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
13450         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
13451         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
13452         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13453         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13454         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13456 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13458         * libm-test.inc: Replace usage of M_El with
13459         (lit_e): New macro.
13461 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13463         * libm-test.inc: Replace usage of M_PI_4l with
13464         (lit_pi_4_d): New macro.
13466 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13468         * libm-test.inc: Replace usage of M_PIl with
13469         (lit_pi): New macro.
13471 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13473         * libm-test.inc: Replace usage of M_PI2l with
13474         (lit_pi_2_d): New macro.
13476         * math/test-double.h (LITM): New macro.
13477         * math/test-float.h (LITM): Likewise.
13478         * math/test-ldouble.h (LITM): Likewise.
13480 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13482         * libm-test.inc (M_PI_34l): Rename to
13483         (lit_pi_3_m_4_d): New Macro.
13484         (M_PI_34_LOG10El): Rename to
13485         (lit_pi_3_m_4_ln10_m_d): New Macro.
13486         (M_PI2_LOG10El): Rename to
13487         (lit_pi_2_ln10_m_d):  New Macro.
13488         (M_PI4_LOG10El): Rename to
13489         (lit_pi_4_ln10_m_d):  New Macro.
13490         (M_PI_LOG10El): Rename to
13491         (lit_pi_ln10_d):  New Macro.
13493 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13495         [BZ #20157]
13496         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
13497         determine whether to negate low half if [_ARCH_PPCGR], and integer
13498         comparison otherwise.
13499         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
13500         determine whether to negate low half.
13502         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
13503         (NO_TEST_INLINE_DOUBLE): Likewise.
13504         (TEST_COND_x86_64): Likewise.
13505         (TEST_COND_x86): Likewise.
13506         (M_PI_6l): Likewise.
13508 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13510         * math/libm-test.inc:
13511         (TEST_FLOAT): Change usage to TEST_COND_binary32.
13512         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
13513         (TEST_LDOUBLE): Update usage to evaluate as true if
13514         the guarded tests match the property being tested.
13515         (LDBL_MAX_EXP): Change to MAX_EXP.
13516         (LDBL_MIN_EXP): Change to MIN_EXP.
13517         (LDBL_MANT_DIG): Change to MANT_DIG, except for
13518         nexttoward tests.
13520 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13522         * math/libm-test.inc:
13523         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
13524         (TYPE_MIN): Likewise.
13525         (TYPE_TRUE_MIN): Likewise.
13526         (TYPE_MAX): Likewise.
13527         (MIN_EXP): Likewise.
13528         (MAX_EXP): Likewise.
13529         (MANT_DIG): Likewise.
13531         (FSTR_MAX): New macro.
13532         (__CONCATX): Likewise.
13533         (QTYPE_STR): Likewise.
13534         (TEST_COND_binary32): Likewise.
13535         (TEST_COND_binary64): Likewise.
13536         (TEST_COND_binary128): Likewise.
13537         (TEST_COND_ibm128): Likewise.
13538         (TEST_COND_intel96): Likewise.
13539         (TEST_COND_m68k96): Likewise.
13541         (TEST_COND_flt_32): Redefine as equivalent format test macro.
13542         (TEST_COND_dbl_64): Likewise.
13543         (TEST_COND_ldbl_96_intel): Likewise.
13544         (TEST_COND_ldbl_96_m68k): Likewise.
13545         (TEST_COND_ldbl_128): Likewise.
13546         (TEST_COND_ldbl_128ibm): Likewise.
13548         (plus_zero): Redefine using LIT macro.
13549         (minus_zero): Likewise.
13550         (plus_infty): Redefine as (INF).
13551         (minux_infty): Redefine as (-INF).
13552         (max_value): Redefine as TYPE_MAX.
13553         (min_value): Redefine as TYPE_MIN.
13554         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
13556         (print_float): Refactor to use snprintf to convert FLOAT values
13557         to string. This brings it closer to dropin replacement of strtof
13558         for the TS 18661 defined types.
13559         (update_stats): Likewise.
13560         (print_complex_function_ulps): Likewise.
13561         (print_max_error): Likewise.
13562         (print_complex_max_error): Likewise.
13563         (check_float_internal): Likewise.
13565         * math/test-float.h (PREFIX): New macro.
13566         (LIT): Likewise.
13567         (TYPE_STR): Likewise.
13568         (FTOSTR): Likewise.
13570         * math/test-double.h (PREFIX): New macro.
13571         (LIT): Likewise.
13572         (TYPE_STR): Likewise.
13573         (FTOSTR): Likewise.
13575         * math/test-ldouble.h (PREFIX): New macro.
13576         (LIT): Likewise.
13577         (TYPE_STR): Likewise.
13578         (FTOSTR): Likewise.
13580 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13582         [BZ #20156]
13583         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
13584         to itself when zero or not finite.
13585         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
13586         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13587         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
13588         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13590 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
13592         [BZ #20153]
13593         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
13594         x * x + x for infinities and NaNs.
13596         [BZ #20151]
13597         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
13598         argument to itself before returning result.
13599         (__ieee754_y0l): Likewise.
13600         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13601         (__ieee754_y1l).
13603         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
13604         (atan_test_data): Likewise.
13605         (ceil_test_data): Likewise.
13606         (cos_test_data): Likewise.
13607         (cosh_test_data): Likewise.
13608         (erf_test_data): Likewise.
13609         (exp2_test_data): Likewise.
13610         (fabs_test_data): Likewise.
13611         (floor_test_data): Likewise.
13612         (ilogb_test_data): Likewise.
13613         (j0_test_data): Likewise.
13614         (j1_test_data): Likewise.
13615         (jn_test_data): Likewise.
13616         (lgamma_test_data): Likewise.
13617         (lrint_test_data): Likewise.
13618         (llrint_test_data): Likewise.
13619         (logb_test_data): Likewise.
13620         (lround_test_data): Likewise.
13621         (llround_test_data): Likewise.
13622         (nearbyint_test_data): Likewise.
13623         (rint_test_data): Likewise.
13624         (round_test_data): Likewise.
13625         (sin_test_data): Likewise.
13626         (sincos_test_data): Likewise.
13627         (sinh_test_data): Likewise.
13628         (sqrt_test_data): Likewise.
13629         (tan_test_data): Likewise.
13630         (tanh_test_data): Likewise.
13631         (tgamma_test_data): Likewise.
13632         (trunc_test_data): Likewise.
13633         (y0_test_data): Likewise.
13634         (y1_test_data): Likewise.
13635         (yn_test_data): Likewise.
13637         * math/libm-test.inc: Update comment about NaN testing.
13638         (TEST_SNAN): New macro.
13639         (snan_value): Likewise.
13640         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
13641         (fpclassify_test_data): Add sNaN tests.
13642         (isfinite_test_data): Likewise.
13643         (isinf_test_data): Likewise.
13644         (isnan_test_data): Likewise.
13645         (isnormal_test_data): Likewise.
13646         (issignaling_test_data): Likewise.
13647         (signbit_test_data): Likewise.
13648         * math/gen-libm-test.pl (%beautify): Add snan_value.
13649         (show_exceptions): Add argument $test_snan.
13650         (parse_args): Handle snan_value as non-finite.  Update call to
13651         show_exceptions.
13652         * math/Makefile (libm-test-no-inline-cflags): Add
13653         -fsignaling-nans.
13655 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13657         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
13658         (CFLAGS-oldsendmsg.c): Add rule.
13659         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13660         Correct recvmsg symbol name.
13661         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
13662         Likewise.
13664 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13666         * sysdeps/unix/sysv/linux/Makefile
13667         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
13668         oldsendmmsg.
13669         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
13670         sendmmsg.
13671         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13672         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13673         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13674         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13676         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13677         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13679         Likewise.
13680         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13681         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
13682         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13683         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
13684         iovlen and controllen fields to adjust to POSIX specification.
13685         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13687         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
13688         and change to correct expected type.
13689         (msghdr.msg_controllen): Likewise.
13690         (cmsghdr.cmsg_len): Likewise.
13691         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
13692         expected POSIX assumption about the size.
13693         (msghdr.msg_controllen): Likewise.
13694         (msghdr.__glibc_reserved1): Likewise.
13695         (msghdr.__glibc_reserved2): Likewise.
13696         (cmsghdr.cmsg_len): Likewise.
13697         (cmsghdr.__glibc_reserved1): Likewise.
13698         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
13699         Add ptw-oldrecvmsg and ptw-oldsendmsg.
13700         (CFLAGS-sendmsg.c): Remove rule.
13701         (CFLAGS-recvmsg.c): Likewise.
13702         (CFLAGS-oldsendmsg.c): Add rule.
13703         (CFLAGS-oldrecvmsg.c): Likewise.
13704         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
13705         recvmsg and sendmsg.
13706         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
13707         Likewise.
13708         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
13709         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
13710         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13711         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
13712         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13713         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13714         Likewise.
13715         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13716         Likewise.
13717         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
13718         Likewise.
13719         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
13720         Likewise.
13721         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13722         Likewise.
13723         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13724         Likewise.
13725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
13726         (GLIBC_2.24): Likewise.
13727         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13728         Likewise.
13729         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13730         Likewise.
13731         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13732         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13733         Likewise.
13734         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13735         Likewise.
13736         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13737         Likewise.
13738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
13739         (GLIBC_2.24): Likewise.
13740         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
13741         Likewise.
13742         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
13743         Likewise.
13744         * sysdeps/unix/sysv/linux/Makefile
13745         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
13746         (CFLAGS-sendmsg.c): Add rule.
13747         (CFLAGS-recvmsg.c): Likewise.
13748         (CFLAGS-oldsendmsg.c): Likewise.
13749         (CFLAGS-oldrecvmsg.c): Likewise.
13750         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
13751         initialization.
13752         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13753         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13754         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
13755         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13756         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
13757         iovlen and controllen fields to adjust to POSIX specification.
13758         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
13759         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
13760         added recvmsg and sendmsg.
13761         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13762         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13763         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13764         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13765         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13766         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13767         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13768         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13769         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13770         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13771         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13772         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13774         Likewise.
13775         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13777         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13778         Likewise.
13779         Likewise.
13780         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13781         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13782         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13783         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13784         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13785         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13787         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13789         Likewise.
13790         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13791         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13793         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
13794         from auto-generation.
13795         (sendmsg): Likewise.
13796         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
13797         (sendmsg): Likewise.
13798         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
13799         (sendmsg): Likewise.
13800         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
13801         (sendmsg): Likewise.
13802         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
13803         (sendmsg): Likewise.
13804         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
13805         (sendmsg): Likewise.
13806         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
13807         Likewise.
13808         (sendmsg): Likewise.
13809         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
13810         (sendmsg): Likewise.
13811         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13812         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13813         Remove.
13814         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13815         Likewise.
13816         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13817         Undefine.
13818         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13819         Likewise.
13820         * sysdeps/unix/sysv/linux/kernel-features.h
13821         (__ASSUME_SENDMSG_SYSCALL): Define.
13822         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13823         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13824         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13825         Remove.
13826         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13827         Likewise.
13828         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13829         Undefine.
13830         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13831         Likewise.
13832         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13833         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13834         Remove.
13835         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13836         Likewise.
13837         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13838         Undefine.
13839         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13840         Likewise.
13841         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13842         (__ASSUME_SENDMSG_SYSCALL): Undefine.
13843         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13844         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13845         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13846         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13847         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13848         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13849         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13851 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13853         * stdlib/gen-tst-strtod-round.c: Add backslash to
13854         compile command in comment.
13855         (printfp): Remove the literal suffix, and define an infinite
13856         value as INF to avoid expansion clash with INFINITY.
13857         (round_str): Remove the literal suffix.
13858         (round_for_all): Likewise, remove the now duplicate ldbl-64
13859         entry, and remove some magic constants.
13861         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
13862         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
13863         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
13864         (_CONCAT): New macro.
13865         (CONCAT): Likewise.
13866         (CHOOSE_ld): Likewise.
13867         (CHOOSE_f): Likewise.
13868         (CHOOSE_d): Likewise.
13869         (FTYPE_MEMBER): Likewise.
13870         (BOOL_MEMBER): Likewise.
13871         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
13872         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
13873         (_XNTRY): Likewise.
13874         (XNTRY): Likewise.
13875         (_ENTRY): Likewise.
13876         (ENTRY): Likewise.
13877         (test_exactness): Generate members via macro.
13878         (test_results): Likewise.
13879         (test): Update members.
13880         (TEST): Redefine using new macros.
13881         (INF): New macro.
13882         (fetestmodes): New structure.
13883         (do_test): Refactor to be type generic.
13884         (test_in_one_mode): Refactor duplicate code into
13885         (GEN_ONE_TEST): New macro.
13887         * stdlib/tst-strtod-round-data.h: Regenerate.
13889         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
13890         Extend to pass additional arbitrary parameters to
13891         generators.
13893 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
13895         [BZ #15479]
13896         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
13897         floating-point state after first floating-point operation on
13898         input.  Restore full floating-point state instead of just rounding
13899         mode.
13900         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13901         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13902         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13903         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13904         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13906         [BZ #15479]
13907         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
13908         floating-point state after first floating-point operation on
13909         input.  Restore full floating-point state instead of just rounding
13910         mode.
13911         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13912         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13913         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13914         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13915         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13917 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13919         [BZ #19727]
13920         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
13921         valid high surrogate.
13922         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
13923         of an utf16 surrogate.
13924         * iconv/gconv_simple.c (BODY): Likewise.
13925         * iconvdata/bug-iconv12.c: New file.
13926         * iconvdata/Makefile (tests): Add bug-iconv12.
13928 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13930         [BZ #19726]
13931         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
13932         outptrp in case of an illegal input.
13933         * iconv/tst-iconv6.c: New file.
13934         * iconv/Makefile (tests): Add tst-iconv6.
13936 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13938         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
13939         an error in case of a value in range of an utf16 low surrogate.
13941 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13943         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
13944         an error in case of a value in range of an utf16 low surrogate.
13946 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13948         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
13949         Move to ...
13950         * sysdeps/s390/Makefile: ... here.
13951         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
13952         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
13953         (BRANCH_ON_COUNT): New define.
13954         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
13955         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
13956         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
13957         run on s390-32, too.
13958         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
13959         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
13960         run on s390-32, too.
13961         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
13962         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
13963         run on s390-32, too.
13965 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13967         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
13968         etf3eh or new vector loop-variant.
13970 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13972         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
13973         etf3eh or new vector loop-variant.
13975 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13977         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
13978         or new vector loop-variant.
13980 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13982         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
13983         Rename to TR_LOOP and usage of tr instead of troo instruction.
13985 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13987         * sysdeps/s390/multiarch/gconv_simple.c: New File.
13988         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
13990 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13992         * sysdeps/s390/multiarch/8bit-generic.c: New File.
13993         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
13994         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
13995         New override define.
13996         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
13998 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14000         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
14001         * sysdeps/s390/configure.ac: Add test for S390 vector register
14002         support in gcc.
14003         * sysdeps/s390/configure: Regenerated.
14005 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14007         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
14008         Install file from $(objpfx)gconv-modules.
14009         ($(objpfx)gconv-modules): Concatenate architecture specific file
14010         in variable sysdeps-gconv-modules and gconv-modules in src dir.
14011         * sysdeps/s390/gconv-modules: New file.
14012         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
14013         Deleted.
14014         ($(objpfx)gconv-modules-s390): Deleted.
14015         (sysdeps-gconv-modules): New variable.
14017 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14019         [BZ #15479]
14020         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
14021         of immediate operand to rounding instruction.
14022         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
14023         Likewise.
14024         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
14025         Likewise.
14026         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
14027         Likewise.
14029 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14031         * math/libm-test.inc (MIN_EXP): Directly define as
14032         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
14034 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14036         * math/libm-test.inc (MANT_DIG): Directly define as
14037         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
14039 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14041         * stdlib/gen-tst-strtod-round.c (main):
14042           Change usage to more closely match the generated
14043           output.  Add usage and compilation instructions.
14044           (string_to_fp): Add and use FILE* parameter as
14045           output target.
14046           (print_fp): Likewise.
14047           (round_str): Likewise.
14048           (round_for_all): Likewise.
14049         * stdlib/tst-strtod-round.c (tests): Move into
14050         * stdlib/tst-strtod-round-data.h: New file.
14052 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14054         [BZ #15479]
14055         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
14056         (__round): Do not force "inexact" exception.
14057         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
14058         variable.
14059         (__round): Do not force "inexact" exception.
14060         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
14061         (__roundf): Do not force "inexact" exception.
14062         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
14063         (__roundl): Do not force "inexact" exception.
14064         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
14065         (__roundl): Do not force "inexact" exception.
14066         * math/libm-test.inc (round_test_data): Do not allow spurious
14067         "inexact" exceptions.
14069         [BZ #15479]
14070         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
14071         exception in comment.
14072         (huge): Remove variable.
14073         (__floor): Do not force "inexact" exception.
14074         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
14075         "inexact" exception in comment.
14076         (huge): Remove variable.
14077         (__floor): Do not force "inexact" exception.
14078         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
14079         exception in comment.
14080         (huge): Remove variable.
14081         (__floorf): Do not force "inexact" exception.
14082         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
14083         exception in comment.
14084         (huge): Remove variable.
14085         (__floorl): Do not force "inexact" exception.
14087         [BZ #15479]
14088         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
14089         exception in comment.
14090         (huge): Remove variable.
14091         (__ceil): Do not force "inexact" exception.
14092         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
14093         "inexact" exception in comment.
14094         (huge): Remove variable.
14095         (__ceil): Do not force "inexact" exception.
14096         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
14097         (__ceilf): Do not force "inexact" exception.
14098         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
14099         exception in comment.
14100         (huge): Remove variable.
14101         (__ceill): Do not force "inexact" exception.
14103 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14105         * config.h.in (BIND_NOW): New.
14106         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
14107         * configure: Regenerated.
14108         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
14109         indirect branch via the GOT slot.
14111 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14113         [BZ #19765]
14114         * sysdeps/s390/mempcpy.S: New File.
14115         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14116         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
14117         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14118         Add mempcpy variants.
14119         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
14120         (memcpy): Adjust to be usable from mempcpy entry point.
14121         (__memcpy_mvcle): Likewise.
14122         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14123         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
14124         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
14125         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
14126         (__memcpy_z10): Likewise.
14127         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14129 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14131         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
14132         Remove __GI_ symbol.
14133         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
14134         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
14135         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
14136         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14137         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
14138         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
14140 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14142         * sysdeps/s390/s390-64/memcpy.S (memcpy):
14143         Use cghi instead of chi to compare 64bit value.
14145 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14147         * sysdeps/s390/s390-32/memcpy.S (memcpy):
14148         Jump to 1MB check before executing mvc-loop.
14150 2016-05-24  Florian Weimer  <fweimer@redhat.com>
14152         [BZ #6527]
14153         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
14154         unconditionally.
14155         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
14157 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14159         * stdlib/tst-strtod6.c (do_test): Use new type generic
14160         invocation of the test function.
14161         (test): Refactor into ...
14162         (TEST_STRTOD): New macro base function.
14164 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14166         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
14167         (TEST_STRTOD): New macro.
14168         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
14170 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14172         * stdlib/tst-strtod6.c (do_test): Use new type generic
14173         invocation of the test function.
14174         (test): Refactor into ...
14175         (TEST_STRTOD): New macro base function.
14177 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14179         CVE-2016-4429
14180         [BZ #20112]
14181         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
14182         payload.
14184 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14186         [BZ #20111]
14187         * bits/sockaddr.h (_SS_SIZE): Define.
14188         * bits/socket.h (_SS_SIZE): Remove.
14189         (_SS_PADSIZE): Adjust to account for all padding.
14190         (struct sockaddr_storage): Update comment.  Avoid implicit
14191         padding.
14192         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
14193         (_SS_PADSIZE): Adjust to account for all padding.
14194         (struct sockaddr_storage): Update comment.  Avoid implicit
14195         padding.
14196         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
14197         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
14198         (_SS_PADSIZE): Adjust to account for all padding.
14199         (struct sockaddr_storage): Update comment.  Avoid implicit
14200         padding.
14201         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
14202         __SS_SIZE is 126 in this version.
14203         * inet/tst-sockaddr.c: New file.
14204         * inet/Makefile (tests): Add tst-sockaddr.c
14205         (tst-sockaddr.c): Compile with non-strict aliasing.
14207 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
14209         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
14210         [XPG3 || XPG4].
14211         (NL_ARGMAX): Also expect for [XPG3].
14212         (NL_LANGMAX): Likewise.
14213         (NL_MSGMAX): Likewise.
14214         (NL_NMAX): Likewise.
14215         (NL_SETMAX): Likewise.
14216         (NL_TEXTMAX): Likewise.
14217         (NZERO): Likewise.
14218         (TMP_MAX): Likewise.
14219         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
14220         variable.
14222         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
14223         (PF_MAX): Update value.
14224         (AF_KCM): New macro.
14225         (SOL_NETBEUI): Likewise.
14226         (SOL_LLC): Likewise.
14227         (SOL_DCCP): Likewise.
14228         (SOL_NETLINK): Likewise.
14229         (SOL_TIPC): Likewise.
14230         (SOL_RXRPC): Likewise.
14231         (SOL_PPPOL2TP): Likewise.
14232         (SOL_BLUETOOTH): Likewise.
14233         (SOL_PNPIPE): Likewise.
14234         (SOL_RDS): Likewise.
14235         (SOL_IUCV): Likewise.
14236         (SOL_CAIF): Likewise.
14237         (SOL_ALG): Likewise.
14238         (SOL_NFC): Likewise.
14239         (SOL_KCM): Likewise.
14240         (MSG_BATCH): New enum value and macro.
14242 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
14244         [BZ #18185]
14245         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
14246         sharing L2 cache to 2 for Knights Landing.
14248 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
14250         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
14251         (FTW_DP): Do not expect for [XPG3 || XPG4].
14252         (FTW_SL): Do not expect for [XPG3].
14253         (FTW_SLN): Likewise.
14254         (FTW_PHYS): Likewise.
14255         (FTW_MOUNT): Likewise.
14256         (FTW_DEPTH): Likewise.
14257         (FTW_CHDIR): Likewise.
14258         (nftw): Likewise.
14259         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
14260         variable.
14262 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14264         * manual/errno.texi: Fix various typos & grammar errors.
14266 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14268         * manual/intro.texi: Fix duplicated typo.
14270 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14272         [BZ #13304]
14273         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
14274         <float.h>, <math_private.h> and <stdlib.h>.
14275         (add_split): New function.
14276         (mul_split): Likewise.
14277         (ext_val): New typedef.
14278         (store_ext_val): New function.
14279         (mul_ext_val): New function.
14280         (compare): New function.
14281         (add_split_ext): New function.
14282         (__fmal): After checking for Inf, NaN and zero, compute result as
14283         an exact sum of scaled double values in round-to-nearest before
14284         adding those up and adjusting for other rounding modes.
14285         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
14286         tests of fma.
14287         * math/auto-libm-test-out: Regenerated.
14289 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14291         [BZ #20119]
14292         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
14293         processor level type mask for CPUID with EAX == 11.
14295 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14297         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
14298         logical threads if the HTT bit is 0.
14299         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
14300         (index_cpu_HTT): Likewise.
14301         (reg_HTT): Likewise.
14303 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14305         [BZ #20115]
14306         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
14307         Remove alignments on jump targets.
14309 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14311         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
14312         (getpwent): Likewise.
14313         (setpwent): Likewise.
14314         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
14315         variable.
14317         * conform/data/search.h-data (insque): Do not expect for [XPG3].
14318         (remque): Likewise.
14319         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
14320         variable.
14322 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14324         * math/libm-test.inc: Update comment not to refer to signs of NaNs
14325         not being tested.
14327 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14329         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14330         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
14331         call.
14332         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14333         (__condvar_cleanup1): Likewise.
14335 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14337         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
14338         New
14339         (__pthread_unwind): Renamed to ...
14340         (PTHREAD_UNWIND): This.
14341         (__pthread_enable_asynccancel): Replace
14342         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
14344 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14346         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
14347         (CLONE_NEWCGROUP): New macro.
14349         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
14350         (Q_GETNEXTQUOTA): New macro.
14352 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14354         [BZ #19907]
14355         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
14356         buffer updated by the previous run.
14357         * string/test-memcpy.c (do_one_test): Likewise.
14358         * benchtests/bench-memmove.c (do_one_test): Add a comment.
14359         * string/test-memmove.c (do_one_test): Likewise.
14361 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
14363         [BZ #20094]
14364         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
14365         not [__USE_XOPEN].
14366         (unlockpt): Likewise.
14367         (ptsname): Likewise.
14368         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
14369         variable.
14371         [BZ #20076]
14372         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
14373         instead of [__USE_UNIX98].
14374         (S_ISSOCK): Likewise.
14375         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
14376         variable.
14378         [BZ #20074]
14379         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
14380         [__USE_POSIX].
14381         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
14382         variable.
14384         [BZ #20051]
14385         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
14386         (ttyslot): Do not declare.
14387         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
14388         (ttyslot): New prototype.
14389         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
14390         variable.
14391         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14393 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14395         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
14397 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14399         Fix race condition in tst-mallocfork2, use fewer resources.
14400         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
14401         to current process group.
14402         (signal_sender): Yield in the non-sleeping case.
14404 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
14406         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
14407         (ecvt): Likewise.
14408         (fcvt): Likewise.
14409         (gcvt): Likewise.
14410         (getsubopt): Likewise.
14411         (grantpt): Likewise.
14412         (initstate): Likewise.
14413         (l64a): Likewise.
14414         (mktemp): Likewise.
14415         (mkstemp): Likewise.
14416         (ptsname): Likewise.
14417         (random): Likewise.
14418         (realpath): Likewise.
14419         (setstate): Likewise.
14420         (srandom): Likewise.
14421         (ttyslot): Likewise.
14422         (unlockpt): Likewise.
14423         (valloc): Likewise.
14425         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
14426         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
14427         variable.
14429 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14431         [BZ #20072]
14432         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
14433         init_cpu_features only if SHARED is defined.
14434         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
14436 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14438         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
14439         non-inclusive caches on Intel processors.
14441 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14443         * malloc/malloc.c (dumped_main_arena_start)
14444         (dumped_main_arena_end): New variables.
14445         (DUMPED_MAIN_ARENA_CHUNK): New macro.
14446         (do_check_chunk): Skip dumped fake mmapped chunks.
14447         (munmap_chunk): Likewise.
14448         (__libc_free): Do not adjust statistics for fake mmapped chunks.
14449         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
14450         mmapped chunks.
14451         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
14452         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
14453         and dumped_main_arena_end to cover the dumped heap.
14455 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
14457         * conform/data/time.h-data (getdate_err): Do not expect for
14458         [XPG3].
14459         (getdate): Likewise.
14460         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
14461         variable.
14463         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
14464         (F_ULOCK): Likewise.
14465         (F_TEST): Likewise.
14466         (F_TLOCK): Likewise.
14467         (useconds_t): Likewise.
14468         (intptr_t): Do not expect for [XPG3] or [XPG4].
14469         (brk): Do not expect for [XPG3]
14470         (fchown): Likewise.
14471         (fchdir): Likewise.
14472         (ftruncate): Likewise.
14473         (getdtablesize): Likewise.
14474         (gethostid): Likewise.
14475         (getpagesize): Likewise.
14476         (getpgid): Likewise.
14477         (getsid): Likewise.
14478         (getwd): Likewise.
14479         (lchown): Likewise.
14480         (lockf): Likewise.
14481         (readlink): Likewise.
14482         (sbrk): Likewise.
14483         (setpgrp): Likewise.
14484         (setregid): Likewise.
14485         (setreuid): Likewise.
14486         (symlink): Likewise.
14487         (sync): Likewise.
14488         (truncate): Likewise.
14489         (ualarm): Likewise.
14490         (usleep): Likewise.
14491         (vfork): Likewise.
14492         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
14493         variable.
14495         [BZ #20054]
14496         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
14497         not [__USE_UNIX98].
14498         * conform/data/unistd.h-data (gethostname): Do not expect for
14499         [XPG3].
14501         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
14502         [!POSIX] (S_IFBLK): Likewise.
14503         [!POSIX] (S_IFCHR): Likewise.
14504         [!POSIX] (S_IFIFO): Likewise.
14505         [!POSIX] (S_IFREG): Likewise.
14506         [!POSIX] (S_IFDIR): Likewise.
14507         [!POSIX] (S_IFLNK): Likewise.
14508         [!POSIX] (S_IFSOCK): Likewise.
14509         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
14510         variable.
14511         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14513 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
14515         * sysdeps/aarch64/memset.S (__memset):
14516         Rewrite of optimized memset.
14518 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14520         [BZ #19703]
14521         Partially async-signal-safe fork for single-threaded processes.
14522         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
14523         variable.  Do not acquire and reset/release malloc and libio locks
14524         in single-threaded processes.
14525         * malloc/tst-mallocfork2.c: New file.
14526         * malloc/Makefile (tests): Add it.
14528 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14530         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
14531         argument.  Use scratch buffer instead of extend_alloca.
14532         (gethosts): Use scratch buffer instead of extend_alloca.
14533         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
14534         extend_alloca.
14535         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
14537 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
14539         [BZ #20055]
14540         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
14541         instead of [__USE_UNIX98].
14542         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
14543         [__USE_UNIX98].
14544         * conform/data/termios.h-data (tcgetsid): Do not expect for
14545         [XPG3].
14546         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
14547         variable.
14548         (test-xfail-XPG4/termios.h/conform): Likewise.
14550 2016-05-11  Florian Weimer  <fweimer@redhat.com>
14552         Do not use mcheck in localedef.
14553         * locale/programs/localedef.c (turn_on_mcheck)
14554         (__malloc_initialize_hook): Remove.
14556 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14558         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
14559         * sysdeps/s390/s390-64/Makefile: Likewise.
14561 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14563         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
14564         Remove ifunc-defines.sym.
14565         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
14566         Likewise.
14567         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
14568         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14569         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
14570         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
14571         rtld-global-offsets.sym.
14572         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
14573         * sysdeps/x86/cpu-features-offsets.sym: This.
14574         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
14575         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
14577 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
14579         [BZ #20073]
14580         * io/sys/stat.h (fchmod): Declare for
14581         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
14582         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
14583         variable.
14585         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
14586         [XPG3] (S_IFSOCK): Likewise.
14587         [XPG3] (S_ISVTX): Likewise.
14588         [XPG3] (S_ISLNK): Likewise.
14589         [XPG3] (S_ISSOCK): Likewise.
14590         [XPG3] (fchmod): Likewise.
14591         [XPG3] (lstat): Likewise.
14592         [XPG3] (mknod): Likewise.
14594         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
14595         [XPG3].  Expect type long and XFAIL for [XPG4].
14596         (st_blocks): Likewise.
14598         [BZ #20044]
14599         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
14600         (pthread_atfork): New prototype.
14601         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
14602         variable.
14604         [BZ #20043]
14605         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
14606         prototype.
14608 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14610         [BZ #20017]
14611         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
14612         gmtime.
14614 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14616         [BZ #19994]
14617         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
14618         flag in _res.options.
14620 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
14622         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
14623         [XPG3 || XPG4].
14624         (blksize_t): Likewise.
14625         (clockid_t): Likewise.
14626         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
14627         variable.
14628         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14630 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14632         * sysdeps/unix/sysv/linux/s390/init-first.c:
14633         Add VDSO_SYMBOL(getcpu).
14634         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
14635         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
14636         Add VDSO_SYMBOL(getcpu).
14637         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
14638         New define HAVE_GETCPU_VSYSCALL.
14639         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14641 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14643         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
14644         instead of <sysdeps/x86_64/cacheinfo.c>.
14645         * sysdeps/x86_64/cacheinfo.c: Moved to ...
14646         * sysdeps/x86/cacheinfo.c: Here.
14648 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14650         * malloc/malloc-internal.h: Adjust header file guard.
14652 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14654         [BZ #19787]
14655         * inet/getnameinfo.c (check_sprintf_result): New function.
14656         (CHECKED_SNPRINTF): New macro.
14657         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
14658         to the host buffer.
14659         (gni_host_local): Use checked_copy to copy the host name.
14660         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
14661         (gni_serv_local): Use checked_copy to copy the service name.
14662         (getnameinfo): Remove unnecessary truncation of result buffers.
14664 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14666         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
14667         in case of inet_ntop failure.
14669 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14671         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
14672         avoid long lines.
14673         (gni_host_inet_numeric): Likewise.  Reduce scope of local
14674         variables.
14675         (gni_host_inet, gni_host_local): Add comment.
14676         (gni_host): Add comment.  Use temporary to avoid long lines.
14678 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14680         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
14681         registers specifiers where general purpose registers specifiers should
14682         have been used.
14684 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14686         [BZ #19779]
14687         CVE-2016-1234
14688         Avoid copying names of directory entries.
14689         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
14690         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
14691         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
14692         (struct readdir_result): New type.
14693         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
14694         (GL_READDIR): New macros.
14695         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
14696         (convert_dirent, convert_dirent64): New functions.
14697         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
14698         convert_dirent64.  Adjust references to the readdir result.
14699         * sysdeps/unix/sysv/linux/i386/glob64.c:
14700         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
14701         * posix/bug-glob2.c (LONG_NAME): Define.
14702         (filesystem): Add LONG_NAME.
14703         (my_DIR): Increase the size of room_for_dirent.
14705 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
14707         [BZ #20041]
14708         * misc/sys/select.h (__need_timespec): Only define if
14709         [__USE_XOPEN2K].
14710         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
14711         variable.
14712         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14713         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14714         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14716 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14717             Segher Boessenkool  <segher@gcc.gnu.org>
14719         [BZ #20004]
14720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
14721         (__novec_swapcontext): Add missing load.
14723 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
14725         [BZ #20023]
14726         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
14727         <time.h>.
14728         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
14729         variable.
14730         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14732 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
14735         flags CLONE_VM compare.
14737 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14739         [BZ #20031]
14740         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
14741         completely empty.
14743 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14745         [BZ #19573]
14746         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
14747         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
14748         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
14749         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
14750         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
14751         (hesiod_free_list): Mark as hidden.
14752         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
14753         res_set, res_get.
14754         * hesiod/hesiod.c: Remove unnecessary forward declarations.
14755         (init, __hesiod_res_get, __hesiod_res_set): Remove.
14756         (hesiod_init): Remove obsolete res_ninit call.
14757         (hesiod_end): Do not free resolver state.  Do not invoke callback.
14758         (hesiod_bind): Do not call init.
14759         (get_txt_records): Use res_mkquery, res_send instead of
14760         res_nmkquery, res_nsend.
14761         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
14762         instead of _nss_hesiod_init.
14763         (_nss_hesiod_initgroups_dyn): Likewise.
14764         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
14765         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
14766         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
14768 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14770         * hesiod/hesiod_p.h (DEF_RHS): Remove.
14771         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
14773 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14775         * hesiod/hesiod.h: Remove RCS keyword.
14776         * hesiod/hesiod_p.h: Likewise.
14778         * hesiod/hesiod.c: Likewise.
14780 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
14782         [BZ #12450]
14783         * locale/iso-639.def: Add Samogitian/sgs.
14785 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
14787         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
14789         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
14791 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
14792             Carlos O'Donell  <carlos@redhat.com>
14794         [BZ #19072]
14795         * grp/Makefile (headers): Add grp-merge.h
14796         (routines): Add grp-merge.
14797         * grp/getgrgid_r.c: Include grp-merge.h.
14798         (DEEPCOPY_FN): Define.
14799         (MERGE_FN): Define.
14800         * grp/getgrname_r.c: Include grp-merge.h.
14801         (DEEPCOPY_FN): Define.
14802         (MERGE_FN): Define.
14803         * grp/grp-merge.c: New file.
14804         * grp/grp-merge.h: New file.
14805         * include/grp-merge.h: New file.
14806         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
14807         __copy_grp@GLIBC_PRIVATE.
14808         * manual/nss.texi (Actions in the NSS configuration): Describe
14809         return, continue, and merge.
14810         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
14811         (DEEPCOPY_FN): Define.
14812         (MERGE_FN): Define.
14813         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
14814         (DEEPCOPY_FN): Define.
14815         (MERGE_FN): Define.
14816         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
14817         [!MERGE_FN]: Define __merge_einval.
14818         (CHECK_MERGE): Define.
14819         (REENTRANT_NAME): Process merge if do_merge is true.
14820         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
14821         (__nss_getent_r): Likewise.
14822         * nss/nsswitch.c (nss_parse_service_list): Likewise.
14823         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
14825 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14827         [BZ #20012]
14828         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
14829         length to calculate the buffer to read.
14830         (fmemopen_write): Set the buffer position based on bytes written.
14831         (fmemopen_seek): Return EINVAL for invalid whence modes.
14833         [BZ #19957]
14834         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
14835         tst-getpid2.
14836         (test): Add tst-clone2.
14837         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
14838         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
14839         pid/tid fields for CLONE_VM.
14840         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14841         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14842         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14843         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
14844         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14845         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14846         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14847         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14849         Likewise.
14850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14851         Likewise.
14852         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14853         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14854         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14855         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14856         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14857         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14858         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14859         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
14861 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14863         [BZ #19642]
14864         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
14865         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
14866         (gni_serv_local, gni_serv): New functions extracted from
14867         getnameinfo.
14868         (getnameinfo): Call gni_host and gni_serv to perform the
14869         processing.  Always free scratch buffer.
14871 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14873         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
14874         remaining bytes in the dest string, with zeros.
14876 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14878         [BZ #20010]
14879         CVE-2016-3706
14880         * sysdeps/posix/getaddrinfo.c
14881         (convert_hostent_to_gaih_addrtuple): New function.
14882         (gethosts): Call convert_hostent_to_gaih_addrtuple.
14883         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
14884         AF_INET data.
14886 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14888         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
14889         callback function gl_readdir.
14890         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
14891         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
14892         (glob_in_dir): Remove len.  Use strdup instead of malloc and
14893         memcpy to copy the name.
14894         * manual/pattern.texi (Calling Glob): Document requirements for
14895         implementations of the gl_readdir callback function.
14896         * manual/examples/mkdirent.c: New example.
14897         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
14898         per the manual guidance.
14899         * posix/tst-gnuglob.c (my_readdir): Likewise.
14901 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
14903         [BZ #20014]
14904         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
14905         not [__USE_POSIX].
14906         (getchar_unlocked): Likewise.
14907         (putc_unlocked): Likewise.
14908         (putchar_unlocked): Likewise.
14909         (flockfile): Likewise.
14910         (ftrylockfile): Likewise.
14911         (funlockfile): Likewise.
14912         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
14913         variable.
14914         (test-xfail-XPG4/stdio.h/conform): Likewise.
14916         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
14917         Expect constant.
14918         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
14919         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
14920         variable.
14921         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14922         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14924         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
14925         [__USE_LARGEFILE64] (off64_t): Likewise.
14926         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
14927         variable.
14929 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14931         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
14933 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14935         * resolv/inet_addr.c: Reindent preprocessor conditionals.
14936         * resolv/res_init.c: Likewise.
14937         * resolv/res_mkquery.c: Likewise.
14939 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14941         * resolv/res_init.c (isascii): Do not define.  Use definition in
14942         <ctype.h>.
14943         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
14944         (LOG_AUTH): Remove.
14945         (SPRINTF): Remove, adjust caller.
14946         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
14948 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14950         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
14951         SUNSECURITY conditional.
14952         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
14954 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14956         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
14957         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
14958         Remove BSD-related preprocessor conditionals.
14959         * conf/portability.h: Remove.
14961 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14963         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
14964         * resolv/res_data.c: Likewise.
14966 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14968         * resolv/res_comp.c: Remove code conditional on __ultrix__.
14969         * resolv/res_data.c: Remove code conditional on ultrix.
14971 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14973         * resolv/res_init.c (RFC1535): Do not define.  Remove
14974         RFC1535 preprocessor conditionals.
14975         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
14976         because there configuration options which make the resolver
14977         behavior different.
14979 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14981         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
14982         RESOLVSORT preprocessor conditionals.
14983         * resolv/nss_dns/dns-host.c: Likewise.
14984         * resolv/res_init.c: Likewise.
14986 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14988         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
14989         is never defined.
14991 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14993         * inet/inet_lnaof.c: Remove SCSS keyword.
14994         * inet/inet_mkadr.c: Likewise.
14995         * inet/inet_net.c: Likewise.
14996         * inet/inet_netof.c: Likewise.
14997         * inet/rcmd.c: Likewise.
14998         * inet/rexec.c: Likewise.
14999         * inet/ruserpass.c: Likewise.
15001 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15003         * resolv/inet_addr.c: Remove _LIBC conditionals.
15004         * resolv/res_data.c: Likewise.
15005         * resolv/res_init.c: Likewise.
15006         * resolv/res_mkquery.c: Likewise.
15007         * resolv/res_libc.c: Update comment.
15008         * resolv/README: Update.
15010 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15012         * resolv/gethnamaddr.c: Remove SCSS keyword.
15013         * resolv/herror.c: Likewise.
15014         * resolv/inet_addr.c: Likewise.
15015         * resolv/inet_net_ntop.c: Likewise.
15016         * resolv/inet_net_pton.c: Likewise.
15017         * resolv/inet_neta.c: Likewise.
15018         * resolv/inet_ntop.c: Likewise.
15019         * resolv/inet_pton.c: Likewise.
15020         * resolv/ns_date.c: Remove RCS keyword.
15021         * resolv/ns_name.c: Likewise.
15022         * resolv/ns_netint.c: Likewise.
15023         * resolv/ns_parse.c: Likewise.
15024         * resolv/ns_print.c: Likewise.
15025         * resolv/ns_samedomain.c: Likewise.
15026         * resolv/ns_ttl.c: Likewise.
15027         * resolv/nsap_addr.c: Likewise.
15028         * resolv/res_comp.c: Remove SCSS and RCS keyword.
15029         * resolv/res_data.c: Remove RCS keyword.
15030         * resolv/res_debug.c: Remove SCSS and RCS keyword.
15031         * resolv/res_init.c: Likewise.
15032         * resolv/res_mkquery.c: Likewise.
15033         * resolv/res_query.c: Likewise.
15034         * resolv/res_send.c: Likewise.
15036 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15038         * conform/data/stdio.h-data (fdopen): Expect also for
15039         [XPG3 || XPG4].
15041         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
15042         (fseeko): Likewise.
15043         (ftello): Likewise.
15044         (ftrylockfile): Likewise.
15045         (funlockfile): Likewise.
15046         (getc_unlocked): Likewise.
15047         (getchar_unlocked): Likewise.
15048         (putc_unlocked): Likewise.
15049         (putchar_unlocked): Likewise.
15051 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15053         [BZ #19868]
15054         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
15055         DNS packet syntax checks (which were not needed before).  Skip
15056         over non-PTR records.
15058 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15060         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
15061         definition.  Include <stddef.h> instead.
15063 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15065         [BZ #19831]
15066         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
15067         function.
15068         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
15069         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
15071 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15073         [BZ #19862]
15074         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
15075         (getanswer_r): Do not call syslog.
15076         (gaih_getanswer_slice): Likewise.
15077         * resolv/gethnamaddr.c (AskedForGot): Remove.
15078         (getanswer): Do not call syslog.
15079         (gethostbyaddr): Likewise.
15081 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15083         * conform/data/signal.h-data (union sigval): Expect also if
15084         [XOPEN2K].
15085         (struct sigevent): Likewise.
15086         (SIGEV_NONE): Likewise.
15087         (SIGEV_SIGNAL): Likewise.
15088         (SIGEV_THREAD): Likewise.
15089         (SIGRTMIN): Likewise.
15090         (SIGRTMAX): Likewise.
15091         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
15092         variable.
15093         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15095 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15097         [BZ #19830]
15098         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
15099         (gaih_getanswer_slice): Likewise.
15100         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
15101         Also check for availability of RR metadata.
15103 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15105         [BZ #19825]
15106         * resolv/res_send.c (send_vc): Remove early *resplen2
15107         initialization.  Set *resplen2 on socket error.  Call
15108         close_and_return_error for other errors.
15110 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15112         * sysdeps/unix/sysv/linux/netiucv/iucv.h
15113         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
15114         (SCM_IUCV_TRGCLS): New define.
15116 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15118         [BZ #20005]
15119         * libio/fmemopen.c (fmemopen_write): Update internal position after
15120         write.
15121         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
15122         * stdio-common/tst-fmemopen4.c: New file..
15124 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
15126         [BZ #19996]
15127         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
15128         not [__USE_XOPEN2K].
15129         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
15130         variable.
15132         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
15133         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
15134         variable.
15136         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
15137         [__USE_XOPEN2K8].
15138         [__USE_LARGEFILE64] (off64_t): Likewise.
15139         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
15140         variable.
15142 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
15144         [BZ #19989]
15145         * libio/stdio.h (cuserid): Do not declare if
15146         [__USE_XOPEN2K && !__USE_GNU].
15147         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
15148         variable.
15150 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15152         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15153         (sysdep_routines): Add P8 and PPC64 strcspn targets.
15154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15155         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15156         ifunc'ed strcspn.
15157         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15158         [EALIGN]: Removed.
15159         [END]: Likewise
15160         [STRSPN]: Define instead of the above to control symbol name.
15161         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
15162         New file.
15163         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
15164         Likewise.
15165         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
15166         Likewise.
15167         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
15168         Likewise.
15169         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15170         [INITIAL_MASK]: New macro.
15171         [STRCSPN]: Likewise.
15172         [UPDATE_MASK]: Likewise.
15173         [USE_AS_STRCSPN]: Likewise.
15175 2016-04-25  Florian Weimer  <fweimer@redhat.com>
15177         [BZ #19931]
15178         * stdio-common/tst-vfprintf-width-prec.c: New file.
15179         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
15180         (tests-special): Add tst-vfprintf-width-prec-mem.out.
15181         (generated): Add mtrace-related files.
15182         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
15183         (tst-%-mem.out): New pattern rule, replaces
15184         tst-printf-bz18872-mem.out.
15185         * stdio-common/vfprintf.c (vfprintf): When handling a precision
15186         specifier, deallocate any previously allocated work buffer.
15188 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15190         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
15191         Add nop before __startcontext, add explaining comments.
15193 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
15195         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
15196         any more. Notably since IPV6_PKTINFO has been reintroduced with a
15197         completely different API.
15199         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
15200         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
15201         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
15202         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
15203         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
15204         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
15205         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
15206         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
15207         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
15208         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
15210 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
15212         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
15214 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
15216         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
15217         when it is the default of 0.
15219 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15221         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
15222         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15223         (sysdep_routines): Add new strcasestr targets.
15224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15225         (__libc_ifunc_impl_list): Likewise.
15226         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
15227         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
15228         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
15229         * sysdeps/powerpc/powerpc64/power8/Makefile:
15230         New file to add strcasestr-ppc64 to sysdep_routines.
15231         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
15232         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
15234 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
15236         * benchtests/Makefile (wcsmbs-benchset): Include only for
15237         native builds and runs.
15238         (LOCALES): Likewise.
15239         (bench-build): Build timing-type here instead of the bench
15240         target.  Generate locale only for native builds.
15241         * benchtests/README: Add note for cross-building.
15243         * benchtests/Makefile (bench-clean): Clean up extra-objs.
15245         * benchtests/README: Update README to include instructions on
15246         using bench-build.
15248         * Makefile.in (bench-build): New target.
15249         * Rules (PHONY): Add bench-build target.
15250         * benchtests/Makefile (bench): Depend on bench-build.
15251         (bench-build): New target.
15253 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15255         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
15256         profil_reply_port.
15257         (profile_waiter): Do not initialize profil_reply_port.
15258         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
15259         frequency instead of tick length in us.
15261 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
15263         [BZ #18712]
15264         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
15265         (__old_mempcpy_small): Likewise.
15266         (__old_strcpy_small): Likewise.
15267         (__old_stpcpy_small): Likewise.
15268         (__old_strpbrk_c2): Fix compat symbol name.
15269         (__old_strpbrk_c3): Likewise.
15270         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
15271         (__mempcpy_small): Remove.
15272         (__strcpy_small): Remove.
15273         (__stpcpy_small): Remove.
15275 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
15277         [BZ #19400]
15278         * locale/iso-639.def: Add the Talossan/tzl language.
15280 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15282         [BZ #16983]
15283         * locale/programs/ld-address.c (address_finish): Update postal_fmt
15284         comment.  Add "ln" to strchr check on postal_fmt.
15286 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15288         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
15289         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
15290         tel_dom_fmt.
15292 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15294         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15295         (sysdep_routines): Added __strlen_power8.
15296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
15297         __strlen_power8 entry.
15298         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
15299         Implementation for POWER8.
15300         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
15301         for __strlen_power8.
15302         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
15303         Implementation for POWER8.
15305 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
15307         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
15309 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
15311         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
15312         Goldmont and Airmont processors.
15314 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
15316         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
15317         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
15318         (__STRING2_SMALL_GET32): Remove.
15319         (memset): Remove.
15320         (__memset_1): Remove.
15321         (__memset_gc): Remove.
15322         (__mempcpy): Remove.
15323         (mempcpy): Remove.
15324         (__mempcpy_args): Remove.
15325         (strchr): Remove.
15326         (strcpy): Remove.
15327         (strcpy_args): Remove.
15328         (__stpcpy_args): Remove.
15329         (__strcmp_cc): Remove.
15330         (__strcmp_gc): Remove.
15331         (strstr): Remove.
15333 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
15335         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
15336         * nis/nis_call.c (nis_server_cache_add): Likewise.
15338 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15340         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
15342 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15344         * malloc/arena.c (__malloc_fork_lock_parent)
15345         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
15346         internal_function attribute.
15348 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
15350         * stdio-common/printf_fp.c (__printf_fp_l):
15351         Rename ___printf_fp_l to __printf_fp_l and
15352         remove strong alias. Use libc_hidden_def instead
15353         of ldbl_hidden_def macro.
15355 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15357         Remove malloc hooks from fork handler.  They are no longer needed
15358         because malloc runs right before fork, and no malloc calls from
15359         other fork handlers are not possible anymore.
15360         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
15361         declarations.
15362         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
15363         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
15364         (atfork_recursive_cntr): Remove.
15365         (__malloc_fork_lock_parent): Do not override malloc hooks and
15366         thread_arena.
15367         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
15368         thread_arena.
15369         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
15370         thread_arena instead of save_arena.
15372 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15374         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
15375         (thread_atfork, thread_atfork_static): Remove.
15376         * sysdeps/mach/hurd/malloc-machine.h:
15377         (thread_atfork, thread_atfork_static): Remove.
15379 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15381         [BZ #19431]
15382         Run the malloc fork handler as late as possible to avoid deadlocks.
15383         * malloc/malloc-internal.h: New file.
15384         * malloc/malloc.c: Include it.
15385         * malloc/arena.c (ATFORK_MEM): Remove.
15386         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
15387         Update comment.
15388         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
15389         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
15390         Remove outdated comment.
15391         (ptmalloc_init): Do not call thread_atfork.  Remove
15392         thread_atfork_static.
15393         * malloc/tst-malloc-fork-deadlock.c: New file.
15394         * Makefile (tests): Add tst-malloc-fork-deadlock.
15395         (tst-malloc-fork-deadlock): Link against libpthread.
15396         * manual/memory.texi (Aligned Memory Blocks): Update safety
15397         annotation comments.
15398         * sysdeps/nptl/fork.c (__libc_fork): Call
15399         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15400         __malloc_fork_unlock_child.
15401         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
15403 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15405         [BZ #19613]
15406         Remove union wait.
15407         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
15408         (w_stopsig, w_stopval): Remove.
15409         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
15410         stat_loc argument.
15411         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
15412         (__WAIT_STATUS_DEFN): Remove.
15413         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15414         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
15415         (wait, wait3, wait4): Use int * for the stat_loc argument.
15416         * posix/wait.c (__wait): Likewise.
15417         * posix/wait3.c (__wait3): Likewise.
15418         * posix/wait4.c (__wait4): Likewise.
15419         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
15420         (__WAIT_STATUS_DEFN): Remove.
15421         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15422         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
15423         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
15424         argument.
15425         * sysdeps/posix/wait.c (__libc_wait): Likewise.
15426         * sysdeps/posix/wait3.c (__wait3): Likewise.
15427         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
15428         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15429         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
15430         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
15431         stat_loc argument.
15432         * manual/process.texi (BSD Wait Functions): Remove union wait.
15434 2016-04-13  Andreas Schwab  <schwab@suse.de>
15436         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
15437         (test-extras): Add tst-tlsalign-vars.
15438         * math/Makefile: Wrap long lines.
15439         (libm-vec-test-wrappers): Define.
15440         (test-extras): Add $(libm-vec-test-wrappers).
15441         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
15442         * nss/Makefile (extra-test-objs): Add nss_test1.os.
15443         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
15444         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
15445         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
15446         (extra-test-objs): Add corresponding objects.
15448 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
15450         [BZ #19928]
15451         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
15452         New.
15453         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
15454         times of shared cache size.
15455         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
15456         (VMOVNT): New.
15457         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
15458         (VMOVNT): Likewise.
15459         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
15460         (VMOVNT): Likewise.
15461         (VMOVU): Changed to movups for smaller code sizes.
15462         (VMOVA): Changed to movaps for smaller code sizes.
15463         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
15464         comments.
15465         (PREFETCH): New.
15466         (PREFETCH_SIZE): Likewise.
15467         (PREFETCHED_LOAD_SIZE): Likewise.
15468         (PREFETCH_ONE_SET): Likewise.
15469         Rewrite to use forward and backward loops, which move 4 vector
15470         registers at a time, to support overlapping addresses and use
15471         non temporal store if size is above the threshold and there is
15472         no overlap between destination and source.
15474 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
15476         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
15477         Include dl-vdso.
15478         * sysdeps/unix/sysv/linux/mips/Versions: Add
15479         __vdso_clock_gettime.
15480         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
15481         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
15482         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
15483         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
15484         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
15485         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
15486         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15487         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15488         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15490 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15492         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
15493         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
15494         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15495         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15496         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15497         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15500         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
15501         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
15502         syscalls generation.
15503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15504         [__NR_pwrite64] (__NR_write): Remove define.
15505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15506         [__NR_pwrite64] (__NR_write): Remove define.
15507         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
15508         Remove define.
15509         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
15510         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
15511         Remove define.
15512         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
15513         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
15514         Linux implementation as base.
15515         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15517         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
15518         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
15519         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15520         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
15522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15523         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
15524         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
15525         syscall generation.
15526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15527         [__NR_pread64] (__NR_pread): Remove define.
15528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15529         [__NR_pread64] (__NR_pread): Likewise.
15530         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
15531         define.
15532         (__libc_pread): Use SYSCALL_LL macro on offset argument.
15533         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
15534         Remove define.
15535         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
15536         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
15537         Linux implementation as base.
15538         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15539         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15540         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15542         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
15543         definition.
15544         (__ALIGNMENT_COUNT): Likewise.
15545         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
15546         (__ALIGNMENT_COUNT): Likewise.
15547         (SYSCALL_LL): New define.
15548         (SYSCALL_LL64): Likewise.
15549         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
15550         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
15551         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
15552         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
15554         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15555         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
15556         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15557         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15558         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15559         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15561 2016-04-11  Florian Weimer  <fweimer@redhat.com>
15563         [BZ #19865]
15564         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
15565         original buffer before retry.
15567 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15569         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
15570         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
15571         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
15572         GLRO(dl_auxv) list.
15573         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
15574         including <ldsodefs.h>.
15575         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
15577 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
15579         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
15580         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
15581         $(CPPFLAGS).
15583 2016-04-09  Khem Raj  <raj.khem@gmail.com>
15585         [BZ #17950]
15586         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
15587         Add -mfpmath=387.
15589 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
15591         * sysdeps/i386/configure.ac: Change == to = when calling test.
15592         * sysdeps/x86_64/configure.ac: Likewise.
15593         * sysdeps/i386/configure: Regenerated.
15594         * sysdeps/x86_64/configure: Likewise.
15596 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
15598         [BZ #16137]
15599         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
15600         * benchtests/bench-strcoll.c (input_files): Likewise.
15601         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15602         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
15603         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
15605 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
15607         [BZ #19929]
15608         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
15609         [__USE_XOPEN2K8 && !__USE_GNU].
15610         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
15611         variable.
15613         [BZ #19925]
15614         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
15615         define if [!__USE_MISC && __USE_XOPEN2K].
15616         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
15617         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
15618         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
15619         Likewise.
15620         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
15621         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
15622         variable.
15623         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15625 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15627         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15628         (sysdep_routines): Add new strspn targets.
15629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15630         (__libc_ifunc_impl_list): Add strspn.
15631         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15632         New file.
15633         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
15634         Likewise.
15635         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
15636         Likewise.
15637         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15638         Likewise.
15640 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15642         * misc/hsearch_r.c: Include <limits.h>.
15644 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15646         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
15648 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15650         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15651         (MEMCPY_SYMBOL): New.
15652         (MEMPCPY_SYMBOL): Likewise.
15653         (MEMMOVE_CHK_SYMBOL): Likewise.
15654         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
15655         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
15656         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
15657         Provide alias for memcpy in libc.a and ld.so.
15659 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15661         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15662         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
15663         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
15664         Disabled fro now.
15665         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
15666         symbols.  Properly check USE_MULTIARCH on __memset symbols.
15668 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15670         * benchtests/Makefile (string-benchset): Add memcpy-large,
15671         memmove-large and memset-large.
15672         * benchtests/bench-memcpy-large.c: New file.
15673         * benchtests/bench-memmove-large.c: Likewise.
15674         * benchtests/bench-memmove-large.c: Likewise.
15675         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
15677 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15679         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
15680         32-bit displacement to avoid long nop between instructions.
15682 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15684         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
15685         a comment on VMOVU and VMOVA.
15687 2016-04-04  Florian Weimer  <fweimer@redhat.com>
15689         [BZ #19633]
15690         Use specified locale for number formatting in strfmon_l.
15691         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
15692         (__nl_lookup_word): New inline functions.
15693         * include/printf.h (__print_fp_l): Declare.
15694         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
15695         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
15696         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
15697         (___printf_fp): New function.
15698         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
15699         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
15700         * stdlib/tst-strfmon_l.c (do_test): New test.
15701         * stdlib/Makefile (tests): Add kt.
15702         (LOCALES): Build additional locales.
15703         (tst-strfmon_l.out): Require locales.
15705 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15707         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
15708         if not in libc.
15709         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15710         Likewise.
15711         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
15712         Likewise.
15713         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15714         Likewise.
15716 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15718         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15719         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
15720         with unaligned_erms.
15721         (__memmove_erms): Skip if source == destination.
15722         (__memmove_unaligned_erms): Don't check source == destination
15723         first.
15725 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15727         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
15728         bit_arch_Fast_Copy_Backward for Intel Core proessors.
15730 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15732         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
15733         * string/strspn.c (strspn): Likewise.
15735 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15737         * benchtests/bench-memset.c (do_test): Support 64-byte
15738         alignment.
15739         (test_main): Test 64-byte alignment.
15741 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15743         * benchtests/bench-memmove.c (test_main): Test 64-byte
15744         alignment.
15746 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15748         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
15750 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15752         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
15753         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
15754         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
15756         * string/strpbrk.c (strpbrk): Rewrite function.
15757         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
15758         (__strpbrk_c2): Likewise.
15759         (__strpbrk_c3): Likewise.
15760         * string/string-inlines.c
15761         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
15762         Likewise.
15763         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
15764         Likewise.
15766         * string/strspn.c (strcspn): Rewrite function.
15767         * string/bits/string2.h (strspn): Use __builtin_strcspn.
15768         (__strspn_c1): Remove inline function.
15769         (__strspn_c2): Likewise.
15770         (__strspn_c3): Likewise.
15771         * string/string-inlines.c
15772         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
15773         compatibility symbol.
15774         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
15775         Likewise.
15776         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
15777         Likewise.
15778         * string/string-inlines.c: Include generic version.
15780 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
15781             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15783         * string/Version (libc): Add GLIBC_2.24.
15784         * string/strcspn.c (strcspn): Rewrite function.
15785         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
15786         (__strcspn_c1): Remove inline function.
15787         (__strcspn_c2): Likewise.
15788         (__strcspn_c3): Likewise.
15789         * string/string-inline.c
15790         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
15791         compatibility symbol.
15792         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
15793         Likewise.
15794         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
15795         Likewise.
15796         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
15798 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15800         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15801         Use ahi instead of aghi to adjust stack pointer.
15803 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15805         [BZ #19853]
15806         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
15807         TEST to take significant digits as second parameter.
15808         [TEST]: Redefine in terms of TEST_N taking 30
15809         significant digits.
15810         (do_test): Add test case to demonstrate precision
15811         failure in the ldbl-128ibm printf.
15812         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
15813         (__mpn_extract_long_double): Carry 7 extra intermediate
15814         bits of precision to aide computing difference when
15815         signs differ.
15817 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15819         [BZ #19881]
15820         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15821         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
15822         memset-avx512-unaligned-erms.
15823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15824         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
15825         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
15826         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
15827         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
15828         __memset_sse2_unaligned_erms, __memset_erms,
15829         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
15830         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15831         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
15832         file.
15833         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15834         Likewise.
15835         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
15836         Likewise.
15837         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
15838         Likewise.
15840 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15842         [BZ #19776]
15843         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15844         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
15845         memmove-avx512-unaligned-erms.
15846         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15847         (__libc_ifunc_impl_list): Test
15848         __memmove_chk_avx512_unaligned_2,
15849         __memmove_chk_avx512_unaligned_erms,
15850         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
15851         __memmove_chk_sse2_unaligned_2,
15852         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
15853         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
15854         __memmove_avx512_unaligned_erms, __memmove_erms,
15855         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
15856         __memcpy_chk_avx512_unaligned_2,
15857         __memcpy_chk_avx512_unaligned_erms,
15858         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
15859         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
15860         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
15861         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
15862         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
15863         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
15864         __mempcpy_chk_avx512_unaligned_erms,
15865         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
15866         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
15867         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
15868         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
15869         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
15870         __mempcpy_erms.
15871         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
15872         file.
15873         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15874         Likewise.
15875         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
15876         Likewise.
15877         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15878         Likewise.
15880 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15882         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
15883         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
15884         (La_s390_64_regs): Likewise.
15885         (La_s390_32_retval): Append vector register lrv_v24.
15886         (La_s390_64_retval): Likeweise.
15887         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
15888         Handle extended structs La_s390_32_regs and La_s390_32_retval.
15889         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
15890         Handle extended structs La_s390_64_regs and La_s390_64_retval.
15892 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15894         [BZ #19916]
15895         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
15896         to create a non-vector/vector version for _dl_runtime_resolve and
15897         _dl_runtime_profile. Move implementation to ...
15898         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
15899         (_dl_runtime_resolve) Save and restore fpr/vrs.
15900         (_dl_runtime_profile) Save and restore vrs and fix some issues
15901         if _dl_call_pltexit is called.
15902         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
15903         Choose the correct resolver function if running on a machine with vx.
15904         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
15905         to create a non-vector/vector version for _dl_runtime_resolve and
15906         _dl_runtime_profile. Move implementation to ...
15907         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
15908         (_dl_runtime_resolve) Save and restore fpr/vrs.
15909         (_dl_runtime_profile) Save and restore vrs and fix some issues
15910         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
15911         Choose the correct resolver function if running on a machine with vx.
15913 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15915         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
15917 2016-03-31  Florian Weimer  <fweimer@redhat.com>
15919         [BZ #19509]
15920         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
15921         skip_map != NULL.
15922         * elf/tst-dlsym-error.c: New file.
15923         * elf/Makefile (tests): Add tst-dlsym-error.
15924         (tst-dlsym-error): Link against libdl.
15926 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
15928         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15929         (__ASSUME_FUTIMESAT): Remove macro.
15930         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
15932 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15934         [BZ #19879]
15935         CVE-2016-3075
15936         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
15937         copy name.
15939 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15941         [BZ #19837]
15942         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
15943         error if parse_line fails.
15945 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15947         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
15948         (index_cpu_ERMS): Likewise.
15949         (reg_ERMS): Likewise.
15951 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
15953         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
15954         PER_LINUX_FDPIC): Add.
15956 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15958         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15959         memcpy-avx512-no-vzeroupper.
15960         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
15961         to ...
15962         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
15963         (MEMCPY): Don't define.
15964         (MEMCPY_CHK): Likewise.
15965         (MEMPCPY): Likewise.
15966         (MEMPCPY_CHK): Likewise.
15967         (MEMPCPY_CHK): Renamed to ...
15968         (__mempcpy_chk_avx512_no_vzeroupper): This.
15969         (MEMPCPY_CHK): Renamed to ...
15970         (__mempcpy_chk_avx512_no_vzeroupper): This.
15971         (MEMCPY_CHK): Renamed to ...
15972         (__memmove_chk_avx512_no_vzeroupper): This.
15973         (MEMCPY): Renamed to ...
15974         (__memmove_avx512_no_vzeroupper): This.
15975         (__memcpy_avx512_no_vzeroupper): New alias.
15976         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
15978 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15980         [BZ #18858]
15981         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15982         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
15983         and mempcpy-avx512-no-vzeroupper.
15984         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
15985         New.
15986         (MEMPCPY): Likewise.
15987         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
15988         (MEMPCPY_CHK): New.
15989         (MEMPCPY): Likewise.
15990         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
15991         (MEMPCPY): Likewise.
15992         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
15993         (MEMPCPY): Likewise.
15994         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
15995         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
15996         Likewise.
15997         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
15998         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
16000 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16001              Amit Pawar  <Amit.Pawar@amd.com>
16003         [BZ #19583]
16004         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16005         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
16006         processors.  Set Fast_Copy_Backward for AMD Excavator
16007         processors.
16008         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
16009         New.
16010         (index_arch_Fast_Unaligned_Copy): Likewise.
16011         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
16012         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
16014 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16016         [BZ #19791]
16017         * resolv/res_send.c (close_and_return_error): New function.
16018         (send_dg): Initialize *resplen2 after reopen failure.  Call
16019         close_and_return_error for error returns.  On error paths without
16020         __res_iclose, initialze *resplen2 explicitly.  Update comment for
16021         successful return.
16023 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16025         [BZ# 19860]
16026         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
16027         zero if the compiler does not provide the AVX512F bit.
16029 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
16031         [BZ #19848]
16032         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
16033         from 8 to 4.
16034         (__ieee754_powl): Compare integer exponent against 4 not 8.
16035         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
16036         from 8 to 4.
16037         (__ieee754_powl): Compare integer exponent against 4 not 8.
16038         * math/auto-libm-test-in: Add more tests of pow.
16039         * math/auto-libm-test-out: Regenerated.
16040         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16043 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16045         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
16046         Make code unconditional.
16047         [!__NR_utimensat]: Remove conditional code.
16048         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
16049         Make code unconditional.
16050         [!__NR_utimensat]: Remove conditional code.
16051         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
16052         Make code unconditional.
16053         [!__NR_utimensat]: Remove conditional code.
16055 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16057         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
16058         Make code unconditional.
16060 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
16062         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
16063         call-clobbered %eax on retry path.
16064         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16066 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16068         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
16069         Don't set %rcx twice before "rep movsb".
16071 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16073         [BZ #19583]
16074         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
16075         inline.  Check family before setting family, model and
16076         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
16077         bits here.
16078         (init_cpu_features): Replace HAS_CPU_FEATURE and
16079         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
16080         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
16081         for Intel processors with usable AVX2.  Call get_common_indeces
16082         for other processors with family == NULL.
16083         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
16084         (CPU_FEATURES_ARCH_P): Likewise.
16085         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
16086         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
16088 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16090         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
16091         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
16092         $(shared-thread-library) instead of hardcoding the path to libpthread.
16094 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
16096         * sysdeps/unix/sysv/linux/kernel-features.h
16097         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
16098         * sysdeps/unix/sysv/linux/getdents.c
16099         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
16100         [!have_no_getdents64_defined]: Likewise.
16101         (__GETDENTS): Remove __have_no_getdents64 conditional.
16103 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
16105         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
16106         Remove macro.
16107         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
16108         <kernel-features.h>.
16109         (signalfd) [__NR_signalfd4]: Make code unconditional.
16110         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
16112 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16114         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
16115         style.
16117 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16119         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
16120         (__pthread_enable_asynccancel): Use JUMPTARGET to call
16121         __pthread_unwind.
16122         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16123         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
16124         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16125         (__condvar_cleanup1): Likewise.
16127 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
16129         [BZ #19822]
16130         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
16131         move it to the final $@ location.
16133 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16135         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
16136         access where posix_spawn success and pid argument is null.
16137         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
16138         success case.
16140 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
16142         * sysdeps/mach/hurd/i386/c++-types.data: New file.
16144         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
16146         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
16147         and __fcntl.
16148         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
16149         __fcntl only.
16150         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
16151         adding attribute_hidden to __open and __fcntl.
16153         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
16154         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
16155         depend on libc-modules.h,
16156         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
16158 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
16160         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
16161         Remove macro.
16162         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
16163         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
16164         entry.
16166         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
16167         Remove macro.
16168         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
16169         include <kernel-features.h>.
16170         [!__ASSUME_FALLOCATE]: Remove conditional code.
16171         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
16173 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16175         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
16176         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
16177         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
16178         (_ZGVdN4v_cos_avx2): Likewise.
16179         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
16180         (_ZGVdN4v_cos): Likewise.
16181         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
16182         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
16183         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
16184         (_ZGVdN4v_exp_avx2): Likewise.
16185         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
16186         (_ZGVdN4v_exp): Likewise.
16187         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
16188         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
16189         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
16190         (_ZGVdN4v_log_avx2): Likewise.
16191         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
16192         (_ZGVdN4v_log): Likewise.
16193         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
16194         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
16195         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
16196         (_ZGVdN4vv_pow_avx2): Likewise.
16197         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
16198         (_ZGVdN4vv_pow): Likewise.
16199         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
16200         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
16201         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
16202         (_ZGVdN4v_sin_avx2): Likewise.
16203         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
16204         (_ZGVdN4v_sin): Likewise.
16205         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
16206         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
16207         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
16208         (_ZGVdN4vvv_sincos_avx2): Likewise.
16209         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
16210         (_ZGVdN4vvv_sincos): Likewise.
16211         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
16212         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
16213         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
16214         (_ZGVbN4v_cosf_sse4): Likewise.
16215         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
16216         (_ZGVdN8v_cosf_avx2): Likewise.
16217         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
16218         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
16219         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
16220         (_ZGVbN4v_expf_sse4): Likewise.
16221         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
16222         (_ZGVdN8v_expf_avx2): Likewise.
16223         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
16224         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
16225         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
16226         (_ZGVbN4v_logf_sse4): Likewise.
16227         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
16228         (_ZGVdN8v_logf_avx2): Likewise.
16229         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
16230         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
16231         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
16232         (_ZGVbN4vv_powf_sse4): Likewise.
16233         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
16234         (_ZGVdN8vv_powf_avx2): Likewise.
16235         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16236         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
16237         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16238         (_ZGVbN4vvv_sincosf_sse4): Likewise.
16239         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16240         (_ZGVdN8vvv_sincosf_avx2): Likewise.
16241         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
16242         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
16243         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
16244         (_ZGVbN4v_sinf_sse4): Likewise.
16245         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
16246         (_ZGVdN8v_sinf_avx2): Likewise.
16247         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16248         Use JUMPTARGET to call callee.
16249         (WRAPPER_IMPL_SSE2_ff): Likewise.
16250         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16251         (WRAPPER_IMPL_AVX): Likewise.
16252         (WRAPPER_IMPL_AVX_ff): Likewise.
16253         (WRAPPER_IMPL_AVX_fFF): Likewise.
16254         (WRAPPER_IMPL_AVX512): Likewise.
16255         (WRAPPER_IMPL_AVX512_ff): Likewise.
16256         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16257         Likewise.
16258         (WRAPPER_IMPL_SSE2_ff): Likewise.
16259         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16260         (WRAPPER_IMPL_AVX): Likewise.
16261         (WRAPPER_IMPL_AVX_ff): Likewise.
16262         (WRAPPER_IMPL_AVX_fFF): Likewise.
16263         (WRAPPER_IMPL_AVX512): Likewise.
16264         (WRAPPER_IMPL_AVX512_ff): Likewise.
16265         (WRAPPER_IMPL_AVX512_fFF): Likewise.
16267 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16269         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
16270         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
16271         qualifier.
16272         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
16273         internal_function qualifiers.
16275 2016-03-15  Carlos O'Donell <carlos@redhat.com>
16277         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
16278         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
16279         * math/atest-exp.c (exp_mpn): Mark chk unused.
16280         * math/atest-exp2.c (exp_mpn): Likewise.
16281         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
16282         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
16284 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
16286         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
16287         Remove macro.
16288         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
16289         <kernel-features.h>.
16290         [__NR_ppoll]: Make code unconditional.
16291         [!__ASSUME_PPOLL]: Remove conditional code.
16293         * sysdeps/unix/sysv/linux/kernel-features.h
16294         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
16295         (__ASSUME_ACCEPT4): Likewise.
16296         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16297         Define.
16298         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
16299         Likewise.
16300         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16301         Likewise.
16302         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
16303         Likewise.
16304         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
16305         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
16306         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16307         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16308         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16309         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16310         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16311         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16312         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16313         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16314         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16315         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16316         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16317         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16318         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16319         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16320         Likewise.
16321         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16322         Likewise.
16323         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16324         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16325         0x040300].
16326         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16327         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16328         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16329         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16330         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16331         0x030300].
16332         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
16333         * sysdeps/unix/sysv/linux/m68k/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/microblaze/kernel-features.h
16340         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16341         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16342         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16343         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16344         0x030300].
16345         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16346         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16347         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16348         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16349         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16350         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16351         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16352         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16353         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16354         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16355         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16356         0x040300].
16357         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16358         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16359         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16360         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16361         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16362         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16363         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16364         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16365         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16366         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16367         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16368         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16369         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16370         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16371         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
16372         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16373         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16374         Likewise.
16375         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16376         Likewise.
16378 2016-03-15  Andreas Schwab  <schwab@suse.de>
16380         [BZ #19257]
16381         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
16382         statp->_u._ext.nscount as loop count.
16384 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16386         * math/test-signgam-finite-c99.c: Also #undef
16387         __LIBC_INTERNAL_MATH_INLINES.
16388         * math/test-signgam-main.c: Likewise.
16390 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
16392         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
16393         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16394         (MADV_FREE): Likewise.
16395         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
16396         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
16397         EPOLLEXCLUSIVE.
16399 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
16401         * timezone/README: Remove mention of checktab.awk. Mention wiki
16402         SharedSourceFiles.
16404 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
16406         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
16407         WUNTRACED.
16409 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16411         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
16412         order to match the type of p when calling atomic_exchange_acq().
16414 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16416         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
16417         cfi_offset calls.
16418         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
16419         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
16420         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
16421         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
16422         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
16424 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
16426         * timezone/checktab.awk: Removed.
16428 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
16430         * manual/math.texi (Errors in Math Functions): Document relaxed
16431         accuracy goals for IBM long double.
16432         * math/libm-test.inc (test_exceptions): Always allow spurious
16433         "underflow" and "inexact" exceptions for IBM long double.
16435 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
16437         [BZ #19762]
16438         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16439         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
16440         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
16441         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
16442         (bit_arch_*): This for feature array.
16443         (bit_*): Renamed to ...
16444         (bit_cpu_*): This for cpu array.
16445         (index_*): Renamed to ...
16446         (index_arch_*): This for feature array.
16447         (index_*): Renamed to ...
16448         (index_cpu_*): This for cpu array.
16449         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
16450         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
16451         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
16452         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
16453         bit_##name with index_cpu_##name and bit_cpu_##name.
16454         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
16455         bit_##name with index_arch_##name and bit_arch_##name.
16457 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
16459         [BZ #19792]
16460         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
16461         Terminate FDE before return label.
16463 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
16465         [BZ #19790]
16466         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
16467         (rintl): Define as macro.
16468         [USE_AS_NEARBYINTL] (__rintl): Likewise.
16469         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
16470         of fesetround.  Ensure results are evaluated before end of scope.
16471         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
16472         USE_AS_NEARBYINTL and include s_rintl.c.
16473         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
16474         Disable exception traps in new environment.
16475         (libc_feholdsetround_ppc_ctx): Likewise.
16477 2016-03-08  Roland McGrath  <roland@hack.frob.com>
16479         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
16480         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
16481         (tst_audit10_aux) [__AVX512F__]: ... here.
16483 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
16485         * include/sys/auxv.h: New file.
16487 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16489         [BZ #19759]
16490         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
16492 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16494         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
16495         operand modifier.
16496         (feclearexcept): Likewise.
16498 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16500         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
16501         to reflect the entire 32-bit HWCAP.
16502         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
16503         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
16505 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16507         [BZ #19783]
16508         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
16509         $(test-via-rtld-prefix).
16510         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
16512 2016-03-08  Florian Weimer  <fweimer@redhat.com>
16514         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
16515         union wait.  Report any non-zero exit status as error.
16517 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16519         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
16520         configured with --enable-hardcoded-path-in-tests.
16522 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
16524         [BZ #19677]
16525         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16526         (__ieee754_remainderl): Put zero low parts in canonical form.
16527         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
16528         file.  Based on
16529         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
16530         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
16531         with wrapper round test-fmodrem-ldbl-128ibm.c.
16532         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
16533         file.
16534         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
16535         Likewise.
16536         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16537         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
16539 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16541         [BZ #19610]
16542         * elf/ldconfig.c (opt_link): Update comment.
16543         (options): Update help string for option -X.
16544         (search_dir): Unlink stale symbolic link only if updating symbolic
16545         links.
16546         * elf/tst-ldconfig-X.sh: New file.
16547         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
16548         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
16550 2016-03-07  Andreas Schwab  <schwab@suse.de>
16552         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
16553         needed arguments.
16555 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
16557         [BZ #15333]
16558         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
16559         to lstat64.
16561 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16563         * libio/filedoalloc.c (isatty): Remove.
16564         (local_isatty): Add comment.  Call __isatty directly.
16565         (_IO_file_doallocate): Update comment.  Assume _LIBC.
16566         * libio/wfiledoalloc.c (isatty): Remove.
16567         (_IO_wfile_doallocate): Update comment.
16569 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16571         [BZ #19269]
16572         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
16573         tst-audit4-aux.o.
16574         (tst-audit10): Depend on tst-audit10-aux.o.
16575         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
16576         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
16577         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
16578         instead of inline AVX code.
16579         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
16580         instead of inline AVX512 code.
16581         * sysdeps/x86_64/tst-audit4-aux.c: New file
16582         * sysdeps/x86_64/tst-audit10-aux.c: New file
16584         [BZ #19648]
16585         * test-skeleton.c (main): Do not set RLIMIT_DATA.
16587 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16589         [BZ #14750]
16590         [BZ #10354]
16591         [BZ #18433]
16592         * include/sched.h (__clone): Add hidden prototype.
16593         (__clone2): Likewise.
16594         * include/unistd.h (__dup): Likewise.
16595         * posix/Makefile (tests): Add tst-spawn2.
16596         * posix/tst-spawn2.c: New file.
16597         * sysdeps/posix/dup.c (__dup): Add hidden definition.
16598         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
16599         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16600         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16601         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16602         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16603         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
16604         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16605         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
16606         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16607         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16609         Likewise.
16610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16611         Likewise.
16612         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16613         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16614         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16615         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16616         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16617         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16618         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16619         * sysdeps/unix/sysv/linux/nptl-signals.h
16620         (____nptl_is_internal_signal): New function.
16621         * sysdeps/unix/sysv/linux/spawni.c: New file.
16623         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
16624         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
16625         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
16626         * posix/tst-execvp2.c (do_test): Likewise.
16627         * posix/tst-execvp3.c (do_test): Likewise.
16628         * posix/tst-execvp4.c (do_test): Likewise.
16629         * posix/tst-execvpe1.c: New file.
16630         * posix/tst-execvpe2.c: Likewise.
16631         * posix/tst-execvpe3.c: Likewise.
16632         * posix/tst-execvpe4.c: Likewise.
16633         * posix/tst-execvpe5.c: Likewise.
16634         * posix/tst-execvpe6.c: Likewise.
16636         [BZ #19534]
16637         * posix/execl.c (execl): Remove dynamic memory allocation.
16638         * posix/execle.c (execle): Likewise.
16639         * posix/execlp.c (execlp): Likewise.
16641 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16643         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
16644         Replace .text with .text.avx512.
16645         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16646         Likewise.
16648 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
16650         * sysdeps/generic/libnsl.abilist: New file.
16651         * sysdeps/generic/libutil.abilist: New file.
16653 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16655         [BZ #19762]
16656         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
16657         HAS_ARCH_FEATURE with Fast_Rep_String.
16658         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
16659         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
16660         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
16661         Likewise.
16662         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
16663         Likewise.
16664         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
16665         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
16666         Likewise.
16667         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
16668         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
16669         Likewise.
16671 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16673         [BZ #19745]
16674         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16675         with *%rax in call.
16677 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16679         [BZ #19745]
16680         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
16681         with *__libc_start_main@GOTPCREL(%rip) in call.
16683 2016-03-04  Roland McGrath  <roland@hack.frob.com>
16685         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
16686         inside conditional for nonempty $(CXX).
16688         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
16689         nonempty.
16691         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
16692         to test for empty $(CXX) rather than $(CXX) of "no".
16694 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16696         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
16698 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
16699             H.J. Lu  <hongjiu.lu@intel.com>
16701         [BZ #18880]
16702         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
16703         instead of Slow_BSF, and also check for Fast_Copy_Backward to
16704         enable __memcpy_ssse3_back.
16706 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16708         [BZ #19758]
16709         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16710         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
16712 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16714         [BZ #19490]
16715         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
16716         (__fentry__): Likewise.
16718 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16720         * gmon/Makefile (noprof): Add $(sysdep_noprof).
16721         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
16723 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16725         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
16726         __mcount_internal directly.
16727         (C_LABEL(__fentry__)): Likewise.
16728         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
16729         directly.
16731 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16733         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16734         (__start_context): Call __setcontext directly.
16736 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
16738         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16739         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16740         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
16741         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16742         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16743         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16744         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
16745         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16746         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16747         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
16748         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16749         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16750         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16751         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16752         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16753         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16754         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
16755         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16756         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16757         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16758         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
16759         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16760         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16761         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16762         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
16763         Remove conditional code.
16764         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16765         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
16766         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16767         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16768         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
16769         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16770         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16771         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16772         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16773         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16774         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16775         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16777 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
16779         * NEWS (2.23): Fix typo in bug 19048 text.
16781 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
16783         [BZ #14259]
16784         * Makeconfig: Rename msgcatdir to localedir.
16785         Rename inst_msgcatdir to inst_localedir.
16786         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
16787         * config.make.in: Add localedir.
16788         * elf/Makefile ($(objpfx)sotruss): Use localedir.
16789         (ldd-rewrite): Likewise.
16790         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
16791         (install-others): Use inst_localedir.
16792         (CPPFLAGS): Use localedir.
16793         * locale/Makefile (locale-CPPFLAGS): Likewise.
16794         * po/Makefile (mo-installed): Use inst_localedir.
16796         [BZ #19575]
16797         * localedata/charmaps/GB18030: Update comments regarding PAU to
16798         non-PUA mappings.
16800 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
16802         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
16803         test for header.
16804         * sysdeps/unix/sysv/linux/configure: Regenerated.
16805         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
16806         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
16807         Remove conditional code.
16808         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
16810         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16811         Define to 3.2.0.
16812         (arch_minimum_kernel): Likewise.
16813         * sysdeps/unix/sysv/linux/configure: Regenerated.
16814         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
16815         Define to 2.6.32.
16816         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
16817         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
16818         (arch_minimum_kernel): Define to 2.6.32.
16819         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
16820         * README: Document Linux 3.2 requirement.
16821         * manual/install.texi (Linux): Document Linux 3.2 headers
16822         requirement.
16823         * INSTALL: Regenerated.
16825 2016-02-24  Andreas Schwab  <schwab@suse.de>
16827         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
16828         if !NO_LONG_DOUBLE.
16830 2016-02-22  Roland McGrath  <roland@hack.frob.com>
16832         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
16833         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
16835 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
16837         [BZ #19512]
16838         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
16840 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16842         * posix/tst-dir.c: Include libc-internal.h.
16844 2016-02-20  Florian Weimer  <fweimer@redhat.com>
16846         [BZ #19056]
16847         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
16848         * manual/filesys.texi (Reading/Closing Directory): Mention
16849         deprecaion.
16850         * posix/tst-dir.c (main): Disable deprecation warning in test.
16852 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
16854         [BZ #19679]
16855         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
16856         Renamed to ...
16857         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
16858         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16859         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
16860         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16861         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16862         * sysdeps/x86_64/dl-trampoline.h
16863         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16864         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16866 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16868         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
16870 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16872         * elf/elf.h (R_386_GOT32X): New.
16873         (R_386_NUM): Update.
16874         (R_X86_64_GOTPCRELX: New.
16875         (R_X86_64_REX_GOTPCRELX): New.
16876         (R_X86_64_NUM): Update.
16878 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
16880         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
16882 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
16884         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
16885         assign attr->stackaddr to it, and adjust it down when
16886         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
16887         [_STACK_GROWS_UP]: Delete assert.
16888         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
16889         Implement stack grows up logic.
16890         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
16891         stack grows up logic.
16893 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16895         * NEWS: Update with 2.24 template.
16897 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16899         [BZ #19678]
16900         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16901         Ensure +0.0 is returned when taking the next value below the least
16902         positive value.
16904 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16906         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
16907         available.  Do not define NO_THREADS.
16908         * malloc/malloc.c: Do not check NO_THREADS.
16909         * malloc/arena.c: Likewise.
16911 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16913         * malloc/malloc.c (__libc_mallinfo): Update comment.
16914         (struct malloc_par): Remove max_total_mem member, it was always 0.
16915         (int_mallinfo): Store 0 into usmblks (no functional change).
16916         * malloc/hooks.c (struct malloc_state): Document that
16917         max_total_mem is always 0.
16918         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
16919         always 0.
16920         * manual/memory.texi (Statistics of Malloc): Likewise.
16922 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16924         * malloc/malloc.c (sysmalloc): Do not update arena_max.
16925         * malloc/arena.c (arena_max): Remove.
16926         (heap_trim, _int_new_arena): Do not update arena_max.
16928 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16930         * resolv/res_init.c (res_ninit): Update comment.
16932 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16934         [BZ #19505]
16935         * posix/spawn_int.h: Add headers and include guard.
16936         (__spawn_valid_fd): New function.
16937         * posix/spawn_faction_addopen.c
16938         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
16939         * posix/spawn_faction_addclose.c
16940         (posix_spawn_file_actions_addclose): Likewise.
16941         * posix/spawn_faction_adddup2.c
16942         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
16943         second file descriptor.
16944         * posix/spawn_valid_fd.c: New file.
16945         * posix/tst-posix_spawn-fd.c: New file.
16946         * posix/Makefile (routines): Add spawn_valid_fd.
16947         (tests): Add tst-posix_spawn-fd.
16949 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16951         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
16952         (do_test): Limit the number of arenas, so that we can use fewer
16953         outer threads.  Limit timeout to 3 seconds, in preparation for a
16954         larger TIMEOUT value.
16956 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16958         [BZ #19674]
16959         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
16960         sign in overflowing and underflowing results when overflow or
16961         underflow is detected early.  Include sign in result before rather
16962         than after scaling.
16964         [BZ #19603]
16965         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16966         (__ieee754_remainderl): Adjust sign of integer version of low part
16967         when taking absolute value of high part.
16968         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16969         * math/libm-test.inc (remainder_test_data): Add another test.
16970         (remquo_test_data): Likewise.
16972 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
16974         [BZ #19602]
16975         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
16976         equal high parts and both low parts zero specially.
16977         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
16978         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
16979         Add test-fmodl-ldbl-128ibm.
16981         [BZ #19595]
16982         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
16983         common logic for all cases of shifting subnormal results.  Do not
16984         insert sign bit in shifted mantissa.  Always pass -1023 as biased
16985         exponent to ldbl_insert_mantissa in subnormal case.
16987         [BZ #19594]
16988         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
16989         on high and low parts then adjust result and use
16990         ldbl_canonicalize_int if needed.
16992         [BZ #19593]
16993         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
16994         on high part and __floor or __ceil on low part then use
16995         ldbl_canonicalize_int if needed.
16997         [BZ #19592]
16998         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
16999         high and low parts then use ldbl_canonicalize_int if needed.
17001         [BZ #17899]
17002         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
17003         New function.
17004         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
17005         on high and low parts then use ldbl_canonicalize_int if needed.
17007 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17009         * configure: Regenerated.
17011         * po/libc.pot: Regenerated.
17013         * po/be.po: Updated translation.
17014         * po/bg.po: Likewise.
17015         * po/ca.po: Likewise.
17016         * po/cs.po: Likewise.
17017         * po/da.po: Likewise.
17018         * po/el.po: Likewise.
17019         * po/eo.po: Likewise.
17020         * po/es.po: Likewise.
17021         * po/fi.po: Likewise.
17022         * po/fr.po: Likewise.
17023         * po/gl.po: Likewise.
17024         * po/hr.po: Likewise.
17025         * po/hu.po: Likewise.
17026         * po/ia.po: Likewise.
17027         * po/id.po: Likewise.
17028         * po/it.po: Likewise.
17029         * po/ja.po: Likewise.
17030         * po/lt.po: Likewise.
17031         * po/nb.po: Likewise.
17032         * po/nl.po: Likewise.
17033         * po/pt_BR.po: Likewise.
17034         * po/rw.po: Likewise.
17035         * po/sk.po: Likewise.
17036         * po/sl.po: Likewise.
17037         * po/sv.po: Likewise.
17038         * po/tr.po: Likewise.
17039         * po/zh_CN.po: Likewise.
17040         * po/zh_TW.po: Likewise.
17042         * version.h (RELEAES): Set to "development".
17043         (VERSION): Set to 2.23.90.
17045         * version.h (RELEASE): Set to "stable".
17046         (VERSION): Set to 2.23.
17047         * include/feature.h (__GLIBC_MINOR__): Set to 23.
17049         * NEWS: Updated fixed bugs.
17051 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
17052             Wilco Dijkstra  <wdijkstr@arm.com>
17054         [BZ #19462]
17055         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
17056         (_STRING_INLINE_unaligned): This.
17057         * include/string.h: Include <string_private.h>.
17058         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
17059         _STRING_INLINE_unaligned.
17060         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
17061         (_STRING_INLINE_unaligned): New.
17062         * sysdeps/aarch64/string_private.h: New file.
17063         * sysdeps/generic/string_private.h: Likewise.
17064         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
17065         * sysdeps/s390/string_private.h: Likewise.
17066         * sysdeps/x86/string_private.h: Likewise.
17067         * sysdeps/m68k/m680x0/m68020/bits/string.h
17068         (_STRING_ARCH_unaligned): Renamed to ...
17069         (_STRING_INLINE_unaligned): This.
17070         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
17071         to ...
17072         (_STRING_INLINE_unaligned): This.
17073         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
17074         to ...
17075         (_STRING_INLINE_unaligned): This.
17076         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
17077         to ...
17078         (_STRING_INLINE_unaligned): This.
17080 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17081             H.J. Lu  <hongjiu.lu@intel.com>
17083         [BZ #19590]
17084         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
17085         relocation.
17087 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
17089         [BZ #18665]
17090         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
17091         *herrno_p.
17092         (gaih_getanswer): Document functional behviour. Return tryagain
17093         if any result is tryagain.
17094         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
17095         when freed.
17096         * resolv/res_send.c: Add copyright text.
17097         (__libc_res_nsend): Document that MAXPACKET is expected.
17098         (send_vc): Document. Remove buffer reuse.
17099         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
17100         size of the buffer. Add Dprint for truncated UDP buffer.
17102 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
17104         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
17105         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
17106         * INSTALL: Regenerate.
17108 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
17109             Jonathan Wakely  <jwakely@redhat.com>
17110             Carlos O'Donell  <carlos@redhat.com>
17112         [BZ 19439]
17113         * math/Makefile (tests): Add test-math-isinff.
17114         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
17115         * math/bits/mathcalls.h [__USE_MISC]: Use
17116         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
17117         functions not in C++11 and which don't conflict e.g. isinff,
17118         isinfl etc.
17119         * math/test-math-isinff.cc: New file.
17121 2016-02-12  Florian Weimer  <fweimer@redhat.com>
17123         * misc/bug18240.c (do_test): Set RLIMIT_AS.
17125 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17127         [BZ #19529]
17128         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
17130 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17132         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17134 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
17136         [BZ #19550]
17137         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
17138         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
17139         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
17140         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
17141         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
17142         New syscall entry.
17143         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
17144         New syscall entry.
17145         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
17146         syscall entry.
17148 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
17150         [BZ #18240]
17151         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
17152         unsigned int wraparound.
17154 2016-01-27  Florian Weimer  <fweimer@redhat.com>
17156         [BZ #18240]
17157         * misc/bug18240.c: New test.
17158         * misc/Makefile (tests): Add it.
17160 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
17161             Joseph Myers  <joseph@codesourcery.com>
17163         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
17164         load in branch delay slot when less than a word of input left.
17166 2016-01-27  Andreas Schwab  <schwab@suse.de>
17168         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
17169         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
17170         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
17171         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
17173 2016-01-26  David S. Miller  <davem@davemloft.net>
17175         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
17177 2016-01-25  David S. Miller  <davem@davemloft.net>
17179         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
17180         __sqrtl_finite.
17181         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
17182         instead using versioned_symbol.
17183         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
17184         of entries.
17186         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
17187         __sqrtl_finite to GLIBC_2.23
17189 2016-01-25  Ricchard Henderson  <rth@redhat.com>
17191         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17193 2016-01-25  Andreas Schwab  <schwab@suse.de>
17195         [BZ #17514]
17196         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
17197         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
17198         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
17199         * nptl/tst-mutex-errorcheck.c: New file.
17201 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17203         [BZ #18560]
17204         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
17205         (IPCOP_semop): Likewise.
17206         (IPCOP_semget): Likewise.
17207         (IPCOP_semctl): Likewise.
17208         (IPCOP_msgsnd): Likewise.
17209         (IPCOP_msgrcv): Likewise.
17210         (IPCOP_msgget): Likewise.
17211         (IPCOP_msgctl): Likewise.
17212         (IPCOP_shmat): Likewise.
17213         (IPCOP_shmdt): Likewise.
17214         (IPCOP_shmget): Likewise.
17215         (IPCOP_shmctl): Likewise.
17217 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17219         * string/tst-endian.c: Include <libc-internal.h>.
17220         (do_test): Ignore tautological-compare warnings around
17221         "htobeXX (beXXtoh (i)) != i" and
17222         "htoleXX (leXXtoh (i)) != i" if-statements.
17224 2016-01-24  David S. Miller  <davem@davemloft.net>
17226         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
17227         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
17228         alias.
17229         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
17230         __sqrtl_finite.
17232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17234 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
17236         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
17237         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
17238         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17240 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17242         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
17243         (thread_func): Use new function to simplify barrier check.
17244         (do_test): Use new function to simplify checking barrier exit
17245         code, and actually join the child thread.
17247 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17249         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
17250         semicolon.
17251         (__libc_tend): Likewise.
17252         (__libc_tabort): Likewise.
17254 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
17256         * sysdeps/nios2/libm-test-ulps: Update.
17257         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
17258         (__gtsf2): Likewise.
17259         (__unorddf2): Likewise.
17260         (__unordsf2): Likewise.
17261         (__ledf2): Likewise.
17263 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
17265         * nis/nis_table.c (__follow_path): Disable diagnostic for
17266         uninitialized variable that is a false positive for gcc 4.7.
17267         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
17269 2016-01-20  Roland McGrath  <roland@hack.frob.com>
17271         * sysdeps/nacl/lowlevellock-futex.h
17272         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
17273         Always evaluate PRIVATE argument.
17275 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
17277         [BZ #19490]
17278         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
17279         (pthread_cond_broadcast): Use ENTRY/END
17280         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
17281         (pthread_cond_signal): Likewise.
17282         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
17283         Likewise.
17284         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
17285         Likewise.
17286         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
17287         Likewise.
17289 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
17291         * sysdeps/ieee754/dbl-64/s_finite.c
17292         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
17293         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
17294         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
17295         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
17296         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
17298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
17299         (__gtsf2): Add as optional for libc.so.
17300         (__unordsf2): Likewise.
17301         (__signbit): Remove for libc.so.
17302         (__signbitl): Likewise.
17304 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17306         * iconvdata/bug-iconv11.c (test_ibm93x):
17307         Use %zu printf format specifier for size_t argument.
17309 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
17311         * math/gen-libm-test.pl (parse_ulps): Do not reduce
17312         already-recorded ulps.
17313         * sysdeps/arm/libm-test-ulps: Regenerated.
17314         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17315         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17316         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17318 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17319             Paul Pluzhnikov  <ppluzhnikov@google.com>
17321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
17322         assembler not supporting AVX-512.
17324 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
17326         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17328 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
17330         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17331         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17333         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17335         * sysdeps/arm/libm-test-ulps: Regenerated.
17337 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17339         [BZ #19451]
17340         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
17342 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17344         [BZ #19486]
17345         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
17346         * sysdeps/generic/fix-fp-int-convert-overflow.h
17347         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
17348         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
17349         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
17350         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
17351         Likewise.
17352         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
17353         Avoid conversions to long int where inexact exceptions
17354         could be raised.
17355         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
17356         Likewise.
17357         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
17358         Avoid conversions to long long int where inexact exceptions
17359         could be raised.
17360         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
17361         Likewise.
17363 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
17365         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
17366         * configure: Regenerated.
17368 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17370         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
17372 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
17374         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
17375         outside of comment.
17377 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17379         * nptl/tst-barrier1.c: Add description on first line.
17380         * nptl/tst-barrier2.c: Likewise.
17381         * nptl/tst-barrier3.c: Likewise.
17382         * nptl/tst-barrier4.c: Likewise.
17383         * nptl/tst-barrier5.c: Likewise.
17385 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17387         [BZ #18868]
17388         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
17390 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17392         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
17393         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17394         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
17395         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
17396         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
17397         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
17398         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17399         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17400         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17401         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17402         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17404 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17406         [BZ #13065]
17407         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
17408         new implementation.
17409         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
17410         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
17411         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
17412         (BARRIER_IN_THRESHOLD): New macro.
17413         * nptl/pthread_barrierattr_setpshared.c
17414         (pthread_barrierattr_setpshared): Clean up.
17415         * nptl/tst-barrier4.c: Correct comment.
17416         * nptl/tst-barrier5.c: New file.
17417         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
17418         (gen-as-const-headers): Remove lowlevelbarrier.sym.
17419         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
17420         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
17421         * nptl/lowlevelbarrier.sym: Remove.
17422         * nptl/DESIGN-barrier.txt: Remove.
17423         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
17424         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
17425         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
17426         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
17427         error.
17428         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
17429         implementation.
17431 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17433         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
17434         (do_child): Mask SIGRTMIN while thr is running.
17436 2016-01-15  Martin Sebor  <msebor@redhat.com>
17438         [BZ #19432]
17439         * iconvdata/Makefile: Add bug-iconv11.
17440         * iconvdata/bug-iconv11.c: New test.
17441         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
17442         * iconvdata/ibm933.c: Same.
17443         * iconvdata/ibm935.c: Same.
17444         * iconvdata/ibm937.c: Same.
17445         * iconvdata/ibm939.c: Same.
17447 2016-01-15  Martin Sebor  <msebor@redhat.com>
17449         [BZ #19443]
17450         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
17451         [DEBUG] (_ufc_set_bits): Declare used.
17452         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
17453         [DEBUG] (print_all): Declare used.
17454         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
17455         operands of the ternary ?: expression to target type.
17456         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
17457         calling the undeclared abort.
17458         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
17460 2016-01-15  Martin Sebor  <msebor@redhat.com>
17462         [BZ #18755]
17463         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
17464         warnings.
17465         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
17466         (__gai_create_helper_thread): Same.
17467         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
17468         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
17469         to suppress -Wmaybe-uninitialized warnings.
17471 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
17473         [BZ #19465]
17474         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
17475         inside if.
17476         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17477         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17478         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17480 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
17482         [BZ #19466]
17483         * time/tst-mktime2.c (time_t_max): Removed.
17484         (time_t_min): Likewise.
17485         (TYPE_SIGNED): New.
17486         (TYPE_MINIMUM): Likewise.
17487         (TYPE_MAXIMUM): Likewise.
17488         (TIME_T_MIN): Likewise.
17489         (TIME_T_MAX): Likewise.
17490         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
17491         and TIME_T_MIN.
17492         (do_test): Likewise.
17494 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
17496         [BZ #19467]
17497         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17498         index_Fast_Unaligned_Load flag for Excavator family CPUs.
17500 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
17502         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
17504 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
17506         * benchtests/Makefile (PYTHON): Define.
17507         (bench-func): Use $(PYTHON) to run python scripts.
17508         ($(objpfx)bench-%.c): Likewise.
17510 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
17512         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
17513         leading slash when `file_name' is "/".
17515 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
17517         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
17518         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
17519         Likewise.
17520         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
17521         Likewise.
17522         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
17523         Likewise.
17524         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
17525         enum constant and macro.
17526         (PTRACE_SETSIGMASK): Likewise.
17527         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17528         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17529         (PTRACE_GETSIGMASK): Likewise.
17530         (PTRACE_SETSIGMASK): Likewise.
17531         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17532         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
17533         Likewise.
17534         (PTRACE_SETSIGMASK): Likewise.
17535         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17536         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17537         (PTRACE_GETSIGMASK): Likewise.
17538         (PTRACE_SETSIGMASK): Likewise.
17539         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17540         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
17541         Likewise.
17542         (PTRACE_SETSIGMASK): Likewise.
17543         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17544         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
17545         Likewise.
17546         (PTRACE_SETSIGMASK): Likewise.
17547         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17548         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
17549         Likewise.
17550         (PTRACE_SETSIGMASK): Likewise.
17551         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17553 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
17554             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17556         [BZ #19439]
17557         * math/bits/mathcalls.h
17558         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
17559         prototype.
17560         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
17562 2016-01-11  Andreas Schwab  <schwab@suse.de>
17564         [BZ #19253]
17565         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
17566         cache when TZDEFRULES was used.
17567         * time/tst-tzname.c: New file.
17568         * time/Makefile (test): Add tst-tzname.
17569         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
17570         * timezone/Makefile (test-zones): Add $(posixrules-file).
17571         ($(testdata)/$(posixrules-file)): New rule.
17573 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
17575         Fix doc quoting problems with Texinfo 5
17576         Without this change, in the info file output, Texinfo 5 quotes code
17577         in text with undirected single quotes 'like this' and generates
17578         code examples that with many PDF readers cannot be cut out of PDFs
17579         and pasted into code.
17580         * manual/libc.texinfo: Configure the libc manual like the GNU
17581         Emacs manual, by using @documentencoding and setting
17582         txicodequoteundirected and txicodequotebacktick.  This way,
17583         Texinfo 5 quotes code in text with directed single quotes ‘like
17584         this’ and produces examples that can be cut out of PDFs.  This
17585         change causes Texinfo 5 to generate info files that contain UTF-8
17586         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
17587         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
17589 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17591         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
17592         __libc_tabort, __libc_tend): New wrappers that enforce compiler
17593         barriers to their respective compiler built-ins.
17594         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
17595         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
17596         * sysdeps/powerpc/sysdep.h: Likewise.
17597         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
17598         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
17599         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
17601 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
17603         * scripts/config.guess: Revert previous shebang change.
17604         * scripts/config.sub: Likewise.
17605         * scripts/mkinstalldirs: Likewise.
17607 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17609         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
17610         PPC_FEATURE2_HAS_IEEE128.
17611         * sysdeps/powerpc/dl-procinfo.c:
17612         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
17614 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
17616         [BZ #19415]
17617         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
17618         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
17619         (_dl_lookup_address): Rewrite using function resolver trampoline.
17620         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
17621         two bits in address.
17623 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17625         * longlong.h: Change !__SHMEDIA__ to
17626         (!defined (__SHMEDIA__) || !__SHMEDIA__).
17627         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
17629 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
17630             Joseph Myers  <joseph@codesourcery.com>
17631             Mark Shinwell  <shinwell@codesourcery.com>
17632             Andrew Stubbs  <ams@codesourcery.com>
17633             Rich Felker <dalias@libc.org>
17635         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
17637 2016-01-07  Richard Henderson  <rth@redhat.com>
17639         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
17641 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17643         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
17644         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
17645         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17646         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17647         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
17649 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
17650             Joseph Myers  <joseph@codesourcery.com>
17652         * timezone/private.h: Update from tzcode 2015g.
17653         * timezone/tzfile.h: Likewise.
17654         * timezone/tzselect.ksh: Likewise.
17655         * timezone/zdump.c: Likewise.
17656         * timezone/zic.c: Likewise.
17657         * timezone/ialloc.c: Remove file.
17658         * timezone/scheck.c: Likewise.
17659         * timezone/Makefile (extra-objs): Remove variable.
17660         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
17661         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
17662         -Wno-maybe-uninitialized.
17663         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
17664         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
17665         (CFLAGS-ialloc.c): Remove variable.
17666         (CFLAGS-scheck.c): Likewise.
17667         * timezone/README: Update list of files from tzcode.
17669 2016-01-07  Khem Raj  <raj.khem@gmail.com>
17671         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
17672         instead of __fxprintf when _LIBC is undefined.
17674 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
17676         * catgets/test-gencat.sh: Remove space after shebang.
17677         * conform/GlibcConform.pm: Likewise.
17678         * conform/check-header-lists.sh: Likewise.
17679         * conform/conformtest.pl: Likewise.
17680         * conform/linknamespace.pl: Likewise.
17681         * conform/list-header-symbols.pl: Likewise.
17682         * debug/catchsegv.sh: Likewise.
17683         * elf/genrtldtbl.awk: Likewise.
17684         * elf/tst-pathopt.sh: Likewise.
17685         * elf/tst-rtld-load-self.sh: Likewise.
17686         * grp/tst_fgetgrent.sh: Likewise.
17687         * iconvdata/gen-8bit-gap-1.sh: Likewise.
17688         * iconvdata/gen-8bit-gap.sh: Likewise.
17689         * iconvdata/gen-8bit.sh: Likewise.
17690         * iconvdata/run-iconv-test.sh: Likewise.
17691         * intl/tst-gettext.sh: Likewise.
17692         * intl/tst-gettext2.sh: Likewise.
17693         * intl/tst-gettext4.sh: Likewise.
17694         * intl/tst-gettext6.sh: Likewise.
17695         * intl/tst-translit.sh: Likewise.
17696         * io/ftwtest-sh: Likewise.
17697         * libio/test-freopen.sh: Likewise.
17698         * locale/gen-translit.pl: Likewise.
17699         * malloc/tst-mtrace.sh: Likewise.
17700         * manual/check-safety.sh: Likewise.
17701         * manual/libc-texinfo.sh: Likewise.
17702         * manual/tsort.awk: Likewise.
17703         * manual/xtract-typefun.awk: Likewise.
17704         * nptl/tst-cancel-wrappers.sh: Likewise.
17705         * nptl/tst-tls6.sh: Likewise.
17706         * posix/globtest.sh: Likewise.
17707         * posix/tst-getconf.sh: Likewise.
17708         * posix/wordexp-tst.sh: Likewise.
17709         * scripts/check-c++-types.sh: Likewise.
17710         * scripts/check-local-headers.sh: Likewise.
17711         * scripts/config.guess: Likewise.
17712         * scripts/config.sub: Likewise.
17713         * scripts/cpp: Likewise.
17714         * scripts/cross-test-ssh.sh: Likewise.
17715         * scripts/documented.sh: Likewise.
17716         * scripts/evaluate-test.sh: Likewise.
17717         * scripts/gen-libc-abis: Likewise.
17718         * scripts/gen-sorted.awk: Likewise.
17719         * scripts/list-fixed-bugs.py: Likewise.
17720         * scripts/merge-test-results.sh: Likewise.
17721         * scripts/mkinstalldirs: Likewise.
17722         * scripts/rellns-sh: Likewise.
17723         * scripts/test-installation.pl: Likewise.
17724         * scripts/update-copyrights: Likewise.
17725         * stdio-common/tst-printf.sh: Likewise.
17726         * stdio-common/tst-unbputc.sh: Likewise.
17727         * stdlib/tst-fmtmsg.sh: Likewise.
17728         * stdlib/tst-setcontext3.sh: Likewise.
17729         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
17730         * sysdeps/unix/make-syscalls.sh: Likewise.
17732 2016-01-06  John David Anglin  <dave.anglin@bell.net>
17734         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
17735         asm stw with atomic_exchange_rel.  Add explanatory comment.
17736         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17737         Likewise.
17739 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17741         [BZ #19122]
17742         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
17743         * sysdeps/generic/dl-unistd.h: New file.
17744         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
17746 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17748          [BZ #19122]
17749          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
17750          * sysdeps/generic/dl-mman.h: New file.
17751          * sysdeps/mach/hurd/dl-mman.h: Likewise.
17753 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
17755         * manual/texinfo.tex: Update to version 2016-01-04.21 with
17756         trailing whitespace removed.
17757         * scripts/config.guess: Update to version 2016-01-01.
17758         * scripts/config.sub: Update to version 2016-01-01.
17759         * scripts/move-if-change: Update from gnulib.
17761 2016-01-04  Anton Blanchard  <anton@samba.org>
17763         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
17764         for array indices.
17765         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
17767 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
17769         * NEWS: Update copyright dates.
17770         * catgets/gencat.c (print_version): Likewise.
17771         * csu/version.c (banner): Likewise.
17772         * debug/catchsegv.sh: Likewise.
17773         * debug/pcprofiledump.c (print_version): Likewise.
17774         * debug/xtrace.sh (do_version): Likewise.
17775         * elf/ldconfig.c (print_version): Likewise.
17776         * elf/ldd.bash.in: Likewise.
17777         * elf/pldd.c (print_version): Likewise.
17778         * elf/sotruss.sh: Likewise.
17779         * elf/sprof.c (print_version): Likewise.
17780         * iconv/iconv_prog.c (print_version): Likewise.
17781         * iconv/iconvconfig.c (print_version): Likewise.
17782         * locale/programs/locale.c (print_version): Likewise.
17783         * locale/programs/localedef.c (print_version): Likewise.
17784         * login/programs/pt_chown.c (print_version): Likewise.
17785         * malloc/memusage.sh (do_version): Likewise.
17786         * malloc/memusagestat.c (print_version): Likewise.
17787         * malloc/mtrace.pl: Likewise.
17788         * manual/libc.texinfo: Likewise.
17789         * nptl/version.c (banner): Likewise.
17790         * nscd/nscd.c (print_version): Likewise.
17791         * nss/getent.c (print_version): Likewise.
17792         * nss/makedb.c (print_version): Likewise.
17793         * posix/getconf.c (main): Likewise.
17794         * scripts/test-installation.pl: Likewise.
17795         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17797         * All files with FSF copyright notices: Update copyright dates
17798         using scripts/update-copyrights.
17799         * intl/plural.c: Regenerated.
17800         * locale/programs/charmap-kw.h: Likewise.
17801         * locale/programs/locfile-kw.h: Likewise.
17803 2016-01-02  Helge Deller  <deller@gmx.de>
17805         [BZ #19285]
17806         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
17807         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
17808         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
17809         (MADV_xxK_PAGES): Remove.
17811 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
17813         [BZ #15421]
17814         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
17815         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
17816         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
17817         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
17819 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
17821         [BZ #19408]
17822         * sysdeps/unix/sysv/linux/personality.c: New file.
17823         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
17824         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
17825         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
17826         (sysdep_routines): Add personality.
17827         (tests): Add tst-personality.
17828         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
17829         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
17830         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
17831         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
17832         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
17833         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
17834         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
17835         Likewise.
17836         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
17837         Likewise.
17838         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
17839         Likewise.
17840         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
17841         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
17842         Likewise.
17844 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
17846         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
17847         (PATH_ARM_SYSTYPE): Remove.
17848         (PATH_CPUINFO): Likewise.
17849         (IO_BASE_FOOTBRIDGE): Likewise.
17850         (IO_SHIFT_FOOTBRIDGE): Likewise.
17851         (struct platform): Likewise.
17852         (init_iosys): Remove compatibility code for 2.4 kernels.
17853         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
17855 2015-12-29  Florian Weimer  <fweimer@redhat.com>
17857         * malloc/tst-malloc-thread-fail.c: New file.
17858         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
17859         (tst-malloc-thread-fail): Link against libpthread.
17861 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
17863         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
17864         (get_parser): New function.
17865         (main): New function.
17867 2015-12-29  Rob Wu  <rob@robwu.nl>
17869         [BZ #19369]
17870         * resolv/res_init.c (__res_vinit): Reset defdname before use.
17872 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
17874         [BZ #19270]
17875         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17877 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
17879         [BZ #15421]
17880         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
17882 2015-12-23  Torvald Riegel  <triegel@redhat.com>
17884         [BZ #13690]
17885         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
17886         after releasing it.
17887         (__lll_robust_unlock): Likewise.
17888         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17889         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
17890         (lll_robust_unlock): Likewise.
17891         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
17892         Prevent warnings in callers.
17894 2015-12-23  Florian Weimer  <fweimer@redhat.com>
17896         * malloc/arena.c (list_lock): Update comment.
17898 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17900         * sysdeps/powerpc/hwcapinfo.c: Export symbol
17901         __parse_hwcap_and_convert_at_platform to libc.a.
17903 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17905         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
17906         platform and feature support for POWER9.
17907         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17908         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
17909         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
17910         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
17911         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
17912         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17913         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17914         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17916 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17918         Harmonize generic stdio-lock support with nptl
17920         This fixes build when _IO_funlockfile is a macro, fixes build where
17921         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
17922         stack unwind.
17924         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
17925         _IO_release_lock ): Use cleanup attribute on new
17926         _IO_acquire_lock_file variable instead of assuming that
17927         _IO_release_lock will be called.
17928         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
17929         _IO_acquire_lock_needs_exceptions_enabled.
17930         (_IO_acquire_lock_clear_flags2): New macro.
17932 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17934         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17936 2015-12-21  Florian Weimer  <fweimer@redhat.com>
17938         [BZ #19182]
17939         * malloc/arena.c (list_lock): Document lock ordering requirements.
17940         (free_list_lock): New lock.
17941         (ptmalloc_lock_all): Comment on free_list_lock.
17942         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
17943         (detach_arena): Update comment.  free_list_lock is now needed.
17944         (_int_new_arena): Use free_list_lock around detach_arena call.
17945         Acquire arena lock after list_lock.  Add comment, including FIXME
17946         about incorrect synchronization.
17947         (get_free_list): Switch to free_list_lock.
17948         (reused_arena): Acquire free_list_lock around detach_arena call
17949         and attached threads counter update.  Add two FIXMEs about
17950         incorrect synchronization.
17951         (arena_thread_freeres): Switch to free_list_lock.
17952         * malloc/malloc.c (struct malloc_state): Update comments to
17953         mention free_list_lock.
17955 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17957         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
17958         Remove functions.
17959         (sloww, sloww1): Accept argument to offset quadrant.
17960         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
17961         quadrant.
17962         (__sin, __cos): Consolidate common code into new functions.
17963         (reduce_sincos_1, do_sincos_1): New functions.
17964         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17966         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
17967         code to new functions.
17968         (reduce_sincos_2, do_sincos_2): New functions.
17969         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17971         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
17972         common code for sincos.
17973         (__cos) [!IN_SINCOS]: Likewise.
17974         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
17975         New function.
17976         (__sincos): Use it.
17978 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
17980         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
17981         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
17982         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17984 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17986         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
17987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
17988         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17989         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
17990         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17991         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
17992         index_Prefer_No_VZEROUPPER): New feature.
17993         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
17994         Prefer_No_VZEROUPPER for Knights Landing.
17996 015-12-18  Torvald Riegel  <triegel@redhat.com>
17998         * math/atest-exp2.c (mp_exp_m1): Remove.
18000 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18002         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
18003         syscalls.
18004         (__SYSCALL0): New macro.
18005         (__SYSCALL1): Likewise.
18006         (__SYSCALL2): Likewise.
18007         (__SYSCALL3): Likewise.
18008         (__SYSCALL4): Likewise.
18009         (__SYSCALL5): Likewise.
18010         (__SYSCALL6): Likewise.
18011         (__SYSCALL_CONCAT_X): Likewise.
18012         (__SYSCALL_CONCAT): Likewise.
18013         (__SYSCALL_DIST): Likewise.
18014         (__SYSCALL_CALL): Likewise.
18016 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
18018         [BZ #19363]
18019         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
18021 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18023         [BZ #19375]
18024         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
18025         negative subnormals.
18027 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
18029         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18030         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
18031         (INTERNAL_SYSCALL_NCS): Use it.
18032         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18034 2015-12-16  Florian Weimer  <fweimer@redhat.com>
18036         [BZ #19243]
18037         * malloc/arena.c (get_free_list): Remove assert and adjust
18038         reference count handling.  Add comment about reused_arena
18039         interaction.
18040         (reused_arena): Add comments abount get_free_list interaction.
18041         * malloc/tst-malloc-thread-exit.c: New file.
18042         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
18043         (tst-malloc-thread-exit): Link against libpthread.
18045 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18047         [BZ #19367]
18048         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
18049         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
18050         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
18051         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
18052         (index_Prefer_MAP_32BIT_EXEC): Likewise.
18054 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18056         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
18057         Silvermont optimizations for Knights Landing.
18059 2015-12-15  Andreas Schwab  <schwab@suse.de>
18061         [BZ #17197]
18062         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
18063         immediately after emitting SI.
18064         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
18065         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
18066         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
18067         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
18068         * iconvdata/bug-iconv10.c: New file.
18069         * iconvdata/Makefile (tests): Add bug-iconv10.
18070         ($(objpfx)bug-iconv10.out): New rule.
18072 2015-12-15  Florian Weimer  <fweimer@redhat.com>
18074         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
18075         aliasing violation.
18077 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
18079         [BZ #18472]
18080         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
18081         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
18082         conditionals for them.
18083         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
18084         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
18085         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
18086         sys/kdaemon.h.
18087         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
18088         compat-only syscall, obsoleted in glibc 2.23.
18089         (create_module): Likewise.
18090         (get_kernel_syms): Likewise.
18091         (query_module): Likewise.
18092         (uselib): Likewise.
18093         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
18095 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
18097         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
18098         <linux/version.h>.
18099         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
18100         conditional code.
18101         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
18102         and ioshift_name initialization.
18104 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18106         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18107         Fix indentation.
18109 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18111         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
18113 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18115         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
18117 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
18118             Jakub Wilk  <jwilk@debian.org>
18120         [BZ #19347]
18121         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
18122         to change the group of the device to the tty group.
18124 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
18126         Split large string section; add truncation advice
18127         * manual/examples/strncat.c: Remove.
18128         This example was misleading, as the code would have undefined
18129         behavior if "hello" was longer than SIZE.  Anyway, the manual
18130         shouldn't encourage strncpy+strncat for this sort of thing.
18131         * manual/string.texi (Copying Strings and Arrays): Split into
18132         three sections Copying Strings and Arrays, Concatenating Strings,
18133         and Truncating Strings, as this section was way too long.  All
18134         cross-referenced changed.  Add advice about string-truncation
18135         functions.  Remove misleading strncat example.
18137 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
18139         * manual/nss.texi (NSS Modules Interface): Document
18140         NSS_STATUS_NOTFOUND and SUCCESS.
18142 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18144         [BZ 18568]
18145         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18146         201505L, for Unicode 8.
18148 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
18150         * locale/C-translit.h: Regenerate.
18152 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18154         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
18155         and U+0153.
18157 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
18159         [BZ #19351]
18160         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
18161         expanding log(1+z), compare z rather than its square with epsilon
18162         to determine when to avoid evaluating the expansion.
18164         [BZ #19350]
18165         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18166         Increase overflow threshold.
18168         [BZ #19349]
18169         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
18170         when small.
18172         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18173         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18174         New macro.
18175         [__LINUX_KERNEL_VERSION >= 0x040300]
18176         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18177         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18178         Likewise.
18179         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18180         Likewise.
18181         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18182         Likewise.
18183         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18184         Likewise.
18185         [__LINUX_KERNEL_VERSION >= 0x040300]
18186         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18187         [__LINUX_KERNEL_VERSION >= 0x040300]
18188         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18189         [__LINUX_KERNEL_VERSION >= 0x040300]
18190         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18191         [__LINUX_KERNEL_VERSION >= 0x040300]
18192         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18193         [__LINUX_KERNEL_VERSION >= 0x040300]
18194         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18195         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18196         Likewise.
18197         [__LINUX_KERNEL_VERSION >= 0x040300]
18198         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18199         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18200         Likewise.
18201         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18202         Likewise.
18203         [__LINUX_KERNEL_VERSION >= 0x040300]
18204         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18205         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18206         Likewise.
18207         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18208         Likewise.
18209         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18210         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
18211         Likewise.
18212         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
18213         Likewise.
18214         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18215         Likewise.
18216         [__LINUX_KERNEL_VERSION >= 0x040300]
18217         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18218         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18219         Likewise.
18220         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18221         Likewise.
18222         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18223         Likewise.
18224         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18225         Likewise.
18226         [__LINUX_KERNEL_VERSION >= 0x040300]
18227         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18228         [__LINUX_KERNEL_VERSION >= 0x040300]
18229         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18230         [__LINUX_KERNEL_VERSION >= 0x040300]
18231         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18232         [__LINUX_KERNEL_VERSION >= 0x040300]
18233         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18234         [__LINUX_KERNEL_VERSION >= 0x040300]
18235         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18236         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18237         Likewise.
18238         [__LINUX_KERNEL_VERSION >= 0x040300]
18239         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18240         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18241         Likewise.
18242         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18243         Likewise.
18244         [__LINUX_KERNEL_VERSION >= 0x040300]
18245         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18246         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18247         Likewise.
18248         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18249         Likewise.
18250         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18251         (__ASSUME_SOCKET_SYSCALL): Likewise.
18252         (__ASSUME_BIND_SYSCALL): Likewise.
18253         (__ASSUME_CONNECT_SYSCALL): Likewise.
18254         (__ASSUME_LISTEN_SYSCALL): Likewise.
18255         (__ASSUME_ACCEPT_SYSCALL): Likewise.
18256         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18257         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18258         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18259         (__ASSUME_SEND_SYSCALL): Likewise.
18260         (__ASSUME_SENDTO_SYSCALL): Likewise.
18261         (__ASSUME_RECV_SYSCALL): Likewise.
18262         (__ASSUME_RECVFROM_SYSCALL): Likewise.
18263         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
18264         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18265         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18266         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18267         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18268         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18269         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
18270         Likewise.
18271         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
18272         Likewise.
18273         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
18274         Likewise.
18275         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
18276         Likewise.
18277         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
18278         Likewise.
18279         [__LINUX_KERNEL_VERSION >= 0x020625]
18280         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18281         [__LINUX_KERNEL_VERSION >= 0x020625]
18282         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18283         [__LINUX_KERNEL_VERSION >= 0x020625]
18284         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18285         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
18286         Likewise.
18287         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
18288         Likewise.
18289         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
18290         Likewise.
18291         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
18292         Likewise.
18293         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
18294         Likewise.
18295         [__LINUX_KERNEL_VERSION >= 0x020625]
18296         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18297         [__LINUX_KERNEL_VERSION >= 0x020625]
18298         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18299         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
18300         Likewise.
18301         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
18302         Likewise.
18304 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18306         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
18307         record the current if the current ABI and CPU support the FP64
18308         extension.
18309         (has-modd-spreg): Define to record the current if the current ABI and
18310         CPU support 32-bit floating point values in odd FPU registers.
18311         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18312         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
18313         $(has-modd-spreg) equals yes.
18314         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
18315         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
18316         $(has-modd-spreg) equal yes.
18318 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18320         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
18321         basename.
18323 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
18325         * benchtests/Makefile (bench-math): Move ffs and ffsll...
18326         (bench-string): ... here.
18327         (bench): Add bench-string.
18328         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
18329         to *-benchset to reflect what they are.
18330         (benchset): Adjust.
18332         * benchtests/sincos-inputs: Add inputs from sin-inputs and
18333         cos-inputs.
18335 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
18337         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
18338         __attribute__ ((__simd__)) for vector math function declarations.
18340 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18342         Fix typo in strncat, wcsncat manual entries
18343         * manual/string.texi (Copying and Concatenation): Fix typos in
18344         sample implementations of strncat and wcsncat, by having them use
18345         the old value of the destination length, not the new one.
18347 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
18349         [BZ #16961]
18350         [BZ #16962]
18351         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
18352         string on the stack for strtod.
18353         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
18354         a string on the stack for strtof.
18355         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
18356         constructing a string on the stack for strtold.
18357         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
18358         __strtold_nan to GLIBC_PRIVATE.
18359         * math/test-nan-overflow.c: New file.
18360         * math/test-nan-payload.c: Likewise.
18361         * math/Makefile (tests): Add test-nan-overflow and
18362         test-nan-payload.
18364 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18366         Consistency about byte vs character in string.texi
18367         * manual/string.texi (String and Array Utilities):
18368         Distinguish more carefully among bytes, multibyte characters,
18369         and wide characters.  Use "byte" when talking about C 'char',
18370         to distinguish it more clearly from multibyte characters.
18371         Say "wide character" or "multibyte character" instead of
18372         "character", when a wide or multibyte character is intended.
18373         Similarly for "multibyte string" versus "string".
18374         Define these terms more carefully.
18376 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
18378         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
18379         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
18380         Likewise.
18381         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18382         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18383         * sysdeps/sh/math_private.h: New file.
18384         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
18385         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
18386         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
18387         long double function name.
18388         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18389         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18390         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18391         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18392         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18394         Remove __finitel, __isinfl, and __isnanl.
18395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18396         Likewise.
18397         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18399         Remove __finitel.
18400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18401         Likewise.
18402         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18404 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
18406         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
18407         installed libmvec_nonshared.a.
18409 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18411         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
18412         (sysdep_routines): Likewise.
18413         (sysdep-rtld-routines): Likewise.
18414         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
18415         [$(subdir) = nptl](tests-static): test-get_hwcap-static
18416         * sysdeps/powerpc/Versions: Added new
18417         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
18418         * sysdeps/powerpc/hwcapinfo.c: New file.
18419         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
18420         and parse hwcap, hwcap2 and platform number information.
18421         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
18422         to store HWCAP+HWCAP2 and platform number.
18423         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
18424         for HWCAP+HWCAP2 and platform number in the TCB.
18425         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
18426         the HWCAP, HWCAP2 and platform number in the TCB.
18427         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
18428         (TLS_INIT_TP): Included calls to add the hwcap and
18429         at_platform values in the TCB in TP initialization.
18430         (TLS_DEFINE_INIT_TP): Likewise.
18431         (THREAD_GET_HWCAP): New macro.
18432         (THREAD_SET_HWCAP): Likewise.
18433         (THREAD_GET_AT_PLATFORM): Likewise.
18434         (THREAD_SET_AT_PLATFORM): Likewise.
18435         * sysdeps/powerpc/powerpc32/dl-machine.h:
18436         (dl_platform_init): New function that calls
18437         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
18438         powerpc32.
18439         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
18440         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
18441         this functionality, static linking case.
18442         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
18443         linking case.
18444         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
18445         __parse_hwcap_and_convert_at_platform for the static linking case.
18446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
18447         Included the new __parse_hwcap_and_convert_at_platform symbol in the
18448         ABI list for GLIBC 2.23.
18449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
18450         Likewise.
18451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
18452         Likewise.
18454 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
18456         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
18457         * configure: Regenerate.
18458         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
18459         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
18461 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
18463         * iconvdata/ibm930.c: Add comment explaining encoding uses.
18464         * iconvdata/ibm933.c: Likewise.
18465         * iconvdata/ibm935.c: Likewise.
18466         * iconvdata/ibm937.c: Likewise.
18467         * iconvdata/ibm939.c: Likewise.
18469 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18471         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
18472         pthread_join.
18473         * nptl/tst-cancel21.c (tf): Likewise.
18475 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
18477         [BZ #19313]
18478         * bits/typesizes.h (__CPU_MASK_TYPE): New.
18479         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18480         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18481         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
18482         Likewise.
18483         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
18484         Likewise.
18485         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
18486         Likewise.
18487         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
18488         Likewise.
18489         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
18490         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
18491         unsigned long int with __CPU_MASK_TYPE.
18493 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18495         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18497 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
18499         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
18500         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
18501         t512.x.
18502         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
18504 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
18506         [BZ #19214]
18507         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
18508         argument to return extended model.  Update family and model
18509         with extended family and model when family == 0x0f.
18510         (init_cpu_features): Updated.
18512 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18514         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
18515         signed off_t, so 32bit bigger than 2GiB values are fine actually.
18517         * sysdeps/mach/hurd/mmap64.c: New file.
18519 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
18521         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
18522         rights for its main user thread in NEWTASK.
18524 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
18526         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
18527         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
18529 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
18531         [BZ #14259]
18532         * Makeconfig: Rename localedir to complocaledir.
18533         Rename inst_localedir to inst_complocaledir.
18534         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
18535         * config.make.in: Use complocaledir and libc_cv_complocaledir.
18536         * configure.ac: Use libc_cv_complocaledir.
18537         * configure: Regenerate.
18538         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
18539         -DCOMPLOCALEDIR.
18540         * locale/findlocale.c: Use COMPLOCALEDIR.
18541         * locale/loadarchive.c: Likewise.
18542         * locale/programs/locale.c: Likewise.
18543         * locale/programs/localedef.c: Likewise.
18544         * locale/programs/locarchive.c: Likewise.
18545         * localedata/Makefile: Use inst_complocaledir.
18546         * sysdeps/gnu/configure: Regenerate.
18547         * sysdeps/hppa/configure: Regenerate.
18548         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18549         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18551         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18552         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18553         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18554         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18556 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
18558         [BZ #19058]
18559         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
18560         AS_NEEDED.
18561         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
18562         workaround.
18563         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
18564         libmvec-static-only-routines): Added new file.
18565         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
18567 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18569         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
18570         of interrupted RPC instead of restoring it.
18572         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
18573         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
18574         libc_hidden_def.
18575         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
18576         into initialized data instead of common. Define rtld_hidden_data_def.
18577         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
18578         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
18579         libc_hidden_def.
18580         (if_freenameindex): Add libc_hidden_weak.
18581         (if_nameindex): Add libc_hidden_weak.
18582         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
18583         __open64.
18584         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
18585         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
18586         * sysdeps/mach/nanosleep.c: Include <time.h>
18587         (__nanosleep): Rename to __libc_nanosleep.
18588         (__nanosleep): Add weak_alias.
18589         (nanosleep): Update alias.
18591 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
18593         * stdlib/strtod_nan.c: New file.
18594         * stdlib/strtod_nan_double.h: Likewise.
18595         * stdlib/strtod_nan_float.h: Likewise.
18596         * stdlib/strtod_nan_main.c: Likewise.
18597         * stdlib/strtod_nan_narrow.h: Likewise.
18598         * stdlib/strtod_nan_wide.h: Likewise.
18599         * stdlib/strtof_nan.c: Likewise.
18600         * stdlib/strtold_nan.c: Likewise.
18601         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
18602         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
18603         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
18604         * wcsmbs/wcstod_nan.c: Likewise.
18605         * wcsmbs/wcstof_nan.c: Likewise.
18606         * wcsmbs/wcstold_nan.c: Likewise.
18607         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
18608         strtold_nan.
18609         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
18610         wcstof_nan.
18611         * include/stdlib.h (__strtof_nan): Declare and use
18612         libc_hidden_proto.
18613         (__strtod_nan): Likewise.
18614         (__strtold_nan): Likewise.
18615         (__wcstof_nan): Likewise.
18616         (__wcstod_nan): Likewise.
18617         (__wcstold_nan): Likewise.
18618         * include/wchar.h (____wcstoull_l_internal): Declare.
18619         * stdlib/strtod_l.c: Do not include <ieee754.h>.
18620         (____strtoull_l_internal): Remove declaration.
18621         (STRTOF_NAN): Define macro.
18622         (SET_MANTISSA): Remove macro.
18623         (STRTOULL): Likewise.
18624         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
18625         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
18626         (STRTOF_NAN): Define macro.
18627         (SET_MANTISSA): Remove macro.
18628         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
18629         (SET_MANTISSA): Remove macro.
18630         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
18631         macro.
18632         (SET_MANTISSA): Remove macro.
18633         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
18634         macro.
18635         (SET_MANTISSA): Remove macro.
18636         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
18637         (SET_MANTISSA): Remove macro.
18638         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
18639         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
18640         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
18642         [BZ #19266]
18643         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
18644         upper case and lower case letters inside NAN(), not using TOLOWER.
18645         * stdlib/tst-strtod-nan-locale-main.c: New file.
18646         * stdlib/tst-strtod-nan-locale.c: Likewise.
18647         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
18648         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
18649         Depend on $(gen-locales).
18650         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
18651         * wcsmbs/tst-wcstod-nan-locale.c: New file.
18652         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
18653         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
18654         Depend on $(gen-locales).
18655         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
18657 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
18659         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
18661         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
18663         __finitel, __isinfl, and __isnanl.
18664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18665         Likewise.
18666         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
18668         __finitel.
18669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18670         Likewise.
18671         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18673 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18675         * malloc/memusage.c (me): Remove redundant getenv call.
18677 2015-10-24  Florian Weimer  <fweimer@redhat.com>
18679         [BZ #19143]
18680         [BZ #19164]
18681         * nptl/check-cpuset.h: Remove.
18682         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
18683         Remove CPU set size check.
18684         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
18685         Likewise.
18686         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
18687         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18688         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
18689         (__pthread_setaffinity_new): Remove CPU set size check.
18690         * sysdeps/unix/sysv/linux/sched_setaffinity.c
18691         (__kernel_cpumask_size): Remove.
18692         (__sched_setaffinity_new): Remove CPU set size check.
18693         * manual/threads.texi (Default Thread Attributes): Remove stale
18694         reference to check_cpuset_attr, determine_cpumask_size in comment.
18695         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
18696         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
18697         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
18698         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
18699         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
18700         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
18701         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
18702         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
18703         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
18704         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
18705         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
18706         skeleton test file.
18707         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
18708         tst-affinity-pid.
18710 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18712         * scripts/update-abilist.sh: New file.
18713         * Makefile (+subdir_targets): Add subdir_update-all-abi.
18714         * Makerules (update-all-abi-%, update-all-abi)
18715         (subdir_update-all-abi): New targets.
18716         * elf/Makefile (update-all-abi): New target.
18718 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18720         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
18721         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
18722         (__libc_lock_define_initialized): Use it.
18723         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
18724         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
18725         * malloc/malloc.c (main_arena): Likewise.
18726         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18727         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18729 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
18731         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18732         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
18733         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18734         (PTRACE_O_MASK): Update value.
18735         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
18736         New value in enum __ptrace_setoptions.
18737         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18738         (PTRACE_O_MASK): Update value.
18739         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18740         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18741         (PTRACE_O_MASK): Update value.
18742         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18743         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18744         (PTRACE_O_MASK): Update value.
18745         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18746         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18747         (PTRACE_O_MASK): Update value.
18748         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
18749         New value in enum __ptrace_setoptions.
18750         (PTRACE_O_MASK): Update value.
18751         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
18752         New value in enum __ptrace_setoptions.
18753         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18754         (PTRACE_O_MASK): Update value.
18756         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
18757         New macro.
18758         (PACKET_AUXDATA): Likewise.
18759         (PACKET_ORIGDEV): Likewise.
18760         (PACKET_VERSION): Likewise.
18761         (PACKET_HDRLEN): Likewise.
18762         (PACKET_RESERVE): Likewise.
18763         (PACKET_TX_RING): Likewise.
18764         (PACKET_LOSS): Likewise.
18765         (PACKET_VNET_HDR): Likewise.
18766         (PACKET_TX_TIMESTAMP): Likewise.
18767         (PACKET_TIMESTAMP): Likewise.
18768         (PACKET_FANOUT): Likewise.
18769         (PACKET_TX_HAS_OFF): Likewise.
18770         (PACKET_QDISC_BYPASS): Likewise.
18771         (PACKET_ROLLOVER_STATS): Likewise.
18772         (PACKET_FANOUT_DATA): Likewise.
18773         (PACKET_MR_UNICAST): Likewise.
18775         [BZ #19242]
18776         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
18777         (TOUPPER): Likewise.
18778         * stdlib/tst-strtol-locale-main.c: New file.
18779         * stdlib/tst-strtol-locale.c: Likewise.
18780         * stdlib/Makefile (tests): Add tst-strtol-locale.
18781         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
18782         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
18783         Depend on $(gen-locales).
18784         * wcsmbs/tst-wcstol-locale.c: New file.
18785         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
18786         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
18787         tr_TR.ISO-8859-9.
18788         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
18789         Depend on $(gen-locales).
18791 2015-11-20  Roland McGrath  <roland@hack.frob.com>
18793         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
18794         __glibc_likely instead of __builtin_expect.  After falling back to
18795         dyncode_create in a non-ET_DYN case, use the allocate_code_data
18796         system interface to register the code pages as occupied.
18798 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
18800         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18801         [!ARM_MATH_PRIVATE_H].
18802         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
18803         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18804         [!HPPA_MATH_PRIVATE_H].
18805         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
18806         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
18807         to [!I386_MATH_PRIVATE_H].
18808         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
18809         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
18810         Change guard to [!M68K_MATH_PRIVATE_H].
18811         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
18812         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
18813         guard to [!MICROBLAZE_MATH_PRIVATE_H].
18814         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
18815         macro.
18816         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18817         [!MIPS_MATH_PRIVATE_H].
18818         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
18819         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18820         [!NIO2_MATH_PRIVATE_H].
18821         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
18822         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18823         [!TILE_MATH_PRIVATE_H].
18824         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
18826         [BZ #15421]
18827         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
18828         initialize with 0 and define as weak alias of __signgam.
18829         * include/math.h [!_ISOMAC] (__signgam): Declare.
18830         * math/Makefile (libm-calls): Add w_lgamma_compat.
18831         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
18832         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
18833         test-signgam-ullong-init.
18834         (tests-static): Add test-signgam-uchar-static,
18835         test-signgam-uchar-init-static, test-signgam-uint-static,
18836         test-signgam-uint-init-static, test-signgam-ullong-static and
18837         test-signgam-ullong-init-static.
18838         (CFLAGS-test-signgam-uchar.c): New variable.
18839         (CFLAGS-test-signgam-uchar-init.c): Likewise.
18840         (CFLAGS-test-signgam-uchar-static.c): Likewise.
18841         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18842         (CFLAGS-test-signgam-uint.c): Likewise.
18843         (CFLAGS-test-signgam-uint-init.c): Likewise.
18844         (CFLAGS-test-signgam-uint-static.c): Likewise.
18845         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18846         (CFLAGS-test-signgam-ullong.c): Likewise.
18847         (CFLAGS-test-signgam-ullong-init.c): Likewise.
18848         (CFLAGS-test-signgam-ullong-static.c): Likewise.
18849         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18850         * math/Versions (libm): Add GLIBC_2.23.
18851         * math/lgamma-compat.h: New file.
18852         * math/test-signgam-main.c: Likewise.
18853         * math/test-signgam-uchar-init-static.c: Likewise.
18854         * math/test-signgam-uchar-init.c: Likewise.
18855         * math/test-signgam-uchar-static.c: Likewise.
18856         * math/test-signgam-uchar.c: Likewise.
18857         * math/test-signgam-uint-init-static.c: Likewise.
18858         * math/test-signgam-uint-init.c: Likewise.
18859         * math/test-signgam-uint-static.c: Likewise.
18860         * math/test-signgam-uint.c: Likewise.
18861         * math/test-signgam-ullong-init-static.c: Likewise.
18862         * math/test-signgam-ullong-init.c: Likewise.
18863         * math/test-signgam-ullong-static.c: Likewise.
18864         * math/test-signgam-ullong.c: Likewise.
18865         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
18866         wrapper of w_lgamma_main.c.
18867         * math/w_lgamma_compat.c: New file.
18868         * math/w_lgamma_compatf.c: Likewise.
18869         * math/w_lgamma_compatl.c: Likewise.
18870         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
18871         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18872         defining compatibility symbols.
18873         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
18874         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
18875         wrapper of w_lgammaf_main.c.
18876         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
18877         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18878         defining compatibility symbols.
18879         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
18880         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
18881         wrapper of w_lgammal_main.c.
18882         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
18883         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18884         defining compatibility symbols.
18885         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
18886         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
18887         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
18888         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
18889         <lgamma-compat.h>.
18890         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
18891         (__ieee754_gamma): Define as alias.
18892         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
18893         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
18894         <lgamma-compat.h>.
18895         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
18896         (__ieee754_gammaf): Define as alias.
18897         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
18898         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
18899         <lgamma-compat.h>.
18900         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
18901         (__ieee754_gammal): Define as alias.
18902         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
18903         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
18904         <math/w_lgamma_compat.c>.
18905         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
18906         Define as alias of __lgamma_compat and use in defining lgammal.
18907         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
18908         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
18909         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
18910         (USE_AS_COMPAT): New macro.
18911         (LGAMMA_OLD_VER): Undefine and redefine.
18912         (lgammal): Do not define here.
18913         (gammal): Only define here if [GAMMA_ALIAS].
18914         * conform/linknamespace.pl (@whitelist): Remove signgam.
18915         * sysdeps/nacl/libm.abilist: Update.
18916         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18917         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18918         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18919         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18920         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18921         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18922         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18923         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18924         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18925         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18926         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18927         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18929         Likewise.
18930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18931         Likewise.
18932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18933         Likewise.
18934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18935         Likewise.
18936         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18937         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18938         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18939         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18940         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18942         Likewise.
18943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18944         Likewise.
18945         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18946         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18947         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18949 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18951         [BZ #16364]
18952         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
18953         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
18955 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18957         * sysdeps/s390/fpu/bits/mathinline.h:
18958         Use __asm__ [__volatile__] instead of asm [volatile].
18959         * sysdeps/s390/abort-instr.h: Likewise.
18960         * sysdeps/s390/atomic-machine.h: Likewise.
18961         * sysdeps/s390/bits/string.h: Likewise.
18962         * sysdeps/s390/dl-tls.h: Likewise.
18963         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18964         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18965         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18966         * sysdeps/s390/fpu/fesetround.c: Likewise.
18967         * sysdeps/s390/fpu/fpu_control.h: Likewise.
18968         * sysdeps/s390/fpu/s_fma.c: Likewise.
18969         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
18970         * sysdeps/s390/memusage.h: Likewise.
18971         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
18972         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
18973         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
18974         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
18975         * sysdeps/s390/nptl/tls.h: Likewise.
18976         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
18977         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18978         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18979         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
18980         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18981         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18982         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
18983         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18984         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18985         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
18986         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
18987         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18988         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18989         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
18990         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18991         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18992         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
18993         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18994         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
18995         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18996         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
18997         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18998         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
19000 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19001             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19003         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19004         Add lwarx hint, and use macro for acquire instruction.
19005         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19006         Likewise.
19007         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
19008         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
19009         update to use new atomic macros.
19011 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19013         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19014         (__lll_trylock_elision): Fix setting of adapt_count.
19015         * sysdeps/unix/sysv/linux/powerpc/htm.h
19016         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
19017         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
19018         (_ABORT_SYSCALL): Renumber, and clarify definition.
19019         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
19021 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19023         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
19024         after system headers to prevent MIN/MAX redefinition.  Define
19025         HAVE_ALLOCA to preserve builtin alloca usage.
19027 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19029         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
19030         static and don't set or restore rounding.
19031         (__cos)[IN_SINCOS]: Likewise.
19032         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
19033         (__sincos): Set and restore rounding mode.  Remove check for infinite
19034         or NaN input.
19036         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
19038         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
19039         as used.
19041 2015-11-16  Florian Weimer  <fweimer@redhat.com>
19043         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
19045 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19047         * config.make.in (have-glob-dat-reloc): New.
19048         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
19049         target supports GLOB_DAT relocaton. AC_SUBST.
19050         * configure: Regenerated.
19051         * elf/Makefile (tests): Add tst-prelink.
19052         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19053         (tst-prelink-ENV): New.
19054         ($(objpfx)tst-prelink-conflict.out): Likewise.
19055         ($(objpfx)tst-prelink-cmp.out): Likewise.
19056         * sysdeps/x86/tst-prelink.c: Moved to ...
19057         * elf/tst-prelink.c: Here.
19058         * sysdeps/x86/tst-prelink.exp: Moved to ...
19059         * elf/tst-prelink.exp: Here.
19060         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
19061         (tst-prelink-ENV): Removed.
19062         ($(objpfx)tst-prelink-conflict.out): Likewise.
19063         ($(objpfx)tst-prelink-cmp.out): Likewise.
19064         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
19066 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
19068         [BZ #14551]
19069         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
19070         (__mpn_construct_long_double): If high part overflows to infinity,
19071         set errno and recompute overflowed result of the correct sign.
19072         * sysdeps/ieee754/ldbl-128ibm/Makefile
19073         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
19074         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
19075         $(libm).
19076         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
19078 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
19080         [BZ #15479]
19081         [BZ #19238]
19082         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
19083         floating-point state after first operation on input.  Restore full
19084         state rather than just rounding mode.
19085         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19086         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19087         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19089         [BZ #19235]
19090         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
19091         add 0.5 to integer arguments.
19092         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
19093         Likewise.
19094         (.LC2): New object.
19096 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
19098         * scripts/pylintrc (reports): Set to no.
19100 2015-11-10  Roland McGrath  <roland@hack.frob.com>
19102         * elf/dl-load.c (open_verify): Take new argument FD.
19103         Skip __open call if passed FD is not -1.
19104         (_dl_map_object, open_path): Update callers.
19105         * elf/dl-sysdep-open.h: New file.
19106         * elf/dl-load.c: Include it.
19107         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
19108         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
19109         * sysdeps/nacl/dl-sysdep-open.h: New file.
19110         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
19111         from libc to rtld.
19113 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19115         [BZ #19228]
19116         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
19117         and restore full floating-point state.
19118         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19119         Likewise.
19120         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19121         Likewise.
19122         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19123         Likewise.
19124         * math/test-nearbyint-except-2.c: New file.
19125         * math/Makefile (tests): Add test-nearbyint-except-2.
19127 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
19129         [BZ #19178]
19130         * sysdeps/x86/Makefile (tests): Add tst-prelink.
19131         (tst-prelink-ENV): New.
19132         ($(objpfx)tst-prelink-conflict.out): Likewise.
19133         ($(objpfx)tst-prelink-cmp.out): Likewise.
19134         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19135         * sysdeps/x86/tst-prelink.c: New file.
19136         * sysdeps/x86/tst-prelink.exp: Likewise.
19138 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19140         * math/auto-libm-test-in: Add another test of pow.
19141         * math/auto-libm-test-out: Regenerated.
19142         * math/libm-test.inc (pow_test_data): Add another test.
19144 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19146         [BZ #19219]
19147         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
19148         weak_alias to nearbyintl.
19150 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19152         * sysdeps/aarch64/bits/string.h: New file.
19153         (_STRING_ARCH_unaligned): Define.
19155 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19157         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
19158         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19159         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19160         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
19161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
19163 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
19165         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
19166         for original name of the DSO.  Add it to the name list of the DSO
19167         if it is actually given.
19168         (_dl_map_object): Keep track of whether an audit module rewrote
19169         the file name.  If yes, pass the original name to
19170         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
19171         debugging is enabled, log the change of the file name.
19172         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
19173         _dl_map_object_from_fd.
19174         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
19175         * elf/tst-audit11.c: New file
19176         * elf/tst-auditmod11.c: New file.
19177         * elf/tst-audit11mod1.c: New file.
19178         * elf/tst-audit11mod2.c: New file.
19179         * elf/tst-audit11mod2.map: New file.
19180         * elf/tst-audit12.c: New file
19181         * elf/tst-auditmod12.c: New file.
19182         * elf/tst-audit12mod1.c: New file.
19183         * elf/tst-audit12mod2.c: New file.
19184         * elf/tst-audit12mod2.map: New file.
19185         * elf/tst-audit12mod3.c: New file.
19187 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19189         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
19190         Don't create weak aliases,
19191         because versioned symbols are created later.
19192         * sysdeps/s390/s390-32/setjmp.S
19193         (setjmp, _setjmp): Remove weak and rename to an unique name
19194         in SHARED case due to existing versioned symbols.
19195         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19196         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
19197         (getcontext): Create weak alias only in non SHARED case.
19198         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19200 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19202         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
19203         (__ASSUME_*_SYSCALL) Define new macros.
19204         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
19205         Remove socketcall syscalls.
19206         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
19207         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
19208         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
19209         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
19210         * sysdeps/unix/sysv/linux/send.c (__libc_send):
19211         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
19213 2015-11-09  Florian Weimer  <fweimer@redhat.com>
19215         [BZ #12926]
19216         Terminate process on invalid netlink response.
19217         * sysdeps/unix/sysv/linux/netlinkaccess.h
19218         (__netlink_assert_response): Declare.
19219         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
19220         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
19221         (sysdep_routines): Add netlink_assert_response.
19222         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
19223         __netlink_assert_response.
19224         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19225         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19226         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
19227         __netlink_assert_response.
19229 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19231         [BZ #19178]
19232         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
19233         (RTYPE_CLASS_PLT): Likewise.
19234         (RTYPE_CLASS_COPY): Likewise.
19235         (RTYPE_CLASS_TLS): Likewise.
19236         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
19237         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
19238         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
19239         DL_DEBUG_PRELINK.
19241 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
19243         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
19244         calls with argument -0.5.
19245         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
19247         * configure.ac (libc_cv_z_nodelete): Remove configure test.
19248         (libc_cv_z_nodlopen): Likewise.
19249         (libc_cv_z_initfirst): Likewise.
19250         * configure: Regenerated.
19252 2015-11-06  Florian Weimer  <fweimer@redhat.com>
19254         Simplify abilist format to be line-based.
19255         * scripts/abilist.awk: Collect descriptors in the descs variable.
19256         (emit): Write descs variable and sort it
19257         externally, with sort.
19258         * sysdeps/**/*.abilist: Convert to new format.
19260 2015-11-06  Mark Wielaard  <mjw@redhat.com>
19262         [BZ #11460]
19263         * io/Makefile (routines): Add fts64.
19264         (tests): Add tst-fts and tst-fts-lfs.
19265         (CFLAGS-fts64.c): New.
19266         * io/Versions (GLIBC_2.23): New.
19267         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
19268         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
19269         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
19270         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
19271         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
19272         (FTSENT64): Likewise.
19273         (fts64_children): Likewise.
19274         (fts64_close): Likewise.
19275         (fts64_open): Likewise.
19276         (fts64_read): Likewise.
19277         (fts64_set): Likewise.
19278         * io/fts64.c: New file.
19279         * io/tst-fts.c: New test.
19280         * io/tst-fts-lfs.c: Likewise.
19281         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
19282         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
19283         fts64_set.
19284         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19285         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19286         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19287         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19288         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19289         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19290         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19291         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19292         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19293         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19294         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19295         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19296         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19298         Likewise.
19299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19300         Likewise.
19301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19303         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19304         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19305         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19306         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19307         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19310         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19311         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19312         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19313         * sysdeps/wordsize-64/fts.c: New file.
19314         * sysdeps/wordsize-64/fts64.c: Likewise.
19315         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
19316         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
19317         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
19318         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
19320 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19322         * math/libm-test.inc (NON_FINITE): New macro.
19323         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
19324         * math/gen-libm-test.pl (show_exceptions): Add argument
19325         $non_finite.
19326         (parse_args): Update call to show_exceptions.
19327         * math/test-math-finite.h: New file.
19328         * math/test-math-no-finite.h: Likewise.
19329         * math/test-double-finite.c: Likewise.
19330         * math/test-float-finite.c: Likewise.
19331         * math/test-ldouble-finite.c: Likewise.
19332         * math/test-double.c: Include "test-math-no-finite.h".
19333         * math/test-float.c: Include "test-math-no-finite.h".
19334         * math/test-ldouble.c: Include "test-math-no-finite.h".
19335         * math/test-math-inline.h (TEST_FINITE): New macro.
19336         * math/test-math-vector.h (TEST_FINITE): Likewise.
19337         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
19338         (libm-tests): Add test-float-finite and test-double-finite.
19339         ($(objpfx)test-float-finite.o): New dependency on
19340         $(objpfx)libm-test.stmp.
19341         ($(objpfx)test-double-finite.o): Likewise.
19342         ($(objpfx)test-ldouble-finite.o): Likewise.
19343         (libm-test-no-inline-cflags): New variable.
19344         (libm-test-finite-cflags): Likewise.
19345         (CFLAGS-test-float-finite.c): Likewise.
19346         (CFLAGS-test-double-finite.c): Likewise.
19347         (CFLAGS-test-ldouble-finite.c): Likewise.
19348         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
19349         (CFLAGS-test-double.c): Likewise.
19350         (CFLAGS-test-ldouble.c): Likewise.
19352 2015-11-05  Roland McGrath  <roland@hack.frob.com>
19354         * io/fcntl.c (__fcntl): Add ... to prototype.
19355         * misc/ioctl.c (__ioctl): Likewise.
19356         * misc/syscall.c (syscall): Likewise.
19358 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19360         * scripts/list-fixed-bugs.py: New file.
19362         [BZ #19213]
19363         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
19364         returned for argument 1.
19365         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
19366         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
19367         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
19368         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
19369         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
19370         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
19372         [BZ #19211]
19373         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
19374         __USE_XOPEN], not if [!__USE_ISOC99].
19375         (lgammaf): Likewise.
19376         (lgammal): Likewise.
19377         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
19378         (gammaf): Likewise.
19379         (gammal): Likewise.
19380         * math/test-signgam-finite-c11.c: New file.
19381         * math/test-signgam-finite-c99.c: Likewise.
19382         * math/test-signgam-finite.c: Likewise.
19383         * math/Makefile (tests): Add test-signgam-finite,
19384         test-signgam-finite-c99 and test-signgam-finite-c11.
19385         (CFLAGS-test-signgam-finite.c): New variable.
19386         (CFLAGS-test-signgam-finite-c99.c): Likewise.
19387         (CFLAGS-test-signgam-finite-c11.c): Likewise.
19389         [BZ #19212]
19390         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
19391         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
19392         500].
19393         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
19394         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
19395         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
19396         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
19397         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
19398         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
19399         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
19400         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
19401         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
19402         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
19404         [BZ #19209]
19405         * math/bits/math-finite.h (ldexp): Remove declaration.
19406         (ldexpf): Likewise.
19407         (ldexpl): Likewise.
19409         [BZ #19205]
19410         * math/bits/math-finite.h (acosf): Condition declaration on
19411         [__USE_ISOC99].
19412         (acosl): Likewise.
19413         (acoshf): Likewise.
19414         (acoshl): Likewise.
19415         (asinf): Likewise.
19416         (asinl): Likewise.
19417         (atan2f): Likewise.
19418         (atan2l): Likewise.
19419         (atanhf): Likewise.
19420         (atanhl): Likewise.
19421         (coshf): Likewise.
19422         (coshl): Likewise.
19423         (expf): Likewise.
19424         (expl): Likewise.
19425         (fmodf): Likewise.
19426         (fmodl): Likewise.
19427         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
19428         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
19429         (j0l): Likewise.
19430         (y0f): Likewise.
19431         (y0l): Likewise.
19432         (j1f): Likewise.
19433         (j1l): Likewise.
19434         (y1f): Likewise.
19435         (y1l): Likewise.
19436         (jnf): Likewise.
19437         (jnl): Likewise.
19438         (ynf): Likewise.
19439         (ynl): Likewise.
19440         (lgammaf_r): Condition declaration on [__USE_ISOC99].
19441         (lgammal_r): Likewise.
19442         (__lgamma_r_finite): New declaration.
19443         (__lgammaf_r_finite): Likewise.
19444         (__lgammal_r_finite): Likewise.
19445         (lgamma): Use __lgamma_r_finite.
19446         (lgammaf): Condition definition on [__USE_ISOC99].  Use
19447         __lgammaf_r_finite.
19448         (lgammal): Condition definition on [__USE_ISOC99].  Use
19449         __lgammal_r_finite.
19450         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
19451         __lgamma_r_finite.
19452         (gammaf): Condition definition on [__USE_ISOC99].  Use
19453         __lgammaf_r_finite.
19454         (gammal): Condition definition on [__USE_ISOC99].  Use
19455         __lgammal_r_finite.
19456         (logf): Condition declaration on [__USE_ISOC99].
19457         (logl): Likewise.
19458         (log10f): Likewise.
19459         (log10l): Likewise.
19460         (ldexpf): Likewise.
19461         (ldexpl): Likewise.
19462         (powf): Likewise.
19463         (powl): Likewise.
19464         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
19465         __USE_ISOC99].
19466         (remainderf): Condition declaration on [__USE_ISOC99].
19467         (remainderl): Likewise.
19468         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
19469         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
19470         (scalbl): Likewise.
19471         (sinhf): Condition declaration on [__USE_ISOC99].
19472         (sinhl): Likewise.
19473         (sqrtf): Likewise.
19474         (sqrtl): Likewise.
19476 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19478         * sysdeps/arm/atomic-machine.h
19479         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19480         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19481         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
19482         Remove conditional code.
19483         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19484         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19485         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
19486         Change conditional to [__ASSEMBLER__].
19487         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19488         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
19489         [!__ASSEMBLER__].
19490         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
19491         code.
19492         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
19493         conditional macro definitions.
19494         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
19495         (__arch_compare_and_exchange_val_16_acq): Likewise.
19496         (__arch_compare_and_exchange_val_32_acq): Likewise.
19497         (atomic_exchange_and_add): Likewise.
19498         (atomic_add): Likewise.
19499         (atomic_add_negative): Likewise.
19500         (atomic_add_zero): Likewise.
19501         (atomic_bit_set): Likewise.
19502         (atomic_bit_test_set): Likewise.
19503         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
19504         code unconditional.
19505         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19507         * math/test-math-errno.h: New file.
19508         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
19509         empty.
19510         (TEST_ERRNO): New macro.
19511         (TEST_EXCEPTIONS): Likewise.
19512         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
19513         (TEST_EXCEPTIONS): Likewise.
19514         * math/test-math-vector.h (TEST_ERRNO): Likewise.
19515         * math/test-double.c: Include "test-math-errno.h".
19516         * math/test-float.c: Likewise.
19517         * math/test-ldouble.c: Likewise.
19518         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
19519         code unconditional.
19520         (test_exceptions): Only run code if TEST_EXCEPTIONS.
19521         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
19522         unconditional.
19523         (test_errno): Only run code if TEST_ERRNO.
19524         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
19526 2015-11-04  Florian Weimer  <fweimer@redhat.com>
19528         * nptl/tst-once5.cc: Remove attribution.
19530 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19532         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
19533         sqrt, tan, tanh, y0, y1 and yn.
19534         * math/auto-libm-test-out: Regenerated.
19535         * math/libm-test.inc (scalb_test_data): Add more tests.
19536         (scalbn_test_data): Likewise.
19537         (scalbln_test_data): Likewise.
19538         (signbit_test_data): Likewise.
19539         (sin_test_data): Likewise.
19540         (sincos_test_data): Likewise.
19541         (sinh_test_data): Likewise.
19542         (sqrt_test_data): Likewise.
19543         (tan_test_data): Likewise.
19544         (tanh_test_data): Likewise.
19545         (tgamma_test_data): Likewise.
19546         (y0_test_data): Likewise.
19547         (y1_test_data): Likewise.
19548         (yn_test_data): Likewise.
19549         (significand_test_data): Likewise.
19550         * sysdeps/i386/fpu/libm-test-ulps: Update.
19552 2015-11-03  David Kastrup  <dak@gnu.org>
19554         [BZ #18604]
19555         * assert/assert.h (assert): Don't macro-expand failed assertion
19556         expression in error message.
19557         * malloc/malloc.c (assert): Likewise.
19559 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
19561         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
19562         test.
19563         * configure: Regenerated.
19565 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
19567         * math/libm-test.inc (modf_test_data): Add more tests.
19568         (nearbyint_test_data): Likewise.
19569         (nextafter_test_data): Likewise.
19570         (nexttoward_test_data): Likewise.
19571         (pow_test_data): Likewise.
19572         (remainder_test_data): Likewise.
19573         (remquo_test_data): Likewise.
19574         (rint_test_data): Likewise.
19576         [BZ #19201]
19577         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19578         Check for zero remainder in case of large exponents and ensure
19579         correct sign of result in that case.
19580         * math/libm-test.inc (remainder_test_data): Add more tests.
19582         [BZ #6799]
19583         * math/s_nextafter.c: Include <errno.h>.
19584         (__nextafter): Set errno on overflow and underflow.
19585         * math/s_nexttowardf.c: Include <errno.h>.
19586         (__nexttowardf): Set errno on overflow and underflow.
19587         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
19588         (__nextafterl): Set errno on overflow and underflow.
19589         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
19590         (__nexttoward): Set errno on overflow and underflow.
19591         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
19592         (__nexttowardf): Set errno on overflow and underflow.
19593         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
19594         (__nextafterf): Set errno on overflow and underflow.
19595         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
19596         (__nextafterl): Set errno on overflow and underflow.
19597         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
19598         (__nexttoward): Set errno on overflow and underflow.
19599         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
19600         (__nexttowardf): Set errno on overflow and underflow.
19601         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
19602         (__nextafterl): Set errno on overflow and underflow.
19603         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
19604         (__nexttoward): Set errno on overflow and underflow.
19605         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
19606         (__nexttowardf): Set errno on overflow and underflow.
19607         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
19608         (__nexttoward): Set errno on overflow and underflow.
19609         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
19610         (__nexttowardf): Set errno on overflow and underflow.
19611         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
19612         (__nldbl_nexttowardf): Set errno on overflow and underflow.
19613         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
19614         (__nextafterl): Set errno on overflow and underflow.
19615         * math/libm-test.inc (nextafter_test_data): Do not allow errno
19616         setting to be missing on overflow.  Add more tests.
19617         (nexttoward_test_data): Likewise.
19619         * configure.ac (libc_cv_initfini_array): Remove configure test.
19620         * configure: Regenerated.
19622 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
19624         [BZ #19189]
19625         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
19626         non-finite argument handle arguments with negative sign.
19628         * math/libm-test.inc (j0_test_data): Do not test sign of zero
19629         result from infinite argument.
19630         (j1_test_data): Likewise.
19631         (jn_test_data): Likewise.
19632         (y0_test_data): Likewise.
19633         (y1_test_data): Likewise.
19634         (yn_test_data): Likewise.
19636         [BZ #16171]
19637         * math/w_remainder.c (drem): Define as weak alias of __remainder.
19638         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
19639         * math/w_remainderf.c (dremf): Define as weak alias of
19640         __remainderf.
19641         * math/w_remainderl.c (dreml): Define as weak alias of
19642         __remainderl.
19643         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
19644         __remainder.
19645         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
19646         __remainderf.
19647         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
19648         __remainderl.
19649         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
19650         weak alias of remainderl.
19651         * sysdeps/ieee754/ldbl-opt/w_remainder.c
19652         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
19653         alias of __remainder.
19654         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
19655         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
19656         strong alias of __remainderl.
19657         (dreml): Use long_double_symbol.
19658         * math/Makefile (libm-calls): Remove w_drem.
19659         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
19660         (CFLAGS-nldbl-drem.c): Remove variable.
19661         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
19662         * math/w_drem.c: Remove file.
19663         * math/w_dremf.c: Likewise.
19664         * math/w_dreml.c: Likewise.
19665         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
19666         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
19667         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
19669         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
19670         * sysdeps/i386/configure: Regenerated.
19671         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
19672         * sysdeps/x86_64/configure: Regenerated.
19674         * configure.ac (libc_cv_asm_protected_directive): Remove configure
19675         test.
19676         (libc_cv_visibility_attribute): Likewise.
19677         (libc_cv_protected_data): Test unconditionally.
19678         (libc_cv_broken_visibility_attribute): Remove configure test.
19679         (libc_cv_have_sdata_section): Test unconditionally.
19680         * configure: Regenerated.
19682         * include/libc-internal.h (libc_max_align_t): Remove typedef.
19683         * include/scratch_buffer.h: Include <stddef.h> instead of
19684         <libc-internal.h>.
19685         (struct scratch_buffer): Use max_align_t instead of
19686         libc_max_align_t.
19688 2015-10-29  Florian Weimer  <fweimer@redhat.com>
19690         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
19691         instead of extend_alloca.  Change control flow to avoid a goto.
19692         Remove assert which is trivially always true.
19694 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19696         [BZ #16068]
19697         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
19698         (FE_ALL_EXCEPT_X86): New macro.
19699         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19700         FE_ALL_EXCEPT.  Ensure precision control is included in
19701         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19702         handle "denormal operand exception" and clear FZ and DAZ bits.
19703         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
19704         (FE_ALL_EXCEPT_X86): New macro.
19705         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19706         FE_ALL_EXCEPT.  Ensure precision control is included in
19707         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19708         handle "denormal operand exception" and clear FZ and DAZ bits.
19709         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
19710         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
19711         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19712         test-fenv-x87 and test-fenv-sse-2.
19713         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
19715         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
19716         * math/test-double.h (BUILD_COMPLEX): New macro.
19717         * math/test-float.h (BUILD_COMPLEX): Likewise.
19718         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
19720         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
19721         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
19722         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
19723         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
19724         instead of DBL_DENORM_MIN in comment.
19725         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
19726         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19727         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
19728         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
19729         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
19730         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19732 2015-10-28  Florian Weimer  <fweimer@redhat.com>
19734         [BZ# 19048]
19735         * malloc/malloc.c (struct malloc_state): Update comment.  Add
19736         attached_threads member.
19737         (main_arena): Initialize attached_threads.
19738         * malloc/arena.c (list_lock): Update comment.
19739         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
19740         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
19741         (deattach_arena): New function.
19742         (_int_new_arena): Initialize arena reference count and deattach
19743         replaced arena.
19744         (get_free_list, reused_arena): Update reference count and deattach
19745         replaced arena.
19746         (arena_thread_freeres): Update arena reference count and only put
19747         unreferenced arenas on the free list.
19749 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19751         [BZ #19181]
19752         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
19753         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
19754         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
19755         * math/test-fenv-clear-main.c: New file.
19756         * math/test-fenv-clear.c: Likewise.
19757         * math/Makefile (tests): Add test-fenv-clear.
19758         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
19759         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19760         test-fenv-clear-sse.
19761         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
19763         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
19764         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
19765         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
19767 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19769         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
19770         static libc.
19772 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19774         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
19775         test.
19776         * sysdeps/i386/configure: Regenerated.
19777         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
19778         test.
19779         * sysdeps/x86_64/configure: Regenerated.
19780         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
19781         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19782         memset-avx2 unconditionally instead of conditionally on
19783         [$(config-cflags-avx2) = yes].
19784         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19785         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
19786         unconditional.
19787         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
19788         * sysdeps/x86_64/multiarch/memset_chk.S
19789         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
19790         to [IS_IN (libc) && SHARED].
19792 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19794         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
19795         configure test.
19796         * sysdeps/arm/configure: Regenerated.
19797         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
19798         Define variable if not already defined.
19800         [BZ #17404]
19801         * sysdeps/mips/atomic-machine.h
19802         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
19803         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
19804         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19806         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
19807         unconditional.
19808         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
19809         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19810         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
19811         unconditional.
19812         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19813         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
19814         unconditional.
19815         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19816         * stdlib/setenv.c
19817         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
19818         code unconditional.
19819         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
19820         Remove conditional code.
19821         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
19822         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
19823         unconditional.
19824         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19825         code.
19826         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
19827         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
19828         unconditional.
19829         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19830         code.
19831         * sysdeps/ieee754/ldbl-128/k_tanl.c
19832         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19833         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19834         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
19835         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19836         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19837         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
19838         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
19839         unconditional.
19840         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19841         code.
19842         * sysdeps/ieee754/ldbl-96/k_tanl.c
19843         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19844         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19846         * nptl/tst-initializers1-c11.c: New file.
19847         * nptl/tst-initializers1-gnu11.c: Likewise.
19848         * nptl/Makefile (tests): Add these new tests.
19849         (CFLAGS-tst-initializers1-c11.c): New variable.
19850         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19852         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
19853         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
19854         instead of -std=gnu99.
19855         * configure.ac (systemtap): Test with -std=gnu11 instead of
19856         -std=gnu99.
19857         * configure: Regenerated.
19858         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
19859         in compilation command in comment.
19861         * sysdeps/nptl/configure.ac: Remove file.
19862         * sysdeps/nptl/configure: Remove generated file.
19863         * configure.ac (libc_cv_forced_unwind): Do not substitute.
19864         * configure: Regenerated.
19865         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
19866         * config.make.in (have-forced-unwind): Remove variable.
19867         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19868         unconditional.
19869         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
19870         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
19871         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
19872         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
19873         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19874         unconditional.
19876 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19878         [BZ #19174]
19879         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
19880         .skip_lock_out_of_tbegin_retries.
19881         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19882         (__lll_lock_elision): Likewise, and respect a value of
19883         try_tbegin <= 0.
19885 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19887         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
19888         statement.
19890 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19892         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
19893         variable.
19894         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19895         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19897         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
19898         of -std=c1x -D_ISOC11_SOURCE.
19900         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
19901         * configure: Regenerated.
19902         * manual/install.texi (Tools for Compilation): Document
19903         requirement for GCC 4.7 or later.
19904         * INSTALL: Regenerated.
19906 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
19908         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
19909         on CNT to a conditional jump to 'puntdata'.
19911 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19913         * configure.ac (libc_cv_gcc___thread): Remove configure test.
19914         (libc_cv_gcc_tls_model_attr): Likewise.
19915         * configure: Regenerated.
19917         * configure.ac (libc_cv_need_minus_P): Remove configure test.
19918         * configure: Regenerated.
19919         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
19921 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
19923         * configure.ac (old_glibc_headers): Remove configure test.
19924         * configure: Regenerated.
19925         * config.make.in (old-glibc-headers): Remove variable.
19926         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
19927         (install): Remove dependency on remove-old-headers.
19928         (headers2_0): Remove variable.
19929         (remove-old-headers): Remove rule.
19931         * configure.ac (libc_cv_dot_text): Remove configure test.
19932         (libc_cv_asm_set_directive): Use .text instead of
19933         ${libc_cv_dot_text} in configure test.
19934         * configure: Regenerated.
19936 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19938         [BZ #19168]
19939         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19941 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19943         * configure.ac (CXX): Clear the variable if the C++ toolchain does
19944         not support static linking.
19945         * configure: Regenerate.
19947 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
19949         * math/libm-test.inc (check_float_internal): Do not special-case
19950         errors up to 0.5 ulp.
19952         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19953         log2.
19954         * math/auto-libm-test-out: Regenerated.
19955         * math/libm-test.inc (MAX_EXP): New macro.
19956         (ilogb_test_data): Add more tests.
19957         (isfinite_test_data): Likewise.
19958         (isgreater_test_data): Likewise.
19959         (isgreaterequal_test_data): Likewise.
19960         (isinf_test_data): Likewise.
19961         (isless_test_data): Likewise.
19962         (islessequal_test_data): Likewise.
19963         (islessgreater_test_data): Likewise.
19964         (isnan_test_data): Likewise.
19965         (isnormal_test_data): Likewise.
19966         (issignaling_test_data): Likewise.
19967         (isunordered_test_data): Likewise.
19968         (j0_test_data): Likewise.
19969         (j1_test_data): Likewise.
19970         (jn_test_data): Likewise.
19971         (lgamma_test_data): Likewise.
19972         (log_test_data): Likewise.
19973         (log10_test_data): Likewise.
19974         (log1p_test_data): Likewise.
19975         (log2_test_data): Likewise.
19976         (logb_test_data): Likewise.
19977         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19979         [BZ #18611]
19980         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
19981         avoid excess range and precision on underflow.
19982         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19983         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19984         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19985         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
19986         underflow.
19987         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19988         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19989         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19990         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19991         * math/auto-libm-test-in: Do not allow missing errno setting for
19992         tests of j1 and jn.
19993         * math/auto-libm-test-out: Regenerated.
19995 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
19997         [BZ #15491]
19998         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
19999         floating-point environment instead of clearing all exceptions.
20000         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
20001         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
20002         merging in "invalid" exceptions from frndint.
20003         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
20004         * math/test-nearbyint-except.c: New file.
20005         * math/Makefile (tests): Add test-nearbyint-except.
20007 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
20009         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
20011         * sysdeps/tile/libm-test-ulps: Regenerated.
20013 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
20016         (__NR_sync_file_range2): Assume it is always defined.
20017         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20018         (__NR_sync_file_range): Assume it is always defined.
20020 2015-10-22  Andreas Schwab  <schwab@suse.de>
20022         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20023         INTERNAL_SYSCALL_ERRNO.
20024         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20025         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20026         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20027         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20028         Likewise.
20029         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20031 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20033         * io/tst-fcntl.c (fd): New static variable.
20034         (do_prepare): Open temporary file here....
20035         (do_test): ...not here.
20037         * io/ftwtest-sh: Also trap on exit to remove temporary files.
20039 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20041         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
20042         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20043         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20044         Moved before "#ifdef __ASSEMBLER__".
20046 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20048         [BZ #19156]
20049         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
20050         arguments very close to 0.
20052 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
20054         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
20055         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
20057 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20059         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20060         New.  Defined for GCC 5 and above when not compiling for
20061         profiling.
20062         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20064         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20065         Renamed to ...
20066         (CFLAGS-epoll_pwait.o): This.
20067         (CFLAGS-mmap.c): Renamed to ...
20068         (CFLAGS-mmap.o): This.
20069         (CFLAGS-mmap64.c): Renamed to ...
20070         (CFLAGS-mmap64.o): This.
20071         (CFLAGS-epoll_pwait.os): New.
20072         (CFLAGS-mmap.os): Likewise.
20073         (CFLAGS-mmap64.os): Likewise.
20074         (CFLAGS-semtimedop.os): Likewise.
20075         (CFLAGS-semtimedop.c): Renamed to ...
20076         (CFLAGS-semtimedop.o): This.
20078 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20080         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
20081         warning message.
20083 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20085         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
20086         * Makefile ($(objpfx)c++-types-check.out): Filter out
20087         $(+gccwarn-c) instead of -Wstrict-prototypes.
20089         * io/fts.c (fts_open): Convert to prototype-style function
20090         definition.
20091         * malloc/mcheck.c (mcheck): Likewise.
20092         (mcheck_pedantic): Likewise.
20093         * posix/regexec.c (re_search_2_stub): Likewise.  Use
20094         internal_function.
20095         (re_search_internal): Likewise.
20096         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
20097         prototype-style function definition.
20098         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20099         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
20100         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
20101         (xdr_utmpptr): Likewise.
20102         (xdr_utmparr): Likewise.
20103         (xdr_utmpidle): Likewise.
20104         (xdr_utmpidleptr): Likewise.
20105         (xdr_utmpidlearr): Likewise.
20107         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
20108         log, log10 and log2.
20109         * math/auto-libm-test-out: Regenerated.
20110         * math/libm-test.inc (fmod_test_data): Add more tests.
20111         (fpclassify_test_data): Likewise.
20112         (frexp_test_data): Likewise.
20113         (hypot_test_data): Likewise.
20114         (ilogb_test_data): Likewise.
20116 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
20118         * debug/fortify_fail.c (__fortify_fail): Convert to
20119         prototype-style function definition.  Use internal_function.
20120         * libio/genops.c (save_for_backup): Convert to prototype-style
20121         function definition.
20122         * libio/wgenops.c (save_for_wbackup): Likewise.
20123         * login/grantpt.c (grantpt): Likewise.
20124         * login/ptsname.c (ptsname): Likewise.
20125         (__ptsname_r): Likewise.
20126         * login/unlockpt.c (unlockpt): Likewise.
20127         * mach/msgserver.c (__mach_msg_server): Likewise.
20128         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
20129         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
20130         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
20131         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
20132         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
20133         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
20134         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
20135         Likewise.
20136         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
20137         internal_function.
20138         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
20139         prototype-style function definition.
20140         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
20141         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
20142         (__pthread_create_2_0): Likewise.
20143         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
20144         * nptl/register-atfork.c (__register_atfork): Likewise.
20145         * posix/glob.c (glob): Likewise.
20146         * posix/regcomp.c (re_comp): Likewise.
20147         * posix/regexec.c (re_exec): Likewise.
20148         * stdlib/add_n.c [__STDC__]: Make code unconditional.
20149         [!__STDC__]: Remove conditional code.
20150         * stdlib/cmp.c [__STDC__]: Make code unconditional.
20151         [!__STDC__]: Remove conditional code.
20152         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
20153         [!__STDC__]: Remove conditional code.
20154         * stdlib/divrem.c [__STDC__]: Make code unconditional.
20155         [!__STDC__]: Remove conditional code.
20156         * stdlib/lshift.c [__STDC__]: Make code unconditional.
20157         [!__STDC__]: Remove conditional code.
20158         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
20159         [!__STDC__]: Remove conditional code.
20160         * stdlib/mul.c [__STDC__]: Make code unconditional.
20161         [!__STDC__]: Remove conditional code.
20162         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
20163         [!__STDC__]: Remove conditional code.
20164         * stdlib/rshift.c [__STDC__]: Make code unconditional.
20165         [!__STDC__]: Remove conditional code.
20166         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
20167         function definition.
20168         (STRTOF): Likewise.
20169         * stdlib/strtod_l.c (__STRTOF): Likewise.
20170         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
20171         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
20172         (__strtol_l): Likewise.
20173         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
20174         [!__STDC__]: Remove conditional code.
20175         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
20176         definition.
20177         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20178         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20179         type.
20180         (__strcasecmp): Convert to prototype-style function definition.
20181         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
20182         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20183         type.
20184         (__strncasecmp): Convert to prototype-style function definition.
20185         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
20186         * sunrpc/xdr.c (xdr_union): Likewise.
20187         * sunrpc/xdr_array.c (xdr_array): Likewise.
20188         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
20189         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
20190         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
20191         Likewise.
20192         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
20193         Likewise.
20194         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
20195         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20196         Likewise.
20197         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
20198         (LOCALE_PARAM_PROTO): Likewise.
20199         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
20200         argument type.
20201         (ut_argument_spec): Remove macro.
20202         (ut_argument_spec_iso): Rename to ut_argument_spec.
20203         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
20204         prototype-style function definition.
20205         (memcpy_uppcase): Likewise.
20206         (__strftime_internal): Likewise.
20207         (my_strftime): Likewise.
20208         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
20209         (LOCALE_PARAM_DECL): Likewise.
20210         [_LIBC] (LOCALE_PARAM): Include argument type.
20211         (__strptime_internal): Convert to prototype-style function
20212         definition.
20213         (strptime): Likewise.
20214         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20215         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20216         type.
20217         (__wcscasecmp): Convert to prototype-style function definition.
20218         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
20219         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20220         type.
20221         (__wcsncasecmp): Convert to prototype-style function definition.
20223         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
20224         function definition.
20225         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20226         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20227         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
20228         * elf/dl-minimal.c (_itoa): Likewise.
20229         * hurd/hurdmalloc.c (malloc): Likewise.
20230         (free): Likewise.
20231         (realloc): Likewise.
20232         * inet/inet6_option.c (inet6_option_space): Likewise.
20233         (inet6_option_init): Likewise.
20234         (inet6_option_append): Likewise.
20235         (inet6_option_alloc): Likewise.
20236         (inet6_option_next): Likewise.
20237         (inet6_option_find): Likewise.
20238         * io/ftw.c (FTW_NAME): Likewise.
20239         (NFTW_NAME): Likewise.
20240         (NFTW_NEW_NAME): Likewise.
20241         (NFTW_OLD_NAME): Likewise.
20242         * libio/iofwide.c (_IO_fwide): Likewise.
20243         * libio/strops.c (_IO_str_init_static_internal): Likewise.
20244         (_IO_str_init_static): Likewise.
20245         (_IO_str_init_readonly): Likewise.
20246         (_IO_str_overflow): Likewise.
20247         (_IO_str_underflow): Likewise.
20248         (_IO_str_count): Likewise.
20249         (_IO_str_seekoff): Likewise.
20250         (_IO_str_pbackfail): Likewise.
20251         (_IO_str_finish): Likewise.
20252         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
20253         (_IO_wstr_overflow): Likewise.
20254         (_IO_wstr_underflow): Likewise.
20255         (_IO_wstr_count): Likewise.
20256         (_IO_wstr_seekoff): Likewise.
20257         (_IO_wstr_pbackfail): Likewise.
20258         (_IO_wstr_finish): Likewise.
20259         * locale/programs/localedef.c (normalize_codeset): Likewise.
20260         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20261         (add_locales_to_archive): Likewise.
20262         (delete_locales_from_archive): Likewise.
20263         * malloc/malloc.c (__libc_mallinfo): Likewise.
20264         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
20265         * misc/tsearch.c (__tfind): Likewise.
20266         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
20267         * nptl/pthread_attr_getdetachstate.c
20268         (__pthread_attr_getdetachstate): Likewise.
20269         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20270         Likewise.
20271         * nptl/pthread_attr_getinheritsched.c
20272         (__pthread_attr_getinheritsched): Likewise.
20273         * nptl/pthread_attr_getschedparam.c
20274         (__pthread_attr_getschedparam): Likewise.
20275         * nptl/pthread_attr_getschedpolicy.c
20276         (__pthread_attr_getschedpolicy): Likewise.
20277         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
20278         Likewise.
20279         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
20280         Likewise.
20281         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20282         Likewise.
20283         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20284         Likewise.
20285         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
20286         (__pthread_attr_init_2_0): Likewise.
20287         * nptl/pthread_attr_setdetachstate.c
20288         (__pthread_attr_setdetachstate): Likewise.
20289         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
20290         Likewise.
20291         * nptl/pthread_attr_setinheritsched.c
20292         (__pthread_attr_setinheritsched): Likewise.
20293         * nptl/pthread_attr_setschedparam.c
20294         (__pthread_attr_setschedparam): Likewise.
20295         * nptl/pthread_attr_setschedpolicy.c
20296         (__pthread_attr_setschedpolicy): Likewise.
20297         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
20298         Likewise.
20299         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
20300         Likewise.
20301         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20302         Likewise.
20303         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20304         Likewise.
20305         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
20306         Likewise.
20307         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
20308         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20309         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
20310         use internal_function.
20311         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
20312         prototype-style function definition.
20313         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20314         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
20315         internal_function.
20316         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
20317         Convert to prototype-style function definition.
20318         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20319         Likewise.
20320         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
20321         Likewise.
20322         (__pthread_mutex_unlock): Likewise.
20323         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
20324         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
20325         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
20326         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
20327         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
20328         * nss/makedb.c (process_input): Likewise.
20329         * posix/fnmatch.c (__strchrnul): Likewise.
20330         (__wcschrnul): Likewise.
20331         (fnmatch): Likewise.
20332         * posix/fnmatch_loop.c (FCT): Likewise.
20333         * posix/glob.c (globfree): Likewise.
20334         (__glob_pattern_type): Likewise.
20335         (__glob_pattern_p): Likewise.
20336         * posix/regcomp.c (re_compile_pattern): Likewise.
20337         (re_set_syntax): Likewise.
20338         (re_compile_fastmap): Likewise.
20339         (regcomp): Likewise.
20340         (regerror): Likewise.
20341         (regfree): Likewise.
20342         * posix/regexec.c (regexec): Likewise.
20343         (re_match): Likewise.
20344         (re_search): Likewise.
20345         (re_match_2): Likewise.
20346         (re_search_2): Likewise.
20347         (re_search_stub): Likewise.  Use internal_function
20348         (re_copy_regs): Likewise.
20349         (re_set_registers): Convert to prototype-style function
20350         definition.
20351         (prune_impossible_nodes): Likewise.  Use internal_function.
20352         * resolv/inet_net_pton.c (inet_net_pton): Convert to
20353         prototype-style function definition.
20354         (inet_net_pton_ipv4): Likewise.
20355         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20356         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
20357         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
20358         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
20359         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20360         Make variadic.
20361         * time/strptime_l.c (localtime_r): Convert to prototype-style
20362         function definition.
20363         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20364         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20365         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20366         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20368         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
20369         definition.
20370         (_ufc_doit_r): Likewise.
20371         * crypt/crypt_util.c (_ufc_copymem): Likewise.
20372         (_ufc_output_conversion_r): Likewise.
20373         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
20374         * inet/rcmd.c (rcmd_af): Likewise.
20375         (rcmd): Likewise.
20376         (ruserok_af): Likewise.
20377         (ruserok): Likewise.
20378         (ruserok2_sa): Likewise.
20379         (ruserok_sa): Likewise.
20380         (iruserok_af): Likewise.
20381         (iruserok): Likewise.
20382         (__ivaliduser): Likewise.
20383         (__validuser2_sa): Likewise.
20384         * inet/rexec.c (rexec_af): Likewise.
20385         (rexec): Likewise.
20386         * inet/ruserpass.c (ruserpass): Likewise.
20387         * locale/programs/xmalloc.c (xcalloc): Likewise.
20388         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
20389         * math/w_drem.c (__drem): Likewise.
20390         * math/w_dremf.c (__dremf): Likewise.
20391         * math/w_dreml.c (__dreml): Likewise.
20392         * misc/daemon.c (daemon): Likewise.
20393         * resolv/res_debug.c (p_fqnname): Likewise.
20394         * stdlib/div.c (div): Likewise.
20395         * string/memcmp.c (memcmp_bytes): Likewise.
20396         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
20397         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
20399         * crypt/cert.c (main): Convert to prototype-style function
20400         definition.
20401         * io/pipe.c (__pipe): Likewise.
20402         * io/pipe2.c (__pipe2): Likewise.
20403         * misc/futimesat.c (futimesat): Likewise.
20404         * misc/utimes.c (__utimes): Likewise.
20405         * posix/execve.c (__execve): Likewise.
20406         * posix/execvp.c (execvp): Likewise.
20407         * posix/execvpe.c (__execvpe): Likewise.
20408         * posix/fexecve.c (fexecve): Likewise.
20409         * socket/socketpair.c (socketpair): Likewise.
20410         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20411         * stdlib/erand48.c (erand48): Likewise.
20412         * stdlib/erand48_r.c (__erand48_r): Likewise.
20413         * stdlib/jrand48.c (jrand48): Likewise.
20414         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
20415         * stdlib/lcong48.c (lcong48): Likewise.
20416         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
20417         * stdlib/nrand48.c (nrand48): Likewise.
20418         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
20419         * stdlib/seed48.c (seed48): Likewise.
20420         * stdlib/seed48_r.c (__seed48_r): Likewise.
20421         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
20422         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
20423         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
20425 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20427         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
20428         * configure: Regenerated.
20429         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
20430         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
20431         unconditional.
20432         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20433         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20434         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20435         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
20436         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
20437         unconditional.
20438         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20440         * posix/Makefile (CFLAGS-regex.c): Remove variable.
20441         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
20443         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
20444         function definition.
20445         * crypt/crypt_util.c (__encrypt_r): Likewise.
20446         * libio/genops.c (_IO_no_init): Likewise.
20447         * libio/iofopncook.c (_IO_fopencookie): Likewise.
20448         (_IO_old_fopencookie): Likewise.
20449         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20450         * libio/iogetline.c (_IO_getline): Likewise.
20451         (_IO_getline_info): Likewise.
20452         * libio/iogetwline.c (_IO_getwline): Likewise.
20453         (_IO_getwline_info): Likewise.
20454         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
20455         * libio/vswprintf.c (_IO_vswprintf): Likewise.
20456         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
20457         (find_entry): Likewise.
20458         (iterate_table): Likewise.
20459         (lookup): Likewise.
20460         * login/forkpty.c (forkpty): Likewise.
20461         * misc/hsearch_r.c (__hsearch_r): Likewise.
20462         * misc/select.c (__select): Likewise.
20463         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
20464         Likewise.
20465         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
20466         Likewise.
20467         * nptl/old_pthread_cond_timedwait.c
20468         (__pthread_cond_timedwait_2_0): Likewise.
20469         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20470         * nptl/pthread_barrierattr_getpshared.c
20471         (pthread_barrierattr_getpshared): Likewise.
20472         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
20473         Likewise.
20474         * nptl/pthread_mutex_setprioceiling.c
20475         (pthread_mutex_setprioceiling): Likewise.
20476         * nptl/pthread_mutexattr_getprioceiling.c
20477         (pthread_mutexattr_getprioceiling): Likewise.
20478         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20479         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20480         Likewise.
20481         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20482         Likewise.
20483         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
20484         Likewise.
20485         * socket/recvfrom.c (__recvfrom): Likewise.
20486         * socket/sendto.c (__sendto): Likewise.
20487         * socket/setsockopt.c (__setsockopt): Likewise.
20488         * stdio-common/_itoa.c (_itoa): Likewise.
20489         * stdio-common/_itowa.c (_itowa): Likewise.
20490         * stdio-common/reg-printf.c (__register_printf_specifier):
20491         Likewise.
20492         (__register_printf_function): Likewise.
20493         * stdio-common/tempname.c (__path_search): Likewise.
20494         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
20495         * stdlib/mul_1.c (mpn_mul_1): Likewise.
20496         * stdlib/random_r.c (__initstate_r): Likewise.
20497         * stdlib/setenv.c (__add_to_environ): Likewise.
20498         * stdlib/submul_1.c (mpn_submul_1): Likewise.
20499         * streams/getpmsg.c (getpmsg): Likewise.
20500         * streams/putmsg.c (putmsg): Likewise.
20501         * streams/putpmsg.c (putpmsg): Likewise.
20502         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
20503         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
20504         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
20505         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
20506         * sunrpc/pm_getport.c (pmap_getport): Likewise.
20507         * sunrpc/svc_udp.c (cache_get): Likewise.
20508         * sunrpc/xdr_array.c (xdr_vector): Likewise.
20509         * sysdeps/mach/hurd/getcwd.c
20510         (__canonicalize_directory_name_internal): Likewise.
20511         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
20512         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
20513         * sysdeps/mach/hurd/select.c (__select): Likewise.
20514         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
20515         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
20516         * sysdeps/sparc/nptl/pthread_barrier_init.c
20517         (__pthread_barrier_init): Likewise.
20518         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
20519         (__pthread_cond_timedwait): Likewise.
20520         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
20521         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
20522         Likewise.
20523         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
20524         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
20525         Likewise.
20526         * sysvipc/semtimedop.c (semtimedop): Likewise.
20527         * time/setitimer.c (__setitimer): Likewise.
20528         * time/strftime_l.c (emacs_strftime): Likewise.
20530 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20532         * config.make.in (have-ssp): Delete.
20533         (stack-protector): New variable.
20534         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
20535         cache test for -fstack-protector-strong.  Export stack_protector to
20536         the best ssp flag.
20537         * configure: Regenerated.
20538         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
20539         * nscd/Makefile (CFLAGS-nscd): Likewise.
20540         * resolv/Makefile (CFLAGS-libresolv): Likewise.
20542 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
20544         [BZ #19122]
20545         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
20546         attribute_hidden.
20548 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20550         [BZ #18743]
20551         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
20552         code to...
20553         (ELIDE_LOCK): ...here.
20554         (__get_new_count): New function with part of the code from
20555         __elide_lock that updates the value of adapt_count after a
20556         transaction abort.
20557         (__elided_trylock): Moved this code to...
20558         (ELIDE_TRYLOCK): ...here.
20560 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20562         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
20563         * configure: Regenerate.
20564         * INSTALL: Regenerate.
20565         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
20566         and tweak grammar.
20568 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
20570         * login/programs/pt_chown.c: Include signal.h
20571         (main): Clear any signal mask from the parent process.
20573 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20575         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
20576         * configure: Regenerated.
20577         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
20578         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
20579         $(gnu89-inline-CFLAGS).
20581         * configure.ac (libc_cv_asm_weak_directive): Remove configure
20582         test.
20583         (libc_cv_asm_weakext_directive): Likewise.
20584         * configure: Regenerated.
20585         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
20586         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
20587         * include/libc-symbols.h
20588         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
20589         #error.
20590         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
20591         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
20593         * sysdeps/arm/backtrace.c (__backtrace): Convert to
20594         prototype-style function definition.
20595         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20596         * sysdeps/i386/ffs.c (__ffs): Likewise.
20597         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20598         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
20599         Likewise.
20600         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20601         Likewise.
20602         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
20603         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20604         Likewise.
20605         * sysdeps/m68k/ffs.c (__ffs): Likewise.
20606         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
20607         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
20608         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
20609         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
20610         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
20611         * sysdeps/mach/hurd/access.c (__access): Likewise.
20612         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
20613         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
20614         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
20615         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
20616         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
20617         (cthread_getspecific): Likewise.
20618         (cthread_setspecific): Likewise.
20619         (__libc_getspecific): Likewise.
20620         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
20621         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
20622         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
20623         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
20624         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
20625         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
20626         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
20627         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
20628         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
20629         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
20630         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
20631         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
20632         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
20633         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
20634         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
20635         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
20636         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
20637         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
20638         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
20639         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
20640         * sysdeps/mach/hurd/link.c (__link): Likewise.
20641         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
20642         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
20643         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
20644         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
20645         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20646         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
20647         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
20648         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
20649         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20650         * sysdeps/mach/hurd/rename.c (rename): Likewise.
20651         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
20652         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
20653         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
20654         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
20655         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
20656         * sysdeps/mach/hurd/send.c (__send): Likewise.
20657         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
20658         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
20659         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
20660         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
20661         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
20662         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
20663         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
20664         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
20665         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
20666         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
20667         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
20668         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
20669         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
20670         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
20671         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
20672         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
20673         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
20674         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
20675         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
20676         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20677         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
20678         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
20679         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
20680         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
20681         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
20682         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
20683         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
20684         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
20685         * sysdeps/posix/alarm.c (alarm): Likewise.
20686         * sysdeps/posix/cuserid.c (cuserid): Likewise.
20687         * sysdeps/posix/dirfd.c (dirfd): Likewise.
20688         * sysdeps/posix/dup.c (__dup): Likewise.
20689         * sysdeps/posix/dup2.c (__dup2): Likewise.
20690         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
20691         (main): Likewise.
20692         * sysdeps/posix/flock.c (__flock): Likewise.
20693         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
20694         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
20695         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
20696         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
20697         * sysdeps/posix/isatty.c (__isatty): Likewise.
20698         * sysdeps/posix/killpg.c (killpg): Likewise.
20699         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20700         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
20701         * sysdeps/posix/raise.c (raise): Likewise.
20702         * sysdeps/posix/remove.c (remove): Likewise.
20703         * sysdeps/posix/rename.c (rename): Likewise.
20704         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
20705         * sysdeps/posix/seekdir.c (seekdir): Likewise.
20706         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
20707         * sysdeps/posix/sigignore.c (sigignore): Likewise.
20708         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
20709         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
20710         * sysdeps/posix/sigset.c (sigset): Likewise.
20711         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
20712         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
20713         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
20714         * sysdeps/posix/time.c (time): Likewise.
20715         * sysdeps/posix/ttyname.c (getttyname): Likewise.
20716         (ttyname): Likewise.
20717         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
20718         * sysdeps/posix/utime.c (utime): Likewise.
20719         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
20720         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20721         Likewise.
20722         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
20723         (pthread_spin_trylock): Likewise.
20724         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
20725         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
20726         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
20727         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
20728         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
20729         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
20730         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
20731         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
20732         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
20733         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
20734         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
20735         * sysdeps/s390/ffs.c (__ffs): Likewise.
20736         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
20737         Likewise.
20738         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20739         Likewise.
20740         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
20741         Likewise.
20742         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
20743         (pthread_barrier_destroy): Likewise.
20744         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20745         (__pthread_barrier_wait): Likewise.
20746         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
20747         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20748         (__pthread_barrier_wait): Likewise.
20749         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
20750         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
20751         (memcmp_not_common_alignment): Likewise.
20752         (MEMCMP): Likewise.
20753         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
20754         (_wordcopy_fwd_dest_aligned): Likewise.
20755         (_wordcopy_bwd_aligned): Likewise.
20756         (_wordcopy_bwd_dest_aligned): Likewise.
20757         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
20758         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
20759         * sysdeps/unix/bsd/stty.c (stty): Likewise.
20760         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
20761         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
20762         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
20763         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
20764         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
20765         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
20766         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
20767         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
20768         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20769         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
20770         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
20771         * sysdeps/unix/stime.c (stime): Likewise.
20772         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
20773         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
20774         Likewise.  Use internal_function.
20775         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
20776         Convert to prototype-style function definition.
20777         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20778         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20779         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
20780         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20781         Likewise.  Use internal_function.
20782         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
20783         prototype-style function definition
20784         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20785         Likewise.
20786         (__getlogin_r): Likewise.
20787         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
20788         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
20789         (__pthread_cond_broadcast): Likewise.
20790         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
20791         (__pthread_cond_destroy): Likewise.
20792         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
20793         (__pthread_cond_init): Likewise.
20794         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
20795         (__pthread_cond_signal): Likewise.
20796         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
20797         (__pthread_cond_wait): Likewise.
20798         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
20799         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20800         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
20801         Likewise.
20802         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
20803         Likewise.
20804         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
20805         Likewise.
20806         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
20807         Likewise.
20808         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
20809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
20810         (__ftruncate64): Likewise.
20811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
20812         (truncate64): Likewise.
20813         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
20814         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
20815         (pthread_getcpuclockid): Likewise.
20816         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
20817         Likewise.
20818         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
20819         Likewise.
20820         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
20821         Likewise.
20822         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
20823         Likewise.
20824         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
20825         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
20826         (__libc_sigaction): Likewise.
20827         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
20828         Likewise.
20829         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
20830         (__sigprocmask): Likewise.
20831         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
20832         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
20833         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
20834         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20835         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20836         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
20837         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20838         Likewise.
20839         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
20840         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
20841         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20842         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
20843         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
20844         Likewise.
20845         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
20846         (__sigprocmask): Likewise.
20847         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
20848         (cfgetispeed): Likewise.
20849         (cfsetospeed): Likewise.
20850         (cfsetispeed): Likewise.
20851         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
20852         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
20853         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20854         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20855         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
20856         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
20857         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
20858         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
20859         Likewise.
20860         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
20861         Likewise.
20862         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
20863         Likewise.
20864         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
20865         Likewise.
20866         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20868 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20870         sunrpc: Rewrite with explicit TLS access using __thread.
20871         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
20872         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
20873         directly.
20874         (__rpc_thread_variables): Access thread_rpc_vars directly.
20875         Eliminate redundant assignment of the tvp variable.
20877 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20879         malloc: Rewrite with explicit TLS access using __thread.
20880         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
20881         (tsd_setspecific, tsd_getspecific): Remove.
20882         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
20883         (tsd_setspecific, tsd_getspecific): Likewise.
20884         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
20885         (tsd_setspecific, tsd_getspecific): Likewise.
20886         * malloc/arena.c (thread_arena): New TLS variable.
20887         (arena_key): Remove variable.
20888         (arena_get): Use thread_arena.
20889         (arena_lookup): Remove macro.
20890         (malloc_atfork, free_atfork, ptmalloc_lock_all)
20891         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
20892         (_int_new_arena, get_free_list, reused_arena)
20893         (arena_thread_freeres): Use thread_arena.
20894         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
20895         tsd_getspecific, tsd_setspecific from safety annotations.
20896         (Allocating Cleared Space): Remove arena_lookup from safety
20897         annotations.
20899 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20901         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
20902         struct scratch_buffer instead of extend_alloca.
20904 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20906         * sysdeps/unix/sysv/linux/kernel-features.h
20907         (__ASSUME_SOCK_CLOEXEC): Remove.
20908         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
20909         (__have_paccept): Remove unused macro.
20910         * include/unistd.h (__have_sock_cloexec): Remove declaration.
20911         * misc/syslog.c (openlog_internal): Remove fallback code for
20912         !__ASSUME_SOCK_CLOEXEC.
20913         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
20914         missing SOCK_CLOEXEC.
20915         * nscd/connections.c (have_sock_cloexec): Remove definition.
20916         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20917         * nscd/nscd_helper.c (open_socket): Remove fallback code for
20918         !__ASSUME_SOCK_CLOEXEC.
20919         * resolv/res_send.c (__have_o_nonblock): Remove definition.
20920         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20921         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
20922         definition.
20923         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
20924         code for !__ASSUME_SOCK_CLOEXEC.
20926 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20928         [BZ #18982]
20929         * manual/stdio.texi (Variable Arguments Output): Add portability
20930         note, explaining that vfprintf clobbers the va_list pointer.
20932 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20934         * math/libm-test.inc (fabs_test_data): Add more tests.
20935         (fdim_test_data): Likewise.
20936         (fma_test_data): Likewise.
20937         (fmax_test_data): Likewise.
20938         (fmin_test_data): Likewise.
20939         (fmod_test_data): Likewise.
20941 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
20943         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
20944         data.
20946 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20948         * math/libm-test.inc (ceil_test_data): Add more tests and more
20949         expectations for "inexact".
20950         (floor_test_data): Add more tests.
20951         (round_test_data): Likewise.
20952         (trunc_test_data): Likewise.
20954         * crypt/cert.c (good_bye): Convert to prototype-style function
20955         definition.
20956         (get8): Likewise.
20957         (put8): Likewise.
20958         * crypt/crypt-entry.c (crypt): Likewise.
20959         (__fcrypt): Likewise.
20960         * crypt/crypt_util.c (_ufc_prbits): Likewise.
20961         (_ufc_set_bits): Likewise.
20962         (_ufc_clearmem): Likewise.
20963         (__init_des_r): Likewise.
20964         (shuffle_sb): Likewise.
20965         (shuffle_sb): Likewise.
20966         (_ufc_setup_salt_r): Likewise.
20967         (_ufc_mk_keytab_r): Likewise.
20968         (_ufc_dofinalperm_r): Likewise.
20969         (encrypt): Likewise.
20970         (__setkey_r): Likewise.
20971         (setkey): Likewise.
20972         * crypt/md5.c (md5_init_ctx): Likewise.
20973         (md5_read_ctx): Likewise.
20974         (md5_finish_ctx): Likewise.
20975         (md5_stream): Likewise.
20976         (md5_buffer): Likewise.
20977         (md5_process_bytes): Likewise.
20978         * crypt/sha256.c (__sha256_init_ctx): Likewise.
20979         (__sha256_finish_ctx): Likewise.
20980         (__sha256_process_bytes): Likewise.
20981         * crypt/sha512.c (__sha512_init_ctx): Likewise.
20982         (__sha512_finish_ctx): Likewise.
20983         (__sha512_process_bytes): Likewise.
20984         * ctype/isctype.c (__isctype): Likewise.
20985         * debug/backtrace.c (__backtrace): Likewise.
20986         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
20987         * debug/fgets_chk.c (__fgets_chk): Likewise.
20988         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
20989         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
20990         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20991         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20992         * debug/memset_chk.c (__memset_chk): Likewise.
20993         * debug/strcat_chk.c (__strcat_chk): Likewise.
20994         * debug/strncat_chk.c (__strncat_chk): Likewise.
20995         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
20996         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
20997         * dirent/dirfd.c (dirfd): Likewise.
20998         * dirent/getdents.c (__getdirentries): Likewise.
20999         * dirent/getdents64.c (getdirentries64): Likewise.
21000         * dirent/rewinddir.c (__rewinddir): Likewise.
21001         * dirent/seekdir.c (seekdir): Likewise.
21002         * dirent/telldir.c (telldir): Likewise.
21003         * elf/sln.c (makesymlinks): Likewise.
21004         (makesymlink): Likewise.
21005         * gmon/gmon.c (__moncontrol): Likewise.
21006         (__monstartup): Likewise.
21007         (write_hist): Likewise.
21008         (write_call_graph): Likewise.
21009         (write_bb_counts): Likewise.
21010         * grp/setgroups.c (setgroups): Likewise.
21011         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21012         * inet/inet_net.c (inet_network): Likewise.
21013         * inet/inet_netof.c (inet_netof): Likewise.
21014         * inet/rcmd.c (rresvport_af): Likewise.
21015         (rresvport): Likewise.
21016         * io/access.c (__access): Likewise.
21017         * io/chdir.c (__chdir): Likewise.
21018         * io/chmod.c (__chmod): Likewise.
21019         * io/chown.c (__chown): Likewise.
21020         * io/close.c (__close): Likewise.
21021         * io/creat.c (creat): Likewise.
21022         * io/creat64.c (creat64): Likewise.
21023         * io/dup.c (__dup): Likewise.
21024         * io/dup2.c (__dup2): Likewise.
21025         * io/dup3.c (__dup3): Likewise.
21026         * io/euidaccess.c (__euidaccess): Likewise.
21027         * io/faccessat.c (faccessat): Likewise.
21028         * io/fchmod.c (__fchmod): Likewise.
21029         * io/fchmodat.c (fchmodat): Likewise.
21030         * io/fchown.c (__fchown): Likewise.
21031         * io/fchownat.c (fchownat): Likewise.
21032         * io/fcntl.c (__fcntl): Likewise.
21033         * io/flock.c (__flock): Likewise.
21034         * io/fts.c (fts_load): Likewise.
21035         (fts_close): Likewise.
21036         (fts_read): Likewise.
21037         (fts_set): Likewise.
21038         (fts_children): Likewise.
21039         (fts_build): Likewise.
21040         (fts_stat): Likewise.
21041         (fts_sort): Likewise.
21042         (fts_alloc): Likewise.
21043         (fts_lfree): Likewise.
21044         (fts_palloc): Likewise.
21045         (fts_padjust): Likewise.
21046         (fts_maxarglen): Likewise.
21047         (fts_safe_changedir): Likewise.
21048         * io/getwd.c (getwd): Likewise.
21049         * io/isatty.c (__isatty): Likewise.
21050         * io/lchown.c (__lchown): Likewise.
21051         * io/link.c (__link): Likewise.
21052         * io/linkat.c (linkat): Likewise.
21053         * io/lseek.c (__libc_lseek): Likewise.
21054         * io/mkdir.c (__mkdir): Likewise.
21055         * io/mkdirat.c (mkdirat): Likewise.
21056         * io/mkfifo.c (mkfifo): Likewise.
21057         * io/mkfifoat.c (mkfifoat): Likewise.
21058         * io/open.c (__libc_open): Likewise.
21059         * io/open64.c (__libc_open64): Likewise.
21060         * io/readlink.c (__readlink): Likewise.
21061         * io/readlinkat.c (readlinkat): Likewise.
21062         * io/rmdir.c (__rmdir): Likewise.
21063         * io/symlink.c (__symlink): Likewise.
21064         * io/symlinkat.c (symlinkat): Likewise.
21065         * io/ttyname.c (ttyname): Likewise.
21066         * io/ttyname_r.c (__ttyname_r): Likewise.
21067         * io/umask.c (__umask): Likewise.
21068         * io/unlink.c (__unlink): Likewise.
21069         * io/unlinkat.c (unlinkat): Likewise.
21070         * io/utime.c (utime): Likewise.
21071         * libio/clearerr.c (clearerr): Likewise.
21072         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
21073         * libio/feof.c (_IO_feof): Likewise.
21074         * libio/feof_u.c (feof_unlocked): Likewise.
21075         * libio/ferror.c (_IO_ferror): Likewise.
21076         * libio/ferror_u.c (ferror_unlocked): Likewise.
21077         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21078         * libio/fileno.c (__fileno): Likewise.
21079         * libio/fputc.c (fputc): Likewise.
21080         * libio/fputc_u.c (fputc_unlocked): Likewise.
21081         * libio/fputwc.c (fputwc): Likewise.
21082         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
21083         * libio/freopen.c (freopen): Likewise.
21084         * libio/freopen64.c (freopen64): Likewise.
21085         * libio/fseek.c (fseek): Likewise.
21086         * libio/fseeko.c (fseeko): Likewise.
21087         * libio/fseeko64.c (fseeko64): Likewise.
21088         * libio/ftello.c (__ftello): Likewise.
21089         * libio/ftello64.c (ftello64): Likewise.
21090         * libio/fwide.c (fwide): Likewise.
21091         * libio/genops.c (_IO_un_link): Likewise.
21092         (_IO_link_in): Likewise.
21093         (_IO_least_marker): Likewise.
21094         (_IO_switch_to_main_get_area): Likewise.
21095         (_IO_switch_to_backup_area): Likewise.
21096         (_IO_switch_to_get_mode): Likewise.
21097         (_IO_free_backup_area): Likewise.
21098         (_IO_switch_to_put_mode): Likewise.
21099         (__overflow): Likewise.
21100         (__underflow): Likewise.
21101         (__uflow): Likewise.
21102         (_IO_setb): Likewise.
21103         (_IO_doallocbuf): Likewise.
21104         (_IO_default_underflow): Likewise.
21105         (_IO_default_uflow): Likewise.
21106         (_IO_default_xsputn): Likewise.
21107         (_IO_sgetn): Likewise.
21108         (_IO_default_xsgetn): Likewise.
21109         (_IO_sync): Likewise.
21110         (_IO_default_setbuf): Likewise.
21111         (_IO_default_seekpos): Likewise.
21112         (_IO_default_doallocate): Likewise.
21113         (_IO_init): Likewise.
21114         (_IO_old_init): Likewise.
21115         (_IO_default_sync): Likewise.
21116         (_IO_default_finish): Likewise.
21117         (_IO_default_seekoff): Likewise.
21118         (_IO_sputbackc): Likewise.
21119         (_IO_sungetc): Likewise.
21120         (_IO_set_column): Likewise.
21121         (_IO_set_column): Likewise.
21122         (_IO_adjust_column): Likewise.
21123         (_IO_get_column): Likewise.
21124         (_IO_init_marker): Likewise.
21125         (_IO_remove_marker): Likewise.
21126         (_IO_marker_difference): Likewise.
21127         (_IO_marker_delta): Likewise.
21128         (_IO_seekmark): Likewise.
21129         (_IO_unsave_markers): Likewise.
21130         (_IO_nobackup_pbackfail): Likewise.
21131         (_IO_default_pbackfail): Likewise.
21132         (_IO_default_seek): Likewise.
21133         (_IO_default_stat): Likewise.
21134         (_IO_default_read): Likewise.
21135         (_IO_default_write): Likewise.
21136         (_IO_default_showmanyc): Likewise.
21137         (_IO_default_imbue): Likewise.
21138         (_IO_iter_next): Likewise.
21139         (_IO_iter_file): Likewise.
21140         * libio/getc.c (_IO_getc): Likewise.
21141         * libio/getwc.c (_IO_getwc): Likewise.
21142         * libio/iofclose.c (_IO_new_fclose): Likewise.
21143         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21144         * libio/iofflush.c (_IO_fflush): Likewise.
21145         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
21146         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
21147         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
21148         * libio/iofgets.c (_IO_fgets): Likewise.
21149         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
21150         * libio/iofgetws.c (fgetws): Likewise.
21151         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21152         * libio/iofopen64.c (_IO_fopen64): Likewise.
21153         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21154         (_IO_cookie_write): Likewise.
21155         (_IO_cookie_seek): Likewise.
21156         (_IO_cookie_close): Likewise.
21157         (_IO_cookie_seekoff): Likewise.
21158         (_IO_old_cookie_seek): Likewise.
21159         * libio/iofputs.c (_IO_fputs): Likewise.
21160         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
21161         * libio/iofputws.c (fputws): Likewise.
21162         * libio/iofputws_u.c (fputws_unlocked): Likewise.
21163         * libio/iofread.c (_IO_fread): Likewise.
21164         * libio/iofread_u.c (__fread_unlocked): Likewise.
21165         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
21166         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
21167         * libio/ioftell.c (_IO_ftell): Likewise.
21168         * libio/iofwrite.c (_IO_fwrite): Likewise.
21169         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21170         * libio/iogets.c (_IO_gets): Likewise.
21171         * libio/iopadn.c (_IO_padn): Likewise.
21172         * libio/iopopen.c (_IO_new_proc_open): Likewise.
21173         (_IO_new_popen): Likewise.
21174         (_IO_new_proc_close): Likewise.
21175         * libio/ioputs.c (_IO_puts): Likewise.
21176         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
21177         (_IO_seekoff): Likewise.
21178         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
21179         (_IO_seekpos): Likewise.
21180         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
21181         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
21182         * libio/ioungetc.c (_IO_ungetc): Likewise.
21183         * libio/ioungetwc.c (ungetwc): Likewise.
21184         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21185         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
21186         * libio/iowpadn.c (_IO_wpadn): Likewise.
21187         * libio/libc_fatal.c (__libc_fatal): Likewise.
21188         * libio/memstream.c (__open_memstream): Likewise.
21189         (_IO_mem_sync): Likewise.
21190         (_IO_mem_finish): Likewise.
21191         * libio/oldfileops.c (_IO_old_file_init): Likewise.
21192         (_IO_old_file_close_it): Likewise.
21193         (_IO_old_file_finish): Likewise.
21194         (_IO_old_file_fopen): Likewise.
21195         (_IO_old_file_attach): Likewise.
21196         (_IO_old_file_setbuf): Likewise.
21197         (_IO_old_do_write): Likewise.
21198         (old_do_write): Likewise.
21199         (_IO_old_file_underflow): Likewise.
21200         (_IO_old_file_overflow): Likewise.
21201         (_IO_old_file_sync): Likewise.
21202         (_IO_old_file_seekoff): Likewise.
21203         (_IO_old_file_write): Likewise.
21204         (_IO_old_file_xsputn): Likewise.
21205         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
21206         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21207         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
21208         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
21209         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21210         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
21211         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
21212         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
21213         (_IO_old_popen): Likewise.
21214         (_IO_old_proc_close): Likewise.
21215         * libio/oldpclose.c (__old_pclose): Likewise.
21216         * libio/pclose.c (__new_pclose): Likewise.
21217         * libio/peekc.c (_IO_peekc_locked): Likewise.
21218         * libio/putc.c (_IO_putc): Likewise.
21219         * libio/putc_u.c (putc_unlocked): Likewise.
21220         * libio/putchar.c (putchar): Likewise.
21221         * libio/putchar_u.c (putchar_unlocked): Likewise.
21222         * libio/putwc.c (putwc): Likewise.
21223         * libio/putwc_u.c (putwc_unlocked): Likewise.
21224         * libio/putwchar.c (putwchar): Likewise.
21225         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
21226         * libio/rewind.c (rewind): Likewise.
21227         * libio/setbuf.c (setbuf): Likewise.
21228         * libio/setlinebuf.c (setlinebuf): Likewise.
21229         * libio/vasprintf.c (_IO_vasprintf): Likewise.
21230         * libio/vscanf.c (_IO_vscanf): Likewise.
21231         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
21232         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
21233         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21234         * libio/wgenops.c (_IO_least_wmarker): Likewise.
21235         (_IO_switch_to_main_wget_area): Likewise.
21236         (_IO_switch_to_wbackup_area): Likewise.
21237         (_IO_wsetb): Likewise.
21238         (_IO_wdefault_pbackfail): Likewise.
21239         (_IO_wdefault_finish): Likewise.
21240         (_IO_wdefault_uflow): Likewise.
21241         (__woverflow): Likewise.
21242         (__wuflow): Likewise.
21243         (__wunderflow): Likewise.
21244         (_IO_wdefault_xsputn): Likewise.
21245         (_IO_wdefault_xsgetn): Likewise.
21246         (_IO_wdoallocbuf): Likewise.
21247         (_IO_wdefault_doallocate): Likewise.
21248         (_IO_switch_to_wget_mode): Likewise.
21249         (_IO_free_wbackup_area): Likewise.
21250         (_IO_switch_to_wput_mode): Likewise.
21251         (_IO_sputbackwc): Likewise.
21252         (_IO_sungetwc): Likewise.
21253         (_IO_adjust_wcolumn): Likewise.
21254         (_IO_init_wmarker): Likewise.
21255         (_IO_wmarker_delta): Likewise.
21256         (_IO_seekwmark): Likewise.
21257         (_IO_unsave_wmarkers): Likewise.
21258         * libio/wmemstream.c (open_wmemstream): Likewise.
21259         (_IO_wmem_sync): Likewise.
21260         (_IO_wmem_finish): Likewise.
21261         * locale/nl_langinfo.c (nl_langinfo): Likewise.
21262         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
21263         * locale/programs/simple-hash.c (init_hash): Likewise.
21264         (delete_hash): Likewise.
21265         (insert_entry): Likewise.
21266         (set_entry): Likewise.
21267         (next_prime): Likewise.
21268         (is_prime): Likewise.
21269         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
21270         (xmalloc): Likewise.
21271         (xrealloc): Likewise.
21272         * locale/programs/xstrdup.c (xstrdup): Likewise.
21273         * localedata/collate-test.c (xstrcoll): Likewise.
21274         * localedata/xfrm-test.c (xstrcmp): Likewise.
21275         * login/getlogin_r.c (__getlogin_r): Likewise.
21276         * login/getpt.c (__posix_openpt): Likewise.
21277         * login/login_tty.c (login_tty): Likewise.
21278         * login/setlogin.c (setlogin): Likewise.
21279         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
21280         (mach_msg_destroy_port): Likewise.
21281         (mach_msg_destroy_memory): Likewise.
21282         * malloc/mcheck.c (flood): Likewise.
21283         * misc/acct.c (acct): Likewise.
21284         * misc/brk.c (__brk): Likewise.
21285         * misc/chflags.c (chflags): Likewise.
21286         * misc/chroot.c (chroot): Likewise.
21287         * misc/fchflags.c (fchflags): Likewise.
21288         * misc/fstab.c (getfsspec): Likewise.
21289         (getfsfile): Likewise.
21290         * misc/fsync.c (fsync): Likewise.
21291         * misc/ftruncate.c (__ftruncate): Likewise.
21292         * misc/ftruncate64.c (__ftruncate64): Likewise.
21293         * misc/getdomain.c (getdomainname): Likewise.
21294         (getdomainname): Likewise.
21295         * misc/gethostname.c (__gethostname): Likewise.
21296         * misc/getpass.c (getpass): Likewise.
21297         * misc/getttyent.c (skip): Likewise.
21298         (value): Likewise.
21299         * misc/gtty.c (gtty): Likewise.
21300         * misc/hsearch.c (hsearch): Likewise.
21301         (hcreate): Likewise.
21302         * misc/hsearch_r.c (__hcreate_r): Likewise.
21303         (__hdestroy_r): Likewise.
21304         * misc/ioctl.c (__ioctl): Likewise.
21305         * misc/mkdtemp.c (mkdtemp): Likewise.
21306         * misc/mkostemp.c (mkostemp): Likewise.
21307         * misc/mkostemp64.c (mkostemp64): Likewise.
21308         * misc/mkostemps.c (mkostemps): Likewise.
21309         * misc/mkostemps64.c (mkostemps64): Likewise.
21310         * misc/mkstemp.c (mkstemp): Likewise.
21311         * misc/mkstemp64.c (mkstemp64): Likewise.
21312         * misc/mkstemps.c (mkstemps): Likewise.
21313         * misc/mkstemps64.c (mkstemps64): Likewise.
21314         * misc/mktemp.c (__mktemp): Likewise.
21315         * misc/preadv.c (preadv): Likewise.
21316         * misc/preadv64.c (preadv64): Likewise.
21317         * misc/pwritev.c (pwritev): Likewise.
21318         * misc/pwritev64.c (pwritev64): Likewise.
21319         * misc/readv.c (__readv): Likewise.
21320         * misc/revoke.c (revoke): Likewise.
21321         * misc/setdomain.c (setdomainname): Likewise.
21322         * misc/setegid.c (setegid): Likewise.
21323         * misc/seteuid.c (seteuid): Likewise.
21324         * misc/sethostid.c (sethostid): Likewise.
21325         * misc/sethostname.c (sethostname): Likewise.
21326         * misc/setregid.c (__setregid): Likewise.
21327         * misc/setreuid.c (__setreuid): Likewise.
21328         * misc/sstk.c (sstk): Likewise.
21329         * misc/stty.c (stty): Likewise.
21330         * misc/syscall.c (syscall): Likewise.
21331         * misc/syslog.c (setlogmask): Likewise.
21332         * misc/truncate.c (__truncate): Likewise.
21333         * misc/truncate64.c (truncate64): Likewise.
21334         * misc/ualarm.c (ualarm): Likewise.
21335         * misc/usleep.c (usleep): Likewise.
21336         * misc/ustat.c (ustat): Likewise.
21337         * misc/writev.c (__writev): Likewise.
21338         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
21339         * nptl/old_pthread_cond_broadcast.c
21340         (__pthread_cond_broadcast_2_0): Likewise.
21341         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
21342         Likewise.
21343         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
21344         Likewise.
21345         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
21346         Likewise.
21347         * nptl/pt-raise.c (raise): Likewise.
21348         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
21349         Likewise.
21350         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
21351         * nptl/pthread_barrierattr_destroy.c
21352         (pthread_barrierattr_destroy): Likewise.
21353         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21354         Likewise.
21355         * nptl/pthread_barrierattr_setpshared.c
21356         (pthread_barrierattr_setpshared): Likewise.
21357         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21358         Likewise.
21359         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
21360         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21361         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
21362         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
21363         Likewise.
21364         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
21365         Likewise.
21366         * nptl/pthread_condattr_getpshared.c
21367         (pthread_condattr_getpshared): Likewise.
21368         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
21369         Likewise.
21370         * nptl/pthread_condattr_setpshared.c
21371         (pthread_condattr_setpshared): Likewise.
21372         * nptl/pthread_detach.c (pthread_detach): Likewise.
21373         * nptl/pthread_equal.c (__pthread_equal): Likewise.
21374         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
21375         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
21376         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
21377         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
21378         Likewise.
21379         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
21380         Likewise.
21381         * nptl/pthread_mutex_getprioceiling.c
21382         (pthread_mutex_getprioceiling): Likewise.
21383         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
21384         Likewise.
21385         * nptl/pthread_mutexattr_getprotocol.c
21386         (pthread_mutexattr_getprotocol): Likewise.
21387         * nptl/pthread_mutexattr_getpshared.c
21388         (pthread_mutexattr_getpshared): Likewise.
21389         * nptl/pthread_mutexattr_getrobust.c
21390         (pthread_mutexattr_getrobust): Likewise.
21391         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21392         Likewise.
21393         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
21394         Likewise.
21395         * nptl/pthread_mutexattr_setprioceiling.c
21396         (pthread_mutexattr_setprioceiling): Likewise.
21397         * nptl/pthread_mutexattr_setprotocol.c
21398         (pthread_mutexattr_setprotocol): Likewise.
21399         * nptl/pthread_mutexattr_setpshared.c
21400         (pthread_mutexattr_setpshared): Likewise.
21401         * nptl/pthread_mutexattr_setrobust.c
21402         (pthread_mutexattr_setrobust): Likewise.
21403         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
21404         Likewise.
21405         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
21406         Likewise.
21407         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
21408         Likewise.
21409         * nptl/pthread_rwlockattr_getkind_np.c
21410         (pthread_rwlockattr_getkind_np): Likewise.
21411         * nptl/pthread_rwlockattr_getpshared.c
21412         (pthread_rwlockattr_getpshared): Likewise.
21413         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
21414         Likewise.
21415         * nptl/pthread_rwlockattr_setkind_np.c
21416         (pthread_rwlockattr_setkind_np): Likewise.
21417         * nptl/pthread_rwlockattr_setpshared.c
21418         (pthread_rwlockattr_setpshared): Likewise.
21419         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
21420         Likewise.
21421         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
21422         Likewise.
21423         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
21424         Likewise.
21425         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
21426         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
21427         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
21428         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
21429         * nptl/sem_close.c (sem_close): Likewise.
21430         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
21431         * nptl/sem_init.c (__old_sem_init): Likewise.
21432         * nptl/sigaction.c (__sigaction): Likewise.
21433         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21434         * posix/_exit.c (_exit): Likewise.
21435         * posix/alarm.c (alarm): Likewise.
21436         * posix/confstr.c (confstr): Likewise.
21437         * posix/fpathconf.c (__fpathconf): Likewise.
21438         * posix/getgroups.c (__getgroups): Likewise.
21439         * posix/getpgid.c (__getpgid): Likewise.
21440         * posix/group_member.c (__group_member): Likewise.
21441         * posix/pathconf.c (__pathconf): Likewise.
21442         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
21443         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
21444         * posix/setgid.c (__setgid): Likewise.
21445         * posix/setpgid.c (__setpgid): Likewise.
21446         * posix/setuid.c (__setuid): Likewise.
21447         * posix/sleep.c (__sleep): Likewise.
21448         * posix/sysconf.c (__sysconf): Likewise.
21449         * posix/times.c (__times): Likewise.
21450         * posix/uname.c (__uname): Likewise.
21451         * posix/waitid.c (__waitid): Likewise.
21452         * pwd/getpw.c (__getpw): Likewise.
21453         * resolv/base64.c (b64_pton): Likewise.
21454         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
21455         * resolv/gethnamaddr.c (Dprintf): Likewise.
21456         (gethostbyname): Likewise.
21457         (gethostbyname2): Likewise.
21458         (gethostbyaddr): Likewise.
21459         (_sethtent): Likewise.
21460         (_gethtbyname): Likewise.
21461         (_gethtbyname2): Likewise.
21462         (_gethtbyaddr): Likewise.
21463         (map_v4v6_address): Likewise.
21464         (map_v4v6_hostent): Likewise.
21465         (addrsort): Likewise.
21466         (ht_sethostent): Likewise.
21467         (ht_gethostbyname): Likewise.
21468         (ht_gethostbyaddr): Likewise.
21469         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
21470         (inet_net_ntop_ipv4): Likewise.
21471         * resolv/inet_neta.c (inet_neta): Likewise.
21472         * resolv/inet_ntop.c (inet_ntop): Likewise.
21473         (inet_ntop4): Likewise.
21474         (inet_ntop6): Likewise.
21475         * resolv/inet_pton.c (__inet_pton): Likewise.
21476         (inet_pton4): Likewise.
21477         (inet_pton6): Likewise.
21478         * resolv/res_debug.c (loc_aton): Likewise.
21479         (loc_ntoa): Likewise.
21480         * resource/getpriority.c (__getpriority): Likewise.
21481         * resource/getrusage.c (__getrusage): Likewise.
21482         * resource/nice.c (nice): Likewise.
21483         * resource/setpriority.c (__setpriority): Likewise.
21484         * resource/setrlimit64.c (setrlimit64): Likewise.
21485         * resource/vlimit.c (vlimit): Likewise.
21486         * resource/vtimes.c (vtimes): Likewise.
21487         * rt/aio_error.c (aio_error): Likewise.
21488         * rt/aio_return.c (aio_return): Likewise.
21489         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
21490         * signal/kill.c (__kill): Likewise.
21491         * signal/killpg.c (killpg): Likewise.
21492         * signal/raise.c (raise): Likewise.
21493         * signal/sigaction.c (__sigaction): Likewise.
21494         * signal/sigaddset.c (sigaddset): Likewise.
21495         * signal/sigaltstack.c (sigaltstack): Likewise.
21496         * signal/sigandset.c (sigandset): Likewise.
21497         * signal/sigblock.c (__sigblock): Likewise.
21498         * signal/sigdelset.c (sigdelset): Likewise.
21499         * signal/sigempty.c (sigemptyset): Likewise.
21500         * signal/sigfillset.c (sigfillset): Likewise.
21501         * signal/sighold.c (sighold): Likewise.
21502         * signal/sigignore.c (sigignore): Likewise.
21503         * signal/sigintr.c (siginterrupt): Likewise.
21504         * signal/sigisempty.c (sigisemptyset): Likewise.
21505         * signal/sigismem.c (sigismember): Likewise.
21506         * signal/signal.c (signal): Likewise.
21507         * signal/sigorset.c (sigorset): Likewise.
21508         * signal/sigpause.c (__sigpause): Likewise.
21509         * signal/sigpending.c (sigpending): Likewise.
21510         * signal/sigprocmask.c (__sigprocmask): Likewise.
21511         * signal/sigrelse.c (sigrelse): Likewise.
21512         * signal/sigreturn.c (__sigreturn): Likewise.
21513         * signal/sigset.c (sigset): Likewise.
21514         * signal/sigsetmask.c (__sigsetmask): Likewise.
21515         * signal/sigstack.c (sigstack): Likewise.
21516         * signal/sigsuspend.c (__sigsuspend): Likewise.
21517         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
21518         * signal/sysv_signal.c (__sysv_signal): Likewise.
21519         * socket/accept.c (accept): Likewise.
21520         * socket/accept4.c (__libc_accept4): Likewise.
21521         * socket/bind.c (__bind): Likewise.
21522         * socket/connect.c (__connect): Likewise.
21523         * socket/getpeername.c (getpeername): Likewise.
21524         * socket/getsockname.c (__getsockname): Likewise.
21525         * socket/getsockopt.c (getsockopt): Likewise.
21526         * socket/listen.c (__listen): Likewise.
21527         * socket/recv.c (__recv): Likewise.
21528         * socket/recvmsg.c (__recvmsg): Likewise.
21529         * socket/send.c (__send): Likewise.
21530         * socket/sendmsg.c (__sendmsg): Likewise.
21531         * socket/shutdown.c (shutdown): Likewise.
21532         * socket/sockatmark.c (sockatmark): Likewise.
21533         * socket/socket.c (__socket): Likewise.
21534         * stdio-common/ctermid.c (ctermid): Likewise.
21535         * stdio-common/cuserid.c (cuserid): Likewise.
21536         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
21537         * stdio-common/remove.c (remove): Likewise.
21538         * stdio-common/rename.c (rename): Likewise.
21539         * stdio-common/renameat.c (renameat): Likewise.
21540         * stdio-common/tempname.c (__gen_tempname): Likewise.
21541         * stdio-common/xbug.c (InitBuffer): Likewise.
21542         (AppendToBuffer): Likewise.
21543         (ReadFile): Likewise.
21544         * stdlib/a64l.c (a64l): Likewise.
21545         * stdlib/drand48_r.c (drand48_r): Likewise.
21546         * stdlib/getcontext.c (getcontext): Likewise.
21547         * stdlib/getenv.c (getenv): Likewise.
21548         * stdlib/l64a.c (l64a): Likewise.
21549         * stdlib/llabs.c (llabs): Likewise.
21550         * stdlib/lldiv.c (lldiv): Likewise.
21551         * stdlib/lrand48_r.c (lrand48_r): Likewise.
21552         * stdlib/mrand48_r.c (mrand48_r): Likewise.
21553         * stdlib/putenv.c (putenv): Likewise.
21554         * stdlib/random.c (__srandom): Likewise.
21555         (__initstate): Likewise.
21556         (__setstate): Likewise.
21557         * stdlib/random_r.c (__srandom_r): Likewise.
21558         (__setstate_r): Likewise.
21559         (__random_r): Likewise.
21560         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
21561         * stdlib/setcontext.c (setcontext): Likewise.
21562         * stdlib/setenv.c (setenv): Likewise.
21563         (unsetenv): Likewise.
21564         * stdlib/srand48.c (srand48): Likewise.
21565         * stdlib/srand48_r.c (__srand48_r): Likewise.
21566         * stdlib/swapcontext.c (swapcontext): Likewise.
21567         * stdlib/system.c (__libc_system): Likewise.
21568         * stdlib/tst-strtod.c (expand): Likewise.
21569         * stdlib/tst-strtol.c (expand): Likewise.
21570         * stdlib/tst-strtoll.c (expand): Likewise.
21571         * streams/fattach.c (fattach): Likewise.
21572         * streams/fdetach.c (fdetach): Likewise.
21573         * streams/getmsg.c (getmsg): Likewise.
21574         * streams/isastream.c (isastream): Likewise.
21575         * string/ffs.c (__ffs): Likewise.
21576         * string/ffsll.c (ffsll): Likewise.
21577         * string/memcmp.c (memcmp_common_alignment): Likewise.
21578         (memcmp_not_common_alignment): Likewise.
21579         (MEMCMP): Likewise.
21580         * string/memcpy.c (memcpy): Likewise.
21581         * string/memmove.c (MEMMOVE): Likewise.
21582         * string/memset.c (memset): Likewise.
21583         * string/rawmemchr.c (RAWMEMCHR): Likewise.
21584         * string/strchrnul.c (STRCHRNUL): Likewise.
21585         * string/strerror.c (strerror): Likewise.
21586         * string/strndup.c (__strndup): Likewise.
21587         * string/strverscmp.c (__strverscmp): Likewise.
21588         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
21589         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
21590         (clnttcp_freeres): Likewise.
21591         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
21592         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
21593         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
21594         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
21595         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
21596         (xdr_callhdr): Likewise.
21597         * sunrpc/rpcinfo.c (udpping): Likewise.
21598         (tcpping): Likewise.
21599         (pstatus): Likewise.
21600         (pmapdump): Likewise.
21601         (brdcst): Likewise.
21602         (deletereg): Likewise.
21603         (getprognum): Likewise.
21604         (getvers): Likewise.
21605         (get_inet_address): Likewise.
21606         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
21607         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21608         (svcudp_stat): Likewise.
21609         (svcudp_recv): Likewise.
21610         (svcudp_reply): Likewise.
21611         (svcudp_getargs): Likewise.
21612         (svcudp_freeargs): Likewise.
21613         (svcudp_destroy): Likewise.
21614         * sunrpc/xdr.c (xdr_bytes): Likewise.
21615         (xdr_netobj): Likewise.
21616         (xdr_string): Likewise.
21617         (xdr_wrapstring): Likewise.
21618         * sunrpc/xdr_float.c (xdr_float): Likewise.
21619         (xdr_double): Likewise.
21620         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
21621         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
21622         * sysvipc/ftok.c (ftok): Likewise.
21623         * sysvipc/msgctl.c (msgctl): Likewise.
21624         * sysvipc/msgget.c (msgget): Likewise.
21625         * sysvipc/msgrcv.c (msgrcv): Likewise.
21626         * sysvipc/msgsnd.c (msgsnd): Likewise.
21627         * sysvipc/semget.c (semget): Likewise.
21628         * sysvipc/semop.c (semop): Likewise.
21629         * sysvipc/shmat.c (shmat): Likewise.
21630         * sysvipc/shmctl.c (shmctl): Likewise.
21631         * sysvipc/shmdt.c (shmdt): Likewise.
21632         * sysvipc/shmget.c (shmget): Likewise.
21633         * termios/cfmakeraw.c (cfmakeraw): Likewise.
21634         * termios/speed.c (cfgetospeed): Likewise.
21635         (cfgetispeed): Likewise.
21636         (cfsetospeed): Likewise.
21637         (cfsetispeed): Likewise.
21638         * termios/tcflow.c (tcflow): Likewise.
21639         * termios/tcflush.c (tcflush): Likewise.
21640         * termios/tcgetattr.c (__tcgetattr): Likewise.
21641         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
21642         * termios/tcgetsid.c (tcgetsid): Likewise.
21643         * termios/tcsendbrk.c (tcsendbreak): Likewise.
21644         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
21645         * time/adjtime.c (__adjtime): Likewise.
21646         * time/dysize.c (dysize): Likewise.
21647         * time/ftime.c (ftime): Likewise.
21648         * time/getitimer.c (__getitimer): Likewise.
21649         * time/gettimeofday.c (__gettimeofday): Likewise.
21650         * time/gmtime.c (__gmtime_r): Likewise.
21651         (gmtime): Likewise.
21652         * time/localtime.c (__localtime_r): Likewise.
21653         (localtime): Likewise.
21654         * time/offtime.c (__offtime): Likewise.
21655         * time/settimeofday.c (__settimeofday): Likewise.
21656         * time/stime.c (stime): Likewise.
21657         * time/strftime_l.c (tm_diff): Likewise.
21658         (iso_week_days): Likewise.
21659         * time/strptime.c (strptime): Likewise.
21660         * time/time.c (time): Likewise.
21661         * time/timespec_get.c (timespec_get): Likewise.
21662         * time/tzset.c (tzset_internal): Likewise.
21663         (compute_change): Likewise.
21664         (__tz_compute): Likewise.
21665         * wcsmbs/btowc.c (__btowc): Likewise.
21666         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
21667         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
21668         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
21669         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
21670         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
21671         * wcsmbs/wcscat.c (__wcscat): Likewise.
21672         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21673         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
21674         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
21675         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21676         * wcsmbs/wcsdup.c (wcsdup): Likewise.
21677         * wcsmbs/wcslen.c (__wcslen): Likewise.
21678         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
21679         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
21680         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
21681         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
21682         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21683         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
21684         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21685         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21686         * wcsmbs/wcstok.c (wcstok): Likewise.
21687         * wcsmbs/wctob.c (wctob): Likewise.
21688         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
21689         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21690         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
21691         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
21692         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
21693         * wcsmbs/wmemset.c (__wmemset): Likewise.
21694         * wctype/wcfuncs.c (__towlower): Likewise.
21695         (__towupper): Likewise.
21697         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
21698         (lll_unlock_elision): Add adapt_count parameter.
21700 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21702         * sysdeps/nptl/configure.ac: Do not give errors based on the
21703         results of top-level configure tests.
21704         * sysdeps/nptl/configure: Regenerated.
21706         * configure.ac (libc_cv_Bgroup): Remove configure test.
21707         * configure: Regenerated.
21708         * config.make.in (have-Bgroup): Remove variable.
21710         * configure.ac (sizeof_long_double): Remove configure test.
21711         * configure: Regenerated.
21712         * config.make.in (sizeof-long-double): Remove variable.
21714         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
21715         * configure: Regenerated.
21716         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
21717         variable.
21718         (exceptions): Likewise.
21719         * sysdeps/arm/configure: Regenerated.
21720         * config.make.in (exceptions): Remove variable.
21721         * Makeconfig (uses-callbacks): Use -fexceptions instead of
21722         $(exceptions).
21723         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
21724         (CFLAGS-vdprintf_chk.c): Likewise.
21725         (CFLAGS-printf_chk.c): Likewise.
21726         (CFLAGS-fprintf_chk.c): Likewise.
21727         (CFLAGS-vprintf_chk.c): Likewise.
21728         (CFLAGS-vfprintf_chk.c): Likewise.
21729         (CFLAGS-gets_chk.c): Likewise.
21730         (CFLAGS-fgets_chk.c): Likewise.
21731         (CFLAGS-fgets_u_chk.c): Likewise.
21732         (CFLAGS-fread_chk.c): Likewise.
21733         (CFLAGS-fread_u_chk.c): Likewise.
21734         (CFLAGS-wprintf_chk.c): Likewise.
21735         (CFLAGS-fwprintf_chk.c): Likewise.
21736         (CFLAGS-vwprintf_chk.c): Likewise.
21737         (CFLAGS-vfwprintf_chk.c): Likewise.
21738         (CFLAGS-fgetws_chk.c): Likewise.
21739         (CFLAGS-fgetws_u_chk.c): Likewise.
21740         * libio/Makefile (CFLAGS-fileops.c): Likewise.
21741         (CFLAGS-fputc.c): Likewise.
21742         (CFLAGS-fputwc.c): Likewise.
21743         (CFLAGS-freopen64.c): Likewise.
21744         (CFLAGS-freopen.c): Likewise.
21745         (CFLAGS-fseek.c): Likewise.
21746         (CFLAGS-fseeko64.c): Likewise.
21747         (CFLAGS-fseeko.c): Likewise.
21748         (CFLAGS-ftello64.c): Likewise.
21749         (CFLAGS-ftello.c): Likewise.
21750         (CFLAGS-fwide.c): Likewise.
21751         (CFLAGS-genops.c): Likewise.
21752         (CFLAGS-getc.c): Likewise.
21753         (CFLAGS-getchar.c): Likewise.
21754         (CFLAGS-getwc.c): Likewise.
21755         (CFLAGS-getwchar.c): Likewise.
21756         (CFLAGS-iofclose.c): Likewise.
21757         (CFLAGS-iofflush.c): Likewise.
21758         (CFLAGS-iofgetpos64.c): Likewise.
21759         (CFLAGS-iofgetpos.c): Likewise.
21760         (CFLAGS-iofgets.c): Likewise.
21761         (CFLAGS-iofgetws.c): Likewise.
21762         (CFLAGS-iofputs.c): Likewise.
21763         (CFLAGS-iofputws.c): Likewise.
21764         (CFLAGS-iofread.c): Likewise.
21765         (CFLAGS-iofsetpos64.c): Likewise.
21766         (CFLAGS-iofsetpos.c): Likewise.
21767         (CFLAGS-ioftell.c): Likewise.
21768         (CFLAGS-iofwrite.c): Likewise.
21769         (CFLAGS-iogetdelim.c): Likewise.
21770         (CFLAGS-iogetline.c): Likewise.
21771         (CFLAGS-iogets.c): Likewise.
21772         (CFLAGS-iogetwline.c): Likewise.
21773         (CFLAGS-ioputs.c): Likewise.
21774         (CFLAGS-ioseekoff.c): Likewise.
21775         (CFLAGS-ioseekpos.c): Likewise.
21776         (CFLAGS-iosetbuffer.c): Likewise.
21777         (CFLAGS-iosetvbuf.c): Likewise.
21778         (CFLAGS-ioungetc.c): Likewise.
21779         (CFLAGS-ioungetwc.c): Likewise.
21780         (CFLAGS-oldfileops.c): Likewise.
21781         (CFLAGS-oldiofclose.c): Likewise.
21782         (CFLAGS-oldiofgetpos64.c): Likewise.
21783         (CFLAGS-oldiofgetpos.c): Likewise.
21784         (CFLAGS-oldiofsetpos64.c): Likewise.
21785         (CFLAGS-oldiofsetpos.c): Likewise.
21786         (CFLAGS-peekc.c): Likewise.
21787         (CFLAGS-putc.c): Likewise.
21788         (CFLAGS-putchar.c): Likewise.
21789         (CFLAGS-putwc.c): Likewise.
21790         (CFLAGS-putwchar.c): Likewise.
21791         (CFLAGS-rewind.c): Likewise.
21792         (CFLAGS-wfileops.c): Likewise.
21793         (CFLAGS-wgenops.c): Likewise.
21794         (CFLAGS-oldiofopen.c): Likewise.
21795         (CFLAGS-iofopen.c): Likewise.
21796         (CFLAGS-iofopen64.c): Likewise.
21797         (CFLAGS-oldtmpfile.c): Likewise.
21798         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21799         (CFLAGS-fprintf.c): Likewise.
21800         (CFLAGS-printf.c): Likewise.
21801         (CFLAGS-vfwprintf.c): Likewise.
21802         (CFLAGS-vfscanf.c): Likewise.
21803         (CFLAGS-vfwscanf.c): Likewise.
21804         (CFLAGS-fscanf.c): Likewise.
21805         (CFLAGS-scanf.c): Likewise.
21806         (CFLAGS-isoc99_vfscanf.c): Likewise.
21807         (CFLAGS-isoc99_vscanf.c): Likewise.
21808         (CFLAGS-isoc99_fscanf.c): Likewise.
21809         (CFLAGS-isoc99_scanf.c): Likewise.
21810         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
21811         (CFLAGS-isoc99_fwscanf.c): Likewise.
21812         (CFLAGS-isoc99_vwscanf.c): Likewise.
21813         (CFLAGS-isoc99_vfwscanf.c): Likewise.
21815         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
21816         after mkstemp64.
21817         * login/tst-utmp.c (do_prepare): Likewise.
21818         * rt/tst-aio.c (do_prepare): Likewise.
21819         * rt/tst-aio64.c (do_prepare): Likewise.
21821 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21823         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21824         (__lll_lock_elision): Remove adapt_count decrement...
21825         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21826         (__lll_trylock_elision): Likewise.
21827         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
21828         (__lll_unlock_elision): ... to here. And utilize
21829         new adapt_count parameter.
21830         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21831         (__lll_unlock_elision): Update to include adapt_count
21832         parameter.
21833         (lll_unlock_elision): Pass pointer to adapt_count
21834         variable.
21836 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21838         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
21839         Add elision adapt_count parameter to list of arguments.
21840         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21841         (lll_unlock_elision): Update with new parameter list
21842         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
21843         (lll_unlock_elision): Likewise.
21844         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
21845         (lll_unlock_elision): Likewise.
21847 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21849         [BZ #19122]
21850         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
21851         attribute_hidden.
21853         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
21854         attribute_hidden.
21855         [IS_IN (rtld)] (__strdup): Likewise.
21856         [IS_IN (rtld)] (__strerror_r): Likewise.
21857         [IS_IN (rtld)] (__strsep_g): Likewise.
21858         [IS_IN (rtld)] (memchr): Likewise.
21859         [IS_IN (rtld)] (memcmp): Likewise.
21860         [IS_IN (rtld)] (memcpy): Likewise.
21861         [IS_IN (rtld)] (memmove): Likewise.
21862         [IS_IN (rtld)] (memset): Likewise.
21863         [IS_IN (rtld)] (rawmemchr): Likewise.
21864         [IS_IN (rtld)] (stpcpy): Likewise.
21865         [IS_IN (rtld)] (strchr): Likewise.
21866         [IS_IN (rtld)] (strcmp): Likewise.
21867         [IS_IN (rtld)] (strlen): Likewise.
21868         [IS_IN (rtld)] (strnlen): Likewise.
21869         [IS_IN (rtld)] (strsep): Likewise.
21871         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
21872         attribute_hidden.
21873         [IS_IN (rtld)] (__strtoul_internal): Likewise.
21875         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
21876         attribute_hidden.
21877         [IS_IN (rtld)] (__libc_sigaction): Likewise.
21879         * include/setjmp.h (__longjmp): Add attribute_hidden.
21880         [IS_IN (rtld)] (__sigsetjmp): Likewise.
21882         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
21883         Add attribute_hidden.
21885         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
21886         [IS_IN (rtld)] (__open): Likewise.
21887         [IS_IN (rtld)] (__fcntl): Likewise.
21889         * include/dirent.h (__opendirat): Add attribute_hidden.
21890         (__getdents): Likewise.
21891         (__getdents64): Likewise.
21892         (__alloc_dir): Likewise.
21893         [IS_IN (rtld)] (__closedir): Likewise.
21894         [IS_IN (rtld)] (__fdopendir): Likewise.
21895         [IS_IN (rtld)] (__readdir): Likewise.
21896         [IS_IN (rtld)] (__readdir64): Likewise.
21897         [IS_IN (rtld)] (__rewinddir): Likewise.
21899         * include/dlfcn.h (_dl_catch_error): Moved to ...
21900         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
21901         attribute_hidden.
21903         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
21904         (_itoa_word): Likewise.
21906         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
21907         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
21908         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
21909         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
21910         (_dl_higher_prime_number): Likewise.
21911         (_dl_debug_printf_c): Likewise.
21912         (_dl_signal_cerror): Likewise.
21913         (_dl_receive_error): Likewise.
21914         (_dl_reloc_bad_type): Likewise.
21915         (_dl_resolve_conflicts): Likewise.
21916         (_dl_check_all_versions): Likewise.
21917         (_dl_check_map_versions): Likewise.
21918         (_dl_sort_fini): Likewise.
21919         (_dl_debug_initialize): Likewise.
21920         (_dl_init_paths): Likewise.
21921         (_dl_show_auxv): Likewise.
21922         (_dl_next_ld_env_entry): Likewise.
21923         (_dl_important_hwcaps): Likewise.
21924         (_dl_load_cache_lookup): Likewise.
21925         (_dl_update_slotinfo): Likewise.
21926         (_dl_show_scope): Likewise.
21928         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
21929         attribute_hidden.
21930         (_wordcopy_fwd_dest_aligned): Likewise.
21931         (_wordcopy_bwd_aligned): Likewise.
21932         (_wordcopy_bwd_dest_aligned): Likewise.
21934         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21935         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21936         Likewise.
21937         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21938         Likewise.
21939         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
21941 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
21944         GCC 5 requirement.
21946 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21948         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
21949         test.
21950         * sysdeps/i386/configure: Regenerated.
21951         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
21952         code unconditional.
21954         * configure.ac (libc_cv_asm_previous_directive): Remove configure
21955         test.
21956         (libc_cv_asm_popsection_directive): Likewise.
21957         * configure: Regenerated.
21958         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
21959         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
21960         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
21961         (__make_section_unallocated): Make definition unconditional.
21962         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
21963         Remove conditional definition.
21964         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
21965         (__make_section_unallocated): Likewise.
21967         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
21968         * configure: Regenerated.
21969         * config.make.in (static-libgcc): Remove variable.
21970         * Makerules (build-shlib-helper): Use -static-libgcc instead of
21971         $(static-libgcc).
21972         (build-module-helper): Likewise.
21974         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
21975         * configure: Regenerated.
21977 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21979         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
21980         (struct char_buffer): New type.
21981         (char_buffer_start, char_buffer_size, char_buffer_error)
21982         (char_buffer_rewind, char_buffer_add): New functions.
21983         (ADDW): Remove macro, replaced by the char_buffer_add function.
21984         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
21985         of extend_alloca.  Make control flow more explicit.
21987 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21989         [BZ #19137]
21990         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21991         Add -fomit-frame-pointer.
21992         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
21994 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21996         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
21997         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
21998         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
21999         only if !__GNUC_PREREQ (5,0).
22000         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
22001         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
22002         (INTERNAL_SYSCALL_NCS): Likewise.
22003         (LOADREGS_0): New macro for GCC 5.
22004         (ASMARGS_0): Likewise.
22005         (LOADREGS_1): Likewise.
22006         (ASMARGS_1): Likewise.
22007         (LOADREGS_2): Likewise.
22008         (ASMARGS_2): Likewise.
22009         (LOADREGS_3): Likewise.
22010         (ASMARGS_3): Likewise.
22011         (LOADREGS_4): Likewise.
22012         (ASMARGS_4): Likewise.
22013         (LOADREGS_5): Likewise.
22014         (ASMARGS_5): Likewise.
22015         (LOADREGS_6): Likewise.
22016         (ASMARGS_6): Likewise.
22018 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22020         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
22021         -fomit-frame-pointer.
22022         (CFLAGS-mmap64.c): Likewise.
22023         (CFLAGS-semtimedop.c): Likewise.
22024         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
22025         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
22026         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22027         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22029 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22031         [BZ #18928]
22032         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
22033         _dl_pointer_guard member.
22034         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
22035         initializer.
22036         (security_init): Always set up pointer guard.
22037         (process_envvars): Do not process LD_POINTER_GUARD.
22039 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
22041         [BZ #19134]
22042         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
22043         (.LC2): Likewise.
22044         (.LC3): Likewise.
22045         (__lround): Do not add 0.5 to integer or out-of-range arguments.
22047 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22049         [BZ #19129]
22050         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
22051         r0 and r1.
22053 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
22055         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
22057 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
22059         * include/stap-probe.h: Fix macro definition formatting.
22061 2015-10-14  Florian Weimer  <fweimer@redhat.com>
22063         [BZ #19074]
22064         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
22065         load and store num_ifs.
22067 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22069         [BZ #18822]
22070         * sysdeps/unix/sysv/linux/sched_getaffinity.c
22071         (__sched_getaffinity_new): Add libc_hidden_proto and
22072         libc_hidden_def.
22074 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22076         [BZ #19007]
22077         * scripts/localplt.awk: Also allow GOT references.
22078         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
22079         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
22080         with "+ REL R_386_GLOB_DAT".
22081         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
22082         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
22084 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22086         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
22087         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22088         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
22089         Likewise.
22090         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22091         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
22092         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22093         INTERNAL_SYSCALLINTERNAL_SYSCALL and
22094         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22095         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22096         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22097         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22098         Likewise.
22099         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22101 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22103         [BZ #19125]
22104         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
22105         <math_private.h> and <stdint.h>.
22106         (__llround): Avoid conversions to and from long long int, and
22107         subtractions, where those might raise spurious exceptions.
22108         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22109         <math_private.h> and <stdint.h>.
22110         (__llroundf): Avoid conversions to and from long long int, and
22111         subtractions, where those might raise spurious exceptions.
22113 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22115         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
22116         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22117         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22118         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
22119         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22120         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22121         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
22122         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
22123         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
22124         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22125         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22126         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22127         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
22128         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22129         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22130         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
22131         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
22132         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22133         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
22134         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
22135         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22136         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
22137         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
22138         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22139         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
22140         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22141         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
22142         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22143         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22144         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
22145         (__xstat64_conv): Likewise.
22146         (__xstat32_conv): Likewise.
22148 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22150         * sysdeps/unix/sysv/linux/sysdep.h: New file.
22151         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
22152         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
22153         <sysdeps/unix/sysv/linux/sysdep.h>.
22154         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22155         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
22156         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
22157         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22158         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22159         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
22160         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
22161         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22162         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22165         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22166         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22167         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22168         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22169         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22170         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
22171         (sysdep-dl-routines): Add sysdep.
22172         [$(subdir) == nptl] (libpthread-routines): Likewise.
22173         [$(subdir) == rt] (librt-routines): Likewise.
22174         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
22175         PIC when branching to SYSCALL_ERROR_LABEL.
22176         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
22177         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
22178         <sysdeps/unix/sysv/linux/sysdep.h>.
22179         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
22180         (SYSCALL_ERROR_ERRNO): Removed.
22181         (SYSCALL_ERROR_HANDLER): Changed to empty.
22182         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
22183         (__syscall_error): New prototype.
22184         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
22185         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
22187 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22189         [BZ #19124]
22190         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
22191         (_dl_runtime_resolve_avx512): Make it a hidden alias of
22192         _dl_runtime_resolve_avx.
22193         (_dl_runtime_profile_avx512): Make it a hidden alias of
22194         _dl_runtime_profile_avx.
22196 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22198         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
22199         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
22200         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
22201         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
22203         [BZ #16422]
22204         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
22205         New configure test.
22206         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
22207         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
22208         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
22209         <math_private.h> and <stdint.h>.
22210         (__llrint): Avoid conversions to long long int where those might
22211         raise spurious exceptions.
22212         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22213         <math_private.h> and <stdint.h>.
22214         (__llrintf): Avoid conversions to long long int where those might
22215         raise spurious exceptions.
22217 2015-10-12  Andreas Schwab  <schwab@suse.de>
22219         [BZ #18969]
22220         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
22221         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
22222         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
22223         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
22224         $(gen-locales).
22225         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
22226         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
22227         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
22228         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
22229         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
22230         $(gen-locales).
22231         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
22232         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
22233         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
22234         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
22235         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
22236         ($(objpfx)tst-ftell-active-handler.out)
22237         ($(objpfx)tst-ftell-append.out)
22238         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
22239         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
22240         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
22241         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
22242         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
22243         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
22244         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
22245         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
22246         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
22247         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
22248         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
22249         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
22250         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
22251         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
22252         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
22253         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
22254         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
22255         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
22256         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
22257         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
22258         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
22259         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
22260         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
22261         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
22262         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
22263         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
22264         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
22265         $(gen-locales).
22266         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
22267         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
22268         $(gen-locales).
22269         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
22270         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
22271         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
22272         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
22273         $(gen-locales).
22274         * libio/tst_wprintf2.c (main): Use explicit locale.
22275         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
22277 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22279         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
22280         __msg_sig_post.
22281         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
22283 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22285         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22286         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22288         * sysdeps/arm/libm-test-ulps: Regenerated.
22290         [BZ #15470]
22291         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
22293         [BZ #16399]
22294         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
22295         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
22296         and <fix-fp-int-convert-overflow.h>.
22297         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22298         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22299         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
22300         and <fix-fp-int-convert-overflow.h>.
22301         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
22302         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22303         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
22304         <fix-fp-int-convert-overflow.h>.
22305         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22306         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22307         * sysdeps/ieee754/dbl-64/s_lround.c: Include
22308         <fix-fp-int-convert-overflow.h>.
22309         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
22310         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22311         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
22312         and <fix-fp-int-convert-overflow.h>.
22313         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22314         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22315         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
22316         <limits.h> and <fix-fp-int-convert-overflow.h>.
22317         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22318         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22319         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
22320         and <fix-fp-int-convert-overflow.h>.
22321         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22322         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22323         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
22324         and <fix-fp-int-convert-overflow.h>.
22325         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22326         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22327         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
22329 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
22331         [BZ #18589]
22332         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
22333         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
22334         $(gen-locales).
22336 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22337             Phil Blundell <pb@pbcl.net>
22339         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
22340         * nptl/tst-cancel26.c: New file.
22341         * nptl/tst-cancel27.c: Likewise.
22343 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
22345         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
22346         __ILP32__ isn't defined.
22347         (lrint): Likewise.
22348         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
22349         (lrintf): Likewise.
22350         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
22351         (lrintl): Likewise.
22352         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
22353         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
22354         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
22356 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22358         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22359         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22361         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
22362         file.
22363         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
22364         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22366 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22368         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
22369         configure test.
22370         * sysdeps/i386/configure: Regenerated.
22371         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
22372         configure test.
22373         * sysdeps/x86_64/configure: Regenerated.
22374         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
22375         Make code unconditional.
22377         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
22378         test.
22379         * sysdeps/i386/configure: Regenerated.
22380         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
22381         test.
22382         * sysdeps/x86_64/configure: Regenerated.
22383         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
22384         Make code unconditional.
22385         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22386         Likewise.
22387         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
22388         Likewise.
22389         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22390         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
22391         code unconditional.
22392         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22393         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
22394         code unconditional.
22395         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22396         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
22397         code unconditional.
22398         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
22399         code unconditional.
22400         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22401         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
22402         code unconditional.
22403         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22404         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
22405         code unconditional.
22406         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22407         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
22408         code unconditional.
22409         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22410         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
22411         code unconditional.
22412         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22413         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
22415         [BZ #19095]
22416         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
22417         mantissa to long int before shifting left.
22419 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22421         [BZ #19094]
22422         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
22423         <limits.h>.
22424         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22425         when result overflows but exception would not result from cast.
22426         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
22427         <limits.h>.
22428         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22429         when result overflows but exception would not result from cast.
22430         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
22431         <limits.h>.
22432         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22433         when result overflows but exception would not result from cast.
22434         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
22435         <limits.h>.
22436         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22437         when result overflows but exception would not result from cast.
22438         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
22439         <limits.h>.
22440         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22441         when result overflows but exception would not result from cast.
22442         * math/libm-test.inc (lrint_test_data): Add more tests.
22443         (llrint_test_data): Likewise.
22445 2015-10-08  Roland McGrath  <roland@hack.frob.com>
22447         [BZ #18872]
22448         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
22449         Move out from under [$(run-built-tests) = yes] conditional.
22450         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
22451         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
22453 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
22455         [BZ #18589]
22456         * string/Makefile (tests): Add bug-strcoll2.
22457         (LOCALES): Add cs_CZ.UTF-8.
22458         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
22460         [BZ #18589]
22461         * string/bug-strcoll2.c: New file.
22462         * locale/categories.def: Revert commit
22463         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
22464         * locale/langinfo.h: Likewise.
22465         * locale/localeinfo.h: Likewise.
22466         * locale/C-collate.c: Likewise.
22467         * locale/programs/ld-collate.c (collate_output): Likewise.
22468         * string/strcoll_l.c (STRDIFF): Likewise.
22469         (STRCOLL): Likewise.
22470         * wcsmbs/wcscoll_l.c: Likewise.
22472 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22474         * math/libm-test.inc (lround_test_data): Do not expect the absence
22475         of "inexact" for some tests with non-integer arguments.
22476         (llround_test_data): Likewise.
22478         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
22479         test.
22480         (libc_cv_cc_sse2avx): Likewise.
22481         * sysdeps/i386/configure: Regenerated.
22482         * sysdeps/i386/i686/multiarch/Makefile
22483         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
22484         [$(subdir) = math].
22485         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
22486         code unconditional.
22487         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22488         Likewise.
22489         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
22490         Likewise.
22491         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22492         Likewise.
22493         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
22494         test.
22495         (libc_cv_cc_sse2avx): Likewise.
22496         * sysdeps/x86_64/configure: Regenerated.
22497         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
22498         unconditional.
22499         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
22500         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
22501         unconditional.
22502         (_dl_runtime_profile)
22503         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
22504         conditional code.
22505         * sysdeps/x86_64/fpu/multiarch/Makefile
22506         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
22507         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22508         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22509         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22510         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22511         * sysdeps/x86_64/fpu/multiarch/e_log.c
22512         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22513         * sysdeps/x86_64/fpu/multiarch/s_atan.c
22514         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22515         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22516         Likewise.
22517         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22518         Likewise.
22519         * sysdeps/x86_64/fpu/multiarch/s_sin.c
22520         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22521         * sysdeps/x86_64/fpu/multiarch/s_tan.c
22522         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22523         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
22524         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
22525         (HAVE_SSE2AVX_SUPPORT): Likewise.
22527 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
22529         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
22530         instead of #pragma optimize.
22532 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22534         [BZ #17195]
22535         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
22536         as is similarly done in systrim and _int_free already.
22538 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22540         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
22542 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22544         [BZ #19088]
22545         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
22546         <limits.h>.
22547         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22548         overflows but exception would not result from cast.
22549         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
22550         and <limits.h>.
22551         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22552         overflows but exception would not result from cast.
22553         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
22554         <limits.h>.
22555         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22556         overflows but exception would not result from cast.
22557         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
22558         <limits.h>.
22559         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22560         overflows but exception would not result from cast.
22561         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
22562         <limits.h>.
22563         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22564         overflows but exception would not result from cast.
22565         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
22566         <limits.h>.
22567         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22568         overflows but exception would not result from cast.
22569         * math/libm-test.inc (lround_test_data): Add more tests.
22570         (llround_test_data): Likewise.
22572 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
22574         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
22575         (CFLAGS-ialloc.c): Ditto.
22576         (CFLAGS-scheck.c): Ditto.
22578 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22580         [BZ #19086]
22581         * manual/filesys.texi (Storage Allocation): Fix argument order for
22582         posix_fallocate64.
22584 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22586         [BZ #19085]
22587         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
22588         exponent below 48 inside case for non-overflowing exponent.
22589         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
22591 2015-10-07  Florian Weimer  <fweimer@redhat.com>
22593         * iconvdata/cp737.h (from_idx): Add const.
22594         * iconvdata/cp775.h (from_idx): Likewise.
22596 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22598         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
22599         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
22600         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
22602         [BZ #19079]
22603         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
22604         file, conditioned on [!_LP64].
22605         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
22606         [!_LP64] (__lround): Do not define as function or alias.
22607         [!_LP64] (lround): Likewise.
22608         [!_LP64] (__lroundl): Likewise.
22609         [!_LP64] (lroundl): Likewise.
22610         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
22611         macro.
22612         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22613         Likewise.
22615 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22617         * math/libm-test.inc (lrint_test_data): Add more tests.
22618         (llrint_test_data): Likewise.
22619         (lround_test_data): Likewise.
22620         (llround_test_data): Likewise.
22622         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
22623         (llrint_test_data): Add tests used for lrint.
22625         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
22626         test.
22627         * sysdeps/i386/configure: Regenerated.
22628         * sysdeps/i386/i686/multiarch/Makefile
22629         [$(config-cflags-sse4) = yes]: Make code unconditional.
22630         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22631         Likewise.
22632         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
22633         Likewise.
22634         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
22635         test.
22636         * sysdeps/x86_64/configure: Regenerated.
22637         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
22638         Make code unconditional.
22639         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22640         Likewise.
22641         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
22642         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
22644         * scripts/rpm2dynsym.sh: Remove file.
22646 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22648         * configure.ac (libc_cv_cxx_thread_local): Define.
22649         * configure: Regenerate.
22650         * config.make.in (have-cxx-thread_local): Define.
22651         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
22652         (LDLIBS-tst-thread_local1): Define.
22653         (tests): Add tst-thread_local1.
22654         [have-cxx-thread_local != yes] (tests-unsupported): Add
22655         tst-thread_local1.
22656         * nptl/tst-thread_local1.cc: New file.
22658 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22660         [BZ #19078]
22661         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
22662         (u_thres): Likewise.
22663         (__expl): Determine whether to call __kernel_standard_l based on
22664         value of result, not argument.
22666         * math/libm-test.inc (scalb_test_data): Add more expectations for
22667         the "inexact" exception.
22669         [BZ #19077]
22670         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
22671         0.0L for argument 1.0L.
22673         [BZ #19076]
22674         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
22675         constant 0.0L when computing infinite result.
22677 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22679         [BZ #10432]
22680         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
22681         malloc_usable_size.
22683 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22685         [BZ #19018]
22686         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22687         Mangle function pointer before storing it.
22688         (__call_tls_dtors): Demangle function pointer before calling it.
22690 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22692         [BZ #19012]
22693         * iconv/gconv_db.c (gen_steps): Check for additional errors.
22694         Clean up on failure.
22696 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
22698         [BZ #19071]
22699         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
22700         long int variable to store possibly incremented high part of
22701         mantissa.
22702         * math/libm-test.inc (lround_test_data): Add tests used for
22703         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
22704         for tests requiring 64-bit long.  Do not condition tests on
22705         [TEST_FLOAT] unnecessarily.
22706         (llround_test_data): Add tests used for lround.  Add another
22707         expectation for the "inexact" exception.  Do not condition tests
22708         on [TEST_FLOAT] unnecessarily.
22710         [BZ #887]
22711         [BZ #19049]
22712         [BZ #19050]
22713         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
22714         * sysdeps/ieee754/dbl-64/e_log10.c: Include
22715         <fix-int-fp-convert-zero.h>.
22716         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22717         * sysdeps/ieee754/dbl-64/e_log2.c: Include
22718         <fix-int-fp-convert-zero.h>.
22719         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22720         * sysdeps/ieee754/dbl-64/s_erf.c: Include
22721         <fix-int-fp-convert-zero.h>.
22722         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22723         * sysdeps/ieee754/dbl-64/s_logb.c: Include
22724         <fix-int-fp-convert-zero.h>.
22725         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22726         * sysdeps/ieee754/flt-32/e_log10f.c: Include
22727         <fix-int-fp-convert-zero.h>.
22728         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22729         * sysdeps/ieee754/flt-32/e_log2f.c: Include
22730         <fix-int-fp-convert-zero.h>.
22731         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22732         * sysdeps/ieee754/flt-32/s_erff.c: Include
22733         <fix-int-fp-convert-zero.h>.
22734         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22735         * sysdeps/ieee754/flt-32/s_logbf.c: Include
22736         <fix-int-fp-convert-zero.h>.
22737         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22738         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
22739         <fix-int-fp-convert-zero.h>.
22740         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22741         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
22742         <fix-int-fp-convert-zero.h>.
22743         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22744         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
22745         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
22746         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
22747         file.
22748         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
22750 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22752         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22754 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
22756         [BZ #19059]
22757         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
22758         overflowing computation.
22759         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22760         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22761         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22762         Likewise.
22763         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22764         Likewise.
22765         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22766         Likewise.
22767         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22768         Likewise.
22769         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22770         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22771         Likewise.
22772         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22773         Likewise.
22774         * math/libm-test.inc (nexttoward_test_data): Add more tests.
22776         * nss/rewrite_field.c (__nss_rewrite_field): Use
22777         internal_function.
22778         * nss/valid_field.c (__nss_valid_field): Likewise.
22779         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
22781 2015-10-02  Florian Weimer  <fweimer@redhat.com>
22783         [BZ #18724]
22784         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
22785         (__nss_invalid_field_characters, __nss_valid_field)
22786         (__nss_valid_list_field, __nss_rewrite_field): Declare.
22787         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
22788         tst-field.c: New file.
22789         * nss/Makefile (routines): Add valid_field, rewrite_field.
22790         (tests-static): Define unconditionally.
22791         (tests): Include tests-static.
22792         [build-static-nss] (tests-static): Use append.
22793         [build-static-nss] (tests): Remove modification.
22794         * nss/getent.c (print_group): Call putgrent.  Report error.
22795         (print_gshadow): Call putsgent.  Report error.
22796         (print_passwd): Call putpwent.  Report error.
22797         (print_shadow): Call putspent.  Report error.
22798         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
22799         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
22800         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
22801         name, password, directory, shell fields for valid syntax.  Rewrite
22802         GECOS field to match syntax.
22803         * pwd/Makefile (tests): Add tst-putpwent.
22804         * pwd/tst-putpwent.c: New file.
22805         * grp/putgrent.c (putgrent): Convert to ISO function definition.
22806         Check grName, grpasswd, gr_mem fields for valid syntax.
22807         Change loop variable i to size_t.
22808         * grp/Makefile (tests): Add tst-putgrent.
22809         * grp/tst-putgrent.c: New file.
22810         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
22811         valid syntax.
22812         * shadow/Makefile (tests): Add tst-putspent.
22813         * shadow/tst-putspent.c: New file.
22814         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
22815         sg_mem fields for valid syntax.
22816         * gshadow/Makefile (tests): Add tst-putsgent.
22817         * gshadow/tst-putsgent.c: New file.
22819 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22821         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
22822         assembly instructions.
22824 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22826         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
22827         prefix from operands.
22829 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
22831         [BZ #16347]
22832         [BZ #19046]
22833         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
22834         <libc-internal.h>.
22835         (MAXLGM): Do not use diagnostic control macros.
22836         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
22837         threshold for ldbl-128ibm.
22838         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
22839         instead of multiplying by log then subtracting.
22840         * math/auto-libm-test-in: Add more tests of lgamma.
22841         * math/auto-libm-test-out: Regenerated.
22843         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
22844         (TYPE_HEX_DIG): Likewise.
22845         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
22846         precisions when printing floating-point numbers.
22847         (check_float_internal): Likewise.
22849 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22851         [BZ #16620]
22852         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
22853         of log (10) rounded downward to 48 bits.
22854         (log10_low): Use corresponding low part of log (10).
22856         [BZ #19032]
22857         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
22858         compute result as (x - x) / (x - x) not as 0 / 0.
22859         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22860         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
22862         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22863         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
22864         and expm1.
22865         * math/auto-libm-test-out: Regenerated.
22866         * math/libm-test.inc (acos_test_data): Add more tests.
22867         (asin_test_data): Likewise.
22868         (asinh_test_data): Likewise.
22869         (atan_test_data): Likewise.
22870         (atanh_test_data): Likewise.
22871         (atan2_test_data): Likewise.
22872         (cbrt_test_data): Likewise.
22873         (ceil_test_data): Likewise.
22874         (copysign_test_data): Likewise.
22875         (cos_test_data): Likewise.
22876         (cosh_test_data): Likewise.
22877         (erf_test_data): Likewise.
22878         (erfc_test_data): Likewise.
22879         (exp_test_data): Likewise.
22880         (exp10_test_data): Likewise.
22881         (exp2_test_data): Likewise.
22882         (expm1_test_data): Likewise.
22883         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22885 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
22887         [BZ #19006]
22888         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
22889         to ...
22890         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
22891         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
22892         to ...
22893         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
22894         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
22895         to ...
22896         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
22897         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
22898         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
22899         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
22900         to ...
22901         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
22902         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22903         Moved to ...
22904         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
22905         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22906         Moved to ...
22907         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
22908         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
22909         to ...
22910         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
22911         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22912         Moved to ...
22913         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
22914         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
22915         to ...
22916         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
22917         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
22918         Removed.
22919         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
22920         Likewise.
22921         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
22922         Likewise.
22923         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
22924         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
22925         Likewise.
22926         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22927         Likewise.
22928         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22929         Likewise.
22930         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22931         Likewise.
22932         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22933         Likewise.
22934         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
22935         Likewise.
22936         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
22937         Likewise.
22938         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
22939         Likewise.
22940         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
22941         Likewise.
22942         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
22943         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
22944         Likewise.
22945         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22946         Likewise.
22947         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22948         Likewise.
22949         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22950         Likewise.
22951         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
22952         Likewise.
22953         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22954         Replace ../i486/pthread_cond_timedwait.S with
22955         ../pthread_cond_timedwait.S.
22957 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22959         * math/libm-test.inc (acos_test_data): Refine expectations for
22960         errno and "inexact" exceptions.
22961         (acosh_test_data): Likewise.
22962         (asin_test_data): Likewise.
22963         (asinh_test_data): Likewise.
22964         (atan_test_data): Likewise.
22965         (atanh_test_data): Likewise.
22966         (atan2_test_data): Likewise.
22967         (cbrt_test_data): Likewise.
22968         (ceil_test_data): Likewise.
22969         (copysign_test_data): Likewise.
22970         (cosh_test_data): Likewise.
22971         (erf_test_data): Likewise.
22972         (erfc_test_data): Likewise.
22973         (exp_test_data): Likewise.
22974         (exp10_test_data): Likewise.
22975         (exp2_test_data): Likewise.
22976         (expm1_test_data): Likewise.
22977         (fabs_test_data): Likewise.
22978         (floor_test_data): Likewise.
22979         (fma_test_data): Likewise.
22980         (fmax_test_data): Likewise.
22981         (fmin_test_data): Likewise.
22982         (fmod_test_data): Likewise.
22983         (fpclassify_test_data): Likewise.
22984         (frexp_test_data): Likewise.
22985         (hypot_test_data): Likewise.
22986         (ilogb_test_data): Likewise.
22987         (isgreater_test_data): Likewise.
22988         (isgreaterequal_test_data): Likewise.
22989         (isinf_test_data): Likewise.
22990         (isless_test_data): Likewise.
22991         (islessequal_test_data): Likewise.
22992         (islessgreater_test_data): Likewise.
22993         (isnan_test_data): Likewise.
22994         (isnormal_test_data): Likewise.
22995         (issignaling_test_data): Likewise.
22996         (isunordered_test_data): Likewise.
22997         (j0_test_data): Likewise.
22998         (j1_test_data): Likewise.
22999         (jn_test_data): Likewise.
23000         (lgamma_test_data): Likewise.
23001         (lrint_test_data): Likewise.
23002         (llrint_test_data): Likewise.
23003         (log_test_data): Likewise.
23004         (log10_test_data): Likewise.
23005         (log1p_test_data): Likewise.
23006         (log2_test_data): Likewise.
23007         (logb_test_data): Likewise.
23008         (lround_test_data): Likewise.
23009         (llround_test_data): Likewise.
23010         (modf_test_data): Likewise.
23011         (nearbyint_test_data): Likewise.
23012         (nextafter_test_data): Likewise.
23013         (nexttoward_test_data): Likewise.
23014         (pow_test_data): Likewise.
23015         (remainder_test_data): Likewise.
23016         (remquo_test_data): Likewise.
23017         (rint_test_data): Likewise.
23018         (round_test_data): Likewise.
23019         (signbit_test_data): Likewise.
23020         (sinh_test_data): Likewise.
23021         (sqrt_test_data): Likewise.
23022         (tanh_test_data): Likewise.
23023         (tgamma_test_data): Likewise.
23024         (trunc_test_data): Likewise.
23025         (y0_test_data): Likewise.
23026         (y1_test_data): Likewise.
23027         (yn_test_data): Likewise.
23028         (significand_test_data): Likewise.
23030 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
23032         * manual/filesys.texi (Storage Allocation): Document that
23033         posix_fallocate emulation fails when fd is open with O_WRONLY.
23035 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
23037         [BZ #19016]
23038         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
23039         allow more cases with X^2 + Y^2 >= 0.5.
23040         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
23041         normal element in sum instead of special-casing based on values of
23042         arguments.
23043         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
23044         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
23045         -1 as normal element in sum instead of special-casing based on
23046         values of arguments.
23047         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
23048         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
23049         (__x2y2m1): Update comment.
23050         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
23051         as normal element in sum instead of special-casing based on values
23052         of arguments.
23053         * math/s_clog.c (__clog): Handle more cases using log1p without
23054         hypot.
23055         * math/s_clog10.c (__clog10): Likewise.
23056         * math/s_clog10f.c (__clog10f): Likewise.
23057         * math/s_clog10l.c (__clog10l): Likewise.
23058         * math/s_clogf.c (__clogf): Likewise.
23059         * math/s_clogl.c (__clogl): Likewise.
23060         * math/auto-libm-test-in: Add more tests of clog and clog10.
23061         * math/auto-libm-test-out: Regenerated.
23062         * sysdeps/i386/fpu/libm-test-ulps: Update.
23063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23065 2015-09-28  Martin Sebor  <msebor@redhat.com>
23067         [BZ #18969]
23068         * string/Makefile (LOCALES): Define.
23069         (gen-locales.mk): Include.
23070         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
23071         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
23072         * string/tst-strxfrm2.c (do_test): Print the name of the locale
23073         on setlocale failure.
23075 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
23077         [BZ #18985]
23078         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
23079         (__strftime_internal): Likewise.
23080         * time/tst-strftime.c (do_bz18985): New test.
23081         (do_test): Call it.
23083 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
23085         [BZ #18956]
23086         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
23087         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
23088         extracting high part.
23089         * math/auto-libm-test-in: Add another test of pow.
23090         * math/auto-libm-test-out: Regenerated.
23091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23093 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23095         [BZ #18825]
23096         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
23097         New macro.
23098         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
23099         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23100         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
23101         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
23102         DBL_NARROW_EVAL, reloading the PIC register as needed.
23103         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
23104         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
23105         FLT_NARROW_EVAL.  Use separate return path for case when first
23106         argument is NaN.
23107         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
23108         DEFINE_LDBL_MIN.
23109         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
23110         PIC register.
23111         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
23112         math_check_force_underflow_nonneg.
23113         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
23114         underflow for subnormal result.
23115         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
23116         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
23117         math_check_force_underflow_nonneg.
23118         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
23119         math_check_force_underflow.
23120         * sysdeps/x86_64/fpu/x86_64-math-asm.h
23121         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
23122         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
23123         DEFINE_LDBL_MIN.
23124         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
23125         * math/auto-libm-test-in: Add more tests of pow.
23126         * math/auto-libm-test-out: Regenerated.
23128 2015-09-25  Florian Weimer  <fweimer@redhat.com>
23130         * nss/bug17079.c (init_test_items): Add diagnostic for
23131         inconsistent entries.
23132         (test_buffer_size): Skip inconsistent entries.
23134 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23136         [BZ #13304]
23137         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
23138         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23139         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
23141         [BZ #13304]
23142         * sysdeps/microblaze/s_fma.c: New file.
23143         * sysdeps/microblaze/s_fmaf.c: Likewise.
23144         * sysdeps/microblaze/sfp-machine.h: Likewise.
23146 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
23148         [BZ #17250]
23149         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
23150         member.
23152 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23154         [BZ #18803]
23155         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
23156         (MO): New macro.
23157         (__ieee754_hypot) [PIC]: Load PIC register.
23158         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
23159         DBL_NARROW_EVAL.
23160         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
23161         math_check_force_underflow_nonneg in case where result might be
23162         tiny.
23163         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23164         Likewise.
23165         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23166         Likewise.
23167         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
23168         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
23169         * math/auto-libm-test-in: Add more tests of hypot.
23170         * math/auto-libm-test-out: Regenerated.
23172 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
23174         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
23176 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23178         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
23179         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
23180         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23181         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23182         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
23183         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23184         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23186         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
23187         LOAD_PIC_REG.
23189         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
23190         (FLT_CHECK_FORCE_UFLOW): Likewise.
23191         (DBL_CHECK_FORCE_UFLOW): Likewise.
23192         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
23193         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
23194         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
23195         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23196         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23197         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23198         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23199         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23200         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
23201         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23202         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
23203         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
23204         (flt_min): Replace with use of DEFINE_FLT_MIN.
23205         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
23206         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
23207         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23208         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
23209         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
23210         (flt_min): Replace with use of DEFINE_FLT_MIN.
23211         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
23212         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
23213         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23214         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
23215         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
23216         (flt_min): Replace with use of DEFINE_FLT_MIN.
23217         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
23218         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
23219         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23220         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23221         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
23222         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23223         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23224         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
23225         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23226         (__atan): Use DBL_CHECK_FORCE_UFLOW.
23227         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
23228         (flt_min): Replace with use of DEFINE_FLT_MIN.
23229         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
23230         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
23231         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23232         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
23233         main computation.
23234         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
23235         (flt_min): Replace with use of DEFINE_FLT_MIN.
23236         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
23237         main computation.
23238         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
23239         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23240         (MO): New macro.
23241         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
23242         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
23243         (flt_min): Replace with use of DEFINE_FLT_MIN.
23244         (MO): New macro.
23245         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
23246         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
23247         (__log1pl): Use MO.
23249         [BZ #19003]
23250         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
23251         $(config-cflags-nofma).
23253 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23255         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23257 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
23259         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
23260         (TWO127): Likewise.
23262         * sysdeps/generic/math_private.h (fabs_tg): New macro.
23263         (min_of_type): Likewise.
23264         (math_check_force_underflow): Likewise.
23265         (math_check_force_underflow_nonneg): Likewise.
23266         (math_check_force_underflow_complex): Likewise.
23267         * math/e_exp2l.c (__ieee754_exp2l): Use
23268         math_check_force_underflow_nonneg.
23269         * math/k_casinh.c (__kernel_casinh): Likewise.
23270         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23271         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23272         * math/s_catan.c (__catan): Use
23273         math_check_force_underflow_complex.
23274         * math/s_catanf.c (__catanf): Likewise.
23275         * math/s_catanh.c (__catanh): Likewise.
23276         * math/s_catanhf.c (__catanhf): Likewise.
23277         * math/s_catanhl.c (__catanhl): Likewise.
23278         * math/s_catanl.c (__catanl): Likewise.
23279         * math/s_ccosh.c (__ccosh): Likewise.
23280         * math/s_ccoshf.c (__ccoshf): Likewise.
23281         * math/s_ccoshl.c (__ccoshl): Likewise.
23282         * math/s_cexp.c (__cexp): Likewise.
23283         * math/s_cexpf.c (__cexpf): Likewise.
23284         * math/s_cexpl.c (__cexpl): Likewise.
23285         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
23286         * math/s_clog10.c (__clog10): Likewise.
23287         * math/s_clog10f.c (__clog10f): Likewise.
23288         * math/s_clog10l.c (__clog10l): Likewise.
23289         * math/s_clogf.c (__clogf): Likewise.
23290         * math/s_clogl.c (__clogl): Likewise.
23291         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
23292         * math/s_csinf.c (__csinf): Likewise.
23293         * math/s_csinh.c (__csinh): Likewise.
23294         * math/s_csinhf.c (__csinhf): Likewise.
23295         * math/s_csinhl.c (__csinhl): Likewise.
23296         * math/s_csinl.c (__csinl): Likewise.
23297         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
23298         * math/s_csqrtf.c (__csqrtf): Likewise.
23299         * math/s_csqrtl.c (__csqrtl): Likewise.
23300         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
23301         * math/s_ctanf.c (__ctanf): Likewise.
23302         * math/s_ctanh.c (__ctanh): Likewise.
23303         * math/s_ctanhf.c (__ctanhf): Likewise.
23304         * math/s_ctanhl.c (__ctanhl): Likewise.
23305         * math/s_ctanl.c (__ctanl): Likewise.
23306         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
23307         instead of volatile.
23308         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
23309         math_check_force_underflow.
23310         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23311         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
23312         volatile when forcing underflow.
23313         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23314         math_check_force_underflow_nonneg.
23315         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
23316         Likewise.
23317         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
23318         math_check_force_underflow.
23319         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23320         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23321         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23322         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
23323         math_check_force_underflow_nonneg.
23324         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
23325         math_check_force_underflow.
23326         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
23327         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
23328         instead of volatile.
23329         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
23330         math_check_force_underflow.
23331         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23332         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23333         math_check_force_underflow_nonneg.
23334         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
23335         math_check_force_underflow.
23336         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
23337         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23338         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
23339         math_check_force_underflow_nonneg.
23340         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23341         Likewise.
23342         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
23343         math_check_force_underflow.
23344         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23345         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23346         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
23347         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
23348         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
23349         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
23350         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
23351         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
23352         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23353         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
23354         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
23355         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
23356         Likewise.
23357         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
23358         math_check_force_underflow_nonneg.
23359         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23360         Likewise.
23361         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
23362         math_check_force_underflow.
23363         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23364         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
23365         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23366         Likewise.
23367         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
23368         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
23369         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
23370         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
23371         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
23372         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
23373         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
23374         instead of volatile.
23375         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
23376         math_check_force_underflow.
23377         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
23378         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
23379         math_check_force_underflow.
23380         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
23381         Likewise.
23382         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23383         Use math_check_force_underflow_nonneg.
23384         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
23385         math_check_force_underflow.
23386         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23387         Likewise.
23388         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23389         Likewise.
23390         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23391         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23392         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23393         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23394         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
23395         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23396         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
23397         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
23398         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
23399         math_check_force_underflow_nonneg.
23400         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
23401         math_check_force_underflow.
23402         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23403         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
23404         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
23405         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
23406         math_check_force_underflow_nonneg.
23407         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
23408         math_check_force_underflow.
23409         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
23410         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
23411         instead of volatile.
23412         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
23413         math_check_force_underflow.
23415         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
23416         * stdlib/strtod_l.c: Include <math_private.h>.
23417         (overflow_value): Use math_narrow_eval.
23418         (underflow_value): Likewise.
23419         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23420         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23421         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
23422         (__ieee754_gamma_r): Likewise.
23423         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
23424         Likewise.
23425         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
23426         Likewise.
23427         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
23428         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
23429         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
23430         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
23431         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
23432         (__ieee754_gammaf_r): Likewise.
23433         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23434         Likewise.
23435         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
23436         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
23437         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
23438         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
23439         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
23440         volatile.
23441         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
23442         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
23443         math_narrow_eval.
23444         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23445         Likewise.
23446         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23447         Likewise.
23448         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
23449         Likewise.
23450         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
23451         volatile.
23452         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
23453         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
23454         math_narrow_eval.
23455         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23456         Likewise.
23457         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23458         Likewise.
23460 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
23462         * nptl/Versions: Remove ignored symbols.
23464 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23466         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
23467         * nss/Makefile (tests): Update.
23469 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23471         * nss/bug18287.c: New file.
23472         * nss/Makefile (tests): Add bug18287.
23474 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23476         * mach/Versions (__mach_host_self_): Add symbol.
23478 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23480         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
23481         vm_page_size.
23483 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23485         Really fix sysdeps/i386/fpu/s_scalbn.S build
23487         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
23488         (libc: GLIBC_2_22): Remove unused version set.
23490 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23492         * config.make.in (enable-timezone-tools): New variable.
23493         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
23494         (enable_timezone_tools): Export to generated files.
23495         * configure: Regenerate.
23496         * INSTALL: Regenerate.
23497         * manual/install.texi (--disable-timezone-tools): Document new flag.
23498         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
23499         ifeq ($(enable-timezone-tools),yes) check.
23501 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23503         * timezone/Makefile: Revert previous change.
23505         [BZ #18980]
23506         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
23507         (DEFINE_DBL_MIN): Likewise.
23508         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23509         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23510         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23511         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23512         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
23513         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23514         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23515         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
23516         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
23517         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23518         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23519         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
23520         (flt_min): Replace with use of DEFINE_FLT_MIN.
23521         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23522         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
23523         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23524         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23525         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
23526         (flt_min): Replace with use of DEFINE_FLT_MIN.
23527         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23528         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
23529         (flt_min): Replace with use of DEFINE_FLT_MIN.
23530         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23531         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
23532         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
23533         (__ieee754_hypot): Use DBL_NARROW_EVAL.
23534         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
23535         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
23536         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
23537         (__ieee754_pow): Use DBL_NARROW_EVAL.
23538         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
23539         (__ieee754_powf): Use FLT_NARROW_EVAL.
23540         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
23541         (__ieee754_expf_sse2): Convert double-precision result to single
23542         precision.
23543         * sysdeps/i386/fpu/libm-test-ulps: Update.
23545 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23547         * timezone/Makefile: Ignore unused variable errors due to private.h
23548         (time_t_min) and (time_t_max).
23549         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
23550         Likewise.
23552 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23554         [BZ #18981]
23555         * sysdeps/i386/fpu/i386-math-asm.h: New file.
23556         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
23557         (__ieee754_scalb): Use DBL_NARROW_EVAL.
23558         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
23559         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
23560         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
23561         (__scalbn): Use DBL_NARROW_EVAL.
23562         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
23563         (__scalbnf): Use FLT_NARROW_EVAL.
23565 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23567         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
23568         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
23569         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
23570         * stdio-common/printf_fp.c (___printf_fp):
23571         Use signbit to get the sign. Use isinf macro to allow inlining.
23572         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
23573         * stdio-common/printf_size.c (__printf_size): Likewise.
23575 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23577         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
23579 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23581         [BZ #18980]
23582         * sysdeps/generic/math_private.h: Include <float.h>.
23583         (math_narrow_eval): New macro.
23584         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
23585         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
23586         math_narrow_eval on overflowing return value.
23587         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
23588         Likewise.
23589         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23590         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
23591         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
23592         Likewise.
23593         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23595 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23597         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
23598         * math/Makefile: Remove isinf_ns.c.
23599         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
23600         * math/multc3.c (__multc3): Likewise.
23601         * math/s_casin.c (__casin): Likewise.
23602         * math/s_casinf.c (__casinf): Likewise.
23603         * math/s_casinl.c (__casinl): Likewise.
23604         * math/s_cproj.c (__cproj): Likewise.
23605         * math/s_cprojf.c (__cprojf): Likewise.
23606         * math/s_cprojl.c (__cprofl): Likewise.
23607         * math/s_ctan.c (__ctan): Likewise.
23608         * math/s_ctanf.c (__ctanf): Likewise.
23609         * math/s_ctanh.c (__ctanh): Likewise.
23610         * math/s_ctanhf.c (__ctanhf): Likewise.
23611         * math/s_ctanhl.c (__ctanhl): Likewise.
23612         * math/s_ctanl.c (__ctanl): Likewise.
23613         * math/w_fmod.c (__fmod): Likewise.
23614         * math/w_fmodf.c (__fmodf): Likewise.
23615         * math/w_fmodl.c (_fmodl): Likewise.
23616         * math/w_remainder.c (__remainder): Likewise.
23617         * math/w_remainderf.c (__remainderf): Likewise.
23618         * math/w_remainderl.c (__remainderl): Likewise.
23619         * math/w_scalb.c (__scalb): Likewise.
23620         * math/w_scalbf.c (__scalbf): Likewise.
23621         * math/w_scalbl.c (__scalbl): Likewise.
23622         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
23623         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
23624         with isinf.
23625         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
23626         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
23627         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
23628         __isinf_nsf with isinf.
23629         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
23630         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
23631         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
23632         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
23633         with isinf.
23634         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
23635         __isinf_nsl with isinf.
23636         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
23637         with isinf.
23638         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
23639         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
23640         __isinf_nsl with isinf.
23641         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
23642         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
23643         with isinf.
23645 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23647         * resolv/base64.c (rcsid): Remove unused static.
23648         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
23649         static.  (tqpi1): Likewise.
23650         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
23651         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
23652         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
23653         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
23654         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
23655         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
23656         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
23657         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
23658         Likewise.
23660 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
23662         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
23663         <nptl/pthreadP.h>.
23664         (_longjmp_unwind): Use __libc_ptf_call.
23665         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
23667 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
23669         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
23670         * sysdeps/arm/__longjmp.S: Likewise.
23672 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23674         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
23675         Use __builtin_signbit.
23676         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
23677         Use __builtin_signbitf.
23678         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
23679         Use __builtin_signbitl.
23680         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23681         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
23683 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23685         [BZ #15367]
23686         [BZ #17441]
23688         * math/Makefile: Build test-snan.c with -fsignaling-nans.
23689         * math/math.h (fpclassify): Use __builtin_fpclassify when
23690         available.  (signbit): Use __builtin_signbit(f/l).
23691         (isfinite): Use__builtin_isfinite.  (isnormal): Use
23692         __builtin_isnormal.  (isnan): Use __builtin_isnan.
23693         (isinf): Use __builtin_isinf_sign.
23695 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23697         * benchtests/Makefile: Add bench-math-inlines, link with libm.
23698         * benchtests/bench-math-inlines.c: New benchmark.
23699         * benchtests/bench-util.h: New file.
23700         * benchtests/bench-util.c: New file.
23701         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
23703 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
23705         * elf/tst-dlmopen1.c: Define TEST_SO.
23706         (do_test): Use TEST_SO.
23708         * elf/dl-load.c: Include libc-internal.h.
23709         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
23711 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23713         [BZ #17887]
23714         * time/strptime_l.c (__strptime_internal): Make %z accept
23715         [+-]HH:MM time zones.
23717 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23719         [BZ #17886]
23720         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
23721         valid time zone.
23723 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
23725         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
23726         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
23727         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23728         (__ASSUME_FDATASYNC): Delete.
23730 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23732         * conform/linknamespace.pl: Require weak undefined symbols to be
23733         in the standard namespace.
23734         (%strong_syms): Rename to %seen_syms.
23735         (%strong_seen): Rename to %seen_where.
23737 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
23739         [BZ #18970]
23740         * misc/error.c (error): Replace pthread_setcancelstate with
23741         __pthread_setcancelstate.
23742         (error_at_line): Likewise.
23743         * posix/wordexp.c (parse_comm): Likewise.
23744         * stdlib/fmtmsg.c (fmtmsg): Likewise.
23745         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
23746         (__pthread_setcancelstate): This.
23747         (pthread_setcancelstate): Add an alias.
23748         * nptl/nptl-init.c (pthread_functions): Replace
23749         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
23750         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
23751         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
23752         hidden_proto.
23753         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
23754         it with hidden_def.
23755         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
23756         (pthread_setcancelstate): Renamed to ...
23757         (__pthread_setcancelstate): This.
23758         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
23759         __libc_ptf_call with __pthread_setcancelstate.
23761 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23762             Andreas Schwab  <schwab@suse.de>
23764         [BZ #17118]
23765         * math/s_ctan.c (__ctan): Determine sign of zero real part of
23766         result when imaginary part of argument is infinite using sine and
23767         cosine.
23768         * math/s_ctanf.c (__ctanf): Likewise.
23769         * math/s_ctanl.c (__ctanl): Likewise.
23770         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
23771         of result when real part of argument is infinite using sine and
23772         cosine.
23773         * math/s_ctanhf.c (__ctanhf): Likewise.
23774         * math/s_ctanhl.c (__ctanhl): Likewise.
23775         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
23776         (ctanh_test_data): Add more tests of ctanh.
23778 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23780         [BZ #15384]
23781         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
23782         bit-mask as in subtraction.
23783         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
23784         Likewise.
23785         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
23786         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
23787         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
23789         [BZ #18951]
23790         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
23791         underflow exception for small results.
23792         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23793         Likewise.
23794         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23795         Likewise.
23796         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23797         Likewise.
23798         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23799         Likewise.
23800         * math/auto-libm-test-in: Add more tests of tgamma.
23801         * math/auto-libm-test-out: Regenerated.
23803 2015-09-17  Andreas Schwab  <schwab@suse.de>
23805         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
23807 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23809         [BZ #18977]
23810         * math/bits/mathcalls.h
23811         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
23812         not declare.
23813         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
23814         Likewise.
23815         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
23816         Likewise.
23817         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
23818         Likewise.
23819         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
23820         Likewise.
23821         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
23822         Likewise.
23823         * conform/data/math.h-data
23824         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
23825         function.
23826         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
23827         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
23828         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
23829         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
23830         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
23831         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
23832         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
23833         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
23834         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
23835         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
23836         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
23838         [BZ #6803]
23839         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
23840         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
23841         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
23842         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
23843         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
23844         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
23845         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
23846         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
23847         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23848         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
23849         Likewise.
23850         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23851         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
23852         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
23853         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
23854         long_double_symbol calls.
23855         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
23856         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
23857         strong alias of __ldexpl.
23858         (scalbnl): Define using long_double_symbol.
23859         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
23860         Remove alias.
23861         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
23862         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
23863         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
23864         (scalbln_test_data): Add more errno expectations.
23866 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
23868         Cache the host port like we cache the task port.  This way we do not
23869         need to call the kernel just to get the port.  Furthermore, we no
23870         longer increase the reference count on every invocation of
23871         `mach_host_self'.
23873         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
23874         Protect declarations against the macro expansion.
23875         * mach/mach_init.c (__mach_host_self_): New variable.
23876         (mach_init): Initialize `__mach_host_self_'.
23877         * mach/mach_init.h (__mach_host_self_): New declaration.
23878         (__mach_host_self, mach_host_self): New macros.
23879         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
23880         Release reference.
23882 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23884         [BZ #4404]
23885         * po/de.po: Update from Translation Project.
23887         [BZ #16415]
23888         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
23889         (__expm1l): Remove code to handle positive infinity and overflow.
23890         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
23891         variable.
23892         (__expm1l): Remove code to handle positive infinity and overflow.
23894 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
23895             Paul Pluzhnikov  <ppluzhnikov@google.com>
23897         [BZ #18872]
23898         * stdio-common/Makefile (tst-printf-bz18872): New test.
23899         (tst-printf-bz18872-mem.out): Likewise.
23900         * stdio-common/tst-printf-bz18872.sh: Generate new test.
23901         * stdio-common/vfprintf.c: Fix memory leaks.
23903 2015-09-16  Andreas Schwab  <schwab@suse.de>
23905         [BZ #17244]
23906         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
23907         Remove extra va_start/va_end calls.
23909         [BZ #17243]
23910         * posix/execl.c (execl): Add missing va_end.
23911         * posix/execle.c (execle): Likewise.
23912         * posix/execlp.c (execlp): Likewise.
23914 2015-09-15  Roland McGrath  <roland@hack.frob.com>
23916         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
23917         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
23919 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
23921         [BZ #18967]
23922         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
23923         undefine around includes of <bits/mathcalls.h>.
23924         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
23925         not declare function.
23926         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
23927         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
23928         (scalb): Likewise.
23929         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
23930         not define macro.
23931         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
23932         variable.
23933         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23934         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23935         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23937         [BZ #18857]
23938         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
23939         return non-finite argument without doing ordered comparisons on
23940         it.
23942         [BZ #16296]
23943         * math/fenv.h (fegetround): Use __attribute_pure__.
23944         * include/fenv.h (__fegetround): Likewise.
23946         [BZ #18595]
23947         * math/s_ctan.c (__ctan): Force underflow exception for results
23948         whose real or imaginary part has small absolute value.
23949         * math/s_ctanf.c (__ctanf): Likewise.
23950         * math/s_ctanh.c (__ctanh): Likewise.
23951         * math/s_ctanhf.c (__ctanhf): Likewise.
23952         * math/s_ctanhl.c (__ctanhl): Likewise.
23953         * math/s_ctanl.c (__ctanl): Likewise.
23954         * math/auto-libm-test-in: Do not allow missing underflow for ctan
23955         and ctanh.  Add more tests of ctan and ctanh.
23957         [BZ #15918]
23958         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
23959         handling of cases where one argument is an infinity.
23961         [BZ #18875]
23962         [BZ #18966]
23963         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
23964         (MO): New macro.
23965         (__ieee754_exp10): For small results, force underflow exception
23966         and remove excess range and precision from return value.
23967         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
23968         (MO): New macro.
23969         (__ieee754_exp10f): For small results, force underflow exception
23970         and remove excess range and precision from return value.
23971         * math/auto-libm-test-in: Add more tests of exp10.
23972         * math/auto-libm-test-out: Regenerated.
23974 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
23976         [BZ #18875]
23977         [BZ #18961]
23978         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
23979         (MO): New macro.
23980         (__ieee754_exp): For small results, force underflow exception and
23981         remove excess range and precision from return value.
23982         (__exp_finite): Likewise.
23983         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
23984         (MO): New macro.
23985         (__ieee754_expf): For small results, force underflow exception and
23986         remove excess range and precision from return value.
23987         (__expf_finite): Likewise.
23988         * math/auto-libm-test-in: Add more tests of exp.
23989         * math/auto-libm-test-out: Regenerated.
23991         [BZ #16521]
23992         [BZ #18875]
23993         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
23994         small results.
23995         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
23996         (MO): New macro.
23997         (__ieee754_exp2): For small results, force underflow exception and
23998         remove excess range and precision from return value.
23999         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
24000         (MO): New macro.
24001         (__ieee754_exp2f): For small results, force underflow exception
24002         and remove excess range and precision from return value.
24003         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
24004         (MO): New macro.
24005         (__ieee754_exp2l): Force underflow exception for small results.
24006         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24007         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24008         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
24009         (MO): New macro.
24010         (__ieee754_exp2l): Force underflow exception for small results.
24011         * math/auto-libm-test-in: Add more tests or exp2.
24012         * math/auto-libm-test-out: Regenerated.
24014 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
24016         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
24018         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
24019         /dev/null.
24021 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24023         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24024         io fs process)): Drop spurious backslash.
24026 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24028         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
24029         Use sysinfo system call instead of parsing /proc/meminfo.
24030         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
24031         Likewise.
24033 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
24035         [BZ #16985]
24036         * programs/localedef.c (main): Display argv[remaining] when
24037         output_path is NULL.
24039 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24041         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24042         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
24043         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
24044         tanh.
24045         * math/auto-libm-test-out: Regenerated.
24046         * sysdeps/i386/fpu/libm-test-ulps: Update.
24047         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24048         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24051 2015-09-11  Roland McGrath  <roland@hack.frob.com>
24053         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
24054         Use 'override' keyword to freeze the value here, preventing
24055         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
24057 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24059         [BZ #14912]
24060         * sysdeps/aarch64/bits/atomic.h: Move to ...
24061         * sysdeps/aarch64/atomic-machine.h: ...here.
24062         (_AARCH64_BITS_ATOMIC_H): Rename macro to
24063         _AARCH64_ATOMIC_MACHINE_H.
24064         * sysdeps/alpha/bits/atomic.h: Move to ...
24065         * sysdeps/alpha/atomic-machine.h: ...here.
24066         * sysdeps/arm/bits/atomic.h: Move to ...
24067         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
24068         * bits/atomic.h: Move to ...
24069         * sysdeps/generic/atomic-machine.h: ...here.
24070         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24071         * sysdeps/i386/bits/atomic.h: Move to ...
24072         * sysdeps/i386/atomic-machine.h: ...here.
24073         * sysdeps/ia64/bits/atomic.h: Move to ...
24074         * sysdeps/ia64/atomic-machine.h: ...here.
24075         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
24076         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
24077         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24078         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
24079         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
24080         * sysdeps/microblaze/bits/atomic.h: Move to ...
24081         * sysdeps/microblaze/atomic-machine.h: ...here.
24082         * sysdeps/mips/bits/atomic.h: Move to ...
24083         * sysdeps/mips/atomic-machine.h: ...here.
24084         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
24085         * sysdeps/powerpc/bits/atomic.h: Move to ...
24086         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
24087         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
24088         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
24089         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
24090         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
24091         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
24092         <atomic-machine.h> instead of <bits/atomic.h>.
24093         * sysdeps/s390/bits/atomic.h: Move to ...
24094         * sysdeps/s390/atomic-machine.h: ...here.
24095         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
24096         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
24097         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24098         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
24099         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
24100         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
24101         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
24102         * sysdeps/tile/bits/atomic.h: Move to ...
24103         * sysdeps/tile/atomic-machine.h: ...here.
24104         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
24105         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
24106         <sysdeps/tile/atomic-machine.h> instead of
24107         <sysdeps/tile/bits/atomic.h>.
24108         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24109         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
24110         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
24111         <sysdeps/tile/atomic-machine.h> instead of
24112         <sysdeps/tile/bits/atomic.h>.
24113         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24114         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
24115         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
24116         <sysdeps/arm/atomic-machine.h> instead of
24117         <sysdeps/arm/bits/atomic.h>.
24118         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
24119         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
24120         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24121         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
24122         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
24123         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24124         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
24125         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
24126         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
24127         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
24128         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
24129         * sysdeps/x86_64/bits/atomic.h: Move to ...
24130         * sysdeps/x86_64/atomic-machine.h: ...here.
24131         * include/atomic.h: Include <atomic-machine.h> instead of
24132         <bits/atomic.h>.
24134         * sysdeps/mips/mips32/libm-test-ulps: Update.
24135         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24137         [BZ #18952]
24138         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
24139         not convert non-integer negative arguments to int to determine the
24140         value of signgam.
24141         * math/auto-libm-test-in: Add more tests of lgamma.
24142         * math/auto-libm-test-out: Regenerated.
24144         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
24145         cosh, csqrt, erfc, expm1 and lgamma.
24146         * math/auto-libm-test-out: Regenerated.
24147         * sysdeps/i386/fpu/libm-test-ulps: Update.
24148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24150 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
24152         [BZ #2542]
24153         [BZ #2543]
24154         [BZ #2558]
24155         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
24156         __lgamma_neg for arguments from -28.0 to -2.0.
24157         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
24158         __lgamma_negf for arguments from -15.0 to -2.0.
24159         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24160         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
24161         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
24162         Call __lgamma_negl for arguments from -33.0 to -2.0.
24163         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
24164         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
24165         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
24166         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
24167         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
24168         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
24169         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
24170         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
24171         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
24172         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
24173         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
24174         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
24175         (__lgamma_neg): Likewise.
24176         (__lgamma_negl): Likewise.
24177         (__lgamma_product): Likewise.
24178         (__lgamma_productl): Likewise.
24179         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
24180         * math/auto-libm-test-in: Add more tests of lgamma.
24181         * math/auto-libm-test-out: Regenerated.
24182         * sysdeps/i386/fpu/libm-test-ulps: Update.
24183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24185 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
24187         [BZ #18675]
24188         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
24190 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
24192         [BZ #14912]
24193         * bits/libc-lock.h: Move to ...
24194         * sysdeps/generic/libc-lock.h: ...here.
24195         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24196         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
24197         * sysdeps/mach/hurd/libc-lock.h: ...here.
24198         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24199         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
24200         * sysdeps/mach/bits/libc-lock.h: Move to ...
24201         * sysdeps/mach/libc-lock.h: ...here.
24202         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24203         * sysdeps/nptl/bits/libc-lock.h: Move to ...
24204         * sysdeps/nptl/libc-lock.h: ...here.
24205         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24206         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
24207         * sysdeps/nptl/libc-lockP.h: ...here.
24208         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
24209         * crypt/crypt_util.c: Include <libc-lock.h> instead of
24210         <bits/libc-lock.h>.
24211         * dirent/scandir-tail.c: Likewise.
24212         * dlfcn/dlerror.c: Likewise.
24213         * elf/dl-close.c: Likewise.
24214         * elf/dl-iteratephdr.c: Likewise.
24215         * elf/dl-lookup.c: Likewise.
24216         * elf/dl-open.c: Likewise.
24217         * elf/dl-support.c: Likewise.
24218         * elf/dl-writev.h: Likewise.
24219         * elf/rtld.c: Likewise.
24220         * grp/fgetgrent.c: Likewise.
24221         * gshadow/fgetsgent.c: Likewise.
24222         * gshadow/sgetsgent.c: Likewise.
24223         * iconv/gconv_conf.c: Likewise.
24224         * iconv/gconv_db.c: Likewise.
24225         * iconv/gconv_dl.c: Likewise.
24226         * iconv/gconv_int.h: Likewise.
24227         * iconv/gconv_trans.c: Likewise.
24228         * include/link.h: Likewise.
24229         * inet/getnameinfo.c: Likewise.
24230         * inet/getnetgrent.c: Likewise.
24231         * inet/getnetgrent_r.c: Likewise.
24232         * intl/bindtextdom.c: Likewise.
24233         * intl/dcigettext.c: Likewise.
24234         * intl/finddomain.c: Likewise.
24235         * intl/gettextP.h: Likewise.
24236         * intl/loadmsgcat.c: Likewise.
24237         * intl/localealias.c: Likewise.
24238         * intl/textdomain.c: Likewise.
24239         * libidn/idn-stub.c: Likewise.
24240         * libio/libioP.h: Likewise.
24241         * locale/duplocale.c: Likewise.
24242         * locale/freelocale.c: Likewise.
24243         * locale/newlocale.c: Likewise.
24244         * locale/setlocale.c: Likewise.
24245         * login/getutent_r.c: Likewise.
24246         * login/getutid_r.c: Likewise.
24247         * login/getutline_r.c: Likewise.
24248         * login/utmp-private.h: Likewise.
24249         * login/utmpname.c: Likewise.
24250         * malloc/mtrace.c: Likewise.
24251         * misc/efgcvt.c: Likewise.
24252         * misc/error.c: Likewise.
24253         * misc/fstab.c: Likewise.
24254         * misc/getpass.c: Likewise.
24255         * misc/mntent.c: Likewise.
24256         * misc/syslog.c: Likewise.
24257         * nis/nis_call.c: Likewise.
24258         * nis/nis_callback.c: Likewise.
24259         * nis/nss-default.c: Likewise.
24260         * nis/nss_compat/compat-grp.c: Likewise.
24261         * nis/nss_compat/compat-initgroups.c: Likewise.
24262         * nis/nss_compat/compat-pwd.c: Likewise.
24263         * nis/nss_compat/compat-spwd.c: Likewise.
24264         * nis/nss_nis/nis-alias.c: Likewise.
24265         * nis/nss_nis/nis-ethers.c: Likewise.
24266         * nis/nss_nis/nis-grp.c: Likewise.
24267         * nis/nss_nis/nis-hosts.c: Likewise.
24268         * nis/nss_nis/nis-network.c: Likewise.
24269         * nis/nss_nis/nis-proto.c: Likewise.
24270         * nis/nss_nis/nis-pwd.c: Likewise.
24271         * nis/nss_nis/nis-rpc.c: Likewise.
24272         * nis/nss_nis/nis-service.c: Likewise.
24273         * nis/nss_nis/nis-spwd.c: Likewise.
24274         * nis/nss_nisplus/nisplus-alias.c: Likewise.
24275         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
24276         * nis/nss_nisplus/nisplus-grp.c: Likewise.
24277         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
24278         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
24279         * nis/nss_nisplus/nisplus-network.c: Likewise.
24280         * nis/nss_nisplus/nisplus-proto.c: Likewise.
24281         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
24282         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
24283         * nis/nss_nisplus/nisplus-service.c: Likewise.
24284         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
24285         * nis/ypclnt.c: Likewise.
24286         * nptl/libc_pthread_init.c: Likewise.
24287         * nss/getXXbyYY.c: Likewise.
24288         * nss/getXXent.c: Likewise.
24289         * nss/getXXent_r.c: Likewise.
24290         * nss/nss_db/db-XXX.c: Likewise.
24291         * nss/nss_db/db-netgrp.c: Likewise.
24292         * nss/nss_db/nss_db.h: Likewise.
24293         * nss/nss_files/files-XXX.c: Likewise.
24294         * nss/nss_files/files-alias.c: Likewise.
24295         * nss/nsswitch.c: Likewise.
24296         * posix/regex_internal.h: Likewise.
24297         * posix/wordexp.c: Likewise.
24298         * pwd/fgetpwent.c: Likewise.
24299         * resolv/res_hconf.c: Likewise.
24300         * resolv/res_libc.c: Likewise.
24301         * shadow/fgetspent.c: Likewise.
24302         * shadow/lckpwdf.c: Likewise.
24303         * shadow/sgetspent.c: Likewise.
24304         * socket/opensock.c: Likewise.
24305         * stdio-common/reg-modifier.c: Likewise.
24306         * stdio-common/reg-printf.c: Likewise.
24307         * stdio-common/reg-type.c: Likewise.
24308         * stdio-common/vfprintf.c: Likewise.
24309         * stdio-common/vfscanf.c: Likewise.
24310         * stdlib/abort.c: Likewise.
24311         * stdlib/cxa_atexit.c: Likewise.
24312         * stdlib/fmtmsg.c: Likewise.
24313         * stdlib/random.c: Likewise.
24314         * stdlib/setenv.c: Likewise.
24315         * string/strsignal.c: Likewise.
24316         * sunrpc/auth_none.c: Likewise.
24317         * sunrpc/bindrsvprt.c: Likewise.
24318         * sunrpc/create_xid.c: Likewise.
24319         * sunrpc/key_call.c: Likewise.
24320         * sunrpc/rpc_thread.c: Likewise.
24321         * sysdeps/arm/backtrace.c: Likewise.
24322         * sysdeps/generic/ldsodefs.h: Likewise.
24323         * sysdeps/generic/stdio-lock.h: Likewise.
24324         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
24325         * sysdeps/i386/backtrace.c: Likewise.
24326         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24327         * sysdeps/m68k/backtrace.c: Likewise.
24328         * sysdeps/mach/hurd/cthreads.c: Likewise.
24329         * sysdeps/mach/hurd/dirstream.h: Likewise.
24330         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24331         * sysdeps/nptl/malloc-machine.h: Likewise.
24332         * sysdeps/nptl/stdio-lock.h: Likewise.
24333         * sysdeps/posix/dirstream.h: Likewise.
24334         * sysdeps/posix/getaddrinfo.c: Likewise.
24335         * sysdeps/posix/system.c: Likewise.
24336         * sysdeps/pthread/aio_suspend.c: Likewise.
24337         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24338         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24339         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24340         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24341         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
24342         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
24343         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
24344         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24345         * sysdeps/unix/sysv/linux/system.c: Likewise.
24346         * sysdeps/x86_64/backtrace.c: Likewise.
24347         * time/alt_digit.c: Likewise.
24348         * time/era.c: Likewise.
24349         * time/tzset.c: Likewise.
24350         * wcsmbs/wcsmbsload.c: Likewise.
24351         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
24352         instead of <bits/libc-lock.h> in comment.
24354 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
24356         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
24357         Only use .set mips2 if the current ISA is below mips2.
24358         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
24359         Likewise.
24360         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
24361         mips32r2 if the current ISA is below mips32r2.
24362         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
24363         (TLS_IE): Updated to use the TLD_RDHWR macro.
24364         (TLS_LE): Likewise.
24365         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
24366         __ASSEMBLER__ condition.
24368 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24370         Fix parallel build of before-compile targets.
24372         * sysdeps/mach/Makefile ($(patsubst
24373         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
24374         mach-before-compile target.
24375         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24376         io fs process)): Move rule to dedicated hurd-before-compile target.
24378 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24380         Fix rules generating headers in hurd/ and mach/ when initial make call
24381         has subdir= explicitly set.
24383         * sysdeps/mach/Makefile ($(patsubst
24384         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
24385         calling $(MAKE).
24386         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24387         io fs process)): Force subdir to hurd when calling $(MAKE).
24388         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
24389         subdir to mach when calling $(MAKE).
24391 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
24393         Check sysheaders when looking for Mach and Hurd headers
24395         * sysdeps/mach/configure.ac: Add sysheaders check.
24396         * sysdeps/mach/configure: Regenerate.
24397         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
24398         * sysdeps/mach/hurd/configure: Regenerate.
24400 2015-09-04  Roland McGrath  <roland@hack.frob.com>
24402         [BZ #18921]
24403         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
24404         Fix inverted sense of test of 'o_directory_works' value.
24405         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
24406         Bernhard Voelker <mail@bernhard-voelker.de>.
24408 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24410         [BZ #14912]
24411         * bits/linkmap.h: Move to ...
24412         * sysdeps/generic/linkmap.h: ...here.
24413         * sysdeps/aarch64/bits/linkmap.h: Move to ...
24414         * sysdeps/aarch64/linkmap.h: ...here.
24415         * sysdeps/arm/bits/linkmap.h: Move to ...
24416         * sysdeps/arm/linkmap.h: ...here.
24417         * sysdeps/hppa/bits/linkmap.h: Move to ...
24418         * sysdeps/hppa/linkmap.h: ...here.
24419         * sysdeps/ia64/bits/linkmap.h: Move to ...
24420         * sysdeps/ia64/linkmap.h: ...here.
24421         * sysdeps/mips/bits/linkmap.h: Move to ...
24422         * sysdeps/mips/linkmap.h: ...here.
24423         * sysdeps/s390/bits/linkmap.h: Move to ...
24424         * sysdeps/s390/linkmap.h: ...here.
24425         * sysdeps/sh/bits/linkmap.h: Move to ...
24426         * sysdeps/sh/linkmap.h: ...here.
24427         * sysdeps/x86/bits/linkmap.h: Move to ...
24428         * sysdeps/x86/linkmap.h: ...here.
24429         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
24431 2015-09-04  Andreas Schwab  <schwab@suse.de>
24433         [BZ #18635]
24434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
24435         (__makecontext): Terminate FDE before return label.
24436         (__novec_makecontext): Likewise.
24438 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24440         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
24441         first member of struct sv in syscall macro.
24443 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24445         [BZ #14912]
24446         * bits/stdio-lock.h: Move to ...
24447         * sysdeps/generic/stdio-lock.h: ...here.
24448         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24449         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
24450         * sysdeps/nptl/stdio-lock.h: ...here.
24451         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24452         * include/libio.h: Include <stdio-lock.h> instead of
24453         <bits/stdio-lock.h>.
24454         * sysdeps/nptl/fork.c: Likewise.
24455         * sysdeps/pthread/flockfile.c: Likewise.
24456         * sysdeps/pthread/ftrylockfile.c: Likewise.
24457         * sysdeps/pthread/funlockfile.c: Likewise.
24459         [BZ #14912]
24460         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
24461         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
24462         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
24463         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
24464         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
24465         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24466         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
24468 2015-09-03  Roland McGrath  <roland@hack.frob.com>
24470         * elf/Makefile (test-xfail-tst-protected1a): New variable.
24471         (test-xfail-tst-protected1b): New variable.
24473 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
24475         [BZ #14912]
24476         * bits/libc-tsd.h: Move to ...
24477         * sysdeps/generic/libc-tsd.h: ...here.
24478         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
24479         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
24480         * sysdeps/mach/hurd/libc-tsd.h: ...here.
24481         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
24482         * include/ctype.h: Include <libc-tsd.h> instead of
24483         <bits/libc-tsd.h>.
24484         * include/rpc/rpc.h: Likewise.
24485         * locale/localeinfo.h: Likewise.
24486         * sunrpc/rpc_thread.c: Likewise.
24487         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24488         * sysdeps/nptl/malloc-machine.h: Likewise.
24490         * Makefile (headers): Remove bits/libc-lock.h.
24491         * libio/Makefile (headers): Remove bits/stdio-lock.h.
24493         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
24494         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
24495         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
24496         <bits/stdio-lock.h>.
24497         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
24498         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
24500 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24502         [BZ #18757]
24503         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
24504         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
24505         BZ #18757.
24507 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24509         * malloc/mtrace.pl: Filter out NULL entries.
24511 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
24513         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
24514         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
24515         macro.
24517         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
24518         (TCP_CC_INFO): Likewise.
24519         (TCP_SAVE_SYN): Likewise.
24520         (TCP_SAVED_SYN): Likewise.
24522 2015-08-31  Brett Neumeier <brett@neumeier.us>
24524         [BZ #18870]
24525         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
24527 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
24529         [BZ #18873]
24530         Fix broken overflow check in posix_fallocate
24531         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
24532         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24533         Fix parenthesization typo.
24535 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
24537         [BZ #18887]
24538         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
24539         tst-mntent-blank-passno.
24540         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
24541         * misc/tst-mntent-blank-corrupt.c: New test.
24542         * misc/tst-mntent-blank-passno.c: New test ripped from ...
24543         * misc/tst-mntent.c (do_test): ... here.
24545 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
24547         [BZ #4404]
24548         * po/de.po: Fix SIGALRM typo.
24550 2015-08-28  James Perkins  <james@loowit.net>
24552         * time/tst-strptime2.c (tests): Replace short list of test
24553         strings for strptime %z specifier with code which exhaustively
24554         tests every combination of sign and 0 to 5 digits. Tests for
24555         rejection of invalid strings.
24557 2015-08-28  James Perkins  <james@loowit.net>
24559         [BZ #16141]
24560         * time/strptime_l.c (__strptime_internal): Fix %z minutes
24561         calculation, removing incorrect decimal time rounding, so that
24562         all minute values result in a valid seconds value.
24563         * time/strptime_l.c (__strptime_internal): Extend %z time zone
24564         offset range limits to UTC-99:59 through UTC+99:59 to parse
24565         current and historical use cases.
24566         * time/tst-strptime2.c (tests): Modify and add tests for the
24567         strptime %z input field descriptor, specifically conversion of
24568         minutes to seconds and validating an offset range of -9959 to
24569         +9959.
24571 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24572             Dmitry V. Levin  <ldv@altlinux.org>
24574         [BZ #18877]
24575         * posix/Makefile (tests): Add tst-mmap-offset.
24576         * posix/tst-mmap.c: New file.
24577         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
24578         offset calculation for negative values.
24580 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24582         * sysdeps/i386/init-arch.h: New file.
24583         * sysdeps/i386/i586/init-arch.h: Likewise.
24584         * sysdeps/i386/i686/init-arch.h: Likewise.
24585         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
24586         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
24587         * sysdeps/x86/cpu-features.h (bit_I586): New.
24588         (bit_I686): Likewise.
24589         (bit_CX8): Likewise.
24590         (bit_CMOV): Likewise.
24591         (index_CX8): Likewise.
24592         (index_CMOV): Likewise.
24593         (index_I586): Likewise.
24594         (index_I686): Likewise.
24595         (reg_CX8): Likewise.
24596         (reg_CMOV): Likewise.
24597         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
24598         available at compile-time.
24599         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
24600         available at compile-time.
24601         * sysdeps/x86/init-arch.h (USE_I586): New macro.
24602         (USE_I686): Likewise.
24604 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24606         * sysdeps/i386/bcopy.S: New file.
24607         * sysdeps/i386/bzero.S: Likewise.
24608         * sysdeps/i386/memcpy.S: Likewise.
24609         * sysdeps/i386/memmove.S: Likewise.
24610         * sysdeps/i386/mempcpy.S: Likewise.
24611         * sysdeps/i386/memset.S: Likewise.
24612         * sysdeps/i386/bzero.c: Removed.
24613         * sysdeps/i386/memset.c: Likewise.
24614         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
24615         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
24616         * sysdeps/i386/i586/memset_chk.S: Likewise.
24617         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
24618         * sysdeps/i386/memcpy_chk.S: Here.
24619         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
24620         * sysdeps/i386/memmove_chk.S: Here.
24621         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
24622         * sysdeps/i386/mempcpy_chk.S: Likewise.
24623         * sysdeps/i386/i686/memset_chk.S: Moved to ...
24624         * sysdeps/i386/memset_chk.S: Likewise.
24626 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
24628         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
24629         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
24630         file, move DIAG_POP_NEEDS_COMMENT to end of file.
24631         * soft-fp/fmadf4.c: Ditto.
24632         * soft-fp/fmatf4.c: Ditto.
24634 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24636         * sysdeps/i386/i586/Implies: Removed.
24637         * sysdeps/i386/i686/Implies: Likewise.
24639 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24641         * sysdeps/i386/i486/strlen.S: Moved to ...
24642         * sysdeps/i386/strlen.S: Here.
24644 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24646         * sysdeps/i386/i486/strcat.S: Moved to ...
24647         * sysdeps/i386/strcat.S: Here.
24649 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24651         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
24652         * sysdeps/i386/pthread_spin_trylock.S: Here.
24653         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
24654         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
24656 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24658         * sysdeps/i386/i486/string-inlines.c: Moved to ...
24659         * sysdeps/i386/string-inlines.c: Here.
24661 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24663         * sysdeps/i386/i486/htonl.S: Moved ...
24664         * sysdeps/i386/htonl.S: here.
24666 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24668         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
24669         * sysdeps/i386/bits/atomic.h: Here.
24671 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24673         * sysdeps/i386/i486/Versions: Removed.
24675 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24677         [BZ #2898]
24678         * misc/mktemp.c: Add mkdtemp to the link_warning message.
24679         Based on patch by Aurelien Jarno.
24681 2015-08-26  Stan Shebs  <stanshebs@google.com>
24683         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
24684         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24686 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24688         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
24689         * sysdeps/powerpc/dl-procinfo.c:
24690         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
24691         feature so it shows when LD_SHOW_AUXV=1.
24693 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24695         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24696         (__arch_compare_and_exchange_val_32_acq): Remove and use common
24697         definition.  ISA 2.07B no longer requires full sync.
24699 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
24701         [BZ #18863]
24702         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
24703         (si_call_addr): Define.
24704         (si_syscall): Define.
24705         (si_arch): Define.
24707 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
24709         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
24710         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
24711         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
24712         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24713         (__memset_zero_constant_len_parameter): New.
24714         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
24715         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24716         (__memset_zero_constant_len_parameter): Don't define if
24717         __memset_chk or USE_AS_BZERO are defined.
24719         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
24720         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
24721         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
24723         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
24724         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
24725         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
24726         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
24727         comments.
24728         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
24729         -mno-mmx for $(all-rtld-routines).
24730         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
24731         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
24732         i386.
24734 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24736         * sysdeps/generic/unwind.h
24737         (_Unwind_Word): Use __mode__(__unwind_word__)
24738         instead of __mode__(__word__).
24739         (_Unwind_Sword): Likewise.
24741         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24742         (MAX_NEEDED_INPUT): New define.
24743         (MAX_NEEDED_OUTPUT): New define.
24745         * NEWS: New item for IBM z13 string optimizations.
24747         * sysdeps/s390/multiarch/memrchr-c.c: New File.
24748         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
24749         * sysdeps/s390/multiarch/memrchr.c: Likewise.
24750         * sysdeps/s390/multiarch/Makefile
24751         (sysdep_routines): Add memrchr functions.
24752         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24753         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
24755         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
24756         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
24757         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
24758         * sysdeps/s390/multiarch/Makefile
24759         (sysdep_routines): Add wmemcmp functions.
24760         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24761         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
24762         * benchtests/bench-wmemcmp.c: New File.
24763         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
24765         * sysdeps/s390/multiarch/wmemset-c.c: New File.
24766         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
24767         * sysdeps/s390/multiarch/wmemset.c: Likewise.
24768         * sysdeps/s390/multiarch/Makefile
24769         (sysdep_routines): Add wmemset functions.
24770         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24771         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
24772         * wcsmbs/wmemset.c: Use WMEMSET if defined.
24773         * string/test-memset.c: Add wmemset support.
24774         * wcsmbs/test-wmemset.c: New File.
24775         * wcsmbs/Makefile (strop-tests): Add wmemset.
24776         * benchtests/bench-memset.c: Add wmemset support.
24777         * benchtests/bench-wmemset.c: New File.
24778         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
24780         * sysdeps/s390/multiarch/memccpy-c.c: New File.
24781         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
24782         * sysdeps/s390/multiarch/memccpy.c: Likewise.
24783         * sysdeps/s390/multiarch/Makefile
24784         (sysdep_routines): Add memccpy functions.
24785         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24786         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
24787         * string/memccpy.c: Use MEMCCPY if defined.
24789         * sysdeps/s390/multiarch/memchr-vx.S: New File.
24790         * sysdeps/s390/multiarch/memchr.c: Likewise.
24791         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
24792         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
24793         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
24794         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
24795         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
24796         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
24797         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
24798         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
24799         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
24800         and rawmemchr functions.
24801         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24802         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
24803         and wmemchr.
24804         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
24805         * string/test-memchr.c: Add wmemchr support.
24806         * wcsmbs/test-wmemchr.c: New File.
24807         * wcsmbs/Makefile (strop-tests): Add wmemchr.
24808         * benchtests/bench-memchr.c: Add wmemchr support.
24809         * benchtests/bench-wmemchr.c: New File.
24810         * benchtests/Makefile (wcsmbs-bench): wmemchr.
24812         * sysdeps/s390/multiarch/strcspn-c.c: New File.
24813         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
24814         * sysdeps/s390/multiarch/strcspn.c: Likewise.
24815         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
24816         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
24817         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
24818         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
24819         wcscspn functions.
24820         * sysdeps/s390/multiarch/ifunc-impl-list.c
24821         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
24822         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
24823         * string/test-strcspn.c: Add wcscspn support.
24824         * wcsmbs/test-wcscspn.c: New File.
24825         * wcsmbs/Makefile (strop-tests): Add wcscspn.
24826         * benchtests/bench-strcspn.c: Add wcscspn support.
24827         * benchtests/bench-wcscspn.c: New File.
24828         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
24830         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
24831         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
24832         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
24833         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
24834         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
24835         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
24836         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
24837         wcspbrk functions.
24838         * sysdeps/s390/multiarch/ifunc-impl-list.c
24839         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
24840         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
24841         * string/test-strpbrk.c: Add wcspbrk support.
24842         * wcsmbs/test-wcspbrk.c: New File.
24843         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
24844         * benchtests/bench-strpbrk.c: Add wcspbrk support.
24845         * benchtests/bench-wcspbrk.c: New File.
24846         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
24848         * sysdeps/s390/multiarch/strspn-c.c: New File.
24849         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
24850         * sysdeps/s390/multiarch/strspn.c: Likewise.
24851         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
24852         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
24853         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
24854         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
24855         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
24856         wcsspn functions.
24857         * sysdeps/s390/multiarch/ifunc-impl-list.c
24858         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
24859         * string/test-strspn.c: Add wcsspn support.
24860         * wcsmbs/test-wcsspn.c: New File.
24861         * wcsmbs/Makefile (strop-tests): Add wcsspn.
24862         * benchtests/bench-strspn.c: Add wcsspn support.
24863         * benchtests/bench-wcsspn.c: New File.
24864         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
24866         * sysdeps/s390/multiarch/strrchr-c.c: New File.
24867         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
24868         * sysdeps/s390/multiarch/strrchr.c: Likewise.
24869         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
24870         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
24871         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
24872         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
24873         wcsrchr functions.
24874         * sysdeps/s390/multiarch/ifunc-impl-list.c
24875         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
24876         * benchtests/bench-wcsrchr.c: New File.
24877         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
24879         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
24880         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
24881         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
24882         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
24883         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
24884         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
24885         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
24886         wcschrnul functions.
24887         * sysdeps/s390/multiarch/ifunc-impl-list.c
24888         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
24889         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
24890         * string/test-strchr.c: Add wcschrnul support.
24891         * wcsmbs/test-wcschrnul.c: New File.
24892         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
24893         * benchtests/bench-strchr.c: Add wcschrnul support.
24894         * benchtests/bench-wcschrnul.c: New File.
24895         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
24897         * sysdeps/s390/multiarch/strchr-c.c: New File.
24898         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
24899         * sysdeps/s390/multiarch/strchr.c: Likewise.
24900         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
24901         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
24902         * sysdeps/s390/multiarch/wcschr.c: Likewise.
24903         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
24904         wcschr functions.
24905         * sysdeps/s390/multiarch/ifunc-impl-list.c
24906         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
24907         * string/strchr.c (STRCHR): Define and use macro.
24908         * benchtests/bench-wcschr.c: New File.
24909         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
24911         * sysdeps/s390/multiarch/strncmp-c.c: New File.
24912         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
24913         * sysdeps/s390/multiarch/strncmp.c: Likewise.
24914         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
24915         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
24916         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
24917         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
24918         wcsncmp functions.
24919         * sysdeps/s390/multiarch/ifunc-impl-list.c
24920         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
24921         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
24922         * benchtests/bench-strncmp.c: Add wcsncmp support.
24923         * benchtests/bench-wcsncmp.c: New File.
24924         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
24926         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
24927         * sysdeps/s390/multiarch/strcmp.c: Likewise.
24928         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
24929         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
24930         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
24931         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
24932         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
24933         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
24934         wcscmp functions.
24935         * sysdeps/s390/multiarch/ifunc-impl-list.c
24936         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
24937         * string/strcmp.c (STRCMP): Define and use macro.
24938         * benchtests/bench-wcscmp.c: New File.
24939         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
24940         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
24941         instead of _HAVE_STRING_ARCH_memchr.
24943         * sysdeps/s390/multiarch/strncat-c.c: New File.
24944         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
24945         * sysdeps/s390/multiarch/strncat.c: Likewise.
24946         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
24947         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
24948         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
24949         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
24950         wcsncat functions.
24951         * sysdeps/s390/multiarch/ifunc-impl-list.c
24952         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
24953         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
24954         * string/test-strncat.c: Add wcsncat support.
24955         * wcsmbs/test-wcsncat.c: New File.
24956         * wcsmbs/Makefile (strop-tests): Add wcsncat.
24957         * benchtests/bench-strncat.c: Add wcsncat support.
24958         * benchtests/bench-wcsncat.c: New File.
24959         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
24961         * sysdeps/s390/multiarch/strcat-c.c: New File.
24962         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
24963         * sysdeps/s390/multiarch/strcat.c: Likewise.
24964         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
24965         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
24966         * sysdeps/s390/multiarch/wcscat.c: Likewise.
24967         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
24968         wcscat functions.
24969         * sysdeps/s390/multiarch/ifunc-impl-list.c
24970         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
24971         * string/strcat.c (STRCAT): Define and use macro.
24972         * wcsmbs/wcscat.c: Use WCSCAT if defined.
24973         * string/test-strcat.c: Add wcscat support.
24974         * wcsmbs/test-wcscat.c: New File.
24975         * wcsmbs/Makefile (strop-tests): Add wcscat.
24976         * benchtests/bench-strcat.c: Add wcscat support.
24977         * benchtests/bench-wcscat.c: New File.
24978         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
24980         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
24981         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
24982         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
24983         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
24984         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
24985         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
24986         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
24987         wcpncpy functions.
24988         * sysdeps/s390/multiarch/ifunc-impl-list.c
24989         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
24990         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
24991         * string/test-stpncpy.c: Add wcpncpy support.
24992         * wcsmbs/test-wcpncpy.c: New File.
24993         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
24994         * benchtests/bench-stpncpy.c: Add wcpncpy support.
24995         * benchtests/bench-wcpncpy.c: New File.
24996         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
24998         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
24999         * sysdeps/s390/multiarch/strncpy.c: Likewise.
25000         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
25001         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
25002         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
25003         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
25004         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
25005         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
25006         wcsncpy functions.
25007         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
25008         * sysdeps/s390/multiarch/ifunc-impl-list.c
25009         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
25010         * string/test-strncpy.c: Add wcsncpy support.
25011         * wcsmbs/test-wcsncpy.c: New File.
25012         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
25013         * benchtests/bench-strncpy.c: Add wcsncpy support.
25014         * benchtests/bench-wcsncpy.c: New File.
25015         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
25017         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
25018         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
25019         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
25020         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
25021         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
25022         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
25023         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
25024         wcpcpy functions.
25025         * string/stpcpy.c: Use STPCPY if defined.
25026         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
25027         * sysdeps/s390/multiarch/ifunc-impl-list.c
25028         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
25029         * string/test-stpcpy.c: Add wcpcpy support.
25030         * wcsmbs/test-wcpcpy.c: New File.
25031         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
25032         * benchtests/bench-stpcpy.c: Add wcpcpy support.
25033         * benchtests/bench-wcpcpy.c: New File.
25034         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
25036         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
25037         * sysdeps/s390/multiarch/strcpy.c: Likewise.
25038         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
25039         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
25040         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
25041         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
25042         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
25043         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
25044         wcscpy functions.
25045         * sysdeps/s390/multiarch/ifunc-impl-list.c
25046         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
25047         * benchtests/bench-wcscpy.c: New File.
25048         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
25050         * sysdeps/s390/multiarch/strnlen-c.c: New File.
25051         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
25052         * sysdeps/s390/multiarch/strnlen.c: Likewise.
25053         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
25054         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
25055         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
25056         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
25057         wcsnlen functions.
25058         * sysdeps/s390/multiarch/ifunc-impl-list.c
25059         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
25060         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
25061         * string/test-strnlen.c: Add wcsnlen support.
25062         * wcsmbs/test-wcsnlen.c: New File.
25063         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
25064         * benchtests/bench-strnlen.c: Add wcsnlen support.
25065         * benchtests/bench-wcsnlen.c: New File.
25066         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
25068         * sysdeps/s390/multiarch/Makefile: New File.
25069         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
25070         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
25071         * sysdeps/s390/multiarch/strlen.c: Likewise.
25072         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
25073         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
25074         * sysdeps/s390/multiarch/wcslen.c: Likewise.
25075         * string/strlen.c (STRLEN): Define and use macro.
25076         * sysdeps/s390/multiarch/ifunc-impl-list.c
25077         (IFUNC_VX_IMPL): New macro function.
25078         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
25079         * benchtests/Makefile (wcsmbs-bench): New variable.
25080         (string-bench-all): Added wcsmbs-bench.
25081         * benchtests/bench-wcslen.c: New File.
25083         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
25084         s390_vx_libc_ifunc2): New macro function.
25086         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
25087         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
25088         assembler support.
25089         * sysdeps/s390/configure: Regenerated.
25091         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
25092         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
25094         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
25095         * sysdeps/s390/dl-procinfo.h: Add vector capability.
25096         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
25098         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
25099         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
25100         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
25101         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
25102         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
25103         (memcmp, bcmp): Use __memcmp_default as alias source.
25104         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
25105         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
25106         Rename to __memcmp_default.
25107         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
25108         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
25109         (memcpy): Use __memcpy_default as alias source.
25110         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
25111         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
25112         Rename to __memcpy_default.
25113         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
25114         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
25115         (memset): Use __memset_default as alias source.
25116         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
25117         * sysdeps/s390/s390-32/memset.S (__memset_g5):
25118         Rename to __memset_default.
25119         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
25120         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
25121         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
25122         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
25123         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
25124         (memcmp, bcmp): Use __memcmp_default as alias source.
25125         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
25126         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
25127         Rename to __memcmp_default.
25128         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
25129         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
25130         (memcpy): Use __memcpy_default as alias source.
25131         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
25132         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
25133         Rename to __memcpy_default.
25134         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
25135         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
25136         (memset): Use __memset_default as alias source.
25137         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
25138         * sysdeps/s390/s390-64/memset.S (__memset_z900):
25139         Rename to __memset_default.
25140         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
25141         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
25143         [BZ #18610]
25144         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
25145         __ieee_instruction_pointer to __unused.
25146         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
25147         __ieee_instruction_pointer.
25148         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
25149         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
25150         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25151         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25152         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
25153         Mark dxc-field as reserved.
25155 2015-08-25  Roland McGrath  <roland@hack.frob.com>
25157         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
25158         if the weak reference is not null.
25160 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25162         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
25164         [BZ #11214]
25165         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
25167 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25169         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
25170         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
25171         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
25172         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
25173         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
25174         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
25175         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
25176         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
25177         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
25178         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
25179         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
25180         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
25181         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
25182         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
25183         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
25184         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
25185         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
25186         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
25188 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25190         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
25191         register other than r0 for tabort, it has special meaning.
25192         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
25193         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
25194         transaction before starting syscall.
25196 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25198         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
25200 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25202         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
25204         * sysdeps/x86_64/rtld-memcmp.c: Removed.
25205         * sysdeps/x86_64/rtld-memset.S: Likewise.
25206         * sysdeps/x86_64/rtld-strchr.S: Likewise.
25207         * sysdeps/x86_64/rtld-strlen.S: Likewise.
25208         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
25209         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25211         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
25213 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
25215         * debug/strcpy_chk.c: Improve performance.
25216         * debug/stpcpy_chk.c: Likewise.
25217         * sysdeps/x86_64/strcpy_chk.S: Remove.
25218         * sysdeps/x86_64/stpcpy_chk.S: Remove.
25220         [BZ #18240]
25221         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
25223 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25225         [BZ #15128]
25226         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
25227         ifuncmain8.
25228         (modules-names): Add ifuncmod8.
25229         ($(objpfx)ifuncmain8): New rule.
25230         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
25231         <cpuid.h>.
25232         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
25233         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
25234         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
25235         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
25236         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
25237         * sysdeps/x86_64/dl-trampoline.h: Likewise.
25238         * sysdeps/x86_64/ifuncmain8.c: New file.
25239         * sysdeps/x86_64/ifuncmod8.c: Likewise.
25240         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
25241         Removed.
25242         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
25243         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
25244         Change rtld_savespace_sse to __glibc_unused2.
25245         (RTLD_CHECK_FOREIGN_CALL): Removed.
25246         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
25247         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
25248         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
25250 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25252         * sysdeps/aarch64/bzero.S (__bzero): Remove.
25254 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25256         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
25257         Unconditionally set __fpcr to avoid uninialized warning.
25258         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
25260 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25262         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
25263         is corrupt.
25265         * malloc/arena.c (arena_get2): Drop unused argument.
25266         (arena_lock): Adjust.
25267         (arena_get_retry): Likewise.
25269 2015-08-24  Andreas Schwab  <schwab@suse.de>
25271         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
25272         Don't define.
25273         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
25274         (__ASSUME_IPC64): Don't undef.
25275         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
25276         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25277         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25278         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
25279         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
25280         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
25281         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
25282         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
25283         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
25284         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
25285         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
25286         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
25287         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
25288         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
25289         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
25290         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
25291         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
25292         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
25293         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
25294         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
25295         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
25297 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
25299         * manual/Makefile (install): Only build manual when perl is available.
25301 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25303         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
25304         '#undef memcpy' by '#undef memchr'.
25306 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25308         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
25309         memchr not point to the internal __GI_memchr implementation.
25311 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25313         * timezone/Makefile (CFLAGS-zdump.c): Remove
25314         -Wno-strict-prototypes.
25315         (CFLAGS-zic.c): Likewise.
25316         (CFLAGS-ialloc.c): Likewise.
25317         (CFLAGS-scheck.c): Likewise.
25319         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
25320         -Wno-error=undef.
25322 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25324         * i386/i686/multiarch/strcasestr-c.c: Removed.
25325         * x86_64/multiarch/strcasestr.c: Likewise.
25326         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25327         Remove strcasestr.
25329 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25331         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
25333         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
25334         variables for high and low parts before possibly modifying them.
25336 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25338         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
25339         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
25340         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
25341         of "multiarch/init-arch.h".
25342         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
25343         * sysdeps/x86/init-arch.h: This.
25345 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25347         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
25348         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
25350 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
25352         [BZ #17787]
25353         * manual/macros.texi: Add twoexp macro.
25354         * manual/filesys.texi: Fix exponents.
25355         * manual/llio.texi: Likewise.
25356         * manual/stdio.texi: Likewise.
25358 2015-08-20  Florian Weimer  <fweimer@redhat.com>
25360         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
25361         incorrect use.
25363 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25365         [BZ #18370]
25366         * math/s_csqrt.c (__csqrt): Force underflow exception for results
25367         whose real or imaginary part has small absolute value.
25368         * math/s_csqrtf.c (__csqrtf): Likewise.
25369         * math/s_csqrtl.c (__csqrtl): Likewise.
25370         * math/auto-libm-test-in: Add more tests of csqrt.
25371         * math/auto-libm-test-out: Regenerated.
25372         * sysdeps/i386/fpu/libm-test-ulps: Update.
25374 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25376         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
25377         __ppc_set_ppr_very_low): New functions.
25378         * manual/platform.texi: Add documentation about
25379         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
25381 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
25383         * string/stpncpy.c (stpncpy): Improve performance using
25384         __strnlen/memcpy/memset.
25386 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25388         [BZ #18796]
25389         * scripts/test-installation.pl: Don't add -lmvec to build options if
25390         libmvec wasn't built.
25392 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25394         [BZ #14341]
25395         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
25396         case when there is a gap between DT_REL and DT_JMPREL sections.
25397         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
25398         (LDFLAGS-tst-split-dynreloc): New.
25399         (tst-split-dynreloc-ENV): Likewise.
25400         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
25401         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
25403 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25405         [BZ #18822]
25406         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
25407         attribute_hidden.
25408         (__xstat64_conv): Likewise.
25409         (__xstat32_conv): Likewise.
25411 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25413         [BZ #18822]
25414         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
25415         Don't load %ebx when calling __setcontext.  Call __setcontext
25416         with HIDDEN_JUMPTARGET.
25417         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
25418         libc_hidden_def.
25420 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25422         * sysdeps/i386/i686/Makefile
25423         [$(subdir) == string] (sysdep_routines): Moved to ...
25424         * sysdeps/i386/Makefile: Here.
25425         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
25426         * sysdeps/i386/cacheinfo.c: Here.
25427         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
25428         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
25429         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
25430         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
25432 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25434         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
25435         __i586__ is defined.
25436         (HAS_I686): Defined to 1 if __i686__ is defined.
25438 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25440         * elf/Makefile [$(have-z-execstack) = yes]
25441         (CPPFLAGS-tst-execstack.c): New variable.
25443         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
25444         conditional to [defined UTMPX || _HAVE_UT_TYPE].
25445         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
25446         UTMPX || _HAVE_UT_TV].
25447         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
25448         UTMPX || _HAVE_UT_TV - 0].
25450 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
25452         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
25453         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
25454         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
25456 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25458         * sysdeps/powerpc/dl-procinfo.c:
25459         (_dl_powerpc_cap_flags): Added missing strings for some
25460         hwcap features.
25461         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
25463 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
25465         Port the 0x7efe...feff pattern to GCC 6.
25466         See Steve Ellcey's bug report in:
25467         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
25468         * string/memrchr.c (MEMRCHR):
25469         * string/rawmemchr.c (RAWMEMCHR):
25470         * string/strchr.c (strchr):
25471         * string/strchrnul.c (STRCHRNUL):
25472         Rewrite code to avoid issues with signed shift overflow.
25474 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
25476         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
25477         whether cpuid is available only if HAS_CPUID is 0.
25478         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
25479         (HAS_I586): Likewise.
25480         (HAS_I686): Likewise.
25482 2015-08-18  Zack Weinberg  <zackw@panix.com>
25484         * misc/Versions (libc): Add GLIBC_2.23.
25486 2015-08-18  Alan Modra  <amodra@gmail.com>
25488         [BZ #18421]
25489         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
25490         .Lp__global.
25491         (_start): Load %dp via .Lp__global.
25492         [!SHARED]: Use .section .rodata.
25494 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25496         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
25497         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
25499 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25501         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
25502         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
25504 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25506         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
25507         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
25509 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25511         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
25512         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
25514 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25516         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
25517         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
25519 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25521         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
25522         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
25524 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25526         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
25528 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25530         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
25531         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
25532         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25533         (__ASSUME_LWS_CAS): Delete.
25535 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25537         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
25538         * sysdeps/hppa/configure: Regenerated.
25539         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
25540         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
25541         * sysdeps/hppa/nptl/tls.h: Likewise.
25543 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
25545         [BZ #18823]
25546         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
25547         for scaling up small arguments.
25548         * math/s_csqrtf.c (__csqrtf): Likewise.
25549         * math/s_csqrtl.c (__csqrtl): Likewise.
25550         * math/auto-libm-test-in: Add more tests of csqrt.
25551         * math/auto-libm-test-out: Regenerated.
25553 2015-08-17  Andreas Schwab  <schwab@suse.de>
25555         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
25556         version set GLIBC_2.19.
25558 2015-08-16  Zack Weinberg  <zackw@panix.com>
25560         [BZ #18681]
25561         * misc/regexp.h: This interface is no longer supported.
25562         Remove all contents, leaving only an #error directive.
25563         * misc/regexp.c (loc1, loc2, locs, step, advance):
25564         Demote to compatibility symbols.
25566 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
25568         [BZ #18084]
25569         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
25570         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
25571         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25572         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
25573         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
25574         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
25575         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
25576         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
25577         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25579 2015-08-15  Zack Weinberg  <zackw@panix.com>
25581         [BZ #18795]
25582         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
25583         buffer length is known to be too large, not if it's known to be
25584         small enough.
25585         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
25586         overflow at runtime, involving a length parameter, twice: once
25587         with a compile-time constant length parameter, once without.
25589 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
25591         [BZ #18824]
25592         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
25593         scaling x * y up instead of down.
25594         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25595         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25596         * math/auto-libm-test-in: Add more tests of fma.
25597         * math/auto-libm-test-out: Regenerated.
25599 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25601         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25603 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25605         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
25606         unnecessary movq.
25607         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
25608         Likewise.
25610 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
25612         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25613         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
25614         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
25615         and tgamma.
25616         * math/auto-libm-test-out: Regenerated.
25617         * sysdeps/i386/fpu/libm-test-ulps: Update.
25618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25620         [BZ #16520]
25621         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
25622         (__tanh): Force underflow exception for arguments with small
25623         absolute value.
25624         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
25625         (__tanhf): Force underflow exception for arguments with small
25626         absolute value.
25627         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
25628         (__tanhl): Force underflow exception for arguments with small
25629         absolute value.
25630         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
25631         (__tanhl): Force underflow exception for arguments with small
25632         absolute value.
25633         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
25634         (__tanhl): Force underflow exception for arguments with small
25635         absolute value.
25636         * math/auto-libm-test-in: Add more tests of tanh.
25637         * math/auto-libm-test-out: Regenerated.
25638         * sysdeps/i386/fpu/libm-test-ulps: Update.
25640 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25642         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
25643         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
25645 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25647         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
25648         <cpuid.h>.
25650 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25652         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
25653         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
25655 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25657         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
25658         Remove $(objpfx)init-arch.o.
25659         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
25660         init-arch.
25661         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
25662         (INIT_ARCH_EXT): Defined as empty.
25663         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
25664         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
25665         __init_cpu_features call.  Replace HAS_XXX with
25666         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25667         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
25668         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
25669         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
25670         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
25671         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25672         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
25673         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
25674         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25675         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
25676         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
25677         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25678         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
25679         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
25680         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25681         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
25682         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
25683         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25684         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25685         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
25686         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
25687         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25688         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
25689         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
25690         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25691         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
25692         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
25693         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25694         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
25695         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
25696         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25697         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
25698         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
25699         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25700         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
25701         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
25703 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25705         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
25706         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25707         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25708         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25709         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
25710         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
25711         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
25712         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
25713         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
25714         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
25715         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
25716         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
25717         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25718         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25719         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25720         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25721         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25722         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25723         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25724         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25725         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25726         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25727         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25728         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25729         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25730         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25731         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25732         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25733         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25734         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25735         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25736         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25737         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25738         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25739         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25740         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25741         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25742         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25743         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25744         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25745         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25746         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25747         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25749 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25751         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
25752         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25753         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25754         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25755         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25756         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
25757         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25758         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
25759         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25760         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25761         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25762         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
25763         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
25764         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
25765         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
25766         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
25767         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
25768         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
25769         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
25770         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
25771         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
25772         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
25773         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
25774         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25775         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25776         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
25777         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
25778         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
25779         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25780         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25781         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25782         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25783         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25784         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25785         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25786         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25787         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25788         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25789         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25790         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25791         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25792         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25793         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25795 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25797         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
25798         (dl_platform_init): Call init_cpu_features.
25799         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
25800         * sysdeps/i386/i686/cacheinfo.c
25801         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
25802         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
25803         * sysdeps/i386/i686/multiarch/Versions: Removed.
25804         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
25805         Removed.
25806         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
25807         * sysdeps/unix/sysv/linux/x86/Makefile
25808         (libpthread-sysdep_routines): Remove init-arch.
25809         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
25810         <sysdeps/x86_64/dl-procinfo.c> instead of
25811         sysdeps/generic/dl-procinfo.c>.
25812         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
25813         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
25814         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
25815         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
25816         [$(subdir) == elf] (tests-static): Add
25817         tst-get-cpu-features-static.
25818         * sysdeps/x86/Versions: New file.
25819         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
25820         * sysdeps/x86/cpu-features.c: Likewise.
25821         * sysdeps/x86/cpu-features.h: Likewise.
25822         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
25823         * sysdeps/x86/libc-start.c: Likewise.
25824         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
25825         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
25826         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
25827         * sysdeps/x86_64/dl-procinfo.c: Likewise.
25828         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
25829         Assume USE_MULTIARCH is defined and don't check it.
25830         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
25831         (is_amd): Likewise.
25832         (max_cpuid): Likewise.
25833         (intel_check_word): Likewise.
25834         (__cache_sysconf): Don't call __init_cpu_features.
25835         (__x86_preferred_memory_instruction): Removed.
25836         (init_cacheinfo): Don't call __init_cpu_features. Replace
25837         __cpu_features with GLRO(dl_x86_cpu_features).
25838         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
25839         (dl_platform_init): Call init_cpu_features.
25840         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
25841         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
25842         * sysdeps/x86_64/multiarch/Versions: Removed.
25843         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
25844         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
25845         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
25846         Removed.
25847         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
25849 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25851         [BZ #18820]
25852         * libio/Makefile (test-fmemopen-mem): New test.
25853         * libio/test-fmemopen.c (do_bz18820): New test.
25854         * libio/fmemopen.c (__fmemopen): Fix memory leak.
25855         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
25857 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25859         [BZ #16734]
25860         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
25861         (FREE_BUF): Delete.
25862         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
25863         * libio/genops.c (_IO_setb): Use malloc and free directly.
25864         (_IO_default_doallocate, _IO_default_finish): Likewise.
25865         ( _IO_unbuffer_all): Likewise.
25866         ( libc_freeres_fn): Likewise.
25867         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25868         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25869         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
25870         (_IO_wdefault_doallocate): Likewise.
25872 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25874         [BZ #18086]
25875         * sysdeps/posix/nice.c (nice): Restore old errno.
25876         * posix/tst-nice.c (do_test): Add test for BZ #18086.
25878 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
25880         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
25882 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25884         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
25885         __bcopy and add a weak_alias to bcopy.
25886         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
25887         for static build.
25889         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
25890         cleanup macro usage.
25891         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
25892         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
25893         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25894         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
25895         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25896         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
25897         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
25898         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25899         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25900         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
25901         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25902         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
25903         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25904         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
25905         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25906         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
25907         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
25908         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
25909         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25911         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
25912         libc_hidden_def.
25913         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
25915         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
25916         (sysdep_routines): Add strstr-ppc64.
25917         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
25919 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
25921         [BZ #18778]
25922         * elf/Makefile (tests): Add Add tst-nodelete2.
25923         (modules-names): Add tst-nodelete2mod.
25924         (tst-nodelete2mod.so-no-z-defs): New.
25925         ($(objpfx)tst-nodelete2): Likewise.
25926         ($(objpfx)tst-nodelete2.out): Likewise.
25927         (LDFLAGS-tst-nodelete2): Likewise.
25928         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
25929         out of loop through all loaded libraries.
25930         * elf/tst-nodelete2.c: New file.
25931         * elf/tst-nodelete2mod.c: Likewise.
25932         * elf/tst-znodelete-zlib.cc: Delete.
25934 2015-08-11  Andreas Schwab  <schwab@suse.de>
25936         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
25937         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
25938         (__openat64_nocancel): Likewise.
25940 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
25942         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
25943         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
25944         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
25945         * math/auto-libm-test-out: Regenerated.
25946         * sysdeps/i386/fpu/libm-test-ulps: Update.
25947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25949 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25951         [BZ #18790]
25952         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
25953         threshold for returning +/- 1.
25954         * math/auto-libm-test-in: Add more tests of tanh.
25955         * math/auto-libm-test-out: Regenerated.
25956         * sysdeps/i386/fpu/libm-test-ulps: Update.
25958 2015-08-10  Andreas Schwab  <schwab@suse.de>
25960         [BZ #18781]
25961         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
25962         MORE_OFLAGS to oflag.
25963         * io/test-lfs.c (do_test): Test openat64.
25965 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25967         [BZ #18789]
25968         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
25969         smaller threshold for returning the argument.
25970         * math/auto-libm-test-in: Add more tests of sinh.
25971         * math/auto-libm-test-out: Regenerated.
25972         * sysdeps/i386/fpu/libm-test-ulps: Update.
25974 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25976         [BZ #18674]
25977         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
25978         break.
25980 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
25982         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
25983         (generated): Don't add $(addprefix z.,$(tzfiles)).
25985 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25987         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
25988         * scripts/sysd-rules.awk: Likewise.
25990 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25992         * iconvdata/tst-tables.sh: Change echo -n to printf.
25993         * nss/db-Makefile: Likewise.
25994         * posix/tst-getconf.sh: Likewise.
25995         * stdio-common/tst-unbputc.sh: Likewise.
25997 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25999         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
26000         MADV_*_PAGES defines behind this feature check.
26002 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
26004         [BZ #18480]
26005         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
26006         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
26007         Define.
26008         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
26009         LOAD_REGS_5, LOAD_REGS_6): Update.
26010         (INTERNAL_SYSCALL): Update using new LOAD defines.
26011         (INTERNAL_SYSCALL_NCS): Likewise.
26012         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
26014 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26016         [BZ #16734]
26017         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
26019 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26021         [BZ #17905]
26022         * catgets/Makefile (tst-catgets-mem): New test.
26023         * catgets/catgets.c (catopen): Don't use unbounded alloca.
26024         * catgets/open_catalog.c (__open_catalog): Likewise.
26025         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
26027 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
26029         [BZ #18787]
26030         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
26031         clobber registers.
26032         (atomic_compare_and_exchange_val_acq): Use register asms to assign
26033         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
26034         Cast return to __typeof (oldval).
26036 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
26038         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
26039         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
26040         and delete sys/syscall.h include.
26042 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
26044         [BZ #16517]
26045         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
26046         (tan): Force underflow exception for arguments with small absolute
26047         value.
26048         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
26049         (__kernel_tanf): Force underflow exception for arguments with
26050         small absolute value.
26051         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
26052         (__kernel_tanl): Force underflow exception for arguments with
26053         small absolute value.
26054         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
26055         (__kernel_tanl): Force underflow exception for arguments with
26056         small absolute value.
26057         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
26058         (__kernel_tanl): Force underflow exception for arguments with
26059         small absolute value.
26060         * math/auto-libm-test-in: Add more tests of tan.
26061         * math/auto-libm-test-out: Regenerated.
26063 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26065         Fix sysdeps/i386/fpu/s_scalbn.S build
26067         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
26069 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
26071         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26073 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26075         Fix gcrt0.o compilation
26077         When static-start-installed-name is different from
26078         start-installed-name, we must not use the shared objects.
26080         * csu/Makefile
26081         (extra-objs): Add gmon-start.o when building shared library and
26082         $(static-start-installed-name) is different from
26083         $(start-installed-name).
26084         $(objpfx)g$(static-start-installed-name): When building shared
26085         library and $(static-start-installed-name) is different from
26086         $(static-start-installed-name), revert to non-shared rule,
26087         i.e. using $(objpfx)% and gmon-start.o.
26089 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
26091         [BZ #16519]
26092         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
26093         (__ieee754_sinh): Force underflow exception for arguments with
26094         small absolute value.
26095         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
26096         (__ieee754_sinhf): Force underflow exception for arguments with
26097         small absolute value.
26098         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
26099         (__ieee754_sinhl): Force underflow exception for arguments with
26100         small absolute value.
26101         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
26102         (__ieee754_sinhl): Force underflow exception for arguments with
26103         small absolute value.
26104         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
26105         (__ieee754_sinhl): Force underflow exception for arguments with
26106         small absolute value.
26107         * math/auto-libm-test-in: Add more tests of sinh.
26108         * math/auto-libm-test-out: Regenerated.
26109         * sysdeps/i386/fpu/libm-test-ulps: Update.
26111 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26113         * libio/oldfileops.c: Include unistd.h.
26115 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
26117         * stdlib/isomac.c: Include ctype.h.
26119 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
26121         * dirent/tst-seekdir.c (main): Converted to ...
26122         (do_test): ... this.
26123         (TEST_FUNCTION): New macro.
26124         Include test-skeleton.c.
26125         * elf/tst-dlmodcount.c (main): Converted to ...
26126         (do_test): ... this.
26127         (TEST_FUNCTION): New macro.
26128         Include test-skeleton.c.
26129         * elf/tst-order-main.c (main): Converted to ...
26130         (do_test): ... this.
26131         (TEST_FUNCTION): New macro.
26132         Include test-skeleton.c.
26133         * elf/tst-pie2.c (main): Converted to ...
26134         (do_test): ... this.
26135         (TEST_FUNCTION): New macro.
26136         Include test-skeleton.c.
26137         * inet/tst-ether_aton.c (main): Converted to ...
26138         (do_test): ... this.
26139         (TEST_FUNCTION): New macro.
26140         Include test-skeleton.c.
26141         * misc/tst-mntent.c (main): Converted to ...
26142         (do_test): ... this.
26143         (TEST_FUNCTION): New macro.
26144         Include test-skeleton.c.
26145         * misc/tst-tsearch.c (main): Converted to ...
26146         (do_test): ... this.
26147         (TEST_FUNCTION): New macro.
26148         Include test-skeleton.c.
26149         * posix/tst-regexloc.c (main): Converted to ...
26150         (do_test): ... this.
26151         (TEST_FUNCTION): New macro.
26152         Include test-skeleton.c.
26153         * resolv/tst-aton.c (main): Converted to ...
26154         (do_test): ... this.
26155         (TEST_FUNCTION): New macro.
26156         Include test-skeleton.c.
26157         * stdio-common/test-fwrite.c (main): Converted to ...
26158         (do_test): ... this.
26159         (TEST_FUNCTION): New macro.
26160         Include test-skeleton.c.
26161         * stdio-common/tst-ferror.c (main): Converted to ...
26162         (do_test): ... this.
26163         (TEST_FUNCTION): New macro.
26164         Include test-skeleton.c.
26165         * stdio-common/tst-printf.c (main): Converted to ...
26166         (do_test): ... this.
26167         (TEST_FUNCTION): New macro.
26168         Include test-skeleton.c.
26169         * stdio-common/tst-printfsz.c (main): Converted to ...
26170         (do_test): ... this.
26171         (TEST_FUNCTION): New macro.
26172         Include test-skeleton.c.
26173         * stdlib/tst-strtod.c (main): Converted to ...
26174         (do_test): ... this.
26175         (TEST_FUNCTION): New macro.
26176         Include test-skeleton.c.
26177         * string/tst-strlen.c (main): Converted to ...
26178         (do_test): ... this.
26179         (TEST_FUNCTION): New macro.
26180         Include test-skeleton.c.
26181         * string/tst-svc.c (main): Converted to ...
26182         (do_test): ... this.
26183         (TEST_FUNCTION): New macro.
26184         Include test-skeleton.c.
26185         * time/tst-strptime.c (main): Converted to ...
26186         (do_test): ... this.
26187         (TEST_FUNCTION): New macro.
26188         Include test-skeleton.c.
26189         * timezone/tst-timezone.c (main): Converted to ...
26190         (do_test): ... this.
26191         (TEST_FUNCTION): New macro.
26192         Include test-skeleton.c.
26194 2015-08-05  Zack Weinberg  <zackw@panix.com>
26196         * misc/regexp.h: Update comments.
26198 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
26200         [BZ #18635]
26201         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
26202         before return label.
26204 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26206         [BZ #18661]
26207         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
26208         when calling __errno_location.
26209         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
26210         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
26212 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26214         [BZ #18661]
26215         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
26216         (__lll_timedwait_tid): Align stack to 16 bytes when calling
26217         __gettimeofday.
26219 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26221         [BZ #18661]
26222         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26223         (__start_context): Don't use pop to restore %rdi so that stack
26224         is aligned to 16 bytes when calling __setcontext.
26226 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26228         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
26229         only for libc.
26230         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26232 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26234         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
26235         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
26236         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
26238 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26240         * string/memccpy.c (memccpy):
26241         Improve performance by using memchr/memcpy/__mempcpy.
26243 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26245         * string/strncpy.c (strncpy):
26246         Improve performance by using __strnlen/memcpy.
26248 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26250         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26251         Optimize to avoid an unnecessary FPCR read.
26253 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26255         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26256         Optimize to reduce FPCR/FPSR accesses.
26258 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26260         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
26261         dead->data[category] != NULL.
26263 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
26265         [BZ #18647]
26266         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
26267         and |x| close to 1, use absolute value of x when computing log.
26268         * math/auto-libm-test-in: Add more tests of pow.
26269         * math/auto-libm-test-out: Regenerated.
26271 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26273         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
26274         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
26275         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
26277 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
26279         [BZ #18525]
26280         * locales/km_KH: Remove timezone definition.
26281         * locales/lo_LA: Likewise.
26282         * locales/my_MM: Likewise.
26283         * locales/nan_TW@latin: Likewise.
26284         * locales/th_TH: Likewise.
26285         * locales/uk_UA: Likewise.
26287 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
26289         [BZ #18265]
26290         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
26291         (wcsncat): Likewise.
26292         (wcscmp): Likewise.
26293         (wcsncmp): Likewise.
26295 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26297         * test-skeleton.c (usage): New function.
26298         (main): Call usage when opt is '?'.
26300 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26302         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
26303         before first use.
26305 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26307         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
26308         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
26309         in there too.
26311 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
26313         * version.h (RELEASE): Set to "development".
26314         (VERSION): Set to "2.22.90"
26316         * version.h (RELEASE): Set to "stable".
26317         (VERSION): Set to "2.22"
26318         * include/features.h (__GLIBC_MINOR__): Set to 22.
26320 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
26322         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
26323         Restructure macro to avoid "value computed is not used" warning.
26324         (atomic_compare_and_exchange_val_acq): Likewise.
26326 2015-08-04  Andreas Schwab  <schwab@suse.de>
26328         [BZ #18635]
26329         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
26330         ret.
26331         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
26333 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
26335         * po/pl.po: Updated translation.
26336         * po/uk.po: Likewise.
26337         * po/fi.po: Likewise.
26338         * po/ko.po: Likewise.
26339         * po/ru.po: Likewise.
26340         * po/vi.po: Likewise.
26342 2015-07-31  Zack Weinberg  <zackw@panix.com>
26344         [BZ #18681]
26345         * regexp.h: Add unconditional #warning stating that this header
26346         will be removed soon.  Revise banner comment to match.
26347         (compile): Consistently use ERROR instead of RETURN to report
26348         errors (partial fix for bz#18681).
26349         * regexp.c: Don't include regexp.h. Remove some unnecessary
26350         declarations.
26352 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
26354         * po/libc.pot: Regenerated.
26356 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26358         [BZ #18740]
26359         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
26360         float-vlen4-arch-ext-cflags): Removed.
26361         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
26362         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
26364 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26366         [BZ #14113]
26367         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
26368         aligned to __aligned__.
26369         (pthread_cond_t, pthread_rwlock_t): Likewise.
26371 2015-07-30  Torvald Riegel  <triegel@redhat.com>
26373         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
26375 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26377         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
26378         (struct sigaction): Change sa_flags from a long to an int, and add
26379         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
26381 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26383         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
26384         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
26385         sysdeps/generic/sysdep.h include.
26386         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
26387         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
26388         sysdeps/hppa/sysdep.h.
26389         (ENTRY, PSEUDO): Undefine before defining.
26391 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26393         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
26394         from scratch to use INTERNAL_SYSCALL.
26396 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
26398         [BZ #18078]
26399         * scripts/check-localplt.awk: Support alternate relocations.
26400         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
26401         sections.
26402         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
26403         malloc entries with + REL R_386_GLOB_DAT.
26404         * sysdeps/x86_64/localplt.data: New file.
26406 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
26408         [BZ #18731]
26409         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
26410         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26411         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26413 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26415         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
26417 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26419         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
26420         directly in terms of __sync_fetch_and_add and delete (int) cast.
26422 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26424         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
26425         the -D_ASM_IA64_CURRENT_H flag.
26427 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26429         [BZ #18641]
26430         * pwd/pwd.h (putpwent): Delete __nonnull markings.
26432 2015-07-27  Andreas Schwab  <schwab@suse.de>
26434         * conform/conformtest.pl (checknamespace): Filter out string
26435         literals while tokenizing.
26437 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26439         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26440         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
26441         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26443 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26445         * nptl/tst-join7mod.c: Add #include <string.h>.
26447 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26449         * sysdeps/nios2/libm-test-ulps: Update.
26451 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26453         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
26454         Fix order of arguments to the rt_sigprocmask syscall.
26455         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
26456         Likewise.
26458 2015-07-24  Roland McGrath  <roland@hack.frob.com>
26460         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
26462 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26464         [BZ #18457]
26465         * nptl/Makefile (tests): New test case tst-join7.
26466         (modules-names): New test case module tst-join7mod.
26467         * nptl/tst-join7.c: New file.
26468         * nptl/tst-join7mod.c: New file.
26469         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
26470         all translation units in libc.so, libpthread.so and rtld.
26472 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26476 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26478         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
26479         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26480         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26481         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26482         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26483         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26484         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26485         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26486         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26487         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26488         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26489         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26490         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
26491         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
26492         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
26493         implementation.
26495 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26497         [BZ #17711]
26498         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26499         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
26500         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26501         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26502         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
26503         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26505 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26507         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
26508         instead of just saying load lock in the comments.
26510 2015-07-23  Roland McGrath  <roland@hack.frob.com>
26512         * sysdeps/unix/Subdirs: Moved ...
26513         * sysdeps/posix/Subdirs: ... here.
26514         * login/pty.h (struct termios, struct winsize): Add forward decls.
26515         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
26516         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
26517         * sysdeps/arm/nacl/libc.abilist: Updated.
26518         * sysdeps/nacl/libutil.abilist: New file.
26520         * bits/signum.h: Update comments to mention 1003.1-2013 too.
26521         (SIGWINCH): New macro.
26523         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
26524         * sysdeps/arm/nacl/libc.abilist: Add it.
26526 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26528         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
26530 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26532         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26533         Swap __glibc_reserved0 and sa_flags order.
26535 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26537         [BZ #18657]
26538         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
26539         are pending TLS destructor calls.
26540         * include/link.h (struct link_map): Add concurrency note for
26541         L_TLS_DTOR_COUNT.
26542         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26543         Don't touch the link map flag.  Atomically increment
26544         l_tls_dtor_count.
26545         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
26546         Avoid taking the load lock and don't touch the link map flag.
26547         * stdlib/tst-tls-atexit-nodelete.c: New test case.
26548         * stdlib/Makefile (tests): Use it.
26549         * stdlib/tst-tls-atexit.c (do_test): dlopen
26550         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
26551         to allow tst-tls-atexit-nodelete test case to use it.
26553 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26555         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
26556         to bits/types.h.
26557         (msgqnum_t): New typedef.
26558         (msglen_t): Likewise.
26559         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
26560         and msg_qbytes type to msglen_t.
26562 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26564         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
26565         pad0 to __glibc_reserved0.
26566         (struct stat64): Likewise.
26568 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26570         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26571         Change sa_flags from a long to an int and add __glibc_reserved0 before
26572         it for padding.
26574 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26576         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
26577         anonymous by deleting "siginfo" name.
26579 2015-07-21  Roland McGrath  <roland@hack.frob.com>
26581         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
26582         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
26583         rather than __nacl_irt_filename.
26584         * sysdeps/nacl/xstat.c (__xstat): Likewise.
26586         * NEWS: New item for arm-nacl port.
26587         * sysdeps/arm/nacl/libc.abilist: New file.
26588         * sysdeps/nacl/ld.abilist: New file.
26589         * sysdeps/nacl/libBrokenLocale.abilist: New file.
26590         * sysdeps/nacl/libanl.abilist: New file.
26591         * sysdeps/nacl/libcrypt.abilist: New file.
26592         * sysdeps/nacl/libdl.abilist: New file.
26593         * sysdeps/nacl/libm.abilist: New file.
26594         * sysdeps/nacl/libpthread.abilist: New file.
26595         * sysdeps/nacl/libresolv.abilist: New file.
26596         * sysdeps/nacl/librt.abilist: New file.
26598 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
26600         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
26601         __startcontext to initialize the new context.
26602         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
26603         up CFI directive to forbid further backtracing.
26605 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
26607         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
26608         reference.
26609         * charmaps/ANSI_X3.4-1968: Likewise.
26610         * charmaps/BS_4730: Likewise.
26611         * charmaps/BS_VIEWDATA: Likewise.
26612         * charmaps/CP1250: Likewise.
26613         * charmaps/CP1251: Likewise.
26614         * charmaps/CP1252: Likewise.
26615         * charmaps/CP1253: Likewise.
26616         * charmaps/CP1254: Likewise.
26617         * charmaps/CP1255: Likewise.
26618         * charmaps/CP1256: Likewise.
26619         * charmaps/CSN_369103: Likewise.
26620         * charmaps/EBCDIC-DK-NO: Likewise.
26621         * charmaps/GB_1988-80: Likewise.
26622         * charmaps/GREEK-CCITT: Likewise.
26623         * charmaps/GREEK7: Likewise.
26624         * charmaps/INIS-8: Likewise.
26625         * charmaps/ISIRI-3342: Likewise.
26626         * charmaps/ISO_2033-1983: Likewise.
26627         * charmaps/ISO_5427-EXT: Likewise.
26628         * locales/POSIX: Likewise.
26629         * locales/ar_SA: Likewise.
26630         * locales/be_BY: Likewise.
26631         * locales/be_BY@latin: Likewise.
26632         * locales/ca_ES: Likewise.
26633         * locales/cs_CZ: Likewise.
26634         * locales/da_DK: Likewise.
26635         * locales/de_BE: Likewise.
26636         * locales/de_CH: Likewise.
26637         * locales/de_LU: Likewise.
26638         * locales/en_AU: Likewise.
26639         * locales/en_BW: Likewise.
26640         * locales/en_CA: Likewise.
26641         * locales/en_DK: Likewise.
26642         * locales/en_GB: Likewise.
26643         * locales/en_IE: Likewise.
26644         * locales/en_NZ: Likewise.
26645         * locales/en_ZA: Likewise.
26646         * locales/en_ZW: Likewise.
26647         * locales/es_AR: Likewise.
26648         * locales/es_BO: Likewise.
26649         * locales/es_CL: Likewise.
26650         * locales/es_CO: Likewise.
26651         * locales/es_DO: Likewise.
26652         * locales/es_EC: Likewise.
26653         * locales/es_ES: Likewise.
26654         * locales/es_HN: Likewise.
26655         * locales/es_MX: Likewise.
26656         * locales/es_PA: Likewise.
26657         * locales/es_PE: Likewise.
26658         * locales/es_PY: Likewise.
26659         * locales/es_SV: Likewise.
26660         * locales/es_US: Likewise.
26661         * locales/es_UY: Likewise.
26662         * locales/es_VE: Likewise.
26663         * locales/et_EE: Likewise.
26664         * locales/fa_IR: Likewise.
26665         * locales/fo_FO: Likewise.
26666         * locales/fr_CA: Likewise.
26667         * locales/fr_CH: Likewise.
26668         * locales/gv_GB: Likewise.
26669         * locales/he_IL: Likewise.
26670         * locales/hr_HR: Likewise.
26671         * locales/id_ID: Likewise.
26672         * locales/is_IS: Likewise.
26673         * locales/it_CH: Likewise.
26674         * locales/iw_IL: Likewise.
26675         * locales/kl_GL: Likewise.
26676         * locales/ko_KR: Likewise.
26677         * locales/kw_GB: Likewise.
26678         * locales/lg_UG: Likewise.
26679         * locales/lt_LT: Likewise.
26680         * locales/lv_LV: Likewise.
26681         * locales/mi_NZ: Likewise.
26682         * locales/nhn_MX: Likewise.
26683         * locales/nl_BE: Likewise.
26684         * locales/pl_PL: Likewise.
26685         * locales/sk_SK: Likewise.
26686         * locales/sl_SI: Likewise.
26687         * locales/sv_FI: Likewise.
26688         * locales/tl_PH: Likewise.
26689         * locales/tr_TR: Likewise.
26690         * locales/vi_VN: Likewise.
26692 2015-07-21  Khem Raj  <raj.khem@gmail.com>
26694         [BZ #17475]
26695         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
26696         of tu_IN and bh_IN.
26698 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
26700         [BZ #18694]
26701         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
26702         bits/wordsize.h.
26703         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
26705 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26707         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
26708         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
26709         (spawn_thread): New function.
26710         (load): Rename to reg_dtor_and_close.  Move dlopen to...
26711         (do_test): ... here.  Use IS_LOADED to test for its
26712         availability.
26714 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
26716         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26718 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
26720         [BZ #18696]
26721         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
26722         si_addr_bnd.
26723         (si_lower): New.
26724         (si_upper): Likewise.
26726 2015-07-16  David S. Miller  <davem@davemloft.net>
26728         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
26730 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26732         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
26733         buffer.
26734         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
26735         fail output information.
26737 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
26740         and strstr-ppc64..
26741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26742         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
26743         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
26744         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
26745         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
26747 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26749         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26750         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26751         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26752         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26754 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26756         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26757         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
26758         rtld_hidden_proto.
26759         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
26761 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26763         * tst-nodelete-opened.c (do_test): Add comment to clarify how
26764         the test can fail.
26766         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
26768         [BZ #18676]
26769         * elf/tst-nodelete-opened.c: New test case.
26770         * elf/tst-nodelete-opened-lib.c: New test case module.
26771         * elf/Makefile (tests, modules-names): Use them.
26772         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
26773         early.
26775 2015-07-15  David S. Miller  <davem@davemloft.net>
26777         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
26778         futex-intenal.h
26779         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
26780         * sysdeps/sparc/sparc64/Makefile: Likewise.
26781         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26782         Remove space from macro define.
26783         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
26785 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
26787         [BZ #17475]
26788         * locale/iso-639.def: Update Bhili and Tulu language codes as
26789         per iso639-3.
26791 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
26793         * elf/tst-leaks1.c (main): Converted to ...
26794         (do_test): ... this.
26795         (TEST_FUNCTION): New macro.
26796         Include test-skeleton.c.
26797         * localedata/tst-langinfo.c (main): Converted to ...
26798         (do_test): ... this.
26799         (TEST_FUNCTION): New macro.
26800         Include test-skeleton.c.
26801         * math/test-fpucw.c (main): Converted to ...
26802         (do_test): ... this.
26803         (TEST_FUNCTION): New macro.
26804         Include test-skeleton.c.
26805         * math/test-tgmath.c (main): Converted to ...
26806         (do_test): ... this.
26807         (TEST_FUNCTION): New macro.
26808         Include test-skeleton.c.
26809         * math/test-tgmath2.c (main): Converted to ...
26810         (do_test): ... this.
26811         (TEST_FUNCTION): New macro.
26812         Include test-skeleton.c.
26813         * setjmp/tst-setjmp.c (main): Converted to ...
26814         (do_test): ... this.
26815         (TEST_FUNCTION): New macro.
26816         Include test-skeleton.c.
26817         * stdio-common/tst-sscanf.c (main): Converted to ...
26818         (do_test): ... this.
26819         (TEST_FUNCTION): New macro.
26820         Include test-skeleton.c.
26821         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
26822         (do_test): ... this.
26823         (TEST_FUNCTION): New macro.
26824         Include test-skeleton.c.
26826         * elf/tst-audit9.c (main): Converted to ...
26827         (do_test): ... this.
26828         (TEST_FUNCTION): New macro.
26829         Include test-skeleton.c.
26831 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
26833         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
26835 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26837         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
26838         New variable.
26840 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26842         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26844 2015-07-14  Roland McGrath  <roland@hack.frob.com>
26846         * sysdeps/generic/dl-fileid.h: New file.
26847         * sysdeps/posix/dl-fileid.h: New file.
26848         * sysdeps/nacl/dl-fileid.h: New file.
26849         * include/link.h: Include <dl-fileid.h>.
26850         (struct link_map): Replace l_dev and l_ino with l_file_id.
26851         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
26852         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
26853         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
26855 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26857         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
26859 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26861         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
26862         Add iff $CXX is set.
26863         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
26864         Likewise.
26865         (tst-nodelete-zmodiff): Likewise.
26866         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
26868 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26870         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
26872 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26874         * sysdeps/aarch64/fpu/math_private.h
26875         (define math_opt_barrier): Add AArch64 version.
26876         (math_force_eval): Likewise.
26878 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26880         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
26882 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
26884         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
26885         %ld with %jd and cast to intmax_t.
26886         (do_test_length_zero): Likewise.
26888 2015-07-10  Roland McGrath  <roland@hack.frob.com>
26890         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
26892 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
26894         * sysdeps/tile/libm-test-ulps: Regenerated.
26896         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
26897         Comment out the whole function, not just its body.
26899 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26901         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
26902         locks.
26904         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
26906 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26908         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
26909         (sem_assume_only_signals_cause_futex_EINTR): Remove.
26911 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26913         * sysdeps/nptl/futex-internal.h: New file.
26914         * sysdeps/nacl/futex-internal.h: New file.
26915         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
26916         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
26917         error checking.
26918         (setxid_unmark_thread): Likewise.
26919         (__nptl_setxid): Likewise.
26920         (__wait_lookup_done): Likewise.
26921         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
26922         * nptl/nptl-init.c (sighandler_setxid): Likewise.
26923         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26924         * nptl/pthread_once.c (clear_once_control): Likewise.
26925         (__pthread_once_slow): Likewise.
26926         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26927         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
26928         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
26929         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26930         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
26931         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
26932         Likewise.
26933         (__pthread_rwlock_rdlock): Likewise.
26934         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26935         Likewise.
26936         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26937         Likewise.
26938         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26939         Likewise.
26940         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
26941         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
26942         Likewise.
26943         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
26944         __ASSUME_PRIVATE_FUTEX check.
26945         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
26946         Check that shared futexes are supported.
26947         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
26948         wrappers with error checking.
26949         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
26950         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
26951         * nptl/pthread_barrierattr_setpshared.c
26952         (pthread_barrierattr_setpshared): Check that shared futexes are
26953         supported.
26954         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
26955         Likewise.
26956         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
26957         Likewise.
26958         * nptl/sem_init.c (futex_private_if_supported): Remove.
26959         (__new_sem_init): Adapt and check that shared futexes are supported.
26960         * nptl/sem_open.c (sem_open): Likewise.
26961         * nptl/sem_post.c (futex_wake): Remove.
26962         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
26963         (do_futex_wait): Use futex wrappers with error checking.
26964         * nptl/sem_wait.c: Include lowlevellock.h.
26965         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
26966         Use futex_supports_pshared.
26967         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
26968         Use futex wrappers with error checking.
26969         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
26970         Likewise.
26971         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
26972         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
26973         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
26974         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
26975         (futex_wake): Likewise.
26976         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
26977         (do_futex_wait): Use futex wrappers with error checking.
26978         (__new_sem_wait_slow): Update EINTR handling.
26979         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
26981 2015-07-09  Martin Sebor  <msebor@redhat.com>
26983         [BZ #18435]
26984         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26985         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
26986         * nptl/Makefile (test-xfail-tst-once5): Define.
26988 2015-07-09  Roland McGrath  <roland@hack.frob.com>
26990         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
26991         * elf/dl-minimal.c: For readability, reorder some definitions and
26992         introduce more page breaks.  Include <stdio.h>.
26993         (__libc_fatal): New function.
26995         * include/unistd.h: Add rtld_hidden_proto for _exit.
26996         * posix/_exit.c: Add rtld_hidden_def.
26997         * sysdeps/mach/hurd/_exit.c: Likewise.
26998         * sysdeps/nacl/_exit.c: Likewise.
26999         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
27000         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
27002 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
27004         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
27005         bndmov encoding with zero displacement.
27007 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27008             H.J. Lu  <hongjiu.lu@intel.com>
27010         [BZ #18134]
27011         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
27012         * sysdeps/i386/configure: Regenerated.
27013         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27014         (_dl_runtime_profile): Save and restore Intel MPX return bound
27015         registers when calling _dl_call_pltexit.  Add
27016         PRESERVE_BND_REGS_PREFIX before return.
27017         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
27018         (LRV_BND1_OFFSET): Likewise.
27019         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
27020         lrv_bnd1.
27021         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
27022         typo in bndmov encoding.
27023         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
27024         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
27025         branch instructions to preserve bounds.
27027 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
27030         [GLIBC_2.22]: Add fmemopen.
27032 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27034         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
27035         returns an error, also try to use host port from __mach_host_self for
27036         the __vm_wire call.
27037         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
27039 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27041         [BZ #18400]
27042         [BZ #18648]
27043         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
27044         Fix pr_uid and pr_gid members.
27045         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
27046         definition to elf_greg_t.
27048 2015-07-08  Roland McGrath  <roland@hack.frob.com>
27050         [BZ #18383]
27051         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
27052         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
27053         * sysdeps/arm/configure: Regenerated.
27054         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
27055         (test-xfail-tst-tlsalign-static): Variable removed.
27057         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
27058         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
27059         rather than explicit 'ln -s'.
27061         * resolv/rpc/netdb.h: New file.
27062         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
27064 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27066         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
27067         length buffers.
27068         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27069         test-skeleton.c.
27071         [BZ #6544]
27072         [BZ #11216]
27073         [BZ #12836]
27074         [BZ #13151]
27075         [BZ #13152]
27076         [BZ #14292]
27077         * include/stdio.h (fmemopen): Remove hidden prototype.
27078         (__fmemopen): Add new hidden prototype.
27079         * libio/Makefile: Add oldfmemopen object.
27080         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
27081         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
27082         compliance.
27083         * libio/oldfmemopen.c: New file: old fmemopen implementation for
27084         symbol compatibility.
27085         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
27086         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
27087         fmemopen.
27088         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
27089         on append and read mode.
27090         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
27091         fmemopen.
27092         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
27093         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
27094         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
27095         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
27096         Likewise.
27097         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
27098         [GLIBC_2.22]: Likewise.
27099         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
27100         Likewise.
27101         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
27102         Likewise.
27103         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
27104         [GLIBC_2.22]: Likewise.
27105         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
27106         [GLIBC_2.22]: Likewise.
27107         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
27108         [GLIBC_2.22]: Likewise.
27109         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
27110         [GLIBC_2.22]: Likewise.
27111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
27112         [GLIBC_2.22]: Likewise.
27113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
27114         [GLIBC_2.22]: Likewise.
27115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
27116         [GLIBC_2.22]: Likewise.
27117         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
27118         Likewise.
27119         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
27120         Likewise.
27121         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
27122         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
27123         [GLIBC_2.22]: Likewise.
27124         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
27125         [GLIBC_2.22]: Likewise.
27126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
27127         [GLIBC_2.22]: Likewise.
27128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
27129         [GLIBC_2.22]: Likewise.
27130         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
27131         Likewise.
27132         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
27133         Likewise.
27134         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
27135         Likewise.
27136         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
27137         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
27139 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27141         [BZ #18643]
27142         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
27143         IPV6_PATHMTU, and IPV6_DONTFRAG.
27145 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
27147         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
27148         and _IO_UNBUFFERED.
27149         * libio/oldfileops.c: Likewise.
27150         * libio/wfileops.c: Likewise.
27152 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27154         * nscd/selinux.c: Delete selinux/flask.h include.
27156 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27158         [BZ #18641]
27159         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
27160         (putpwent): Likewise.
27161         (getpwnam): Likewise.
27162         (getpwent_r): Likewise.
27163         (getpwuid_r): Likewise.
27164         (getpwnam_r): Likewise.
27165         (fgetpwent_r): Likewise.
27167 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27169         [BZ #18557]
27170         * inet/rcmd.c (__validuser2_sa): Check user first to
27171         short-circuit host check.
27173 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
27174             Mikhail Ilin  <m.ilin@samsung.com>
27176         [BZ #17833]
27177         * elf/Makefile (tests): Add tst-nodelete.
27178         (modules-names): Add tst-nodelete-uniquemod.
27179         (tst-nodelete-uniquemod.so-no-z-defs): New.
27180         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
27181         (tst-nodelete-zmod.so-no-z-defs): Likewise.
27182         ($(objpfx)tst-nodelete): Likewise.
27183         ($(objpfx)tst-nodelete.out): Likewise.
27184         (LDFLAGS-tst-nodelete): Likewise.
27185         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
27186         * elf/dl-close.c (_dl_close_worker): Add a parameter to
27187         implement forced object deletion.
27188         (_dl_close): Pass false to _dl_close_worker.
27189         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
27190         * elf/tst-nodelete.cc: New file.
27191         * elf/tst-nodeletelib.cc: Likewise.
27192         * elf/tst-znodeletelib.cc: Likewise.
27193         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
27195 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27197         [BZ #18508]
27198         * stdlib/Makefile ($(objpfx)tst-makecontext3):
27199         Depend on $(libdl).
27200         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
27201         is not called infinitely times.
27202         (backtrace_helper): New function.
27203         (trace_arg): New struct.
27204         (st1): Enlarge stack size.
27205         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27206         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
27207         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27208         Likewise.
27210 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27212         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27214 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27216         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
27217         Include sys/types.h instead of bits/types.h.
27218         Remove inclusion of bits/wordsize.h.
27220 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27222         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
27223         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
27224         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
27225         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
27226         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
27227         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
27229 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27231         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
27232         link-defines.sym.
27233         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
27234         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
27235         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
27236         and LR_SIZE.
27237         * sysdeps/i386/link-defines.sym: New file.
27239 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27241         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
27242         (modules-names): Add tst-auditmod3a tst-auditmod3b.
27243         ($(objpfx)tst-audit3): New rule.
27244         ($(objpfx)tst-audit3.out): Likewise.
27245         * sysdeps/i386/tst-audit3.c: New file.
27246         * sysdeps/i386/tst-audit3.h: Likewise.
27247         * sysdeps/i386/tst-auditmod3a.c: Likewise.
27248         * sysdeps/i386/tst-auditmod3b.c: Likewise.
27250 2015-07-07  Torvald Riegel  <triegel@redhat.com>
27252         [BZ #18633]
27253         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
27254         pointer in C code.
27255         (__strcat_c): Likewise.
27256         (__strcat_g): Likewise.
27258 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
27260         [BZ #18592]
27261         * misc/sbrk.c: Set errno to ENOMEM on overflow.
27263 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27265         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
27266         New function.  (__ieee754_sqrtf): New function.
27267         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
27268         New function.
27269         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
27270         New function.
27272 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27274         * sysdeps/ieee754/support.c: Remove unused file.
27276 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27278         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
27279         registers instead of d ones so the layout is kernel abi compatible.
27280         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
27281         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
27282         Likewise.
27284 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27286         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27288 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27290         [BZ #18619]
27291         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
27292         and return argument in case of subnormal argument.
27294 2015-07-01  Martin Sebor  <msebor@redhat.com>
27296         [BZ #18435]
27297         * nptl/Makefile: Add tst-once5.cc.
27298         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27299         Remove macro redefinitions.
27300         * nptl/tst-once5.cc: New test.
27302 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27304         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27306         * sysdeps/arm/libm-test-ulps: Regenerated.
27308         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27309         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27311 2015-06-30  Torvald Riegel  <triegel@redhat.com>
27313         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
27314         lll_lock_wait_private and lll_futex_wake probes.
27316         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27317         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
27318         Likewise.
27319         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
27320         atomic_spin_nop.
27321         * sysdeps/x86_64/bits/atomic.h: Likewise.
27322         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
27323         to atomic_spin_nop and move ...
27324         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27325         ... here and ...
27326         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
27327         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
27328         atomic_spin_nop instead of BUSY_WAIT_NOP.
27329         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
27330         Likewise.
27331         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
27332         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27333         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
27334         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
27335         instead of atomic_delay.
27337 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
27339         [BZ #18613]
27340         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
27341         X_ADJ not X when adjusting exponent.
27342         (__ieee754_gamma_r): Do intermediate computations in
27343         round-to-nearest then adjust overflowing and underflowing results
27344         as needed.
27345         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
27346         of X_ADJ not X when adjusting exponent.
27347         (__ieee754_gammaf_r): Do intermediate computations in
27348         round-to-nearest then adjust overflowing and underflowing results
27349         as needed.
27350         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
27351         log of X_ADJ not X when adjusting exponent.
27352         (__ieee754_gammal_r): Do intermediate computations in
27353         round-to-nearest then adjust overflowing and underflowing results
27354         as needed.  Use 1.0L not 1.0f as numerator of division.
27355         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
27356         log of X_ADJ not X when adjusting exponent.
27357         (__ieee754_gammal_r): Do intermediate computations in
27358         round-to-nearest then adjust overflowing and underflowing results
27359         as needed.  Use 1.0L not 1.0f as numerator of division.
27360         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
27361         of X_ADJ not X when adjusting exponent.
27362         (__ieee754_gammal_r): Do intermediate computations in
27363         round-to-nearest then adjust overflowing and underflowing results
27364         as needed.  Use 1.0L not 1.0f as numerator of division.
27365         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
27366         to auto-libm-test-in.
27367         (tgamma_test): Use ALL_RM_TEST.
27368         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
27369         tests of tgamma with spurious-overflow.
27370         * math/auto-libm-test-out: Regenerated.
27371         * math/gen-libm-have-vector-test.sh: Do not check for START.
27372         * sysdeps/i386/fpu/libm-test-ulps: Update.
27373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27375         [BZ #18612]
27376         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
27377         arguments, just return 0.5 times the argument, with underflow
27378         forced as needed.
27379         * math/auto-libm-test-in: Add more tests of j1.
27380         * math/auto-libm-test-out: Regenerated.
27382         [BZ #16559]
27383         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
27384         (__ieee754_j1): Force underflow exception for small results.
27385         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27386         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
27387         (__ieee754_j1f): Force underflow exception for small results.
27388         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27389         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27390         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27391         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
27392         (__ieee754_j1l): Force underflow exception for small results.
27393         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27394         * math/auto-libm-test-in: Add more tests of j1 and jn.
27395         * math/auto-libm-test-out: Regenerated.
27397         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
27398         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
27399         (PF_MPLS): Likewise.
27400         (AF_IB): Likewise.
27401         (AF_MPLS): Likewise.
27402         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
27403         value and macro.
27404         (MS_RMT_MASK): Include MS_LAZYTIME.
27406 2015-06-26  Mel Gorman  <mgorman@suse.de>
27408         [BZ #18502]
27409         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
27410         already minimal.
27412 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
27414         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
27415         (DT_MIPS_NUM): Update.
27416         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
27417         DT_MIPS_RLD_MAP_REL.
27419 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
27421         [BZ #16559]
27422         [BZ #18602]
27423         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
27424         round-to-nearest internally then recompute results that
27425         underflowed to zero in the original rounding mode.
27426         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27427         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27428         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27429         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27430         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
27431         * sysdeps/i386/fpu/libm-test-ulps: Update.
27432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27434 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
27436         * NEWS: Fixed description of link with vector math library.
27438 2015-06-25  Andreas Schwab  <schwab@suse.de>
27440         [BZ #18549]
27441         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
27442         * libio/test-fmemopen.c (do_test): Add test for it.
27444 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27446         [BZ #17841]
27447         * Makeconfig (no-pie-ldflag): New.
27448         (+link): Set to $(+link-pie) if default to PIE.
27449         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
27450         * config.make.in (build-pie-default): New.
27451         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
27452         is default.  AC_SUBST.
27453         * configure: Regenerated.
27454         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
27456 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27458         * nptl/descr.h (struct pthread): Change type of field setxid_futex
27459         to 'unsigned int'.
27461         * resolv/gai_misc.h (struct waitlist): Change type of field
27462         counterp to 'volatile unsigned int *'.
27463         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
27464         FUTEXADDR and OLDVAL.
27465         * resolv/getaddrinfo_a.c (getaddrinfo_a):
27466         Give local variable TOTAL type 'volatile unsigned int'.
27467         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27468         * resolv/gai_suspend.c (gai_suspend):
27469         Give local variable CNTR type 'unsigned int'.
27471         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
27472         counterp to 'volatile unsigned int *'.
27473         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
27474         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
27475         (aio_suspend): Give local variable CNTR type 'unsigned int'.
27476         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
27477         Give local variable TOTAL type 'volatile unsigned int'.
27478         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27480 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27482         [BZ #18383]
27483         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
27484         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
27485         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
27486         comment for i386/x86-64.
27487         (test-xfail-tst-tlsalign-extern-static): Removed.
27489 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27491         * math/test-double.h: New file.
27492         * math/test-float.h: Likewise.
27493         * math/test-ldouble.h: Likewise.
27494         * math/test-math-inline.h: Likewise.
27495         * math/test-math-no-inline.h: Likewise.
27496         * math/test-math-scalar.h: Likewise.
27497         * math/test-math-vector.h: Likewise.
27498         * math/test-vec-loop.h: Remove file.  Contents moved into
27499         test-math-vector.h.
27500         * math/libm-test.inc (MATHCONST): Do not document macro.
27501         * math/test-double.c: Include test-double.h, test-math-no-inline.h
27502         and test-math-scalar.h.
27503         (FUNC): Remove macro.
27504         (FUNC_TEST): Likewise.
27505         (FLOAT): Likewise.
27506         (MATHCONST): Likewise.
27507         (PRINTF_EXPR): Likewise.
27508         (PRINTF_XEXPR): Likewise.
27509         (PRINTF_NEXPR): Likewise.
27510         (TEST_DOUBLE): Likewise.
27511         (TEST_MATHVEC): Likewise.
27512         (__NO_MATH_INLINES): Likewise.
27513         * math/test-float.c: Include test-float.h, test-math-no-inline.h
27514         and test-math-scalar.h.
27515         (FUNC): Remove macro.
27516         (FUNC_TEST): Likewise.
27517         (FLOAT): Likewise.
27518         (MATHCONST): Likewise.
27519         (PRINTF_EXPR): Likewise.
27520         (PRINTF_XEXPR): Likewise.
27521         (PRINTF_NEXPR): Likewise.
27522         (TEST_FLOAT): Likewise.
27523         (TEST_MATHVEC): Likewise.
27524         (__NO_MATH_INLINES): Likewise.
27525         * math/test-idouble.c: Include test-double.h, test-math-inline.h
27526         and test-math-scalar.h.
27527         (FUNC): Remove macro.
27528         (FUNC_TEST): Likewise.
27529         (FLOAT): Likewise.
27530         (MATHCONST): Likewise.
27531         (PRINTF_EXPR): Likewise.
27532         (PRINTF_XEXPR): Likewise.
27533         (PRINTF_NEXPR): Likewise.
27534         (TEST_DOUBLE): Likewise.
27535         (TEST_MATHVEC): Likewise.
27536         (TEST_INLINE): Likewise.
27537         (__NO_MATH_INLINES): Likewise.
27538         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
27539         test-math-scalar.h.
27540         (FUNC): Remove macro.
27541         (FUNC_TEST): Likewise.
27542         (FLOAT): Likewise.
27543         (MATHCONST): Likewise.
27544         (PRINTF_EXPR): Likewise.
27545         (PRINTF_XEXPR): Likewise.
27546         (PRINTF_NEXPR): Likewise.
27547         (TEST_FLOAT): Likewise.
27548         (TEST_MATHVEC): Likewise.
27549         (TEST_INLINE): Likewise.
27550         (__NO_MATH_INLINES): Likewise.
27551         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
27552         and test-math-scalar.h.
27553         (FUNC): Remove macro.
27554         (FUNC_TEST): Likewise.
27555         (FLOAT): Likewise.
27556         (MATHCONST): Likewise.
27557         (PRINTF_EXPR): Likewise.
27558         (PRINTF_XEXPR): Likewise.
27559         (PRINTF_NEXPR): Likewise.
27560         (TEST_LDOUBLE): Likewise.
27561         (TEST_MATHVEC): Likewise.
27562         (TEST_INLINE): Likewise.
27563         (__NO_MATH_INLINES): Likewise.
27564         * math/test-ldouble.c: Include test-ldouble.h,
27565         test-math-no-inline.h and test-math-scalar.h.
27566         (FUNC): Remove macro.
27567         (FUNC_TEST): Likewise.
27568         (FLOAT): Likewise.
27569         (MATHCONST): Likewise.
27570         (PRINTF_EXPR): Likewise.
27571         (PRINTF_XEXPR): Likewise.
27572         (PRINTF_NEXPR): Likewise.
27573         (TEST_LDOUBLE): Likewise.
27574         (TEST_MATHVEC): Likewise.
27575         (__NO_MATH_INLINES): Likewise.
27576         * math/test-double-vlen2.h: Include test-double.h,
27577         test-math-no-inline.h and test-math-vector.h.
27578         (FLOAT): Remove macro.
27579         (FUNC): Likewise.
27580         (MATHCONST): Likewise.
27581         (PRINTF_EXPR): Likewise.
27582         (PRINTF_XEXPR): Likewise.
27583         (PRINTF_NEXPR): Likewise.
27584         (TEST_DOUBLE): Likewise.
27585         (TEST_MATHVEC): Likewise.
27586         (__NO_MATH_INLINES): Likewise.
27587         (CNCT): Likewise.
27588         (CONCAT): Likewise.
27589         (WRAPPER_NAME): Likewise.
27590         (WRAPPER_DECL): Likewise.
27591         (WRAPPER_DECL_ff): Likewise.
27592         (WRAPPER_DECL_fFF): Likewise.
27593         (VECTOR_WRAPPER): Likewise.
27594         (VECTOR_WRAPPER_ff): Likewise.
27595         (VECTOR_WRAPPER_fFF): Likewise.
27596         (VEC_LEN): New macro.
27597         * math/test-double-vlen4.h: Include test-double.h,
27598         test-math-no-inline.h and test-math-vector.h.
27599         (FLOAT): Remove macro.
27600         (FUNC): Likewise.
27601         (MATHCONST): Likewise.
27602         (PRINTF_EXPR): Likewise.
27603         (PRINTF_XEXPR): Likewise.
27604         (PRINTF_NEXPR): Likewise.
27605         (TEST_DOUBLE): Likewise.
27606         (TEST_MATHVEC): Likewise.
27607         (__NO_MATH_INLINES): Likewise.
27608         (CNCT): Likewise.
27609         (CONCAT): Likewise.
27610         (WRAPPER_NAME): Likewise.
27611         (WRAPPER_DECL): Likewise.
27612         (WRAPPER_DECL_ff): Likewise.
27613         (WRAPPER_DECL_fFF): Likewise.
27614         (VECTOR_WRAPPER): Likewise.
27615         (VECTOR_WRAPPER_ff): Likewise.
27616         (VECTOR_WRAPPER_fFF): Likewise.
27617         (VEC_LEN): New macro.
27618         * math/test-double-vlen8.h: Include test-double.h,
27619         test-math-no-inline.h and test-math-vector.h.
27620         (FLOAT): Remove macro.
27621         (FUNC): Likewise.
27622         (MATHCONST): Likewise.
27623         (PRINTF_EXPR): Likewise.
27624         (PRINTF_XEXPR): Likewise.
27625         (PRINTF_NEXPR): Likewise.
27626         (TEST_DOUBLE): Likewise.
27627         (TEST_MATHVEC): Likewise.
27628         (__NO_MATH_INLINES): Likewise.
27629         (CNCT): Likewise.
27630         (CONCAT): Likewise.
27631         (WRAPPER_NAME): Likewise.
27632         (WRAPPER_DECL): Likewise.
27633         (WRAPPER_DECL_ff): Likewise.
27634         (WRAPPER_DECL_fFF): Likewise.
27635         (VECTOR_WRAPPER): Likewise.
27636         (VECTOR_WRAPPER_ff): Likewise.
27637         (VECTOR_WRAPPER_fFF): Likewise.
27638         (VEC_LEN): New macro.
27639         * math/test-float-vlen4.h: Include test-float.h,
27640         test-math-no-inline.h and test-math-vector.h.
27641         (FLOAT): Remove macro.
27642         (FUNC): Likewise.
27643         (MATHCONST): Likewise.
27644         (PRINTF_EXPR): Likewise.
27645         (PRINTF_XEXPR): Likewise.
27646         (PRINTF_NEXPR): Likewise.
27647         (TEST_FLOAT): Likewise.
27648         (TEST_MATHVEC): Likewise.
27649         (__NO_MATH_INLINES): Likewise.
27650         (CNCT): Likewise.
27651         (CONCAT): Likewise.
27652         (WRAPPER_NAME): Likewise.
27653         (WRAPPER_DECL): Likewise.
27654         (WRAPPER_DECL_ff): Likewise.
27655         (WRAPPER_DECL_fFF): Likewise.
27656         (VECTOR_WRAPPER): Likewise.
27657         (VECTOR_WRAPPER_ff): Likewise.
27658         (VECTOR_WRAPPER_fFF): Likewise.
27659         (VEC_LEN): New macro.
27660         * math/test-float-vlen8.h: Include test-float.h,
27661         test-math-no-inline.h and test-math-vector.h.
27662         (FLOAT): Remove macro.
27663         (FUNC): Likewise.
27664         (MATHCONST): Likewise.
27665         (PRINTF_EXPR): Likewise.
27666         (PRINTF_XEXPR): Likewise.
27667         (PRINTF_NEXPR): Likewise.
27668         (TEST_FLOAT): Likewise.
27669         (TEST_MATHVEC): Likewise.
27670         (__NO_MATH_INLINES): Likewise.
27671         (CNCT): Likewise.
27672         (CONCAT): Likewise.
27673         (WRAPPER_NAME): Likewise.
27674         (WRAPPER_DECL): Likewise.
27675         (WRAPPER_DECL_ff): Likewise.
27676         (WRAPPER_DECL_fFF): Likewise.
27677         (VECTOR_WRAPPER): Likewise.
27678         (VECTOR_WRAPPER_ff): Likewise.
27679         (VECTOR_WRAPPER_fFF): Likewise.
27680         (VEC_LEN): New macro.
27681         * math/test-float-vlen16.h: Include test-float.h,
27682         test-math-no-inline.h and test-math-vector.h.
27683         (FLOAT): Remove macro.
27684         (FUNC): Likewise.
27685         (MATHCONST): Likewise.
27686         (PRINTF_EXPR): Likewise.
27687         (PRINTF_XEXPR): Likewise.
27688         (PRINTF_NEXPR): Likewise.
27689         (TEST_FLOAT): Likewise.
27690         (TEST_MATHVEC): Likewise.
27691         (__NO_MATH_INLINES): Likewise.
27692         (CNCT): Likewise.
27693         (CONCAT): Likewise.
27694         (WRAPPER_NAME): Likewise.
27695         (WRAPPER_DECL): Likewise.
27696         (WRAPPER_DECL_ff): Likewise.
27697         (WRAPPER_DECL_fFF): Likewise.
27698         (VECTOR_WRAPPER): Likewise.
27699         (VECTOR_WRAPPER_ff): Likewise.
27700         (VECTOR_WRAPPER_fFF): Likewise.
27701         (VEC_LEN): New macro.
27702         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
27703         test-vec-loop.h.
27704         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27705         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27706         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27707         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27708         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27709         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27710         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27712 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27714         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
27715         (__getlogin_r): ... this.
27717 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27719         [BZ #18594]
27720         * math/s_ccosh.c (__ccosh): Compare with least normal value
27721         instead of comparing class with FP_SUBNORMAL.
27722         * math/s_ccoshf.c (__ccoshf): Likewise.
27723         * math/s_ccoshl.c (__ccoshl): Likewise.
27724         * math/s_cexp.c (__cexp): Likewise.
27725         * math/s_cexpf.c (__cexpf): Likewise.
27726         * math/s_cexpl.c (__cexpl): Likewise.
27727         * math/s_csin.c (__csin): Likewise.
27728         * math/s_csinf.c (__csinf): Likewise.
27729         * math/s_csinh.c (__csinh): Likewise.
27730         * math/s_csinhf.c (__csinhf): Likewise.
27731         * math/s_csinhl.c (__csinhl): Likewise.
27732         * math/s_csinl.c (__csinl): Likewise.
27733         * math/s_ctan.c (__ctan): Likewise.
27734         * math/s_ctanf.c (__ctanf): Likewise.
27735         * math/s_ctanh.c (__ctanh): Likewise.
27736         * math/s_ctanhf.c (__ctanhf): Likewise.
27737         * math/s_ctanhl.c (__ctanhl): Likewise.
27738         * math/s_ctanl.c (__ctanl): Likewise.
27739         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
27740         csin, csinh, ctan and ctanh.
27741         * math/auto-libm-test-out: Regenerated.
27742         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
27743         * sysdeps/i386/fpu/libm-test-ulps: Update.
27744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27746 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27748         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
27749         return value is wrong, print the expected value too.
27751 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27753         [BZ #18585]
27754         * elf/readlib.c (is_gdb_python_file): New.
27755         (process_file): Don't issue errors on filenames with -gdb.py
27756         suffix.
27758 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27760         * math/auto-libm-test-in: Add more tests of csin and csinh.
27761         * math/auto-libm-test-out: Regenerated.
27762         * math/libm-test.inc (csin_test_data): Remove tests moved to
27763         auto-libm-test-in.
27764         (csinh_test_data): Likewise.
27766         [BZ #18593]
27767         * math/s_csin.c (__csin): Negate before rather than after possibly
27768         overflowing multiplication.
27769         * math/s_csinf.c (__csinf): Likewise.
27770         * math/s_csinh.c (__csinh): Likewise.
27771         * math/s_csinhf.c (__csinhf): Likewise.
27772         * math/s_csinhl.c (__csinhl): Likewise.
27773         * math/s_csinl.c (__csinl): Likewise.
27774         * math/auto-libm-test-in: Add some tests of csin and csinh.
27775         * math/auto-libm-test-out: Regenerated.
27776         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
27777         (csinh_test_data): Likewise.
27778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27780         [BZ #18586]
27781         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
27782         underflow exception for small results.
27784 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27786         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27787         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
27788         variable and included header.
27789         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
27790         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
27791         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
27792         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
27793         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
27794         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
27795         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
27796         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
27797         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
27798         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
27799         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
27800         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
27801         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
27802         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
27803         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
27804         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
27806 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27808         [BZ #16526]
27809         [BZ #16538]
27810         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
27811         (__sin): Force underflow exception for arguments with small
27812         absolute value.
27813         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
27814         (__kernel_sinf): Force underflow exception for arguments with
27815         small absolute value.
27816         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
27817         (__kernel_sincosl): Force underflow exception for arguments with
27818         small absolute value.
27819         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
27820         (__kernel_sinl): Force underflow exception for arguments with
27821         small absolute value.
27822         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
27823         (__kernel_sincosl): Force underflow exception for arguments with
27824         small absolute value.
27825         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
27826         (__kernel_sinl): Force underflow exception for arguments with
27827         small absolute value.
27828         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
27829         (__kernel_sinl): Force underflow exception for arguments with
27830         small absolute value.
27831         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
27832         (__kernel_sinf): Force underflow exception for arguments with
27833         small absolute value.
27834         * math/auto-libm-test-in: Add more tests of sin and sincos.
27835         * math/auto-libm-test-out: Regenerated.
27837         [BZ #18245]
27838         [BZ #18583]
27839         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
27840         (__kernel_standard_l): Use feholdexcept and fesetenv around
27841         conversion to double instead of special-casing overflow and
27842         underflow.
27843         * math/libm-test.inc (fmod_test_data): Add more tests.
27844         (remainder_test_data): Likewise.
27845         (sqrt_test_data): Likewise.
27847 2015-06-23  Torvald Riegel  <triegel@redhat.com>
27849         [BZ #17403]
27850         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
27851         atomic_read_barrier, atomic_write_barrier): Define.
27852         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
27853         atomic_read_barrier, atomic_write_barrier): Define.
27855 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27857         * math/Makefile [$(PERL) != no]
27858         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
27859         dependency on libm-test.stmp below the inclusion of Rules.
27861 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
27863         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27864         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
27865         and included header.
27866         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
27867         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
27868         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
27869         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
27870         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
27871         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
27872         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
27873         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
27874         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
27875         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
27876         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
27877         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
27878         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
27879         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
27880         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
27881         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
27882         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
27883         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
27884         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
27886 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27888         [BZ #18371]
27889         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
27890         intermediate but not final result might underflow.
27891         * math/s_csqrtf.c (__csqrtf): Likewise.
27892         * math/s_csqrtl.c (__csqrtl): Likewise.
27893         * math/auto-libm-test-in: Add more tests of csqrt.
27894         * math/auto-libm-test-out: Regenerated.
27895         * sysdeps/i386/fpu/libm-test-ulps: Update.
27897         [BZ #18219]
27898         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
27899         threshold on absolute value of exponent for which scaling is used.
27900         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27901         * math/auto-libm-test-in: Add more tests of exp2.
27902         * math/auto-libm-test-out: Regenerated.
27904 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
27906         [BZ #17977]
27907         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
27908         when initializing interface list, based on the bug analysis
27909         and the patch proposed by Eric Newton.
27910         * resolv/tst-res_hconf_reorder.c: New test.
27911         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
27912         tst-res_hconf_reorder.
27913         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
27914         and $(shared-thread-library).
27915         (tst-res_hconf_reorder-ENV): New variable.
27917         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
27918         in comment.
27920 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
27922         [BZ #16353]
27923         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
27924         (__expm1): Force underflow exception for arguments with small
27925         absolute value.
27926         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
27927         (__expm1f): Force underflow exception for arguments with small
27928         absolute value.
27929         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
27930         (__expm1): Force underflow exception for arguments with small
27931         absolute value.
27932         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
27933         (__expm1f): Force underflow exception for arguments with small
27934         absolute value.
27935         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27936         Check for small arguments before calling __expm1.
27937         * math/auto-libm-test-in: Do not mark underflow exceptions as
27938         possibly missing for bug 16353.
27939         * math/auto-libm-test-out: Regenerated.
27941 2015-06-22  Andreas Schwab  <schwab@suse.de>
27943         [BZ #18513]
27944         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
27945         PTR queries.
27947 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
27949         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
27951         * string/strcoll_l.c: Remove unused struct element idxnow.
27953 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
27955         [BZ #18569]
27956         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
27957         underflow and return argument in case of subnormal argument.
27958         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27959         Likewise.
27960         * math/auto-libm-test-in: Add more tests of expm1.
27961         * math/auto-libm-test-out: Regenerated.
27963         [BZ #16361]
27964         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27965         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27966         tiny results.
27967         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27968         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27969         tiny results.
27970         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
27971         mark underflow exceptions as possibly missing for bug 16361.
27972         * math/auto-libm-test-out: Regenerated.
27974 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
27976         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
27977         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
27978         Remove variable.
27979         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27980         (test-xfail-XOPEN2K8/utmpx.h/conform).
27982         * conform/conformtest.pl ($xerrors): New variable.
27983         (note_error): New function.
27984         (compiletest): New argument $xfail.  Use not_error.
27985         (runtest): Likewise.
27986         (top level): Handle xfail- lines.  Update calls to compiletest and
27987         runtest.  Handle xfail- and optional- in headers listed with
27988         allow-header.
27989         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
27990         (O_EXEC): Likewise.
27991         (O_SEARCH): Likewise.
27992         * conform/data/stropts.h-data (ioctl): Likewise.
27993         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
27994         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
27995         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
27996         (msghdr.msg_controllen): Likewise.
27997         (cmsghdr.cmsg_len): Likewise.
27998         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
27999         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
28000         variable.
28001         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28002         (test-xfail-XPG4/stropts.h/conform): Likewise.
28003         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28004         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28005         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28006         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28007         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28008         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28009         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28010         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28011         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28012         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28013         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28014         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28015         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28016         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28017         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28018         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28019         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28020         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28021         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28023 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28025         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
28026         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
28027         definitions for proper unfolding of __MATHDECL_VEC.
28029 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28031         * benchtests/bench-strcoll.c:
28032         Include string.h.
28033         (main): Remove unused variable res.
28035 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28037         * timezone/Makefile (%/UTC %/Universal):
28038         Generate test-result files for UTC and Universal.
28040 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28042         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28044 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
28046         [BZ #16350]
28047         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
28048         for arguments with small absolute value.
28049         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
28050         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
28051         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
28052         (__asinh): Force underflow exception for arguments with small
28053         absolute value.
28054         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
28055         (__asinhf): Force underflow exception for arguments with small
28056         absolute value.
28057         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
28058         (__asinhl): Force underflow exception for arguments with small
28059         absolute value.
28060         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
28061         (__asinhl): Force underflow exception for arguments with small
28062         absolute value.
28063         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
28064         (__asinhl): Force underflow exception for arguments with small
28065         absolute value.
28066         * math/auto-libm-test-in: Do not mark underflow exceptions as
28067         possibly missing for bug 16350.
28068         * math/auto-libm-test-out: Regenerated.
28070         * include/bits/ipc.h: Remove file.
28071         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
28072         variable.
28073         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28074         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28075         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28076         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28077         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28078         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28079         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28080         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28081         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28083         * math/auto-libm-test-in: Remove spurious underflow allowance for
28084         tests of cexp.
28085         * math/auto-libm-test-out: Regenerated.
28087         [BZ #18558]
28088         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
28089         unconditional definition.
28090         (MCAST_BLOCK_SOURCE): Likewise.
28091         (MCAST_UNBLOCK_SOURCE): Likewise.
28092         (MCAST_LEAVE_GROUP): Likewise.
28093         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28094         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28095         (MCAST_MSFILTER): Likewise.
28096         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
28097         Remove variable.
28098         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28099         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28100         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28101         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28102         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28104 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
28106         * NEWS: Mention addition of x86_64 vector sincosf.
28107         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
28108         * math/test-float-vlen4.h: Likewise.
28109         * math/test-float-vlen8.h: Likewise.
28110         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28111         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
28112         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28113         * sysdeps/x86_64/fpu/Versions: New versions added.
28114         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28115         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28116         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28117         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
28118         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
28119         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
28120         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
28121         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
28122         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
28123         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
28124         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
28125         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
28126         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
28127         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
28128         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
28129         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
28130         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
28131         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28132         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28133         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28134         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28135         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28136         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28137         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28139         * NEWS: Mention addition of x86_64 vector sincos.
28140         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
28141         * math/math.h (__MATHDECL_VEC): New macro.
28142         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
28143         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
28144         declaration under condition.
28145         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
28146         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
28147         TEST_VEC_LOOP change.
28148         * math/test-double-vlen4.h: Likewise.
28149         * math/test-double-vlen8.h: Likewise.
28150         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
28151         * math/test-float-vlen4.h: Likewise.
28152         * math/test-float-vlen8.h: Likewise.
28153         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28154         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
28155         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28156         * sysdeps/x86_64/fpu/Versions: New versions added.
28157         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28158         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28159         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28160         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
28161         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
28162         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
28163         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
28164         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
28165         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
28166         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
28167         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
28168         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
28169         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
28170         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
28171         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
28172         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
28173         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
28174         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28175         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28176         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28177         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28178         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28179         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28180         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28182         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28183         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28184         redirections for powf.
28185         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28186         * sysdeps/x86_64/fpu/Versions: New versions added.
28187         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28188         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28189         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28190         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
28191         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
28192         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
28193         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
28194         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
28195         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
28196         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
28197         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
28198         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
28199         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
28200         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
28201         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
28202         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
28203         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
28204         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28205         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28206         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28207         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28208         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28209         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28210         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28211         * math/test-float-vlen16.h: Fixed 2 argument macro.
28212         * math/test-float-vlen4.h: Likewise.
28213         * math/test-float-vlen8.h: Likewise.
28214         * NEWS: Mention addition of x86_64 vector powf.
28216 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
28218         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28219         and redefine.
28220         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28221         and redefine.
28222         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
28223         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28224         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28226         [BZ #18553]
28227         * resource/getpriority.c (getpriority): Rename to __getpriority
28228         and define as weak alias of __getpriority.
28229         * resource/setpriority.c (setpriority): Rename to __setpriority
28230         and define as weak alias of __setpriority.
28231         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
28232         __getpriority and define as weak alias of __getpriority.
28233         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
28234         __setpriority and define as weak alias of __setpriority.
28235         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
28236         strong name.
28237         (setpriority): Use __setpriority as strong name.
28238         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
28239         __getpriority and define as weak alias of __getpriority.
28240         * include/sys/resource.h (__getpriority): Declare.  Use
28241         libc_hidden_proto.
28242         (__setpriority): Likewise.
28243         (getpriority): Don't use libc_hidden_proto.
28244         (setpriority): Likewise.
28245         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
28246         getpriority.  Call __setpriority instead of setpriority.
28247         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
28248         Remove variable.
28250         [BZ #18547]
28251         * misc/getttyent.c (getttynam): Rename to __getttynam and define
28252         as weak alias of __getttynam.  Use prototype function definition.
28253         Call __setttyent, __getttyent and __endttyent instead of
28254         setttyent, getttyent and endttyent.
28255         (getttyent): Rename to __getttyent and define as weak alias of
28256         __getttyent.  Call __setttyent instead of setttyent.  Call
28257         __fgets_unlocked instead of fgets_unlocked.
28258         (setttyent): Rename to __setttyent and define as weak alias of
28259         __setttyent.
28260         (endttyent): Rename to __endttyent and define as weak alias of
28261         __endttyent.
28262         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
28263         (__setttyent): Likewise.
28264         (__endttyent): Likewise.
28265         (getttyent): Don't use libc_hidden_proto.
28266         (setttyent): Likewise.
28267         (endttyent): Likewise.
28268         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
28269         __endttyent instead of setttyent, getttyent and endttyent.
28270         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
28271         Remove variable.
28273         [BZ #18546]
28274         * socket/recv.c (__recv): Use libc_hidden_def.
28275         * socket/socket.c (__socket): Likewise.
28276         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28277         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28278         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
28279         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
28280         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
28281         libc_hidden_def.
28282         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
28283         libc_hidden_weak.
28284         * include/sys/socket.h (__socket): Do not use attribute_hidden.
28285         Use libc_hidden_proto.
28286         (__recv): Likewise.
28287         * socket/Versions (libc): Export __recv and __socket at version
28288         GLIBC_PRIVATE.
28289         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
28290         instead of recv.
28291         (init_mq_netlink): Call __socket instead of socket.
28292         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
28293         Remove variable.
28295         [BZ #18545]
28296         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
28297         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
28298         hidden_weak.
28299         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
28300         define as alias of __mq_timedsend.  Use hidden_weak.
28301         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
28302         __mq_timedsend as strong name.
28303         (mq_timedreceive): Use __mq_timedreceive as strong name.
28304         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
28305         (__mq_timedreceive): Likewise.
28306         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
28307         __mq_timedreceive instead of mq_timedreceive.
28308         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
28309         instead of mq_timedsend.
28310         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
28311         Remove variable.
28313         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
28314         hidden_def and hidden_weak instead of libc_hidden_def and
28315         libc_hidden_weak.
28316         (top level): Refer to hidden_def in comment.
28317         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
28318         macro.  Use it instead of libc_hidden_def.
28319         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
28320         specify __GI_* name explicitly.
28321         (mq_timedreceive): Likewise.
28322         (mq_setattr): Likewise.
28324         [BZ #18544]
28325         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
28326         __pthread_barrier_init and define as weak alias of
28327         __pthread_barrier_init.
28328         * sysdeps/sparc/nptl/pthread_barrier_init.c
28329         (pthread_barrier_init): Likewise.
28330         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
28331         __pthread_barrier_wait and define as weak alias of
28332         __pthread_barrier_wait.
28333         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28334         (pthread_barrier_wait): Likewise.
28335         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28336         (pthread_barrier_wait): Likewise.
28337         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
28338         (pthread_barrier_wait): Likewise.
28339         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
28340         (pthread_barrier_wait): Likewise.
28341         * nptl/Versions (libpthread): Export __pthread_barrier_init and
28342         __pthread_barrier_wait at version GLIBC_PRIVATE.
28343         * include/pthread.h (__pthread_barrier_init): Declare.
28344         (__pthread_barrier_wait): Likewise.
28345         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
28346         Call __pthread_barrier_wait instead of pthread_barrier_wait.
28347         (helper_thread): Likewise.
28348         (init_mq_netlink): Call __pthread_barrier_init instead of
28349         pthread_barrier_init.
28351         [BZ #18542]
28352         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
28353         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
28354         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
28355         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
28356         vswscanf.
28357         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
28358         Remove variable.
28360         [BZ #18540]
28361         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
28362         strong alias of _IO_fflush.  Use libc_hidden_def.
28363         * libio/iofflush_u.c (fflush_unlocked): Rename to
28364         __fflush_unlocked and define as weak alias of __fflush_unlocked.
28365         Use libc_hidden_weak.
28366         * include/stdio.h (__fflush_unlocked): Declare.  Use
28367         libc_hidden_proto.
28368         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
28369         fflush_unlocked.
28370         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
28371         Remove variable.
28373         [BZ #18539]
28374         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
28375         define as weak alias of __addseverity.
28376         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
28377         Remove variable.
28378         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28379         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28380         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28382         [BZ #18536]
28383         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
28384         (__tfind): Likewise.
28385         (__tdelete): Likewise.
28386         (__twalk): Likewise.
28387         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
28388         __twalk to GLIBC_PRIVATE.
28389         * include/search.h (__tsearch): Use libc_hidden_proto.
28390         (__tfind): Likewise.
28391         (__tdelete): Likewise.
28392         (__twalk): Likewise.
28393         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
28394         Call __tdelete instead of tdelete.
28395         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
28396         tfind.  Call __tsearch instead of tsearch.
28397         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
28398         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
28399         Remove variable.
28400         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28402         [BZ #18534]
28403         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
28404         (dprintf): Define as a weak alias of __dprintf, not a strong
28405         alias.
28406         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
28407         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
28408         dprintf.
28409         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
28410         Remove variable.
28411         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28412         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28414         [BZ #18533]
28415         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
28416         not a strong alias.
28417         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
28418         Remove variable.
28420         [BZ #18532]
28421         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
28422         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
28423         (in6addr_loopback): Rename to __in6addr_loopback and define as
28424         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
28425         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
28426         libc_hidden_proto.
28427         (__in6addr_any): Likewise.
28428         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
28429         in6addr_any.
28430         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
28431         variable.
28432         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28434 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
28436         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
28437         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
28438         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28439         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28440         redirections for pow.
28441         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28442         * sysdeps/x86_64/fpu/Versions: New versions added.
28443         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28444         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28445         build of SSE, AVX2 and AVX512 IFUNC versions.
28446         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
28447         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
28448         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
28449         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
28450         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
28451         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
28452         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
28453         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
28454         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
28455         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
28456         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
28457         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
28458         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
28459         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
28460         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28461         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28462         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28463         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28464         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28465         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28466         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28467         * NEWS: Mention addition of x86_64 vector pow.
28469         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28470         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28471         redirections for expf.
28472         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28473         * sysdeps/x86_64/fpu/Versions: New versions added.
28474         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28475         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28476         build of SSE, AVX2 and AVX512 IFUNC versions.
28477         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
28478         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
28479         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
28480         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
28481         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
28482         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
28483         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
28484         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
28485         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
28486         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
28487         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
28488         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
28489         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
28490         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28491         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28492         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28493         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28494         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28495         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28496         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28497         * NEWS: Mention addition of x86_64 vector expf.
28499         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
28500         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
28501         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28502         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28503         redirections for exp.
28504         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28505         * sysdeps/x86_64/fpu/Versions: New versions added.
28506         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28507         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28508         build of SSE, AVX2 and AVX512 IFUNC versions.
28509         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
28510         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
28511         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
28512         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
28513         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
28514         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
28515         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
28516         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
28517         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
28518         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
28519         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
28520         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
28521         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
28522         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28523         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28524         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28525         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28526         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28527         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28528         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28529         * NEWS: Mention addition of x86_64 vector exp.
28531         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28532         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28533         redirections for logf.
28534         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28535         * sysdeps/x86_64/fpu/Versions: New versions added.
28536         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28537         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28538         build of SSE, AVX2 and AVX512 IFUNC versions.
28539         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
28540         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
28541         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
28542         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
28543         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
28544         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
28545         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
28546         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
28547         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
28548         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
28549         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
28550         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
28551         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
28552         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28553         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28554         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28555         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28556         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28557         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28558         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28559         * NEWS: Mention addition of x86_64 vector logf.
28561         * bits/libm-simd-decl-stubs.h: Added stubs for log.
28562         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
28563         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28564         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28565         redirections for log.
28566         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28567         * sysdeps/x86_64/fpu/Versions: New versions added.
28568         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28569         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28570         build of SSE, AVX2 and AVX512 IFUNC versions.
28571         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
28572         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
28573         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
28574         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
28575         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
28576         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
28577         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
28578         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
28579         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
28580         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
28581         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
28582         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
28583         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
28584         test.
28585         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28586         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28587         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28588         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28589         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28590         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28591         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28592         * NEWS: Mention addition of x86_64 vector log.
28594 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28596         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
28597         cfi_adjust_cfa_offset argument.
28598         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
28599         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
28601         [BZ #18034]
28602         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
28603         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
28604         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
28605         ordering using ldar.
28606         (_dl_tlsdesc_dynamic): Likewise.
28607         (_dl_tlsdesc_return_lazy): Likewise.
28608         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
28609         relaxed atomics instead of volatile and synchronize with release store.
28610         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
28611         volatile.
28612         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28614 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
28616         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28617         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
28618         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28619         * sysdeps/x86_64/fpu/Versions: New versions added.
28620         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28621         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28622         build of SSE, AVX2 and AVX512 IFUNC versions.
28623         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
28624         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
28625         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
28626         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
28627         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
28628         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
28629         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
28630         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
28631         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
28632         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
28633         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
28634         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
28635         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
28636         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28637         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28638         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28639         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28640         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28641         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28642         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28643         * NEWS: Mention addition of x86_64 vector sinf.
28645 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
28647         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
28648         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
28649         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
28650         Remove variable.
28651         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28652         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28654 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28656         [BZ #18530]
28657         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
28658         strong alias of _IO_fputs.  Use libc_hidden_def.
28659         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
28660         and define as weak alias of __fputs_unlocked.  Use
28661         libc_hidden_weak.
28662         * include/stdio.h (__fputs_unlocked): Declare.  Use
28663         libc_hidden_proto.
28664         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
28665         fputs_unlocked.
28667         [BZ #18529]
28668         * resolv/netdb.h [__USE_POSIX]: Change condition to
28669         [__USE_XOPEN2K].
28670         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
28671         not expect.
28672         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
28673         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
28674         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
28675         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
28676         [XPG4 || UNIX98] (AI_ALL): Likewise.
28677         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
28678         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
28679         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
28680         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
28681         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
28682         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
28683         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
28684         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
28685         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
28686         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
28687         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
28688         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
28689         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
28690         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
28691         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
28692         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28693         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28694         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
28695         [XPG4 || UNIX98] (gai_strerror): Likewise.
28696         [XPG4 || UNIX98] (getaddrinfo): Likewise.
28697         [XPG4 || UNIX98] (getnameinfo): Likewise.
28699         [BZ #18528]
28700         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
28701         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
28702         __USE_XOPEN2K8].
28703         (getgrent): Likewise.
28704         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
28705         expect.
28706         [XPG3 || POSIX2008] (endgrent): Likewise.
28707         [XPG3] (setgrent): Likewise.
28708         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
28709         variable.
28710         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28712         [BZ #18527]
28713         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
28714         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
28715         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
28716         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
28717         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
28718         * include/unistd.h (__getlogin_r): Declare.  Use
28719         libc_hidden_proto.
28720         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
28721         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
28722         variable.
28723         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28724         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28725         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28727 2015-06-12  Martin Sebor  <msebor@redhat.com>
28729         [BZ #18512]
28730         * Makerules (check-install-supported): New target.
28731         (install): Add check-install-supported as a dependency.
28732         * manual/install.texi (Installing the C Library): Document
28733         that overriding prefix and exec_prefix is not supported.
28734         Mention DESTDIR.
28735         * INSTALL: Regenerate from the above.
28737 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28739         [BZ #18519]
28740         * posix/Versions (libc): Export __libc_pread at version
28741         GLIBC_PRIVATE.
28742         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
28743         instead of pread.
28744         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
28745         variable.
28747         [BZ #18522]
28748         * misc/efgcvt_r.c
28749         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
28750         (cvt_symbol): Use weak_alias instead of strong_alias.
28751         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
28752         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
28753         Remove variable.
28754         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28755         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28757         [BZ #18520]
28758         * inet/herrno.c (h_errno): Rename to __h_errno.
28759         (__libc_h_errno): Define as alias of __h_errno not h_errno.
28760         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
28761         to __h_errno instead of h_errno.
28762         * nptl/herrno.c (h_errno): Rename to __h_errno.
28763         (__h_errno_location): Refer to __h_errno not h_errno.
28764         * resolv/Versions (h_errno): Rename to __h_errno.
28765         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
28766         Remove variable.
28767         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28769 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
28771         * configure.ac: More strict check for AVX512 assembler support.
28772         * configure: Regenerated.
28774         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
28775         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
28776         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28777         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
28778         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28779         * sysdeps/x86_64/fpu/Versions: New versions added.
28780         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28781         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28782         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28783         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
28784         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
28785         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
28786         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
28787         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
28788         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
28789         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
28790         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
28791         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
28792         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
28793         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
28794         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
28795         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
28796         test.
28797         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28798         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28799         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28800         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28801         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28802         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28803         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28804         * NEWS: Mention addition of x86_64 vector sin.
28806 2015-06-11  Florian Weimer  <fweimer@redhat.com>
28808         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
28809         comment.
28811 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28813         [BZ #18479]
28814         * nptl/pt-interp.c: New file.
28815         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
28816         Add pt-interp.
28817         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
28818         $(common-objpfx)runtime-linker.h.
28820 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
28822         * Makeconfig (+interp): Remove unused variable.
28823         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
28824         only.  Depend on $(common-objpfx)runtime-linker.h instead of
28825         $(elf-objpfx)runtime-linker.h.
28826         ($(elf-objpfx)runtime-linker.h): Rename to
28827         $(common-objpfx)runtime-linker.h and move ...
28828         * Makerules [$(build-shared) = yes]: ... here.
28829         * elf/interp.c: Include <runtime-linker.h> instead of
28830         <elf/runtime-linker.h>.
28832 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28834         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
28835         (__gettimeofday_syscall): Remove vsyscall fallback.
28836         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
28837         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
28838         Add syscall fallback function.
28839         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
28840         if vDSO is not present.
28841         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
28842         fallback function.
28843         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
28844         present.
28845         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
28846         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28848 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
28850         [BZ #18497]
28851         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
28852         of wcscmp.
28853         (wcscmp): Define as weak alias of WCSCMP.
28854         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
28855         wcscoll.
28856         (USE_HIDDEN_DEF): Define.
28857         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
28858         __wcscoll.  Don't use libc_hidden_weak.
28859         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
28860         wcscmp.
28861         * sysdeps/i386/i686/multiarch/wcscmp-c.c
28862         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
28863         __GI_wcscmp.
28864         (weak_alias): Undefine and redefine.
28865         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
28866         __wcscmp and define as weak alias of __wcscmp.
28867         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
28868         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
28869         (__wcscoll): Likewise.
28870         (wcscmp): Don't use libc_hidden_proto.
28871         (wcscoll): Likewise.
28872         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
28873         wcscoll.
28874         * posix/regexec.c (check_node_accept_bytes): Likewise.
28875         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
28876         variable.
28877         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28878         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28880         [BZ #18507]
28881         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
28882         __fstatvfs and define as weak alias of __fstatvfs.  Use
28883         libc_hidden_weak.
28884         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
28885         and define as weak alias of __statvfs.  Use libc_hidden_weak.
28886         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
28887         Define as alias of __fstatvfs, not fstatvfs.
28888         (fstatvfs64): Likewise.
28889         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
28890         Define as alias of __statvfs, not statvfs.
28891         (statvfs64): Likewise.
28892         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
28893         Remove variable.
28895 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28898         (HAVE_GETCPU_VSYSCALL): Define.
28899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28900         (HAVE_GETCPU_VSYSCALL): Likewise.
28901         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
28902         * sysdeps/unix/sysv/linux/sched_getcpu.c
28903         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
28904         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
28905         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
28906         prototype.
28907         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28908         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
28909         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
28910         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
28911         Define.
28912         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
28913         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28914         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
28915         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28917 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
28919         * sysdeps/x86_64/fpu/Makefile: New file.
28920         * sysdeps/x86_64/fpu/Versions: New file.
28921         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
28922         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
28923         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
28924         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
28925         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
28926         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
28927         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
28928         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
28929         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
28930         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
28931         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
28932         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
28933         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
28934         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28935         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28936         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
28937         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
28938         * sysdeps/x86_64/configure.ac: Options for libmvec build.
28939         * sysdeps/x86_64/configure: Regenerated.
28940         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
28941         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
28942         * manual/install.texi (Configuring and compiling): Document
28943         --disable-mathvec.
28944         * INSTALL: Regenerated.
28945         * NEWS: Mention addition of libmvec and x86_64 vector cos.
28947         * math/Makefile: Added rules for vector tests.
28948         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
28949         declaration under condition.
28950         * math/test-double-vlen2.h: New file.
28951         * math/test-double-vlen4.h: New file.
28952         * math/test-double-vlen8.h: New file.
28953         * math/test-vec-loop.h: Added initialization macro.
28954         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
28955         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
28956         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
28957         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
28958         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
28959         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
28960         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
28961         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
28962         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
28963         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
28964         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
28966         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28967         * sysdeps/x86_64/fpu/Versions: New versions added.
28968         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
28969         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
28970         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
28971         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
28972         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
28973         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
28974         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
28975         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
28976         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
28977         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
28978         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
28979         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
28980         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
28981         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28982         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28983         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28984         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
28985         * NEWS: Mention addition of x86_64 vector cosf.
28987         * math/Makefile: Added CFLAGS for new tests.
28988         * math/test-float-vlen16.h: New file.
28989         * math/test-float-vlen4.h: New file.
28990         * math/test-float-vlen8.h: New file.
28991         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
28992         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
28993         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28994         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
28995         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
28996         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
28997         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
28998         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
28999         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
29000         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
29001         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
29003 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
29005         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
29006         * locale/programs/ld-ctype.c: Likewise.
29008 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
29010         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
29011         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
29012         bit_ZMM16_31_state): New macro.
29013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29014         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
29016 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
29018         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
29020 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
29022         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
29024 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
29026         [BZ #18498]
29027         * libio/memstream.c (open_memstream): Rename to __open_memstream
29028         and define as weak alias of __open_memstream.
29029         * include/stdio.h (__open_memstream): Declare.  Use
29030         libc_hidden_proto.
29031         (open_memstream): Don't use libc_hidden_proto.
29032         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
29033         open_memstream.
29034         * posix/getopt.c (_getopt_internal_r): Likewise.
29035         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
29036         variable.
29037         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29038         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29039         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29041         [BZ #18496]
29042         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
29043         instead of wcrtomb.
29045         [BZ #18483]
29046         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
29047         [__USE_XOPEN2K8].  Remove redundant #endif.
29048         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
29049         Remove redundant #if.
29050         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
29051         Remove variable.
29052         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29053         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29055         [BZ #18495]
29056         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
29057         (__iswlower): Likewise.
29058         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
29059         (__iswlower): Likewise.
29060         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
29061         instead of towlower.
29062         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
29063         instead of iswlower.  Call __towupper instead of towupper.
29064         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
29065         instead of iswalnum.
29067 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29069         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
29070         errors to stderr.
29072 2015-06-05  Florian Weimer  <fweimer@redhat.com>
29074         [BZ #15661]
29075         [BZ #17322]
29076         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29077         Check for overflow properly.  Check for O_APPEND.  Ignore large
29078         file system block sizes.  Add comments about problems.
29079         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
29080         * manual/filesys.texi (Storage Allocation): New node.
29082 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29084         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
29085         cancellable syscalls.
29086         (SYS_ify): Add guard to no redefine it.
29087         (INLINE_SYSCALL): Likewise.
29088         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
29089         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
29090         SYSCALL_CANCEL instead.
29091         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
29092         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29093         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29094         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29095         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29096         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
29097         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
29098         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
29099         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29100         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29101         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
29102         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
29103         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
29104         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
29105         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
29106         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29107         Likewise.
29108         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29109         (__libc_pread64): Likewise.
29110         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
29111         (__libc_preadv): Likewise.
29112         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
29113         (__libc_readv64): Likewise.
29114         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29115         (__libc_pwrite): Likewise.
29116         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29117         (__libc_pwrite64): Likewise.
29118         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
29119         (__libc_pwritev): Likewise.
29120         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
29121         (__libc_pwritev64): Likewise.
29122         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
29123         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
29124         (sync_file_range): Likewise.
29125         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
29126         Likewise.
29127         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
29128         Likewise.
29129         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29130         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29131         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29132         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29133         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29134         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29135         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29136         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
29137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29138         Likewise.
29139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29140         (__libc_read64): Likewise.
29141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
29142         Likewise.
29143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
29144         Likewise.
29145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
29146         Likewise.
29147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
29148         Likewise.
29149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29150         (__libc_pread64): Likewise.
29151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
29152         Likewise.
29153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29154         (__libc_pwrite64): Likewise.
29155         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
29156         (sync_file_range): Likewise.
29157         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
29158         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29159         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29160         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
29161         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
29162         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29163         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29164         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
29165         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
29166         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29167         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29168         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29169         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29170         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29171         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
29172         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29173         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29174         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29175         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29176         Likewise.
29177         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
29178         Likewise.
29179         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
29180         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
29181         Likewise.
29182         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
29183         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
29184         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
29185         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
29186         Likewise.
29187         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
29188         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
29189         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
29190         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
29191         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
29193 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
29195         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
29196         Include dl-vdso.
29197         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
29198         Use VDSO routines for gettimeofday, clock_gettime if
29199         available.
29200         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
29201         Declare VDSO symbols.
29202         * sysdeps/unix/sysv/linux/arm/sysdep.h:
29203         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
29204         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29205         * sysdeps/unix/sysv/linux/arm/Versions: Add
29206         __vdso_clock_gettime.
29208 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29210         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
29211         be an inline implementation regardless of library is built within.
29212         (open_not_cancel_2): Likewise.
29213         (__read_nocancel): Likewise.
29214         (__write_nocancel): Likewise.
29215         (openat_not_cancel): Likewise.
29216         (openat_not_cancel_3): Likewise.
29217         (openat64_not_cancel): Likewise.
29218         (openat64_not_cancel_3): Likewise.
29219         (__close_nocancel): Likewise.
29220         (pause_not_cancel): Likewise.
29221         (nanosleep_not_cancel): Likewise.
29222         (sigsuspend_not_cancel): Likewise.
29224 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29226         [BZ #14958]
29227         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
29228         wake-up.
29229         (__pthread_rwlock_rdlock_slow): Likewise.
29230         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29231         Likewise.
29232         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
29233         Likewise.
29234         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
29235         * nptl/tst-rwlock16.c: New file.
29236         * nptl/Makefile (tests): Add new test.
29238 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29240         [BZ #18324]
29241         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
29242         missing wake-up of readers.
29243         * nptl/tst-rwlock15.c: New file.
29244         * nptl/Makefile (tests): Add new test.
29246 2015-06-03  Roland McGrath  <roland@hack.frob.com>
29248         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
29249         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
29250         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
29251         and __nacl_supply_interface_rtld.
29252         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
29253         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
29254         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
29255         Add __nacl_supply_interface_rtld.
29256         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
29258 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29260         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
29261         isfinite.
29262         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29263         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
29265 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29267         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
29268         __signbit* with standard C99 macros.
29269         * math/e_exp10l.c: Likewise.
29270         * math/e_exp2l.c: Likewise.
29271         * math/e_scalb.c: Likewise.
29272         * math/e_scalbf.c: Likewise.
29273         * math/e_scalbl.c: Likewise.
29274         * math/s_ldexp.c: Likewise.
29275         * math/s_ldexpf.c: Likewise.
29276         * math/s_ldexpl.c: Likewise.
29277         * math/w_atan2.c: Likewise.
29278         * math/w_atan2f.c: Likewise.
29279         * math/w_atan2l.c: Likewise.
29280         * math/w_cosh.c: Likewise.
29281         * math/w_coshf.c: Likewise.
29282         * math/w_coshl.c: Likewise.
29283         * math/w_exp10.c: Likewise.
29284         * math/w_exp10f.c: Likewise.
29285         * math/w_exp10l.c: Likewise.
29286         * math/w_exp2.c: Likewise.
29287         * math/w_exp2f.c: Likewise.
29288         * math/w_exp2l.c: Likewise.
29289         * math/w_fmod.c: Likewise.
29290         * math/w_fmodf.c: Likewise.
29291         * math/w_fmodl.c: Likewise.
29292         * math/w_hypot.c: Likewise.
29293         * math/w_hypotf.c: Likewise.
29294         * math/w_hypotl.c: Likewise.
29295         * math/w_jnl.c: Likewise.
29296         * math/w_lgamma.c: Likewise.
29297         * math/w_lgamma_r.c: Likewise.
29298         * math/w_lgammaf.c: Likewise.
29299         * math/w_lgammaf_r.c: Likewise.
29300         * math/w_lgammal.c: Likewise.
29301         * math/w_lgammal_r.c: Likewise.
29302         * math/w_pow.c: Likewise.
29303         * math/w_powf.c: Likewise.
29304         * math/w_powl.c: Likewise.
29305         * math/w_remainder.c: Likewise.
29306         * math/w_remainderf.c: Likewise.
29307         * math/w_remainderl.c: Likewise.
29308         * math/w_scalb.c: Likewise.
29309         * math/w_scalbf.c: Likewise.
29310         * math/w_scalbl.c: Likewise.
29311         * math/w_scalbln.c: Likewise.
29312         * math/w_scalblnf.c: Likewise.
29313         * math/w_scalblnl.c: Likewise.
29314         * math/w_sinh.c: Likewise.
29315         * math/w_sinhf.c: Likewise.
29316         * math/w_sinhl.c: Likewise.
29317         * math/w_tgamma.c: Likewise.
29318         * math/w_tgammaf.c: Likewise.
29319         * math/w_tgammal.c: Likewise.
29320         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29321         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
29322         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29323         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29324         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29325         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29326         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29327         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29328         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29329         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29330         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29331         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29332         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29333         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29334         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29335         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29336         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29337         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29338         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29339         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29340         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29341         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29342         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29343         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29344         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29345         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29346         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
29347         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29348         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29349         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29350         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
29351         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
29352         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
29353         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
29354         * stdio-common/printf_fp.c: Likewise.
29355         * stdio-common/printf_fphex.c: Likewise.
29356         * stdio-common/printf_size.c: Likewise.
29358 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
29360         [BZ #18470]
29361         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
29362         strnlen.
29363         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
29364         Remove variable.
29365         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29366         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29367         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29368         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29369         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29370         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29371         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29372         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29373         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29374         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29376         [BZ #18468]
29377         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
29378         weak alias of __wmemchr.  Use libc_hidden_weak.
29379         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
29380         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
29381         instead of wmemchr.
29383 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29385         [BZ #18383]
29386         * elf/tst-tlsalign-extern.c: New file.
29387         * elf/tst-tlsalign-extern-static.c: New file.
29388         * elf/tst-tlsalign-vars.c: New file.
29389         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
29390         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
29391         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
29392         ($(objpfx)tst-tlsalign-extern-static): Likewise.
29393         (test-xfail-tst-tlsalign-extern-static): New variable.
29395 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
29397         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
29398         Use variable name _sc_err instead of err.
29399         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
29400         instead of ret.
29401         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
29402         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
29403         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
29404         (INLINE_SYSCALL): Likewise.
29406         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
29407         * include/string.h (__strnlen): Use libc_hidden_proto.
29408         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
29409         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
29410         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
29411         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
29412         (libc_hidden_def): Undefine and redefine.
29413         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
29414         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
29415         __GI_strnlen.
29416         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
29417         libc_hidden_def.
29418         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
29420         [BZ #18469]
29421         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
29422         weak alias of __towlower.  Use libc_hidden_weak.
29423         (towupper): Rename to __towupper and define as weak alias of
29424         __towupper.  Use libc_hidden_weak.
29425         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
29426         (__towupper): Likewise.
29427         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
29428         __towlower instead of towlower.
29430 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29432         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
29433         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
29435 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29437         * sysdeps/aarch64/libm-test-ulps: Update.
29439 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29441         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
29442         Define.
29443         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29444         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29445         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29446         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29447         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
29448         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
29449         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
29451 2015-06-01  Martin Sebor  <msebor@redhat.com>
29453         [BZ #18116]
29454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29455         (__setcontext): Use extended four-operand version of mtsf whenever
29456         possible.
29457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29458         (__novec_swapcontext): Likewise.
29460 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29462         * benchtests/scripts/compare_bench.py: New file.
29463         * benchtests/scripts/import_bench.py (mean): New function.
29464         (split_list): Likewise.
29465         (do_for_all_timings): Likewise.
29466         (compress_timings): Likewise.
29468         * benchtests/scripts/import_bench.py: New file.
29469         * benchtests/scripts/validate_benchout.py: Import import_bench
29470         instead of jsonschema.
29471         (validate_bench): Remove function.
29472         (main): Use import_bench.
29474 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
29476         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
29477         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
29479 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29483 2015-05-28  Roland McGrath  <roland@hack.frob.com>
29485         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
29486         set THREAD_SELF->tid to a magic value and futex-wake it.
29487         Pass its address to the thread_exit system call.
29488         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
29489         bit is clear.
29490         * sysdeps/nacl/lowlevellock.h: New file.
29491         * sysdeps/nacl/lll_timedwait_tid.c: New file.
29493         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
29494         Add TIMEOUT to current time, don't subtract it.
29496 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
29498         [BZ #2981]
29499         [BZ #18422]
29500         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
29501         ($(objpfx)tst-audit2.out): Also depend on
29502         $(objpfx)tst-auditmod9b.so.
29503         * elf/tst-audit2.c: Include <dlfcn.h>.
29504         (calloc_called): New.
29505         (calloc): Allow to be called more than once.
29506         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
29508 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
29510         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
29511         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
29513 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
29515         * stdlib/monetary.h: Fix comment.
29517 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
29519         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
29520         Avoid using variables in #defines that might cause shadowing.
29521         (INTERNAL_VSYSCALL_CALL): Likewise.
29523 2015-05-26  Roland McGrath  <roland@hack.frob.com>
29525         * sysdeps/nacl/lll_timedlock_wait.c: New file.
29527         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
29528         * nptl/lll_timedlock_wait.c: ... to this new file.
29529         * nptl/Makefile (libpthread-routines): Add it.
29530         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
29531         * nptl/lll_timedwait_tid.c: ... to this new file.
29532         * nptl/Makefile (libpthread-routines): Add it.
29533         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
29534         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
29535         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
29536         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
29537         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
29538         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
29539         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
29540         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
29541         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
29542         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
29544 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29546         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
29547         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29548         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29549         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
29550         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
29551         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29552         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29553         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29554         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29555         * sysdeps/unix/sysv/linux/tile/sysdep.h
29556         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29557         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
29558         using vDSO syscall macro.
29560 2015-05-26  Andriy Rysin  <arysin@gmail.com>
29562         [BZ #17293]
29563         * uk_UA: Fix sorting order for Ukrainian locale
29565 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
29567         * stdlib/monetary.h: Fix comment.
29569 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29571         [BZ #18234]
29572         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
29573         st_mtim and st_ctim members.
29574         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
29575         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
29576         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
29577         (struct stat64): Likewise.
29578         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
29579         (struct stat64): Likewise.
29580         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
29581         (struct stat64): Likewise.
29583 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29585         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
29586         Define and include sysdep-vdso.h.
29587         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
29588         Likewise.
29589         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
29590         Likewise.
29591         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
29592         Define with VDSO_SYMBOL and use PTR_MANGLE.
29593         (__vdso_clock_gettime): Likewise.
29594         (__vdso_clock_getres): Likewise.
29595         (_libc_vdso_platform_setup): Likewise.
29596         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29597         Likewise.
29598         (_libc_vdso_platform_setup): Likewise.
29599         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
29600         Likewise.
29601         (__vdso_clock_gettime): Likewise.
29602         (__vdso_clock_getres): Likewise.
29603         (__vdso_get_tbfreq): Likewise.
29604         (__vdso_getcpu): Likewise.
29605         (__vdso_time): Likewise.
29606         (__vdso_sigtramp_rt64): Likewise.
29607         (__vdso_signtramp32): Likewise.
29608         (__vdso_sigtramp_rt32): Likewise.
29609         (_libc_vdso_platform_setup): Likewise.
29610         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
29611         Likewise.
29612         (__vdso_clock_gettime): Likewise.
29613         (__vdso_clock_getres): Likewise.
29614         (_libc_vdso_platform_setup): Likewise.
29615         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
29616         Likewise.
29617         (__vdso_clock_gettime): Likewise.
29618         (_libc_vdso_platform_setup): Likewise.
29619         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29620         Likewise.
29621         (__vdso_getcpu): Likewise.
29622         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
29623         Use VDSO_SYMBOL macro to define.
29624         (__vdso_clock_gettime): Likewise.
29625         (__vdso_clock_getres): Likewise.
29626         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
29627         Likewise.
29628         (__vdso_clock_gettime): Likewise.
29629         (__vdso_clock_getres): Likewise.
29630         (__vdso_get_tbfreq): Likewise.
29631         (__vdso_getcpu): Likewise.
29632         (__vdso_time): Likewise.
29633         (__vdso_sigtramp_rt64): Likewise.
29634         (__vdso_signtramp32): Likewise.
29635         (__vdso_sigtramp_rt32): Likewise.
29636         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
29637         Likewise.
29638         (__vdso_clock_gettime): Likewise.
29639         (__vdso_clock_getres): Likewise.
29640         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
29641         Likewise.
29642         (__vdso_clock_gettime): Likewise.
29643         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29644         Likewise.
29645         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
29646         macro.
29647         (INTERNAL_VSYSCALL): Likewise.
29648         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
29649         Remove macro.
29650         (INTERNAL_VSYSCALL): Likewise.
29651         (INTERNAL_VSYSCALL_NCS): Likewise.
29652         (INTERNAL_VSYSCALL_CALL): New macro.
29653         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29654         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
29655         Likewise.
29656         (INTERNAL_VSYSCALL): Likewise.
29657         (INTERNAL_VSYSCALL_NCS): Likewise.
29658         (INTERNAL_VSYSCALL_CALL): New macro.
29659         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29661         (INLINE_VSYSCALL): Remove macro.
29662         (INTERNAL_VSYSCALL): Remove macro.
29663         (INTERNAL_VSYSCALL_NCS): Remove macro.
29664         (INTERNAL_VSYSCALL_CALL): New macro.
29665         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
29666         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
29667         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29668         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
29669         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29671         (INLINE_VSYSCALL): Remove macro.
29672         (INTERNAL_VSYSCALL): Likewise.
29673         (INTERNAL_VSYSCALL_NCS): Likewise.
29674         (INTERNAL_VSYSCALL_CALL): New macro.
29675         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
29676         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
29677         PTR_DEMANGLE on vDSO pointer.
29678         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29679         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
29680         macro.
29681         (INTERNAL_SYSCALL): Likewise.
29682         (INTERNAL_VSYSCALL_NCS): Remove macro.
29683         (INTERNAL_VSYSCALL_CALL): New macro.
29684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
29685         Remove macro.
29686         (INTERNAL_VSYSCALL): Likewise.
29687         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
29688         sysdep-vdso.h instead of libc-vdso.h.
29689         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
29690         definition.
29691         (INLINE_VSYSCALL): Likewise.
29692         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
29693         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
29694         definition.
29695         (INLINE_VSYSCALL): Likewise.
29696         (INTERNAL_VSYSCALL): Likewise.
29697         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29698         * sysdeps/unix/sysv/linux/timespec_get.c
29699         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29700         (timespec_get): Use ANSI prototype.
29701         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
29702         and definition for Linux.
29704 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29706         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
29707         * include/libc-symbols.h: libmvec_hidden_* macro series added.
29709 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29711         [BZ #2981]
29712         [BZ #18410]
29713         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
29714         for missing DT_PLTRELSZ.
29716 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29718         Remove obsolete aliases that broke 'locale -a'
29719         [BZ #18412]
29720         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
29721         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
29722         breaking some applications that use 'locale -a' output.
29723         Change the encoding of this file from Latin-1 to ASCII to avoid
29724         other potential problems with people grepping this file.
29726 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29728         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
29729         -fasynchronous-unwind-tables.
29730         (CFLAGS-sendto.c): Likewise.
29731         (CFLAGS-sendmsg.c): Likewise.
29732         (CFLAGS-connect.c): Likewise.
29733         (CFLAGS-recvmsg.c): Likewise.
29734         (CFLAGS-recvfrom.c): Likewise.
29735         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
29736         (SOCKETCALL): New macro: non-cancellable socketcall.
29737         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
29738         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
29739         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
29740         * sysdeps/unix/sysv/linux/accept.c: New file.
29741         * sysdeps/unix/sysv/linux/bind.c: Likewise.
29742         * sysdeps/unix/sysv/linux/connect.c: Likewise.
29743         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
29744         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
29745         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
29746         * sysdeps/unix/sysv/linux/listen.c: Likewise.
29747         * sysdeps/unix/sysv/linux/recv.c: Likewise.
29748         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
29749         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
29750         * sysdeps/unix/sysv/linux/send.c: Likewise.
29751         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
29752         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
29753         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
29754         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
29755         * sysdeps/unix/sysv/linux/socket.c: Likewise.
29756         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
29757         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
29758         prototype.
29759         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
29760         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29761         instead of __internal_xxx function.
29762         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
29763         prototype.
29764         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
29765         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29766         instead of __internal_xxx function.
29767         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
29768         prototype.
29769         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
29770         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29771         instead of __internal_xxx function.
29772         * sysdeps/unix/sysv/linux/accept.S: Remove file.
29773         * sysdeps/unix/sysv/linux/bind.S: Likewise.
29774         * sysdeps/unix/sysv/linux/connect.S: Likewise.
29775         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
29776         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
29777         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
29778         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
29779         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
29780         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
29781         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
29782         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
29783         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29784         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
29785         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
29786         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
29787         * sysdeps/unix/sysv/linux/listen.S: Likewise.
29788         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
29789         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
29790         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
29791         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
29792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
29793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
29794         * sysdeps/unix/sysv/linux/recv.S: Likewise.
29795         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
29796         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
29797         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
29798         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29799         * sysdeps/unix/sysv/linux/send.S: Likewise.
29800         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
29801         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
29802         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
29803         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
29804         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
29805         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
29806         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
29807         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
29808         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
29809         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
29810         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
29811         socketcall is implemented in GLIBC.
29813 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29815         * soft-fp/fmadf4.c: Include <libc-internal.h>.
29816         (__fma): Ignore uninitialized warnings around packing.
29817         * soft-fp/fmasf4.c: Include <libc-internal.h>.
29818         (__fmaf): Ignore uninitialized warnings around packing.
29819         * soft-fp/fmatf4.c: Include <libc-internal.h>.
29820         (__fmal): Ignore uninitialized warnings around packing.
29822         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
29823         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29824         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
29825         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29827         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
29828         switch statement into default case.
29829         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
29831         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
29832         a conditional in forcing "inexact".
29833         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29834         Likewise.
29836 2015-05-22  Roland McGrath  <roland@hack.frob.com>
29838         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29839         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
29840         for each INTERNAL_SYSCALL use.
29842 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29844         [BZ #438]
29845         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
29846         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
29847         variable.
29849         [BZ #18444]
29850         * string/basename.c (basename): Rename to __basename and define as
29851         weak alias of __basename.  Use libc_hidden_weak.
29852         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
29853         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
29854         __basename instead of basename.
29855         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
29856         Remove variable.
29857         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29859 2015-05-18  Florian Weimer  <fweimer@redhat.com>
29861         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
29862         (_IO_JUMPS_FILE_plus): New.
29863         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
29864         _IO_CAST_FIELD_ACCESS.
29865         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
29866         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
29867         * libio/freopen.c (freopen): Likewise.
29868         * libio/freopen64.c (freopen64): Likewise.
29869         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
29870         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
29871         * libio/iofwide.c (_IO_fwide): Likewise.
29872         * libio/memstream.c (open_memstream): Likewise.
29873         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29874         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
29875         * libio/oldiopopen.c (_IO_old_popen): Likewise.
29877 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
29879         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
29880         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
29881         NADJ.
29882         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
29883         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
29884         NADJ.
29885         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
29886         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
29887         NADJ.
29889         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
29890         (p == 4) case.
29892         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
29893         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
29894         Remove variable.
29895         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29896         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29897         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29899 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29901         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
29902         Adjust jump table label generation macros.
29904 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29906         * stdio-common/vfprintf.c (vfprintf): Move local variables
29907         args_malloced, specs, specs_malloced, and the code after
29908         do_positional to the printf_positional function.
29909         (printf_positional): New function.
29911 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29913         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
29914         function.
29915         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
29916         STEP4_TABLE, process_arg): Move macro definitions
29917         out of the vfprintf function.  (Cosmetic change only.)
29919 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
29921         * benchtests/Makefile (stdio-common-bench): Define.
29922         (benchset): Add stdio-common-bench.
29923         * sprintf-inputs: New file.
29924         * sprintf-source.c: New file.
29926 2015-05-21  Andreas Schwab  <schwab@suse.de>
29928         [BZ #13028]
29929         [BZ #17053]
29930         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
29931         of struct __res_state.
29932         * resolv/res_send.c (__libc_res_nsend): Likewise.
29933         (get_nsaddr): New function.
29934         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
29935         statp directly.
29937 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
29939         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
29940         -D_POSIX_C_SOURCE=199506L.
29942         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
29944         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
29945         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
29946         Do not mention otherwise.
29947         [POSIX] (_XOPEN_VERSION): Do not expect.
29948         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
29949         [POSIX] (_POSIX2_C_BIND): Likewise.
29950         [POSIX] (_POSIX2_VERSION): Likewise.
29951         [POSIX] (_XOPEN_XPG2): Likewise.
29952         [POSIX] (_XOPEN_XPG3): Likewise.
29953         [POSIX] (_XOPEN_XPG4): Likewise.
29954         [POSIX] (_XOPEN_UNIX): Likewise.
29955         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
29956         [POSIX] (_POSIX_BARRIERS): Likewise.
29957         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
29958         [POSIX] (_POSIX_CPUTIME): Likewise.
29959         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
29960         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
29961         [POSIX] (_POSIX_SHELL): Likewise.
29962         [POSIX] (_POSIX_SPAWN): Likewise.
29963         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
29964         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
29965         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
29966         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
29967         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
29968         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
29969         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
29970         [POSIX] (_XBS5_LP64_OFF64): Likewise.
29971         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
29972         [POSIX] (_POSIX_TIMEOUTS): Likewise.
29973         [POSIX] (_POSIX2_PBS): Likewise.
29974         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
29975         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
29976         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
29977         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
29978         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
29979         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
29980         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
29981         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
29982         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
29983         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
29984         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
29985         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
29986         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
29987         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
29988         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
29989         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
29990         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
29991         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
29992         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
29993         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
29994         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
29995         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
29996         [POSIX] (_SC_2_C_BIND): Likewise.
29997         [POSIX] (_SC_2_C_VERSION): Likewise.
29998         [POSIX] (_SC_2_PBS): Likewise.
29999         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
30000         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
30001         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
30002         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
30003         [POSIX] (_SC_2_PBS_TRACK): Likewise.
30004         [POSIX] (_SC_ATEXIT_MAX): Likewise.
30005         [POSIX] (_SC_BARRIERS): Likewise.
30006         [POSIX] (_SC_BASE): Likewise.
30007         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
30008         [POSIX] (_SC_DEVICE_IO): Likewise.
30009         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
30010         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
30011         [POSIX] (_SC_FD_MGMT): Likewise.
30012         [POSIX] (_SC_FIFO): Likewise.
30013         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
30014         [POSIX] (_SC_FILE_LOCKING): Likewise.
30015         [POSIX] (_SC_FILE_SYSTEM): Likewise.
30016         [POSIX] (_SC_IOV_MAX): Likewise.
30017         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
30018         [POSIX] (_SC_NETWORKING): Likewise.
30019         [POSIX] (_SC_PAGE_SIZE): Likewise.
30020         [POSIX] (_SC_PASS_MAX): Likewise.
30021         [POSIX] (_SC_PIPE): Likewise.
30022         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
30023         [POSIX] (_SC_REGEXP): Likewise.
30024         [POSIX] (_SC_SHELL): Likewise.
30025         [POSIX] (_SC_SIGNALS): Likewise.
30026         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
30027         [POSIX] (_SC_SPIN_LOCKS): Likewise.
30028         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
30029         [POSIX] (_SC_USER_GROUPS): Likewise.
30030         [POSIX] (_SC_USER_GROUPS_R): Likewise.
30031         [POSIX] (_SC_STREAMS): Likewise.
30032         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
30033         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
30034         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
30035         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
30036         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
30037         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
30038         [POSIX] (_PC_FILESIZEBITS): Likewise.
30039         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
30040         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
30041         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
30042         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
30043         [POSIX] (uid_t): Likewise.
30044         [POSIX] (gid_t): Likewise.
30045         [POSIX] (off_t): Likewise.
30046         [POSIX] (pid_t): Likewise.
30047         [POSIX] (cuserid): Allow.
30048         (_SC_2_CHAR_TERM): Require constant.
30049         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
30050         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
30051         variable.
30053 2015-05-20  Roland McGrath  <roland@hack.frob.com>
30055         * sysdeps/nacl/pthread-pids.h: New file.
30056         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
30057         (create_thread): Use __nacl_get_tid to initialize PD->tid.
30059         * nptl/pthread-pids.h: New file.
30060         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
30061         * nptl/nptl-init.c: Include <pthread-pids.h>.
30062         (__pthread_initialize_minimal_internal):
30063         Call __pthread_initialize_pids instead of set_tid_address syscall.
30065         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
30066         * sysdeps/posix/usleep.c: ... here.
30068 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30070         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
30071         call_pselect6 object.
30072         [$(subdir) = io]: Remove call_sync_file_range object.
30073         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
30074         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
30075         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
30076         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
30078 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
30080         * math/s_cproj.c: Add include "math_private.h".
30081         * math/s_cprojf.c: Likewise.
30082         * math/s_cprojl.c: Likewise.
30084 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
30086         [BZ #18244]
30087         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
30088         high mantissa bit when testing whether P is a NaN.
30089         * math/libm-test.inc (remainder_test_data): Add more tests.
30090         (remquo_test_data): Likewise.
30092         [BZ #18049]
30093         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
30094         below -32, return the argument, with underflow if subnormal.
30095         * math/auto-libm-test-in: Add more tests of atanh.
30096         * math/auto-libm-test-out: Regenerated.
30098 2015-05-19  Roland McGrath  <roland@hack.frob.com>
30100         [BZ #18434]
30101         * nptl/tst-sem15.c: New file.
30102         * nptl/Makefile (tests): Add it.
30103         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
30104         s/<</>>/ to fix typo in EOVERFLOW check.
30105         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
30107 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30109         * manual/strings.texi (envz_remove): Fix typo in safety
30110         annotations.
30112 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
30113             Steve Ellcey  <sellcey@imgtec.com>
30115         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
30116         in order to avoid strict alias warnings.
30117         (iruserok_af): Ditto for ra.
30119 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
30121         [BZ #17581]
30122         * malloc/hooks.c
30123         (magicbyte): Convert to a function and avoid returning 0x01.
30124         (mem2mem_check): Avoid using a length byte equal to the magic byte.
30125         (mem2chunk_check): Fix unsigned comparisons to zero.
30126         Hoist defs of sz and magic.
30128 2015-05-19  Richard Henderson  <rth@redhat.com>
30130         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
30132         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30134 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30136         [BZ #16159]
30137         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
30138         * malloc/arena.c (arena_lock): Check if arena is corrupt.
30139         (reused_arena): Find a non-corrupt arena.
30140         (heap_trim): Pass arena to unlink.
30141         * malloc/hooks.c (malloc_check_get_size): Pass arena to
30142         malloc_printerr.
30143         (top_check): Likewise.
30144         (free_check): Likewise.
30145         (realloc_check): Likewise.
30146         * malloc/malloc.c (malloc_printerr): Add arena argument.
30147         (unlink): Likewise.
30148         (munmap_chunk): Adjust.
30149         (ARENA_CORRUPTION_BIT): New macro.
30150         (arena_is_corrupt): Likewise.
30151         (set_arena_corrupt): Likewise.
30152         (sysmalloc): Use mmap if there are no usable arenas.
30153         (_int_malloc): Likewise.
30154         (__libc_malloc): Don't fail if arena_get returns NULL.
30155         (_mid_memalign): Likewise.
30156         (__libc_calloc): Likewise.
30157         (__libc_realloc): Adjust for additional argument to
30158         malloc_printerr.
30159         (_int_free): Likewise.
30160         (malloc_consolidate): Likewise.
30161         (_int_realloc): Likewise.
30162         (_int_memalign): Don't touch corrupt arenas.
30163         * malloc/tst-malloc-backtrace.c: New test case.
30165         * Makefile (summarize-tests): Fix return value on success.
30167         * manual/string.texi (Envz Functions): Add envz_remove.
30169 2015-05-18  Roland McGrath  <roland@hack.frob.com>
30171         * sysdeps/posix/opendir.c: Include <stdbool.h>.
30172         (invalid_name): New function, broken out of ...
30173         (__opendirat): ... here.  Call it.
30174         (need_isdir_precheck): New function, broken out of ...
30175         (__opendirat): ... here.  Call it.
30176         Use __fxstatat64, not __xstatat64.
30177         (opendir_oflags): New function, broken out of ...
30178         (__opendirat): ... here.  Call it.
30179         (opendir_tail): New function, broken out of ...
30180         (__opendirat): ... here.  Call it.
30181         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
30182         opendir_tail, rather than punting to __opendirat.
30183         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
30185 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30187         * .gitignore: Ignore generated *.pyc.
30189 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
30191         * include/stdio.h: Define __need_wint_t.
30192         * test-skeleton.c: Avoid `for' loop initial declaration.
30193         * nptl/tst-initializers1.c: Use test-skeleton.c.
30195 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30197         [BZ #18418]
30198         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
30200 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30202         [BZ #16352]
30203         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
30204         (__ieee754_atanh): Force underflow exception for results with
30205         small absolute value.
30206         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
30207         (__ieee754_atanhf): Force underflow exception for results with
30208         small absolute value.
30209         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
30210         (__ieee754_atanh): Force underflow exception for results with
30211         small absolute value.
30212         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
30213         (__ieee754_atanhf): Force underflow exception for results with
30214         small absolute value.
30215         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
30216         (__ieee754_atanhl): Force underflow exception for results with
30217         small absolute value.
30218         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
30219         (__ieee754_atanhl): Force underflow exception for results with
30220         small absolute value.
30221         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
30222         (__ieee754_atanhl): Force underflow exception for results with
30223         small absolute value.
30224         * math/auto-libm-test-in: Do not allow missing underflow
30225         exceptions from atanh.
30226         * math/auto-libm-test-out: Regenerated.
30228         [BZ #18221]
30229         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
30230         2**-28 as threshold for returning x or +/- 1/x.
30231         * math/auto-libm-test-in: Add more tests of tan.
30232         * math/auto-libm-test-out: Regenerated.
30234         [BZ #18220]
30235         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30236         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
30237         * math/auto-libm-test-in: Add another test of lgamma.
30238         * math/auto-libm-test-out: Regenerated.
30240 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
30242         * stdio-common/printf_fp.c (___printf_fp): Use abs.
30243         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
30244         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
30245         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
30246         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
30247         (ADD2A): Use fabs.  (SUB2A): Use fabs.
30248         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
30249         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
30250         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
30251         (log1): Use fabs.  (my_log2): Use fabs.
30252         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
30253         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
30254         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
30255         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
30256         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
30257         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
30258         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
30259         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
30260         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
30261         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
30262         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
30264 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30266         [BZ #18217]
30267         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
30268         as threshold for returning 1 - x.
30269         * math/auto-libm-test-in: Add more tests of erfc.
30270         * math/auto-libm-test-out: Regenerated.
30272 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
30274         [BZ #18196]
30275         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
30276         threshold for large arguments.
30277         * math/auto-libm-test-in: Add another test of atan.
30278         * math/auto-libm-test-out: Regenerated.
30280         [BZ #16339]
30281         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
30282         (__log1p): Force underflow exception for results with small
30283         absolute value.
30284         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
30285         (__log1pf): Force underflow exception for results with small
30286         absolute value.
30287         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
30288         (__log1p): Force underflow exception for results with small
30289         absolute value.
30290         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
30291         (__log1pf): Force underflow exception for results with small
30292         absolute value.
30293         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
30294         (__log1pl): Force underflow exception for results with small
30295         absolute value.
30296         * math/auto-libm-test-in: Do not allow missing underflow
30297         exceptions from log1p.
30298         * math/auto-libm-test-out: Regenerated.
30300 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
30301             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30303         [BZ #16704]
30304         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
30306 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
30308         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
30309         (libmvec): New variable.
30310         * configure.ac: Added option for mathvec build.
30311         * configure: Regenerated.
30312         * mathvec/Depend: New file.
30313         * mathvec/Makefile: New file.
30314         * shlib-versions: Added libmvec.
30315         * math/Makefile: Added rule for libm.so installation.
30317         * bits/math-vector.h: New file.
30318         * bits/libm-simd-decl-stubs.h: New header.
30319         * math/Makefile (headers): Added new header
30320         libm-simd-decl-stubs.h.
30321         * math/math.h (__MATHCALL_VEC): New macro.
30323         * math/gen-libm-have-vector-test.sh: Script generates series of macros
30324         for conditions in testing functions.
30325         * math/Makefile: Added call of libm-have-vector-test.sh.
30326         * math/libm-test.inc (HAVE_VECTOR): New macros.
30328         * math/libm-test.inc: START refactored.
30329         * math/test-double.c (TEST_MATHVEC): Add define.
30330         * math/test-float.c: Likewise.
30331         * math/test-idouble.c: Likewise.
30332         * math/test-ifloat.c: Likewise.
30333         * math/test-ildoubl.c: Likewise.
30334         * math/test-ldouble.c: Likewise.
30335         * sysdeps/generic/math-tests-arch.h
30336         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
30337         architecture check.
30339         * math/test-double.c (FUNC_TEST): New macro.
30340         * math/test-float.c: Likewise.
30341         * math/test-idouble.c: Likewise.
30342         * math/test-ifloat.c: Likewise.
30343         * math/test-ildoubl.c: Likewise.
30344         * math/test-ldouble.c: Likewise.
30345         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
30347 2015-05-13  Roland McGrath  <roland@hack.frob.com>
30349         * sysdeps/nacl/fdopendir.c: New file.
30351         * dirent/scandir-tail.c: New file.
30352         * dirent/scandir64-tail.c: New file.
30353         * dirent/Makefile (routines): Add them.
30354         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
30355         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
30356         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
30357         [!SCANDIR] (SCANDIR_TAIL): New macro.
30358         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
30359         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
30360         (SCANDIRAT): Macro removed.
30361         (SCANDIR_TAIL): New macro.
30362         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
30363         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
30364         (SCANDIRAT): Just call __opendirat and __scandir_tail.
30365         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
30366         (READDIR): Macro removed.
30367         (SCANDIR_TAIL): New macro.
30368         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
30369         (SCANDIR_TAIL): New macro.
30371         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
30372         * dirent/scandir-cancel.c: ... to this new file.
30373         * dirent/Makefile (routines): Add it.
30374         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
30375         * sysdeps/unix/sysv/linux/i386/scandir64.c
30376         (SKIP_SCANDIR_CANCEL): Macro removed.
30377         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
30379         * dirent/tst-scandir.c: New file.
30380         * dirent/tst-scandir64.c: New file.
30381         * dirent/Makefile (tests): Add them.
30383 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
30385         [BZ #18409]
30386         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
30388 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30390         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
30391         list.
30393 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
30395         * benchtests/bench-strcoll.c: New benchmark.
30396         * benchtests/Makefile: Generate locales and run benchmark.
30397         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
30398         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
30399         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
30400         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
30401         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
30402         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
30403         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
30404         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
30405         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
30406         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
30407         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
30408         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
30409         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
30410         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
30411         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
30412         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
30413         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
30414         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
30415         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
30416         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
30417         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
30418         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
30419         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
30420         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
30422 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
30424         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
30425         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30427 2015-05-12  Roland McGrath  <roland@hack.frob.com>
30429         * posix/uname-values.h: New file.
30430         * posix/uname.c: Include that instead of <config-name.h>.
30431         * sysdeps/nacl/uname-values.h: New file.
30432         * sysdeps/arm/nacl/uname-values.h: New file.
30434 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
30436         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
30437         splitting into fields.
30439 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
30441         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
30442         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
30443         * locale/localeinfo.h: Add enum collation_encoding_type.
30444         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
30445         * programs/ld-collate.c (collate_output): Add encoding type info.
30446         * string/strcoll_l.c (STRDIFF): New function.
30447         * (STRCOLL): Use STRDIFF to skip over equal prefix.
30448         * wcsmbs/wcscoll_l.c: Define STRDIFF.
30450 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
30452         [BZ #18397]
30453         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
30454         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
30455         <fpu_control.h> instead of <math/fpu_control.c>.
30456         * sysdeps/mips/mips32/fpu/Makefile: New file.
30458 2015-05-11  Andreas Schwab  <schwab@suse.de>
30460         [BZ #18007]
30461         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
30462         nss_endgrent.
30463         (_nss_compat_endgrent): Call nss_endgrent.
30464         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
30465         nss_endpwent.
30466         (_nss_compat_endpwent): Call nss_endpwent.
30467         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
30468         needent, call nss_setspent only if non-zero.
30469         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
30470         (internal_endspent): Don't call nss_endspent.
30471         (_nss_compat_endspent): Call nss_endspent.
30472         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
30473         Remove.  All uses removed.
30474         (internal_setent): Remove parameter stayopen, add parameter
30475         stream.  Use it instead of global variable.
30476         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
30477         (internal_endent, internal_getent): Add parameter stream.  Use it
30478         instead of global variable.
30479         (CONCAT(_nss_files_end,ENTNAME))
30480         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
30481         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
30482         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
30483         uses removed.
30484         (internal_setent, internal_endent): Add parameter stream.  Use it
30485         instead of global variable.
30486         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
30487         stream.
30488         (get_next_alias): Add parameter stream.
30489         (_nss_files_getaliasent_r): Pass global stream.
30490         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
30491         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
30492         (_nss_files_gethostbyname4_r): Pass local stream to
30493         internal_setent, internal_getent and internal_endent.  Remove
30494         locking.
30496 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30498         * tst-strfmon1.c (tests): Update expected currency symbol.
30500 2015-05-08  Roland McGrath  <roland@hack.frob.com>
30502         * sysdeps/nacl/gethostname.c: New file.
30504 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
30506         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
30507         and sinh.
30508         * math/auto-libm-test-out: Regenerated.
30509         * sysdeps/i386/fpu/libm-test-ulps: Update.
30510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30512 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
30514         [BZ #18125]
30515         * stdlib/tst-setcontext3.c: New file.
30516         * stdlib/tst-setcontext3.sh: New file.
30517         * stdlib/Makefile (tests): Add tst-setcontext3.
30518         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
30519         to verify test program created output file.
30520         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
30521         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
30522         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
30523         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
30525 2015-05-06  Roland McGrath  <roland@hack.frob.com>
30527         [BZ #18383]
30528         * elf/tst-tlsalign.c: New file.
30529         * elf/tst-tlsalign-static.c: New file.
30530         * elf/tst-tlsalign-lib.c: New file.
30531         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
30532         (tests-static): Add tst-tlsalign-static.
30533         (modules-names): Add tst-tlsalign-lib.
30534         (test-xfail-tst-tlsalign): New variable.
30535         (test-xfail-tst-tlsalign-static): New variable.
30537         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
30538         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
30540 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
30542         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
30543         csqrt, erfc, sin and sincos.
30544         * math/auto-libm-test-out: Regenerated.
30545         * sysdeps/i386/fpu/libm-test-ulps: Update.
30546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30548 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30550         * sysdeps/aarch64/libm-test-ulps: Update.
30552 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
30554         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
30555         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
30556         * math/auto-libm-test-out: Regenerated.
30557         * sysdeps/i386/fpu/libm-test-ulps: Update.
30558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30560 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30562         [BZ #18265]
30563         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
30564         (wcsncpy): Likewise.
30566 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30568         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30569         Assume __ASSUME_FALLOCATE is always true.
30570         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30571         (__posix_fallocate64_l64): Likewise.
30572         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
30573         (posix_fallocate): Likewise.
30574         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
30575         (__posix_fallocate64_l64): Likewise.
30576         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30577         [!__ASSUME_FALLOCATE]: Add comment.
30579 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30581         * sysdeps/unix/sysv/linux/i386/Makefile
30582         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
30583         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
30584         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
30585         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30586         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30587         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
30588         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
30590 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
30592         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
30593         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
30594         tgamma.
30595         * math/auto-libm-test-out: Regenerated.
30596         * sysdeps/i386/fpu/libm-test-ulps: Update.
30597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30599 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30601         * math/auto-libm-test-in: Add more tests of tgamma.
30602         * math/auto-libm-test-out: Regenerated.
30603         * sysdeps/i386/fpu/libm-test-ulps: Update.
30604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30606         * math/auto-libm-test-in: Add more tests of tanh.
30607         * math/auto-libm-test-out: Regenerated.
30608         * sysdeps/i386/fpu/libm-test-ulps: Update.
30609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30611         * math/auto-libm-test-in: Add more tests of tan.
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         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
30617         * math/auto-libm-test-out: Regenerated.
30618         * sysdeps/i386/fpu/libm-test-ulps: Update.
30619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30621         * math/auto-libm-test-in: Add another test of pow.
30622         * math/auto-libm-test-out: Regenerated.
30623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30625         * math/auto-libm-test-in: Add more tests of lgamma.
30626         * math/auto-libm-test-out: Regenerated.
30627         * sysdeps/i386/fpu/libm-test-ulps: Update.
30628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30630         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
30631         log1p.
30632         * math/auto-libm-test-out: Regenerated.
30633         * sysdeps/i386/fpu/libm-test-ulps: Update.
30634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30636 2015-05-01  Mark Wielaard  <mjw@redhat.com>
30638         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
30639         Elf64_Chdr structs and ELFCOMPRESS constants.
30641 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30643         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
30644         expm1.
30645         * math/auto-libm-test-out: Regenerated.
30646         * sysdeps/i386/fpu/libm-test-ulps: Update.
30647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30649         * math/auto-libm-test-in: Add more tests of erf and erfc.
30650         * math/auto-libm-test-out: Regenerated.
30651         * sysdeps/i386/fpu/libm-test-ulps: Update.
30652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30654 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30656         * config.h.in (HAVE_AARCH64_BE): Add.
30658 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
30660         * math/auto-libm-test-in: Add more tests of csqrt.
30661         * math/auto-libm-test-out: Regenerated.
30662         * sysdeps/i386/fpu/libm-test-ulps: Update.
30663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30665         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30666         * math/auto-libm-test-out: Regenerated.
30667         * sysdeps/i386/fpu/libm-test-ulps: Update.
30668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30670         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
30672 2015-04-29  Roland McGrath  <roland@hack.frob.com>
30674         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
30675         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
30677         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
30678         (euidaccess, eaccess): Define as weak aliases.
30680         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
30681         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
30682         but __suseconds_t is often 'long int' so some sources assume that
30683         type is being used (e.g. they use %ld to print tv_usec).
30685 2015-04-29  Florian Weimer  <fweimer@redhat.com>
30687         [BZ #18007]
30688         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
30689         (CVE-2014-8121)
30690         * nss/tst-nss-getpwent.c: New file.
30691         * nss/Makefile (tests): Add new test.
30693 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
30695         [BZ #18346]
30696         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
30697         exponents less than 48 as cases where high part of mantissa needs
30698         examining to determine whether argument is integral.
30699         * math/libm-test.inc (round_test_data): Add more tests.
30701 2015-04-28  Mark Wielaard  <mjw@redhat.com>
30703         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
30705 2015-04-27  David S. Miller  <davem@davemloft.net>
30707         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
30708         __tls_get_addr.
30709         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30711 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
30713         [BZ#18333]
30714         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
30716 2015-04-27  Florian Weimer  <fweimer@redhat.com>
30718         [BZ#18333]
30719         * time/tzset.c (parse_tzname): Return error on memory allocation
30720         failure.
30721         * test-skeleton.c (struct temp_name_list): Change type of name
30722         member to non-const.
30723         (add_temp_file): Create a copy of the file name.
30724         (delete_temp_files): Deallocate memory.
30725         (create_temp_file): Add comment.
30727 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30729         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
30730         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
30732 2015-04-24  Roland McGrath  <roland@hack.frob.com>
30734         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
30735         * sysdeps/arm/configure: Regenerated.
30737 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30739         [BZ #17715]
30740         * time/tzfile.c (__tzfile_read): Check for large values of
30741         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
30742         * time/tzset.c (__tzstring_len): New function, based on the old
30743         __tzstring function.
30744         (__tzstring): Call __tzstring_len.
30745         (parse_tzname): New helper function extracted from
30746         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
30747         the input string.
30748         (parse_offset): New helper function extracted from
30749         __tzset_parse_tz.  Replace switch with fallthrough with
30750         initialization before sscanf.
30751         (parse_rule): Likewise.
30752         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
30753         new-style function definition.
30754         * timezone/Makefile (tests): Add tst-tzset.
30755         (tst-tzset.out): Dependencies on time zone files.
30756         (tst-tzset-ENV): Set TZDIR.
30757         (testdata/XT%): Copy crafted time zone files.
30758         * timezone/README: Mention crafted time zone files.
30759         * timezone/testdata/XT1, timezone/testdata/XT2,
30760         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
30761         files.
30762         * timezone/tst-tzset.c: New test.
30764 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30766         * Makeconfig (+gccwarn): Remove -Winline.
30768 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30770         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
30772 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30774         * NEWS: Mention sysconf() cache information support for s390.
30775         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
30777 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
30779         * math/k_casinh.c (__kernel_casinh): Use __copysign.
30780         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
30781         (__nearbyint): Likewise.
30782         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
30783         (copysignl): Likewise.
30785 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
30787         [BZ #18287]
30788         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
30789         based on padding.  (CVE-2015-1781)
30791 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30793         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
30794         libc-vdso.h.
30795         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
30796         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
30797         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
30798         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30799         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30800         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
30801         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
30802         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30803         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30804         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
30805         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30806         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30807         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30808         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
30809         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30810         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
30811         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
30812         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
30813         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
30814         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
30815         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
30816         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
30817         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
30819 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
30821         * stdlib/setenv.c (__add_to_environ):
30822         Dump core quickly if setenv (..., NULL, ...) is called.
30823         This time, do it the right way, and pacify GCC with a pragma.
30825 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30827         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
30828         IMAP->l_prev cannot be null, and #if out the code for the contrary
30829         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
30830         believe that NS (&_dl_ns[NSID]) could point outside the array.
30832         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
30833         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
30834         before using NSID as an index.
30836 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
30838         [BZ #17825]
30839         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
30840         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
30841         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30843 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30845         Add preliminary port to Google Native Client on ARM.
30846         * abi-tags (.*-.*-nacl.*): New entry.
30847         * sysdeps/arm/nacl: New directory.
30848         * sysdeps/nacl: New directory.
30850 2015-04-16  David S. Miller  <davem@davemloft.net>
30852         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
30853         lowlevellock-futex.h
30855 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
30857         * sysdeps/tile/configure.ac: New file.
30858         * sysdeps/tile/configure: Regenerated.
30860 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30862         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
30863         conditionals for weak_alias and libc_hidden_weak.
30864         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
30865         libc_hidden_weak and weak_alias.
30866         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
30867         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
30868         and weak_alias for static one.
30870 2015-04-15  David S. Miller  <davem@davemloft.net>
30872         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30874 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30876         [BZ #18206]
30877         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
30878           Use signed comparision instead of substraction to avoid
30879           overflow bug.
30880         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
30881           Take the sign of ret.
30882         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
30883           Do not expect precise return values. Only the sign matters.
30884         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
30885         * wcsmbs/test-wcsncmp.c: New File.
30886         * string/test-strncmp.c: Add wcsncmp support.
30888 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30890         [BZ #6792]
30891         * math/w_log1p.c: New file.
30892         * math/w_log1pf.c: Likewise.
30893         * math/w_log1pl.c: Likewise.
30894         * math/Makefile (libm-calls): Add w_log1p.
30895         * math/s_log1pl.c (log1pl): Remove weak_alias.
30896         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
30897         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
30898         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
30899         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
30900         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
30901         [NO_LONG_DOUBLE] (log1pl): Likewise.
30902         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
30903         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
30904         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
30905         (log1p): Remove long_double_symbol.
30906         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
30907         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
30908         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
30909         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
30910         remove weak_alias for corresponding log1p function.
30911         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
30912         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
30913         * sysdeps/ia64/fpu/w_log1p.c: New file.
30914         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
30915         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
30916         * math/libm-test.inc (log1p_test_data): Add errno expectations.
30918 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
30920         [BZ #18247]
30921         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
30922         decimal exponent by 1.
30923         * stdlib/tst-strtod-round-data: Add more tests.
30924         * stdlib/tst-strtod-round.c (tests): Regenerated.
30926 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
30928         * math/auto-libm-test-in: Add more tests of clog and clog10.
30929         * math/auto-libm-test-out: Regenerated.
30930         * sysdeps/i386/fpu/libm-test-ulps: Update.
30931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30933 2015-04-09  Roland McGrath  <roland@hack.frob.com>
30935         * Makeconfig (module-cppflags): Exclude all .v.i files.
30936         (skip-module-cppflags): Variable removed.
30938         * configure.ac (libc_config_ok): Initialize before reading
30939         preconfigure scripts, not after.
30940         * configure: Regenerated.
30942         * test-skeleton.c (TIMEOUT): Move #define to top level.
30943         (main): Grok environment variable TEST_DIRECT.  If set, print
30944         test expectation details into that file and then behave as if
30945         given --direct.
30947 2015-04-09  Florian Weimer  <fweimer@redhat.com>
30949         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
30950         warning on 32-bit.
30952 2015-04-08  David S. Miller  <davem@davemloft.net>
30954         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30956 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30958         * math/auto-libm-test-in: Add more tests of atanh.
30959         * math/auto-libm-test-out: Regenerated.
30960         * sysdeps/i386/fpu/libm-test-ulps: Update.
30961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30963         * math/auto-libm-test-in: Add more tests of atan.
30964         * math/auto-libm-test-out: Regenerated.
30965         * sysdeps/i386/fpu/libm-test-ulps: Update.
30966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30968 2015-04-08  Florian Weimer  <fweimer@redhat.com>
30970         * elf/pldd.c (main): Rewrite to use struct
30971         scratch_buffer instead of extend_alloca.
30972         * elf/pldd-xx.c (find_maps): Likewise.
30973         * grp/initgroups.c: Include <scratch_buffer.h> instead of
30974         <alloca.h>.
30975         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
30976         scratch_buffer instead of extend_alloca.
30977         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
30978         grp/compat-initgroups.c.
30979         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
30980         Rewrite to use struct scratch_buffer instead of extend_alloca.
30981         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
30982         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30984 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30986         * math/auto-libm-test-in: Add more tests of cbrt.
30987         * math/auto-libm-test-out: Regenerated.
30988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30990         * math/auto-libm-test-in: Add more tests of cabs.
30991         * math/auto-libm-test-out: Regenerated.
30992         * sysdeps/i386/fpu/libm-test-ulps: Update.
30993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30995         [BZ #18210]
30996         [BZ #18211]
30997         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
30998         (__ieee754_atan2): Set FE_TONEAREST mode for internal
30999         computations.
31000         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
31001         clog10.
31002         * math/auto-libm-test-out: Regenerated.
31003         * sysdeps/i386/fpu/libm-test-ulps: Update.
31004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31006         [BZ #18197]
31007         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
31008         (atan): Set FE_TONEAREST mode for internal computations.
31009         * math/auto-libm-test-in: Add more tests of atan.
31010         * math/auto-libm-test-out: Regenerated.
31012 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
31014         [BZ #17930]
31015         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
31017 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31019         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
31021 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31023         * include/scratch_buffer.h: New file.
31024         * malloc/scratch_buffer_grow.c: Likewise.
31025         * malloc/scratch_buffer_grow_preserve.c: Likewise.
31026         * malloc/scratch_buffer_set_array_size.c: Likewise.
31027         * malloc/tst-scratch_buffer.c: Likewise.
31028         * malloc/Makefile (routines): Add scratch_buffer_grow.
31029         (tests): Add test case.
31030         * malloc/Versions (GLIBC_PRIVATE): Export
31031         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
31032         __libc_scratch_buffer_set_array_size.
31034 2015-04-06  Richard Henderson  <rth@redhat.com>
31036         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
31037         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31039         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
31040         unsigned int before printing.
31042 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31044         [BZ #17596]
31045         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
31046         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31048 2015-04-02  Florian Weimer  <fweimer@redhat.com>
31050         * include/libc-internal.h (libc_max_align_t): Define.
31052 2015-04-02  Andreas Schwab  <schwab@suse.de>
31054         [BZ #16850]
31055         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
31057 2015-04-02  Mel Gorman  <mgorman@suse.de>
31059         [BZ #17195]
31060         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
31061         as well as the main arena.
31063 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31065         [BZ #18185]
31066         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
31067         sharing L2 cache to 2 for Silvermont/Knights Landing.
31069 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31071         [BZ #17711]
31072         * config.make.in (have-protected-data): New.
31073         * configure.ac: Check linker support for protected data symbol.
31074         * configure: Regenerated.
31075         * elf/Makefile (modules-names): Add tst-protected1moda and
31076         tst-protected1modb if $(have-protected-data) is yes.
31077         (tests): Add tst-protected1a and tst-protected1b if
31078         $(have-protected-data) is yes.
31079         ($(objpfx)tst-protected1a): New.
31080         ($(objpfx)tst-protected1b): Likewise.
31081         (tst-protected1modb.so-no-z-defs): Likewise.
31082         * elf/tst-protected1a.c: New file.
31083         * elf/tst-protected1b.c: Likewise.
31084         * elf/tst-protected1mod.h: Likewise.
31085         * elf/tst-protected1moda.c: Likewise.
31086         * elf/tst-protected1modb.c: Likewise.
31088 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31090         [BZ #17711]
31091         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
31092         indicates it is called from do_lookup_x on relocation against
31093         protected data, skip the data definion in the executable from
31094         copy reloc.
31095         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
31096         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
31097         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
31098         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31099         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
31100         otherwise to 0.
31101         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31102         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
31103         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
31104         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31105         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
31106         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
31108 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
31110         * sysdeps/nptl/pthread.h: Remove duplicate definition of
31111         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
31113 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
31115         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
31116         THREAD_SETMEM_NC.
31117         * sysdeps/x86_64/nptl/tls.h: Ditto.
31119 2015-03-27  Roland McGrath  <roland@hack.frob.com>
31121         * dlfcn/tststatic.c (main): Converted to ...
31122         (do_test): ... this.
31123         (TEST_FUNCTION): New macro.
31124         Include test-skeleton.c.
31126 2015-03-26  Alan Modra  <amodra@gmail.com>
31128         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
31129         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
31130         zero for undefined weak.
31131         (elf_machine_plt_conflict): Similarly.
31133 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31135         * math/auto-libm-test-in: Add more tests of acosh, asinh and
31136         atanh.
31137         * math/auto-libm-test-out: Regenerated.
31138         * sysdeps/i386/fpu/libm-test-ulps: Update.
31139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31141         * math/auto-libm-test-in: Add another test of asin.
31142         * math/auto-libm-test-out: Regenerated.
31143         * sysdeps/i386/fpu/libm-test-ulps: Update.
31144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31146         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
31147         Remove macro.
31148         (LLL_EBX_REG): Likewise.
31149         (LLL_ENTER_KERNEL): Likewise.
31151         * math/auto-libm-test-in: Add more tests of asin.
31152         * math/auto-libm-test-out: Regenerated.
31153         * sysdeps/i386/fpu/libm-test-ulps: Update.
31154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31156         [BZ #18138]
31157         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
31158         libc_do_syscall_args): New structure.
31159         (INTERNAL_SYSCALL_MAIN_0): New macro.
31160         (INTERNAL_SYSCALL_MAIN_1): Likewise.
31161         (INTERNAL_SYSCALL_MAIN_2): Likewise.
31162         (INTERNAL_SYSCALL_MAIN_3): Likewise.
31163         (INTERNAL_SYSCALL_MAIN_4): Likewise.
31164         (INTERNAL_SYSCALL_MAIN_5): Likewise.
31165         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
31166         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
31167         Replace conditional definitions by conditional definitions of ....
31168         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
31169         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
31170         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
31171         (libpthread-sysdep_routines): Add libc-do-syscall.
31172         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
31173         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
31174         to __NR_futex not 240.
31176 2015-03-25  Alan Modra  <amodra@gmail.com>
31178         * NEWS: Advertise TLS optimization.
31179         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
31180         (DT_PPC_NUM): Increment.
31181         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
31182         (CHECK_STATIC_TLS): Use here.
31183         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
31184         TLS descriptors.
31185         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31186         * sysdeps/powerpc/dl-tls.c: New file.
31187         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
31188         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
31189         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
31190         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
31191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
31192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
31193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
31195 2015-03-25  Alan Modra  <amodra@gmail.com>
31197         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
31198         for overlapping .opd entries" to "support...".
31199         * sysdeps/powerpc/powerpc64/configure: Regenerate
31201 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31203         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
31209         * math/auto-libm-test-out: Regenerated.
31210         * sysdeps/i386/fpu/libm-test-ulps: Update.
31211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31213 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
31215         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31216         * math/auto-libm-test-out: Regenerated.
31217         * sysdeps/i386/fpu/libm-test-ulps: Update.
31218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31220         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31223         * math/auto-libm-test-in: Add more tests of log2.
31224         * math/auto-libm-test-out: Regenerated.
31225         * sysdeps/i386/fpu/libm-test-ulps: Update.
31226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31228 2015-03-23  Roland McGrath  <roland@hack.frob.com>
31230         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
31231         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
31232         _IO_IS_APPENDING bit in READ_WRITE instead.
31234 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31236         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
31237         (__determine_cpumask_size): Replace extend_alloca with a
31238         variable-length array.  Do not treat res == 0 as an error.
31240 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31242         [BZ #18100]
31243         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
31244         and integer overflow.
31245         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
31246         (main): Add integer overflow tests.
31247         * manual/pattern.texi (Calling Wordexp): Document additional use
31248         for WRDE_SYNTAX.
31250 2015-03-23  Alan Modra  <amodra@gmail.com>
31252         * config.h.in: Remove HAVE_ASM_PPC_REL16.
31253         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
31254         and false branch of conditional.
31255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31256         Likewise.
31258 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
31260         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
31261         libc-modules.h
31262         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
31263         unused declaration of _hurd_intr_rpc_msg_in_trap.
31264         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
31265         defined instead of whether it is non-zero.
31266         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
31267         input constraint instead of both input and output constraint.  Use ecx
31268         clobber instead of %ecx.
31269         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
31270         mutex_unlock): Use a statement expression instead of an expression list.
31271         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
31272         type to vm_size_t instead of vm_address_t.
31273         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
31274         defined instead of whether it is non-zero.
31275         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
31276         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
31277         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
31278         comparisons with mapaddr.
31279         * nscd/nscd-client.h: Include <time.h>.
31280         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
31281         9th parameter to __vm_region instead of int.
31282         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
31283         * scripts/check-local-headers.sh (exclude): Add device/,
31284         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
31285         cthreads.h.
31287 2015-03-19  Roland McGrath  <roland@hack.frob.com>
31289         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
31290         to account for alignment padding.
31291         * sysdeps/arm/memmove.S: Likewise.
31293 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
31295         * sysdeps/unix/sysv/linux/generic/README: New file.
31297 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
31299         [BZ #18138]
31300         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
31301         (futex_abstimed_wait)
31302         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
31303         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
31304         of lll_futex_timed_wait.
31306 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
31308         [BZ #17542]
31309         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
31311 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
31313         [BZ #17090]
31314         [BZ #17620]
31315         [BZ #17621]
31316         [BZ #17628]
31317         * NEWS: Update.
31318         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
31319         entries with Static TLS too.  Skip entries past the end of the
31320         allocated DTV, from Alan Modra.
31321         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
31322         Static TLS DTV entry set up from...
31323         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
31324         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
31325         * nptl/allocatestack.c (init_one_static_tls): ... and here...
31326         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
31327         for Static TLS.
31328         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
31329         that the slot we find is associated with the given map before
31330         using its generation count.
31331         * nptl_db/db_info.c: Include ldsodefs.h.
31332         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
31333         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
31334         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
31335         (link_map::l_tls_offset): New struct field.
31336         (dtv_t::counter): Likewise.
31337         (rtld_global): New struct.
31338         (_rtld_global): New rtld variable.
31339         (dl_tls_dtv_slotinfo_list): New rtld global field.
31340         (dtv_slotinfo_list): New struct.
31341         (dtv_slotinfo): Likewise.
31342         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
31343         (td_lookup): Rename to...
31344         (td_mod_lookup): ... this.  Use new mod parameter instead of
31345         LIBPTHREAD_SO.
31346         * nptl_db/td_thr_tlsbase.c: Include link.h.
31347         (dtv_slotinfo_list, dtv_slotinfo): New functions.
31348         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
31349         addresses even if the DTV is out of date or missing them.
31350         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
31351         index zero-length arrays.
31352         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
31353         (td_lookup): Make it a macro implemented in terms of...
31354         (td_mod_lookup): ... this declaration.
31355         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
31356         (DB_MAIN_VARIABLE): Likewise.
31358 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31360         [BZ #18134]
31361         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31363 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
31365         * stdlib/setenv.c (__add_to_environ): Revert previous change.
31367 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
31369         [BZ #18128]
31370         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
31371         (atomic_add, atomic_increment_and_test)
31372         (atomic_decrement_and_test): Fix 64-bit arithmetic.
31374 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
31376         * stdlib/setenv.c (__add_to_environ):
31377         Dump core quickly if setenv (..., NULL, ...) is called.
31379 2015-03-13  Roland McGrath  <roland@hack.frob.com>
31381         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
31382         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
31383         all the necessary asm magic in one place.
31384         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
31385         using those.
31387 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
31389         [BZ #14906]
31390         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
31391         traced file mtime. Use consistent log message.
31392         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
31393         (register_traced_file): Call install_watches. Always set mtime.
31394         (invalidate_cache): Iterate over all trace files. Call install_watches.
31395         (inotify_check_files): Don't inline. Handle watching parent
31396         directories and configuration file movement in and out.
31397         (handle_inotify_events): New function.
31398         (main_loop_poll): Call handle_inotify_events.
31399         (main_loop_epoll): Likewise.
31400         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
31401         (struct traced_file): Use array of inotify fds. Add parent directory,
31402         and basename.
31403         (struct database_dyn): Remove unused file_mtime.
31404         (init_traced_file): New inline function.
31405         (define_traced_file): New macro.
31406         * nss/nss_db/db-init.c: Use define_traced_file.
31407         (_nss_db_init): Use init_traced_file.
31408         * nss/nss_files/files-init.c: Use define_traced_file.
31409         (_nss_files_init): Use init_traced_file.
31411 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
31413         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
31414         [_LIBC]: Do not include <stdlib.h>.
31415         [!_LIBC] (abort): Remove declaration.
31416         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
31417         _FP_STATIC_ASSERT instead of conditionally calling abort.
31418         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
31419         (_FP_EXTEND_CNAN): Likewise.
31420         (FP_TRUNC): Likewise.
31421         (__FP_CLZ): Likewise.
31422         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
31424 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
31426         * manual/string.texi (XPG basename): Fix prototype.
31428 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31430         [BZ #18080]
31431         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
31432         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31433         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
31434         (__setcontext): Likewise.
31435         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
31436         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31437         Call rt_sigprocmask syscall one time to set new signal mask
31438         and retrieve the current signal mask instead of two calls.
31439         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
31440         (__swapcontext): Likewise.
31441         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
31442         * stdlib/tst-setcontext2.c: New file.
31444 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31446         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31448 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
31450         [BZ #18093]
31451         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
31452         the wrong size.
31454 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31456         [BZ #18043]
31457         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
31459 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31461         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
31462         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
31463         Remove define.
31464         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
31465         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
31466         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
31467         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
31468         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
31469         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
31470         define.
31471         * nptl_db/td_symbol_list.c (td_lookup): Remove
31472         HAVE_ASM_GLOBAL_DOT_NAME code.
31473         * sysdeps/powerpc/powerpc64/configure.ac: Remove
31474         HAVE_ASM_GLOBAL_DOT_NAME check.
31475         * sysdeps/powerpc/powerpc64/configure: Regenerate.
31476         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
31477         (DOT_LABEL): Remove define.
31478         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
31479         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
31480         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
31481         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
31482         (__TLS_GET_ADDR): Likewise.
31483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
31484         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
31486 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
31488         [BZ #18111]
31489         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
31490         (_FPU_SETCW): Initialize cw from fpsr before storing.
31491         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
31492         (fesetexceptflag): Rewrite using fpu_control.h.
31493         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
31495 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
31497         [BZ #18110]
31498         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
31499         asms.
31500         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31502 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
31504         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
31505         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
31506         abort.
31507         (_FP_FMA): Likewise.
31508         (_FP_DIV): Likewise.
31510 2015-03-10  Roland McGrath  <roland@hack.frob.com>
31512         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
31513         with 0 in that case.
31514         * Makefile (summarize-tests): New canned sequence, factored out of
31515         commands for targets tests and xtests.  Display summary lines that
31516         don't start with PASS: or XFAIL: rather than ones that do start with
31517         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
31518         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
31519         do start with ERROR: or FAIL:.
31520         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
31521         (except for [$(build-shared) = yes]).
31522         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
31523         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
31524         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
31525         * nptl/Makefile: Revert 2015-03-04 changes.
31526         [$(CXX) empty] (tests-unsupported): New variable.
31527         * debug/Makefile: Likewise.
31529         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
31530         gnulib file.  Replace __attribute with __attribute__ throughout.
31532 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
31534         * sysdeps/hppa/fpu/libm-test-ulps: Update.
31536 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31538         [BZ #18104]
31539         * math/auto-libm-test-in: Add another test of pow.
31540         * math/auto-libm-test-out: Regenerated.
31542 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31544         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
31545         $(config-cflags-nofma).
31547 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31549         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
31550         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
31551         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
31552         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
31553         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
31554         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
31555         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
31556         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
31557         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
31558         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
31559         Add comment on closing #endif.
31561 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31563         * posix/wordexp.c (CHAR_IN_SET): New macro.
31564         (parse_param): Use it.
31566 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31568         * sysdeps/powerpc/fpu/libm-test-ulps: update.
31570 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31572         [BZ #18043]
31573         * posix/wordexp.c (parse_param): Fix buffer overflow.
31574         * posix/wordexp-test.c (test_case): Add test case.
31576 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31578         [BZ #18042]
31579         * posix/wordexp.c (parse_backtick): Fix off-by-one.
31580         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
31582 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31584         [BZ #18043]
31585         * posix/wordexp-test.c (test_case): Add test for BZ #18043
31586         (do_bz18043): Delete.
31587         (at_page_end): New.
31588         (testit): Refactor to have words at the edge of unreadable page.
31590 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31592         [BZ #16734]
31593         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
31594         Cleanup read-only streams as well.
31595         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
31597 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31599         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
31600         <bits/libc-lockP.h>
31602 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
31604         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
31605         on [__KERNEL__].
31606         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
31607         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
31608         * soft-fp/op-common.h (_FP_DECL): Likewise.
31610 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
31612         * elf/ifuncdep2.c (global): Replace
31613         __attribute__((visibility("protected"))) with
31614         asm (".protected global").
31615         * elf/ifuncmod1.c (global): Likewise.
31616         * elf/ifuncmod5.c (global): Likewise.
31618 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
31620         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
31621         <asm/sfp-machine.h> instead of <sfp-machine.h>.
31623 2015-03-06  Roland McGrath  <roland@hack.frob.com>
31625         * manual/install.texi (Configuring and compiling):
31626         Document test-wrapper-env-only.
31627         * INSTALL: Regenerated.
31629 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31631         [BZ #18043]
31632         * posix/wordexp.c (parse_param): Fix buffer overflow.
31633         * posix/wordexp-test.c (do_bz18043): Add test case.
31635 2015-03-06  Vincent Bernat  <vincent@bernat.im>
31637         * time/tst-strptime2.c (do_test): Ensure failing tests are
31638         reported correctly.
31639         * time/tst-strptime3.c (do_test): Likewise.
31641 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
31643         Fix aio_error thread-safety.
31644         * sysdeps/pthread/aio_error.c: New file
31645         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
31646         synchronization.
31648 2015-03-06  Florian Weimer  <fweimer@redhat.com>
31650         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
31651         (group_number, vfprintf): Use it.
31652         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
31653         (JUMP, REF): Use it.
31654         (WORK_BUFFER_SIZE): New enum constant.
31655         (process_arg, vfprintf): Use it.
31657 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
31659         * manual/errno.texi (Error Messages): Complete example function
31660         by adding missing #define.
31661         (program_invocation_name): Add statement indicating GNU
31662         extension and reference which header file declares the variable.
31663         (program_invocation_short_name): Likewise.
31665 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
31667         * manual/errno.texi (Error Messages): Delete strerror ISO C89
31668         compatibility note.
31670 2015-03-05  Roland McGrath  <roland@hack.frob.com>
31672         * Makeconfig (test-wrapper-env-only): New variable.
31673         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
31674         then use that with $(test-wrapper-env-only) rather than using
31675         $(test-wrapper-env) $(run-program-env) $($*-ENV).
31677 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
31679         [BZ #18082]
31680         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
31681         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
31682         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
31683         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
31684         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
31685         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
31686         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
31687         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
31688         Likewise.
31689         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
31690         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
31691         Likewise.
31692         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
31693         Likewise.
31694         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
31695         Likewise.
31696         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
31697         Likewise.
31698         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
31699         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
31700         Likewise.
31701         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
31702         Likewise.
31703         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
31704         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
31706 2015-03-04  Roland McGrath  <roland@hack.frob.com>
31708         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
31709         (ETH_ALEN): New macro.
31710         (struct ether_addr): Use it for length of ether_addr_octet.
31712         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
31713         (setdb): Don't call __nss_configure_lookup for "rpc".
31714         (do_test): Don't call test_rpc.
31715         (output_rpcent, test_rpc): Functions moved ...
31716         * sunrpc/test-rpcent.c: ... to this new file.
31717         * sunrpc/Makefile (tests): Add it.
31719         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
31720         __xpg_sigpause.
31721         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
31722         * nptl/tst-signal6.c: Likewise.
31723         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
31724         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
31726         * configure.ac (libc_cv_cxx_link_ok): New check.
31727         Reset CXX to empty if it fails to link.
31728         * configure: Regenerated.
31729         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
31730         bug-atexit3-lib only if $(CXX) is nonempty.
31731         * nptl/Makefile (tests): Likewise for tst-cancel24.
31732         (tests, tests-static): Likewise for tst-cancel24-static.
31733         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
31734         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
31735         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
31736         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
31738 2015-03-04  Andreas Schwab  <schwab@suse.de>
31740         [BZ #17631]
31741         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
31742         for non-GCC compilers.
31743         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31744         Likewise.
31746 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31748         [BZ #17776]
31749         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
31750         integer before bitwise and assembly operations.
31751         (feclearexcept): Likewise.
31752         * math/test-fenvinline.c: New file.
31753         * math/Makefile: Add test-fenvinline test.
31755 2015-03-03  Alan Modra  <amodra@gmail.com>
31757         [BZ #16512]
31758         * scripts/localplt.awk: Strip off symbol version.
31759         * NEWS: Mention bug fix.
31761 2015-03-02  Roland McGrath  <roland@hack.frob.com>
31763         * sysdeps/pthread/timer_routines.c
31764         (timer_free_list, thread_free_list, thread_active_list): Make static.
31766 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
31768         [BZ #17779]
31769         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31770         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31771         Undefine.
31772         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31773         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31774         Likewise.
31775         * sysdeps/unix/sysv/linux/sh/kernel-features.h
31776         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31777         Likewise.
31779 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31781         [BZ #18036]
31782         * posix/fnmatch_loop.c (END): Detect invalid pattern.
31783         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
31785 2015-03-02  Andreas Schwab  <schwab@suse.de>
31787         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
31788         variable name.
31790 2015-03-02  Florian Weimer  <fweimer@redhat.com>
31792         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
31793         Return error status.
31795 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
31797         [BZ #15969]
31798         * locale/findlocale.c (_nl_find_locale): Introduce const
31799         version of loc_name and drop unsafe type casts.
31801 2015-02-27  Roland McGrath  <roland@hack.frob.com>
31803         * dlfcn/tststatic2.c (main): Converted to ...
31804         (do_test): ... this.
31805         (TEST_FUNCTION): New macro.
31806         Include test-skeleton.c.
31808 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
31810         [BZ #17711]
31811         * elf/Makefile (tests): Add vismain only if PIE is enabled.
31812         (tests-pie): Add vismain.
31813         (CFLAGS-vismain.c): New.
31814         * elf/vismain.c: Add comments for PIE requirement.
31816 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31818         [BZ #18046]
31819         [BZ #18047]
31820         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
31821         0x1p-56L as threshold for just returning the argument.
31822         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
31823         0x1p-32L as threshold for just returning the argument.
31824         * math/auto-libm-test-in: Add more tests of atanh.
31825         * math/auto-libm-test-out: Regenerated.
31826         * sysdeps/i386/fpu/libm-test-ulps: Update.
31827         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
31829 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31831         * string/bcopy.c (bcopy): Call memmove for performance.
31833 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31835         * string/bzero.c (__bzero): Call memset for performance.
31837 2015-02-27  John David Anglin  <dave.anglin@bell.net>
31839         [BZ #18068]
31840         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
31841         to 00100000.
31843 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31845         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
31847 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31849         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
31850         (__kernel_standard): Use CSTR macro when setting exc.name.
31851         * sysdeps/ieee754/Makefile [$(subdir) = math]
31852         (CFLAGS-k_standard.c): Remove variable.
31854         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
31855         setting p and q from "else if" to "else".
31856         (qzero): Likewise.
31857         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
31858         (qone): Likewise.
31859         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
31860         (qzerof): Likewise.
31861         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
31862         (qonef): Likewise.
31863         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
31864         (qzero): Likewise.
31865         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
31866         (qone): Likewise.
31868         [BZ #18038]
31869         [BZ #18039]
31870         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
31871         return pi/2 for arguments below 0x1p-113L.
31872         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
31873         return pi/2 for arguments below 0x1p-106L.
31874         * math/auto-libm-test-in: Add more tests of acos.
31875         * math/auto-libm-test-out: Regenerated.
31877         [BZ #16351]
31878         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
31879         (MO): New macro.
31880         (__ieee754_asin): Force underflow exception for results with small
31881         absolute value.
31882         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
31883         (MO): New macro.
31884         (__ieee754_asinf): Force underflow exception for results with
31885         small absolute value.
31886         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
31887         (__ieee754_asin): Force underflow exception for results with small
31888         absolute value.
31889         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
31890         (__ieee754_asinf): Force underflow exception for results with
31891         small absolute value.
31892         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
31893         (__ieee754_asinl): Force underflow exception for results with
31894         small absolute value.
31895         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
31896         (__ieee754_asinl): Force underflow exception for results with
31897         small absolute value.
31898         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
31899         (__ieee754_asinl): Force underflow exception for results with
31900         small absolute value.
31901         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
31902         Include <math.h>.
31903         * math/auto-libm-test-in: Do not mark underflow exceptions as
31904         possibly missing for bug 16351.
31905         * math/auto-libm-test-out: Regenerated.
31907         [BZ #18030]
31908         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
31909         of power of 2 down when low part has opposite sign.
31910         * math/libm-test.inc (logb_test_data): Add more tests.
31912 2015-02-26  Andreas Schwab  <schwab@suse.de>
31914         [BZ #18032]
31915         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
31916         over collating symbol inside a bracket expression.  Minor cleanup.
31917         * posix/tst-fnmatch3.c (do_test): Add test case.
31919 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31921         [BZ #18029]
31922         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
31923         Adjust exponent of power of 2 down when low part has opposite
31924         sign.
31925         * math/libm-test.inc (ilogb_test_data): Add more tests.
31927 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
31929         [BZ #15969]
31930         * locale/findlocale.c (_nl_find_locale): Fix constness error in
31931         the previous change.
31933         [BZ #15969]
31934         * locale/findlocale.c (_nl_find_locale): Retry archive search
31935         after alias expansion.
31937 2015-02-25  Roland McGrath  <roland@hack.frob.com>
31939         * iconv/tst-iconv3.c (main): Converted to ...
31940         (do_test): ... this.
31941         (TEST_FUNCTION): New macro.
31942         Include test-skeleton.c.
31944         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
31945         (convert): Make function static.
31946         (test_unalign): Likewise.  Add const to argument pointee types.
31947         (main): Replace with static function do_test.
31948         Print "Succeeded." only if RET is zero.
31949         (TEST_FUNCTION): New macro.
31950         Include test-skeleton.c.
31952         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
31953         returns a null pointer.
31955 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31957         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
31958         to __memcpy_ppc only for static builds.
31960 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
31962         [BZ #18020]
31963         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
31964         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
31965         * math/auto-libm-test-in: Add more tests of asinh.
31966         * math/auto-libm-test-out: Regenerated.
31967         * sysdeps/i386/fpu/libm-test-ulps: Update.
31968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31970 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
31972         [BZ #15850]
31973         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
31974         and ip6_mtuinfo definitions here.
31975         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
31976         in this define too.  Update comment.
31978 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
31980         * elf/sprof.c (load_shobj): Tweak error message to match others.
31982 2015-02-24  Kevin Easton  <kevin@guarana.org>
31984         [BZ #16145] (partial fix)
31985         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
31986         to reduce lock contention.
31988 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
31990         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
31991         (struct timex): Update time comment.
31992         (ADJ_SETOFFSET): Define.
31994 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31996         [BZ #18019]
31997         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31998         2**56 not 2**28 as threshold for log (2x) formula.
31999         * math/auto-libm-test-in: Add more tests of acosh.
32000         * math/auto-libm-test-out: Regenerated.
32001         * sysdeps/i386/fpu/libm-test-ulps: Update.
32002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32004 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32006         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
32007         parenthesis around the buf assignment.
32008         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
32010 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32012         [BZ #16783]
32013         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
32014         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
32015         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
32016         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32017         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32018         * math/libm-test.inc (scalb_test_data): Add more tests.
32020 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32022         [BZ #17916]
32023         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
32024         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
32026 2015-02-24  Eric Rannaud  <e@nanocritical.com>
32028         [BZ #17523]
32029         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
32030         * io/bits/fcntl2.h (open): Use it.
32031         (openat): Likewise.
32032         * io/open.c (__libc_open): Likewise.
32033         * io/open64.c (__libc_open64): Likewise.
32034         * io/open64_2.c (__open64_2): Likewise.
32035         * io/open_2.c (__open_2): Likewise.
32036         * io/openat.c (__openat): Likewise.
32037         * io/openat64.c (__openat64): Likewise.
32038         * io/openat64_2.c (__openat64_2): Likewise.
32039         * io/openat_2.c (__openat_2): Likewise.
32040         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
32041         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
32042         * sysdeps/posix/open64.c (__libc_open64): Likewise.
32043         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
32044         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32045         (__open_nocancel): Likewise.
32046         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32047         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32048         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
32050 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32052         [BZ #14841]
32053         * resolv/gethnamaddr.c (getanswer): Skip logging if
32054         RES_USE_DNSSEC is set.
32055         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32057 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32059         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
32061 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
32063         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
32064         201304L, for Unicode 7.
32066 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
32068         [BZ #17836]
32069         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
32070         shared library.  Add gmon-start.os otherwise.
32071         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
32072         $(objpfx)gmon-start.os if builing shared library.
32073         ($(objpfx)g$(static-start-installed-name)): Likewise.
32075 2015-02-23  Andreas Schwab  <schwab@suse.de>
32077         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
32079 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32081         [BZ #17269]
32082         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
32083         (enlarge_userbuf): Likewise.
32085 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
32087         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
32088         * math/atest-exp.c (TIMEOUT): Adjust to 200.
32089         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
32090         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
32092 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
32094         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
32095         expression inside statement expression.
32097 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32099         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
32100         <sysdeps/nptl/lowlevellock.h> and remove macros and
32101         functions that are now defined there.
32102         (SYS_futex): Remove.
32103         (lll_compare_and_swap): Remove.
32104         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
32106 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
32108         [BZ #17999]
32109         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
32110         instead of scandirat.
32111         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
32112         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
32113         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
32114         __scandirat.
32115         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
32116         (__scandirat): Declare.  Use libc_hidden_proto.
32117         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
32118         Remove variable.
32119         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32121 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32123         [BZ #15319]
32124         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
32125         (MO): New macro.
32126         (__ieee754_atan2): For results with small absolute value, force
32127         underflow exception and remove excess range and precision from
32128         return value.
32129         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
32130         (MO): New macro.
32131         (__ieee754_atan2f): For results with small absolute value, force
32132         underflow exception and remove excess range and precision from
32133         return value.
32134         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
32135         (MO): New macro.
32136         (__atan): For results with small absolute value, force underflow
32137         exception and remove excess range and precision from return value.
32138         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
32139         (MO): New macro.
32140         (__atanf): For results with small absolute value, force underflow
32141         exception and remove excess range and precision from return value.
32142         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
32143         <math.h>.
32144         (__ieee754_atan2): Force underflow exception for results with
32145         small absolute value.
32146         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
32147         <math_private.h>.
32148         (atan): Force underflow exception for results with small absolute
32149         value.
32150         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
32151         (__atanf): Force underflow exception for results with small
32152         absolute value.
32153         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
32154         <math.h>.
32155         (__atanl): Force underflow exception for results with small
32156         absolute value.
32157         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
32158         (__atanl): Force underflow exception for results with small
32159         absolute value.
32160         * sysdeps/x86/fpu/bits/mathinline.h
32161         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
32162         (__ieee754_atan2): Only define inline for long double.
32163         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
32164         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
32165         * math/auto-libm-test-in: Do not mark underflow exceptions as
32166         possibly missing for bug 15319.  Add more tests of atan2.
32167         * math/auto-libm-test-out: Regenerated.
32168         * math/libm-test.inc (casin_test_data): Do not mark underflow
32169         exceptions as possibly missing for bug 15319.
32170         (casinh_test_data): Likewise.
32171         * sysdeps/i386/fpu/libm-test-ulps: Update.
32173 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
32175         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
32176         * sysdeps/mips/bits/endian.h: Fix comments.
32178 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32180         [BZ #17996]
32181         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
32182         (hdestroy_r): Likewise.
32183         (hsearch_r): Likewise.
32184         (__hcreate_r): Declare and use libc_hidden_proto.
32185         (__hdestroy_r): Likewise.
32186         (__hsearch_r): Likewise.
32187         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
32188         (hcreate): Call __hcreate_r instead of hcreate_r.
32189         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
32190         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
32191         as weak alias of __hcreate_r.
32192         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
32193         __hdestroy_r.
32194         (hsearch_r): Rename to __hsearch_r and define as weak alias of
32195         __hsearch_r.
32196         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
32197         Remove variable.
32198         (test-xfail-XPG4/search.h/linknamespace): Likewise.
32199         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32200         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32201         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32203 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32205         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
32206         arena_lock into a single arena_get.
32208 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
32210         * dl-reloc.c: Inlucde libc-internal.h.
32211         (_dl_try_allocate_static_tls): Call ALIGN_UP.
32212         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
32213         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
32214         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
32215         (grow_heap): Likewise.
32216         * malloc/malloc.c: Include libc-internal.h.
32217         (do_check_malloc): Call powerof2.
32218         (sysmalloc): Use pagesize. Call ALIGN_UP.
32219         (systrim): Use pagesize.
32220         (mremap_chunk): Use pagesize. Call ALIGN_UP.
32221         (__libc_valloc): Use pagesize.
32222         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
32224 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32226         [BZ #17991]
32227         * include/sys/resource.h (__getrlimit64): Declare.  Use
32228         libc_hidden_proto.
32229         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
32230         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
32231         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
32232         getrlimit64.
32233         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
32234         __getrlimit64.
32235         [!getrlimit64] (getrlimit64): Define as weak alias of
32236         __getrlimit64.  Use libc_hidden_weak.
32237         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
32238         using __getrlimit64 not __new_getrlimit64.
32239         (__GI_getrlimit64): Likewise.
32240         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
32241         Likewise.
32242         (__GI_getrlimit64): Likewise.
32243         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
32244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
32245         (getrlimit): Add __getrlimit64 alias.
32246         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
32247         Likewise.
32248         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
32249         Remove variable.
32250         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
32251         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
32253 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
32255         * libio/fileops.c: Add missing sys/mman.h
32256         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
32258 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32260         * manual/math.texi (Errors in Math Functions): Clarify goals
32261         regarding inexact and underflow exceptions.
32263 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32265         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
32266         * sysdeps/mips/memset.S: Ditto.
32268 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32270         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
32272 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32274         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
32275         (__v1longjmp): Remove versioned symbol.
32276         (__v1siglongjmp): Remove alias and versioned symbol.
32277         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
32278         (__v2siglongjmp): Likewise.
32280 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32282         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
32284 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
32286         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
32288 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32290         [BZ #17987]
32291         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
32292         zero result does not depend on the sign resulting from
32293         subtraction.
32294         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32295         Likewise.
32296         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32297         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32298         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32299         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32300         * math/libm-test.inc (remquo_test_data): Add more tests.
32302 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
32304         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
32305         Problem reported by J William Piggott.
32307 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32309         [BZ #17978]
32310         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
32311         products 4 * y and 2 * y where those would overflow.
32312         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32313         Likewise.
32314         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32315         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32316         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32317         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32318         * math/libm-test.inc (remquo_test_data): Add more tests.
32320         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
32322         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
32323         [defined _COMPILING_NEWLIB].
32324         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
32325         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
32327         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
32328         [!defined __mips_isa_rev || __mips_isa_rev < 6].
32330 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32332         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
32333         acquired.
32335 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
32337         [BZ #17792]
32338         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
32339         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
32340         HOST_STACK_END_ADDR): Likewise.
32342 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
32344         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
32345         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
32346         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
32348 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32350         * sysdeps/generic/c++-types.data: New file.
32351         * sysdeps/generic/ld.abilist: New file.
32352         * sysdeps/generic/libBrokenLocale.abilist: New file.
32353         * sysdeps/generic/libanl.abilist: New file.
32354         * sysdeps/generic/libc.abilist: New file.
32355         * sysdeps/generic/libcrypt.abilist: New file.
32356         * sysdeps/generic/libdl.abilist: New file.
32357         * sysdeps/generic/libm.abilist: New file.
32358         * sysdeps/generic/libpthread.abilist: New file.
32359         * sysdeps/generic/libresolv.abilist: New file.
32360         * sysdeps/generic/librt.abilist: New file.
32362 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32364         [BZ #17569]
32365         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32366         Compute absolute value of x as modified by fmod, not original
32367         value of x.
32368         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
32369         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
32370         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
32371         RUN_TEST_ffI_f1_mod8.
32372         (remquo_test_data): Add more tests.
32374 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32376         * sysdeps/init_array/pt-crti.S: New file.
32378 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32380         [BZ #17967]
32381         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
32382         __builtin_fmaf instead of relying on contraction of a * b + c.
32384 2015-02-12  J William Piggott  <elseifthen@gmx.com>
32386         [BZ #17969]
32387         * manual/time.texi: correct the zoneinfo path in the TZ Variable
32388         node.
32390 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32392         [BZ #17964]
32393         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
32394         __builtin_fma instead of relying on contraction of a * b + c.
32396 2015-02-12  Roland McGrath  <roland@hack.frob.com>
32398         * Makeconfig (ASFLAGS): Add -Werror=undef.
32399         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
32400         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
32401         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
32403         * Makeconfig (after-link): New variable.
32404         (+link-pie, +link-pie-tests): Use it.
32405         (+link-static, +link-static-tests): Likewise.
32406         (+link, +link-tests): Likewise.
32407         * Makerules (build-module, build-module-asneeded): Likewise.
32408         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
32409         Likewise.
32410         * elf/Makefile ($(objpfx)ld.so): Likewise.
32412 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
32414         [BZ #17965]
32415         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
32416         both struct timeval and struct timespec.
32418 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32420         [BZ #16560]
32421         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32422         and redefine.
32423         (__ieee754_exp2l): Do not multiply small fractional parts by
32424         M_LN2l.
32425         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
32426         small argument.
32427         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32428         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32429         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
32430         * math/auto-libm-test-in: Add more tests of exp2.
32431         * math/auto-libm-test-out: Regenerated.
32433 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32435         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
32436         unaligned path.
32438 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32440         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
32441         little endian.
32443 2015-02-12  Andreas Schwab  <schwab@suse.de>
32445         [BZ #15790]
32446         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
32447         Filter out elision flags from value returned in kind.
32448         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
32449         * nptl/tst-pthread-mutexattr.c: New file.
32451 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32453         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
32454         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
32455         into gnu-gnu, and update comment to refer to abi-tags.
32457 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
32459         [BZ #15467]
32460         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
32461         (__sincos): Set errno to EDOM for infinite argument.
32462         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
32463         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
32464         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
32465         (__sincosl): Set errno to EDOM for infinite argument.
32466         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
32467         (__sincosl): Set errno to EDOM for infinite argument.
32468         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
32469         (__sincosl): Set errno to EDOM for infinite argument.
32470         * math/libm-test.inc (sincos_test_data): Test errno setting.
32472 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
32474         * string/strxfrm_l.c: Remove #define STRCMP.
32475         * string/strcoll_l.c: Remove #define STRLEN.
32476         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
32477         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
32479 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
32481         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
32482         * sysdeps/mips/mips32/sfp-machine.h: ... here.
32483         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
32484         * sysdeps/mips/mips64/Makefile: ... here.
32485         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
32486         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
32487         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
32488         * sysdeps/mips/mips64/sfp-machine.h: ... here.
32489         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
32490         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
32491         * sysdeps/mips/mips64/n64/Implies: Likewise.
32493 2015-02-10  Roland McGrath  <roland@hack.frob.com>
32495         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
32496         <sys/time.h>, <string.h>, and <errno.h>.
32497         (dest_offset, dest_address, value, zero): Remove unused variables.
32498         (ldouble): Remove typedef.
32499         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
32500         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
32501         1).  Fix code style.
32502         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
32503         (check): Function removed.
32504         (CHECK): New macro.
32505         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
32506         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
32507         Don't call set_sigaction_FP and remove_sigaction_FP here.
32508         (ldouble_test): Just use 'long double' as macro argument, no need for
32509         the 'ldouble' typedef.
32510         (do_test): Set up SIGFPE handler at start, using plain signal rather
32511         than sigaction.  Fix code style.
32513 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
32515         [BZ #17949]
32516         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
32517         jump label.
32519 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32521         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
32522         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32524         * sysdeps/powerpc/configure.ac: Remove file.
32525         * sysdeps/powerpc/configure: Likewise.
32527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32528         [sysdep_routines]: Remove wordcopy-power6 object.
32529         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32530         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
32531         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
32532         (__memmove_ppc32): Likewise.
32533         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
32534         file.
32535         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
32536         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
32537         Remove preprocessor.
32539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32540         [sysdep_routines]: Remove wide chars objects.
32541         [wcsmbs]: New rule for wide char objects.
32543         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32544         Remove wordcopy-power6 obejct.
32545         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
32546         Use local call for wordcopy and memcpy symbols.
32547         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
32548         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
32549         implementation for loader.
32550         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
32552         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32553         Remove wordcopy-power7 object.
32554         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
32555         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
32556         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
32557         (_wordcopy_fwd_dest_aligned): Likewise.
32558         (_wordcopy_bwd_aligned): Likewise.
32559         (_wordcopy_bwd_dest_aligned): Likewise.
32561         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
32562         Rewrite to call __memmove_ppc instead of include default
32563         implementation.
32565         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32566         Remove wide chars objects.
32567         [wcsmbs]: New rule for wide char objects.
32569 2015-02-09  Andreas Schwab  <schwab@suse.de>
32571         [BZ #17912]
32572         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32573         in terms of __O_DIRECTORY.
32575 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32577         * time/getdate.c: Include <stdbool.h>.
32578         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
32579         call PTR_MANGLE.
32580         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
32581         PTR_DEMANGLE.
32583 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
32585         Add ersatz _Static_assert on older C hosts
32586         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
32587         pre-C11 C platform that is not known to support _Static_assert.
32589 2015-02-07  Richard Braun  <rbraun@sceen.net>
32591         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
32592         sigstate.
32593         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
32595 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32597         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
32598         priority against unexistent AIO_PRIO_DELTA_MAX.
32599         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
32600         instead of int.
32601         * misc/fchflags.c (fchflags): Likewise.
32602         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
32603         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
32604         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
32605         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
32606         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
32607         Declare macros.
32608         [__USE_MISC] (chflags, fchflags): Declare functions.
32609         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
32610         EINVAL when nfds is greater than FD_SETSIZE.
32611         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
32612         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
32613         45.
32614         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
32615         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
32616         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
32617         MACH_RCV_TIMED_OUT.
32618         * hurd/hurd/signal.h (_hurd_self_sigstate,
32619         _hurd_critical_section_lock, _hurd_critical_section_unlock):
32620         Explicit casts from void *.
32621         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
32622         * abi-tags: Rename gnu-gnu os into gnu.
32624         [BZ #4719]
32625         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
32626         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
32627         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
32628         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
32629         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
32630         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
32632         [BZ #17944]
32633         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
32634         duplicates ADDR->sun_path with sockaddr LEN limitation.
32635         * sysdeps/mach/hurd/connect.c: Include <string.h>
32636         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
32637         * sysdeps/mach/hurd/sendmsg.c: Likewise.
32638         * sysdeps/mach/hurd/sendto.c: Likewise.
32639         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
32640         implementing it by hand.
32642 2015-02-06  Roland McGrath  <roland@hack.frob.com>
32644         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
32645         Use sfi_breg on ldr.
32646         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
32647         Likewise.
32649         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
32650         it's defined.
32651         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
32652         Test SIGSETXID only if it's defined.
32654         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
32656         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
32657         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
32659         * nptl/tst-align2.c: Moved ...
32660         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
32661         * nptl/Makefile (tests): Remove tst-align2.
32662         * sysdeps/unix/sysv/linux/Makefile
32663         [$(subdir) = nptl] (tests): Add tst-align-clone.
32664         * nptl/tst-getpid1.c: Moved ...
32665         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
32666         * nptl/tst-getpid2.c: Moved ...
32667         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
32668         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
32669         * sysdeps/unix/sysv/linux/Makefile
32670         [$(subdir) = nptl] (tests): ... here.
32671         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
32672         * sysdeps/unix/sysv/linux/Makefile
32673         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
32675         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
32676         Drop trailing \n from perror argument.  Use return rather than exit.
32678         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
32679         on [SA_SIGINFO].
32680         * nptl/tst-cancel21.c (do_test): Likewise.
32681         * debug/tst-backtrace6.c: Include <signal.h> first thing.
32682         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
32683         [!SA_SIGINFO]: Make it a stub test.
32685         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
32686         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
32688         * posix/tst-getlogin.c: Move to ...
32689         * login/tst-getlogin.c: ... here.
32690         * posix/Makefile (tests): Move tst-getlogin to ...
32691         * login/Makefile (tests): ... here.
32693         * libio/tst-atime.c (do_test): Move local variables SV and E
32694         inside [ST_NOATIME] conditional.
32696         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
32698         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
32700         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
32701         (wait_code): New function replaces macro.
32702         Call nanosleep rather than syscall.
32704         * nptl/pt-system.c: Rewritten.  Put everything under
32705         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32706         Use IFUNC to redirect when possible.
32708         * nptl/pt-longjmp.c: Rewritten.  Put everything under
32709         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32710         Use IFUNC to redirect when possible.
32712         * nptl/pt-fork.c: Rewritten.  Put everything under
32713         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32714         Use IFUNC to redirect when possible.
32715         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
32717         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
32718         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
32719         unconditionally nowadays.  This included the only reference to
32720         __vdso_clock_gettime that appears outside libc proper.
32721         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
32722         Remove version set (containing only __vdso_clock_gettime).
32723         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32724         Add attribute_hidden.
32725         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32726         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
32727         libc_hidden_data_def.
32728         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32729         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32731         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
32732         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
32733         setrpcent, and getrpcport to ...
32734         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
32735         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
32736         getrpcbynumber_r, and getrpcent_r to ...
32737         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
32738         * inet/getrpcbyname.c: Moved ...
32739         * sunrpc/getrpcbyname.c: ... here.
32740         * inet/getrpcbyname_r.c: Moved ...
32741         * sunrpc/getrpcbyname_r.c: ... here.
32742         * inet/getrpcbynumber.c: Moved ...
32743         * sunrpc/getrpcbynumber.c: ... here.
32744         * inet/getrpcbynumber_r.c: Moved ...
32745         * sunrpc/getrpcbynumber_r.c: ... here.
32746         * inet/getrpcent.c: Moved ...
32747         * sunrpc/getrpcent.c: ... here.
32748         * inet/getrpcent_r.c: Moved ...
32749         * sunrpc/getrpcent_r.c: ... here.
32750         * inet/Makefile (routines): Move those to ...
32751         * sunrpc/Makefile (routines): ... here.
32752         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
32753         the $(subdirs) list.
32754         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
32755         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
32756         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
32757         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
32759         * elf/Makefile (routines): Include $(all-dl-routines), not just
32760         $(dl-routines).
32761         (rtld-routines): Likewise.  Use = rather than :=.
32762         * sysdeps/aarch64/Makefile [$(subdir) = elf]
32763         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
32764         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
32765         * sysdeps/arm/Makefile: Likewise.
32766         * sysdeps/i386/Makefile: Likewise.
32767         * sysdeps/x86_64/Makefile: Likewise.
32768         * sysdeps/hppa/Makefile [$(subdir) = elf]
32769         (sysdep_routines, sysdep-rtld-routines): Don't add
32770         $(sysdep-dl-routines) to these.
32771         * sysdeps/ia64/Makefile: Likewise.
32772         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
32773         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
32774         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
32775         Don't add dl-static to these; sysdep-dl-routines alone is enough.
32776         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
32777         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
32778         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
32779         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
32780         * sysdeps/powerpc/Makefile [$(subdir) = elf]
32781         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
32782         these; sysdep-dl-routines alone is enough.
32784 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
32786         [BZ #17932]
32787         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
32788         where multiplication results in zero and third argument is finite
32789         and nonzero.
32790         * math/auto-libm-test-in: Add more tests of fma.
32791         * math/auto-libm-test-out: Regenerated.
32793         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
32794         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
32795         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
32796         (_FP_CMP_EQ): Likewise.
32797         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
32799         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
32800         extra argument CHECK_NAN.  Redefine as wrapper around
32801         _FP_EXTEND_CNAN.
32803 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
32805         * version.h (RELEASE): Set to "stable".
32806         (VERSION): Set to "2.21"
32807         * include/features.h (__GLIBC_MINOR__): Set to 21.
32809         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
32811 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32812             Paul Eggert  <eggert@cs.ucla.edu>
32814         [BZ #16618]
32815         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
32816         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
32817         size in bytes. Store needed elements in wpmax. Use needed size
32818         in bytes for extend_alloca.
32820 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
32822         * manual/install.texi: Latest tested versions are GCC 4.9.2,
32823         binutls 2.25, and texinfo 5.2.
32824         * INSTALL: Regenerate.
32825         * sysdeps/nios2/configure: Regenerate.
32826         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
32827         * manual/contrib.texi: Update.
32828         * po/be.po: Update.
32829         * po/bg.po: Update.
32830         * po/ca.po: Update.
32831         * po/cs.po: Update.
32832         * po/da.po: Update.
32833         * po/de.po: Update.
32834         * po/el.po: Update.
32835         * po/eo.po: Update.
32836         * po/es.po: Update.
32837         * po/fi.po: Update.
32838         * po/fr.po: Update.
32839         * po/gl.po: Update.
32840         * po/hr.po: Update.
32841         * po/hu.po: Update.
32842         * po/ia.po: Update.
32843         * po/id.po: Update.
32844         * po/it.po: Update.
32845         * po/ja.po: Update.
32846         * po/ko.po: Update.
32847         * po/lt.po: Update.
32848         * po/nb.po: Update.
32849         * po/nl.po: Update.
32850         * po/pl.po: Update.
32851         * po/pt_BR.po: Update.
32852         * po/ru.po: Update.
32853         * po/rw.po: Update.
32854         * po/sk.po: Update.
32855         * po/sl.po: Update.
32856         * po/sv.po: Update.
32857         * po/tr.po: Update.
32858         * po/uk.po: Update.
32859         * po/vi.po: Update.
32860         * po/zh_CN.po: Update.
32861         * po/zh_TW.po: Update.
32863         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
32864         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
32865         * sysdeps/hppa/dl-irel.h: Remove #warning.
32866         * sysdeps/hppa/entry.h: Provide prototype for
32867         __canonicalize_funcptr_for_compare and cast argument.
32868         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
32869         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
32870         * sysdeps/hppa/sotruss-lib.c: New file.
32871         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
32872         (atomic_compare_and_exchange_val_acq): Use __typeof__.
32873         (atomic_compare_and_exchange_bool_acq): Likewise.
32874         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
32875         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
32877         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
32878         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
32879         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
32881 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
32883         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
32884         called function in non-PIC case.
32886 2015-01-31  David S. Miller  <davem@davemloft.net>
32888         * sysdeps/sparc/sparc32/bits/atomic.h
32889         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
32890         unlock not after it.
32891         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
32892         volatile register usage warnings from the compiler.
32894         * sysdeps/sparc/nptl/sem_init.c: Delete.
32895         * sysdeps/sparc/nptl/sem_post.c: Delete.
32896         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
32897         * sysdeps/sparc/nptl/sem_wait.c: Delete.
32898         * sysdeps/sparc/sparc32/sem_init.c: New file.
32899         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
32900         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
32901         padding explicitly initialized.
32902         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
32903         padding for in-semaphore spinlock.
32904         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
32905         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
32906         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
32907         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
32908         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
32909         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
32910         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
32911         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
32912         version.
32913         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
32914         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
32916 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
32918         [BZ #17801]
32919         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32920         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
32921         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
32922         New.
32923         (index_AVX_Fast_Unaligned_Load): Likewise.
32924         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
32925         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
32926         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
32927         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
32928         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
32929         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
32930         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
32931         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
32932         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
32934 2015-01-29  Andreas Schwab  <schwab@suse.de>
32936         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
32938 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
32940         [BZ #17892]
32941         * nscd/nscd_stat.c (send_stats): Initialize DATA.
32943 2015-01-28  Martin Sebor  <msebor@redhat.com>
32945         * math/README.libm-test: Clarify. Add "How to read the test output."
32947 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
32949         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
32950         Define to 0.
32952 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
32954         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
32955         (__HAVE_64B_ATOMICS): Define to 0.
32957 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32959         [BZ #17885]
32960         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
32961         value to set as new flag.
32963         [BZ #16576]
32964         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
32965         and use _ARCH_PPCSQ instead.
32966         (__ieee754_sqrt): Likewise.
32967         (__ieee754_sqrtf): Likewise.
32968         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
32969         _ARCH_PPCSQ is defined.
32970         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
32971         fsqrt instruction.
32972         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
32973         _ARCH_PPCSQ is defined.
32974         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
32975         fsqrts instruction.
32976         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
32978 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32980         * iconv/loop.c: Suppress array out of bound warning caused by GCC
32981         bug (GCC BZ #64739).
32983 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
32985         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
32986         Mark _retval as used.
32987         (lll_futex_wake_unlock): Likewise.
32988         (lll_futex_timed_wait_requeue_pi): Likewise.
32990         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32991         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
32992         register variables.
32994         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
32995         libm_hidden_def.
32997         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
32998         (__bswap_64): Mark as __always_inline.
33000 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
33002         [BZ #15378]
33003         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
33004         when none of the search directories exist.
33006 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33008         [BZ #17869]
33009         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
33010         power8 in .machine directive.
33012         [BZ #17868]
33013         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
33014         set dependency from opd value.
33016 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33018         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33019         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
33020         architecture.
33022 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33024         [BZ #17870]
33025         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
33026         with uint64_t.
33027         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
33028         (uint64_t) 1.
33029         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
33030         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
33031         Replace 1UL with (uint64_t) 1.
33032         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
33033         int with uint64_t.
33035 2015-01-23  Roland McGrath  <roland@hack.frob.com>
33037         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
33038         (if_freenameindex): Likewise.
33040         * resource/getrlimit64.c: Add missing libc_hidden_def.
33042 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
33044         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
33045         __label__.
33046         (_FP_FMA): Likewise.
33047         (_FP_TO_INT_ROUND): Likewise.
33048         (_FP_FROM_INT): Likewise.
33050 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33052         [BZ #16418]
33053         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33054         Make code racy and cancel safe.
33056 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
33058         * sysdeps/arm/unwind-resume.h: Fix copyright year.
33059         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
33060         attribution.
33062         * pwd/tst-getpw.c: Rewrite.
33064         [BZ #17702]
33065         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
33066         (modules-names): Add moddummy1 and moddummy2.
33067         ($(objpfx)tst-rec-dlopen): Define.
33068         * dlfcn/moddummy1.c: New file.
33069         * dlfcn/moddummy2.c: New file.
33070         * dlfcn/tst-rec-dlopen.c: New file.
33071         * elf/dl-cache.c (_dl_load_cache_lookup):
33072         Return char*. Copy result with alloca/strcpy/strdup.
33073         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
33074         returns char*. Free cached. If not saving realname
33075         free cached.
33076         * elf/dl-open.c (dl_open_worker): Do not assert that
33077         _r_debug->r_state is RT_CONSISTENT.
33078         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
33079         returns char*.
33081 2015-01-21  Torvald Riegel  <triegel@redhat.com>
33082             Carlos O'Donell  <carlos@redhat.com>
33084         [BZ #12674]
33085         * nptl/sem_waitcommon.c: New file.
33086         * nptl/sem_wait.c: Include sem_waitcommon.c.
33087         (__sem_wait_cleanup, do_futex_wait): Remove.
33088         (__new_sem_wait): Adapt.
33089         (__new_sem_trywait): New function.
33090         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
33091         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
33092         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
33093         (sem_timedwait): Adapt.
33094         * nptl/sem_post.c (__new_sem_post): Adapt.
33095         (futex_wake): New function.
33096         (__old_sem_post): Add release MO fence.
33097         * nptl/sem_open.c (sem_open): Adapt.
33098         * nptl/sem_init.c (__new_sem_init): Adapt.
33099         (futex_private_if_supported): New function.
33100         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
33101         (__old_sem_getvalue): Add using previous code.
33102         * sysdeps/nptl/internaltypes.h: Adapt.
33103         * nptl/tst-sem13.c (do_test): Adapt.
33104         * nptl/tst-sem11.c (main): Adapt.
33105         * nptl/sem_trywait.c: Remove.
33106         * nptl/DESIGN-sem.txt: Remove.
33107         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
33108         (gen-as-const-headers): Remove structsem.sym.
33109         * nptl/structsem.sym: Remove.
33110         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
33111         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
33112         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
33113         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
33114         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
33115         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
33116         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
33117         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
33118         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
33119         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
33120         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
33121         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
33122         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
33123         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
33124         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
33125         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
33126         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
33127         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
33128         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
33129         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
33130         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
33131         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
33133 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
33135         * INSTALL: Regenerated.
33137         * po/libc.pot: Regenerated.
33139 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
33140             Sandra Loosemore  <sandra@codesourcery.com>
33141             Andrew Jenner  <andrew@codesourcery.com>
33142             Joseph Myers  <joseph@codesourcery.com>
33143             Nathan Sidwell  <nathan@codesourcery.com>
33145         * NEWS: Mention new Nios II port.
33146         * sysdeps/nios2/Implies: New file.
33147         * sysdeps/nios2/Makefile: New file.
33148         * sysdeps/nios2/Subdirs: New file.
33149         * sysdeps/nios2/Versions: New file.
33150         * sysdeps/nios2/__longjmp.S: New file.
33151         * sysdeps/nios2/abort-instr.h: New file.
33152         * sysdeps/nios2/backtrace.c: New file.
33153         * sysdeps/nios2/bits/endian.h: New file.
33154         * sysdeps/nios2/bits/fenv.h: New file.
33155         * sysdeps/nios2/bits/link.h: New file.
33156         * sysdeps/nios2/bits/setjmp.h: New file.
33157         * sysdeps/nios2/bsd-_setjmp.S: New file.
33158         * sysdeps/nios2/bsd-setjmp.S: New file.
33159         * sysdeps/nios2/configure: New generated file.
33160         * sysdeps/nios2/configure.ac: New file.
33161         * sysdeps/nios2/crti.S: New file.
33162         * sysdeps/nios2/crtn.S: New file.
33163         * sysdeps/nios2/dl-init.c: New file.
33164         * sysdeps/nios2/dl-machine.h: New file.
33165         * sysdeps/nios2/dl-sysdep.h: New file.
33166         * sysdeps/nios2/dl-tls.h: New file.
33167         * sysdeps/nios2/dl-trampoline.S: New file.
33168         * sysdeps/nios2/gccframe.h: New file.
33169         * sysdeps/nios2/gmp-mparam.h: New file.
33170         * sysdeps/nios2/jmpbuf-offsets.h: New file.
33171         * sysdeps/nios2/jmpbuf-unwind.h: New file.
33172         * sysdeps/nios2/ldsodefs.h: New file.
33173         * sysdeps/nios2/libc-tls.c: New file.
33174         * sysdeps/nios2/libm-test-ulps: New file.
33175         * sysdeps/nios2/machine-gmon.h: New file.
33176         * sysdeps/nios2/math-tests.h: New file.
33177         * sysdeps/nios2/math_private.h: New file.
33178         * sysdeps/nios2/memusage.h: New file.
33179         * sysdeps/nios2/nptl/Makefile: New file.
33180         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
33181         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
33182         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
33183         * sysdeps/nios2/nptl/pthreaddef.h: New file.
33184         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
33185         * sysdeps/nios2/nptl/tls.h: New file.
33186         * sysdeps/nios2/preconfigure: New file.
33187         * sysdeps/nios2/s_fma.c: New file.
33188         * sysdeps/nios2/s_fmaf.c: New file.
33189         * sysdeps/nios2/setjmp.S: New file.
33190         * sysdeps/nios2/sfp-machine.h: New file.
33191         * sysdeps/nios2/sotruss-lib.c: New file.
33192         * sysdeps/nios2/stackguard-macros.h: New file.
33193         * sysdeps/nios2/stackinfo.h: New file.
33194         * sysdeps/nios2/start.S: New file.
33195         * sysdeps/nios2/sysdep.h: New file.
33196         * sysdeps/nios2/tls-macros.h: New file.
33197         * sysdeps/nios2/tst-audit.h: New file.
33198         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
33199         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
33200         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
33201         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
33202         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
33203         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
33204         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
33205         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
33206         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
33207         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
33208         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
33209         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
33210         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
33211         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
33212         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
33213         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
33214         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
33215         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
33216         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
33217         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
33218         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
33219         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
33220         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
33221         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
33222         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
33223         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
33224         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
33225         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
33226         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
33227         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
33228         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
33229         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
33230         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
33231         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
33232         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
33233         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
33234         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
33235         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
33236         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
33237         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
33238         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
33239         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
33240         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
33241         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
33243 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33245         [BZ #17844]
33246         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
33247         (getutent): Use weak_alias in non SHARED case
33248         and default_symbol_version in SHARED case.
33249         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
33250         (getutent_r, pututline): Likewise.
33251         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
33252         (getutid): Likewise.
33253         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
33254         (getutid_r): Likewise.
33255         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
33256         (getutline): Likewise.
33257         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
33258         (getutline_r): Likewise.
33259         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
33260         (updwtmp): Likewise.
33262 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33264         [BZ #17848]
33265         * sysdeps/s390/s390-32/memcmp.S
33266         (memcmp_g5): Rename to __memcmp_g5.
33267         * sysdeps/s390/s390-32/memcpy.S
33268         (memcpy_g5): Rename to __memcpy_g5.
33269         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33270         (memcpy_mvcle) Rename to __memcpy_mvcle.
33271         * sysdeps/s390/s390-32/memset.S
33272         (memset_g5): Rename to __memset_g5.
33273         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33274         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33275         and use prefixed functions.
33276         * sysdeps/s390/s390-32/multiarch/memcmp.S
33277         (memcmp_z196): Rename to __memcmp_z196.
33278         (memcmp_z10): Rename to __memcmp_z10.
33279         (memcmp): Set alias to __memcmp_g5.
33280         (bcmp): Set alias to __memcmp_g5.
33281         * sysdeps/s390/s390-32/multiarch/memcpy.S
33282         (memcpy_z196): Rename to __memcpy_z196.
33283         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33284         (memcpy_z10): Rename to __memcpy_z10.
33285         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33286         (memcpy): Set alias to __memcpy_g5.
33287         * sysdeps/s390/s390-32/multiarch/memset.S
33288         (memset_z196): Rename to __memset_z196.
33289         Jump to __memset_mvcle instead of memset_mvcle.
33290         (memset_z10): Rename to __memset_z10.
33291         Jump to __memset_mvcle instead of memset_mvcle.
33292         (memset_mvcle) Rename to __memset_mvcle.
33293         (memset): Set alias to __memset_g5.
33294         * sysdeps/s390/s390-64/memcmp.S
33295         (memcmp_z900): Rename to __memcmp_z900.
33296         * sysdeps/s390/s390-64/memcpy.S
33297         (memcpy_z900): Rename to __memcpy_z900.
33298         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33299         (memcpy_mvcle) Rename to __memcpy_mvcle.
33300         * sysdeps/s390/s390-64/memset.S
33301         (memset_z900): Rename to __memset_z900.
33302         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
33303         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33304         and use prefixed functions.
33305         * sysdeps/s390/s390-64/multiarch/memcmp.S
33306         (memcmp_z196): Rename to __memcmp_z196.
33307         (memcmp_z10): Rename to __memcmp_z10.
33308         (memcmp): Set alias to __memcmp_z900.
33309         (bcmp): Set alias to __memcmp_z900.
33310         * sysdeps/s390/s390-64/multiarch/memcpy.S
33311         (memcpy_z196): Rename to __memcpy_z196.
33312         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33313         (memcpy_z10): Rename to __memcpy_z10.
33314         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33315         (memcpy): Set alias to __memcpy_z900.
33316         * sysdeps/s390/s390-64/multiarch/memset.S
33317         (memset_z196): Rename to __memset_z196.
33318         Jump to __memset_mvcle instead of memset_mvcle.
33319         (memset_z10): Rename to __memset_z10.
33320         Jump to __memset_mvcle instead of memset_mvcle.
33321         (memset_mvcle) Rename to __memset_mvcle.
33322         (memset): Set alias to __memset_z900.
33324 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
33326         [BZ #17748]
33327         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
33328         __fesetenv instead of fesetenv.
33330 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33332         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
33333         macro.
33335 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33337         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
33338         regression on LE.
33340         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
33341         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
33342         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33343         strncmp-power8 object.
33344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33345         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
33346         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
33347         * NEWS: Update.
33349 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33350             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33352         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
33353         trailing byte check.
33355 2015-01-13  David S. Miller  <davem@davemloft.net>
33357         * include/signal.h (__sigreturn): Guard with __USE_MISC.
33359 2015-01-13  Roland McGrath  <roland@hack.frob.com>
33361         * login/logout.c (logout): Use memset rather than bzero.
33362         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
33363         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
33364         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
33365         (_gethtbyaddr): Likewise.
33366         * locale/programs/simple-hash.c (bcopy): Macro removed.
33368 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33370         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33371         Add strcmp-power8 object.
33372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33373         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
33374         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
33375         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
33376         __strcmp_power8 implementation.
33377         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
33378         * NEWS: Update.
33380         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33381         Add strncpy-power8 and stpncpy-power8 objects.
33382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33383         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
33384         implementations.
33385         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
33386         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
33387         __stpncpy_power8 implementation.
33388         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
33389         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
33390         __strncpy_power8 implementation.
33391         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
33392         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
33393         * NEWS: Update.
33395         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
33396         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
33397         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
33399         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33400         strncat-power8 object.
33401         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
33402         __strcat_power8 implementation.
33403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33404         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
33405         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
33406         optimized strcat for power8.
33408         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33409         strcpy-power8 and stpcpy-power8 objects.
33410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33411         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
33412         implementations.
33413         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
33414         multiarch stpcpy implementation for POWER8.
33415         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
33416         multiarch strcpy implementation for POWER8.
33417         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
33418         __strcpy_power8 function.
33419         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
33420         stpcpy for POWER8.
33421         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
33422         strcpy for POWER8.
33423         * NEWS: Update.
33425 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
33427         [BZ #16009]
33428         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
33429         weights and rules. Use do_xfrm_cached if data fits in cache,
33430         do_xfrm otherwise.  Moved former main loop to...
33431         * (do_xfrm_cached): New function.
33432         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
33433         find_idx, find_position and stack_push.
33434         * (find_idx): New function.
33435         * (find_position): Likewise.
33436         * localedata/sort-test.sh: Added test run for do_xfrm.
33437         * localedata/xfrm-test.c (main): Added command line option
33438         -nocache to run the test with strings that are too large for
33439         the STRXFRM cache.
33441 2015-01-13  Torvald Riegel  <triegel@redhat.com>
33443         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
33444         variable to lll_futex_wake call, not the value itself.
33446 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
33448         [BZ #17803]
33449         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
33450         twom64.  Adjust value to 0x1p-64L.
33451         (__scalblnl): Only return standard underflowing result for K <=
33452         -64 not K <= -63; adjust exponent for underflowing result by 64
33453         not 63.
33454         * math/libm-test.inc (scalbn_test_data): Add more tests.
33455         (scalbln_test_data): Likewise.
33457         [BZ #17834]
33458         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
33459         0x1p63L.
33460         (__scalblnl): Get new exponent of adjusted subnormal value from ES
33461         not HX.
33462         * math/libm-test.inc (scalbn_test_data): Add more tests.
33463         (scalbln_test_data): Likewise.
33465 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33466             Stefani Seibold  <stefani@seibold.net>
33468         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
33469         (sysdep_routines): Add dl-vdso here, ...
33470         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
33471         (sysdep_routines): ... not here.
33472         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
33473         fallback when vDSO is not presented.
33474         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33475         Define with libc_hidden_proto/libc_hidden_data_def definitions.
33476         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
33477         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
33478         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
33479         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
33480         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
33481         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
33482         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
33483         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
33484         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
33485         fallback configurable symbol when vDSO is not available.
33486         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
33487         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
33488         be able to redefine fallback symbol when vDSO is not available.
33489         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
33490         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
33492 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33494         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
33495         (TLS_INIT_TP): Add tm_capable initialization.
33496         (TLS_DEFINE_INIT_TP): Likewise.
33497         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
33498         TCB.
33499         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
33500         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
33501         calculation.
33502         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
33503         transactoion is lock elision is built and TCB tm_capable is set.
33504         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
33505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33506         (INTERNAL_SYSCALL_NCS): Likewise.
33507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33508         (INTERNAL_SYSCALL_NCS): Likewise.
33509         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
33511         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
33512         for powerpc.
33513         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33514         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
33515         and remove it for 32 bits case.
33516         [pthread_rwlock_t] (__rwelision): New field for lock elision.
33517         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
33518         initialization.
33519         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
33520         Disable lock elision with rdlocks if elision is not available.
33522         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
33523         (sysdep_routines): Add lock elision objects.
33524         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33525         [pthread_mutex_t] (__spins): Rework to add lock elision field.
33526         [pthread_mutex_t] (__elision): Add field.
33527         [__PTHREAD_SPINS]: Adjust to init lock elision field.
33528         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
33529         elision definitions for powerpc.
33530         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
33531         implementation of lock elision for powerpc.
33532         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
33533         implementation of timed lock elision for powerpc.
33534         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
33535         implementation of trylock with lock elision for powerpc.
33536         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
33537         implementaion of unlock for lock elision for powerpc.
33538         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
33539         automatic enable lock elision for mutexes.
33540         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
33541         transaction execution definitions for powerpc.
33542         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
33543         definitions.
33544         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
33545         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
33546         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
33547         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
33548         * NEWS: Update.
33550 2015-01-09  Roland McGrath  <roland@hack.frob.com>
33552         * sysdeps/posix/shm-directory.c: Use <> rather than ""
33553         for #include of <shm-directory.h>.
33555 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
33557         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
33558         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
33560 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
33562         [BZ #17791]
33563         * NEWS: Mention bug fix.
33564         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
33565         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
33566         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
33568 2015-01-09  Torvald Riegel <triegel@redhat.com>
33570         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
33572 2015-01-09  Torvald Riegel <triegel@redhat.com>
33574         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
33576 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33578         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
33579         pointer and cast to uintptr_t.
33581 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33583         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
33584         removed.
33585         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
33587 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33589         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
33590         of 0.
33592 2015-01-08  Roland McGrath  <roland@hack.frob.com>
33594         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
33595         <nptl/pthreadP.h> instead.
33596         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
33598         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
33599         already defined.
33600         [__SIGRTMIN] (init): Function removed.
33601         [__SIGRTMIN] (initialized): Variable removed.
33602         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
33603         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
33604         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
33605         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
33606         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
33607         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
33608         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
33609         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
33610         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
33611         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
33612         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
33613         * sysdeps/nptl/allocrtsig.c: New file.
33614         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
33615         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
33616         * sysdeps/generic/testrtsig.h: File removed.
33618         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
33619         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
33621         * nptl/nptl-init.c (pthread_functions): Conditionalize
33622         .ptr__nptl_setxid initialization on [SIGSETXID].
33624         * sysdeps/nptl/sys/procfs.h: New file.
33625         * nptl_db/Makefile (headers): Add it.
33626         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
33628         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
33629         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
33630         * nptl/pthread_attr_setaffinity.c: Include it.
33631         * nptl/pthread_setattr_default_np.c: Likewise.
33632         * nptl/check-cpuset.h: New file.
33634 2015-01-08  Richard Henderson  <rth@redhat.com>
33636         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
33637         (CFLAGS-tst-execstack-prog.c): Likewise.
33638         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
33640 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
33641             Sandra Loosemore  <sandra@codesourcery.com>
33642             Andrew Jenner  <andrew@codesourcery.com>
33643             Joseph Myers  <joseph@codesourcery.com>
33644             Nathan Sidwell  <nathan@codesourcery.com>
33646         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
33647         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
33648         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
33649         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
33650         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
33651         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
33652         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
33653         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
33654         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
33655         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
33656         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
33657         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
33658         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
33659         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
33660         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
33661         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
33662         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
33664 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33666         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
33667         timespec struct member in syscall macro.
33668         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
33669         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
33670         first timeval struct member in syscall macro.
33671         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
33673 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
33675         [BZ #17748]
33676         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
33677         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
33678         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
33679         __feupdateenv and define as weak alias of __feupdateenv.  Use
33680         libm_hidden_weak.
33681         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
33682         libm_hidden_def.
33683         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
33684         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
33685         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33686         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
33687         libm_hidden_def.
33688         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
33689         __feupdateenv and define as weak alias of __feupdateenv.  Use
33690         libm_hidden_weak.
33691         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
33692         libm_hidden_def.
33693         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
33694         __feupdateenv and define as weak alias of __feupdateenv.  Use
33695         libm_hidden_weak.
33696         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
33697         libm_hidden_def.
33698         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33699         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33700         (__feupdateenv): Likewise.
33701         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
33702         __feupdateenv and define as weak alias of __feupdateenv.  Use
33703         libm_hidden_weak.
33704         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33705         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
33706         libm_hidden_def.
33707         * sysdeps/tile/math_private.h (__feupdateenv): New inline
33708         function.
33709         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
33710         libm_hidden_def.
33711         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
33712         __feupdateenv instead of feupdateenv.
33713         (default_libc_feupdateenv_test): Likewise.
33714         (libc_feresetround_ctx): Likewise.
33716 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33718         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
33719         prototype.
33721 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
33723         * posix/regcomp.c (parse_bracket_exp): Initialize type to
33724         COLL_SYM in a couple of places to avoid uninitialized variable
33725         wanings on tilegx gcc 4.8.2.
33727 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33729         * sysdeps/aarch64/strcpy.S: New file.
33730         * sysdeps/aarch64/stpcpy.S: New file.
33731         * NEWS: Updated.
33733 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33735         * sysdeps/aarch64/strrchr.S: New file.
33736         * NEWS: Updated.
33738 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
33740         [BZ #17658]
33741         * stdlib/setenv.c: Fix memory leak when setting large,
33742         duplicate string.
33744 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
33746         [BZ #17273]
33747         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
33748         and tabs from buffer before parsing fstab entry.
33749         * misc/tst-mntent.c (main): Add test for mount entry with
33750         trailing spaces and tabs.
33752 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
33754         [BZ #17748]
33755         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
33756         * math/fesetround.c (fesetround): Rename to __fesetround and
33757         define as weak alias of __fesetround.  Use libm_hidden_weak.
33758         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
33759         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
33760         * sysdeps/arm/fesetround.c (fesetround): Likewise.
33761         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
33762         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
33763         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
33764         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
33765         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
33766         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
33767         __fesetround_inline.
33768         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
33769         __fesetround_inline instead of __fesetround.
33770         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
33771         __fesetround and define as weak alias of __fesetround.  Use
33772         libm_hidden_weak.  Call __fesetround_inline instead of
33773         __fesetround.
33774         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
33775         __fesetround and define as weak alias of __fesetround.  Use
33776         libm_hidden_weak.
33777         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
33778         Likewise.
33779         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
33780         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33781         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
33782         * sysdeps/tile/math_private.h (__fesetround): New inline function.
33783         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
33784         __fesetround and define as weak alias of __fesetround.  Use
33785         libm_hidden_weak.
33786         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
33787         __fesetround instead of fesetround.
33788         (default_libc_feholdexcept_setround): Likewise.
33789         (libc_feholdsetround_ctx): Likewise.
33790         (libc_feholdsetround_noex_ctx): Likewise.
33792         [BZ #17748]
33793         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
33794         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
33795         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33796         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33797         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33798         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
33799         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33800         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33801         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33802         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33803         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33804         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33805         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33806         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33807         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
33808         libm_hidden_def.
33809         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
33810         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
33811         Likewise.
33812         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33813         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33814         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33815         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33816         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
33817         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33818         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33819         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
33820         __fesetenv instead of fesetenv.
33821         (libc_feresetround_noex_ctx): Likewise.
33822         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33823         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33824         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
33825         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33826         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33827         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33828         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33829         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33830         (__feupdateenv): Likewise.
33831         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33832         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33833         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33834         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
33836 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33838         [BZ #17806]
33839         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
33840         addresses have been freed.
33842 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33844         * resolv/res_init.c (__res_vinit): Improve comments about nserv
33845         and nservall.
33847 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
33849         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
33850         Clean up check_pf allocation pattern. addresses
33852 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33854         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
33855         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
33856         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
33857         * nptl/pthread_exit.c (__pthread_exit): Likewise.
33858         * nptl/pthread_join.c (pthread_join): Likewise.
33859         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
33860         * sysdeps/posix/waitid.c (__waitid): Likewise.
33861         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33862         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33863         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33864         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33865         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33866         Likewise.
33867         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33868         (__libc_pread64): Likewise.
33869         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33870         (__libc_pwrite): Likewise.
33871         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33872         (__libc_pwrite64): Likewsie.
33873         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33874         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33875         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33876         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33877         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33878         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33879         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33881         Likewise.
33882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33883         (__libc_pread64): Likewise.
33884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
33885         Likewise.
33886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33887         (__libc_pwrite64): Likewise.
33888         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33889         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33890         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
33891         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
33892         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33893         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33894         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
33895         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33896         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33897         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33898         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
33899         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33900         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33901         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
33902         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33903         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33904         Likewise.
33906 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33908         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
33909         (CFLAGS-test-double.c): Likewise.
33910         (CFLAGS-test-ldouble.c): Likewise.
33911         (CPPFLAGS-test-ifloat.c): Likewise.
33912         (CPPFLAGS-test-idouble.c): Likewise.
33913         (CPPFLAGS-test-ildoubl.c): Likewise.
33914         (CFLAGS-test-test-fenv.c): Remove variable.
33915         (CFLAGS-test-misc.c): Likewise.
33917 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
33919         [BZ #17797]
33920         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
33921         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
33922         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
33923         CLOCKS_PER_SEC == 1000000.
33924         * time/clocktest.c (main): Replace %ld with %jd and cast to
33925         intmax_t.
33927 2015-01-05  Roland McGrath  <roland@hack.frob.com>
33929         * sysdeps/generic/unwind-resume.h: New file.
33930         * sysdeps/gnu/unwind-resume.c: Include it.
33931         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
33932         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
33933         argument list.
33934         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
33935         global rather than static.
33936         (_Unwind_Resume): Update user.
33937         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
33938         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
33939         rather than static.  Add __attribute__ ((cold)).
33940         (_Unwind_Resume, __gcc_personality_v0): Update callers.
33941         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
33942         * sysdeps/arm/arm-unwind-resume.S: New file.
33943         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
33944         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
33945         * sysdeps/arm/Makefile [$(subdir) = csu]
33946         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
33947         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33948         Add rt-arm-unwind-resume.
33949         [$(subdir) = nptl]
33950         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33951         Add pt-arm-unwind-resume.
33952         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
33953         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
33955 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33957         [BZ #17748]
33958         * include/fenv.h (__feholdexcept): Declare.  Use
33959         libm_hidden_proto.
33960         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
33961         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
33962         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33963         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
33964         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
33965         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
33966         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
33967         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33968         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
33969         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
33970         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33971         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
33972         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
33973         (feholdexcept): Likewise.
33974         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33975         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33976         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33977         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33978         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
33979         __feholdexcept instead of feholdexcept.
33980         (default_libc_feholdexcept_setround): Likewise.
33982 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33984         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
33985         to avoid using stl/str to align destination.
33987 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33989         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
33991 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33993         [BZ #17796]
33994         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
33995         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
33996         Define as weak alias not strong alias.
33998 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34000         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
34001         bltzal with addiupc.
34002         (RTLD_START): Ditto.
34004 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
34006         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
34007         for __vdso_* functions in declarations.
34008         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
34009         definitions.
34010         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
34011         INTERNAL_VSYSCALL): Use struct return types to check for error.
34013         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
34014         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
34015         function with cast from llround().
34016         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
34017         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
34018         Define.
34020 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34022         [BZ #17793]
34023         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
34024         Define as weak alias not strong alias.
34026         [BZ #17635]
34027         * ctype/ctype-c99.c: New file.  isblank implementation moved from
34028         ...
34029         * ctype/ctype-extn.c: ... here.
34030         (__isblank_l): Move to ...
34031         * ctype/ctype-c99_l.c: ... here.  New file.
34032         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
34033         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
34034         Remove variable.
34035         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34036         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34037         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34038         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34039         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34041         [BZ #17777]
34042         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
34043         (posix_fadvise64): Define as weak alias not strong alias.
34044         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34045         (posix_fallocate64): Likewise.
34046         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
34047         Remove variable.
34048         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34049         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34050         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34051         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34052         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34054 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
34056         [BZ #16191]
34057         * NEWS: Mention bug fix.
34058         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
34059         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
34060         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
34061         (HOST_STACK_END_ADDR): Likewise.
34063 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34065         [BZ #17748]
34066         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
34067         * math/fegetround.c (fegetround): Rename to __fegetround and
34068         define as weak alias of __fegetround.  Use libm_hidden_weak.
34069         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
34070         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
34071         * sysdeps/arm/fegetround.c (fegetround): Likewise.
34072         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
34073         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34074         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
34075         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
34076         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
34077         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34078         Undefine after rather than before function definition; use
34079         parentheses around function name in definition.
34080         (__fegetround): Also undefine macro after function definition.
34081         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
34082         __fegetround and define as weak alias of __fegetround.  Use
34083         libm_hidden_weak.  Do not undefine as macro.
34084         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34085         Likewise.
34086         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
34087         __fegetround and define as weak alias of __fegetround.  Use
34088         libm_hidden_weak.
34089         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34090         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34091         * sysdeps/tile/math_private.h (__fegetround): New inline function.
34092         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
34093         __fegetround and define as weak alias of __fegetround.  Use
34094         libm_hidden_weak.
34095         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
34096         __fegetround instead of fegetround.
34098         [BZ #17782]
34099         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
34100         Condition macro definition on [__USE_MISC].
34102         [BZ #17781]
34103         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34104         (struct sigaction): Change type of sa_flags field to int.
34106         [BZ #17780]
34107         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
34108         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
34109         __glibc_reserved0.
34111         * nptl/version.c (banner): Use single year in copyright notice.
34113         * NEWS: Update copyright dates.
34114         * catgets/gencat.c (print_version): Likewise.
34115         * csu/version.c (banner): Likewise.
34116         * debug/catchsegv.sh: Likewise.
34117         * debug/pcprofiledump.c (print_version): Likewise.
34118         * debug/xtrace.sh (do_version): Likewise.
34119         * elf/ldconfig.c (print_version): Likewise.
34120         * elf/ldd.bash.in: Likewise.
34121         * elf/pldd.c (print_version): Likewise.
34122         * elf/sotruss.sh: Likewise.
34123         * elf/sprof.c (print_version): Likewise.
34124         * iconv/iconv_prog.c (print_version): Likewise.
34125         * iconv/iconvconfig.c (print_version): Likewise.
34126         * locale/programs/locale.c (print_version): Likewise.
34127         * locale/programs/localedef.c (print_version): Likewise.
34128         * login/programs/pt_chown.c (print_version): Likewise.
34129         * malloc/memusage.sh (do_version): Likewise.
34130         * malloc/memusagestat.c (print_version): Likewise.
34131         * malloc/mtrace.pl: Likewise.
34132         * manual/libc.texinfo: Likewise.
34133         * nptl/version.c (banner): Likewise.
34134         * nscd/nscd.c (print_version): Likewise.
34135         * nss/getent.c (print_version): Likewise.
34136         * nss/makedb.c (print_version): Likewise.
34137         * posix/getconf.c (main): Likewise.
34138         * scripts/test-installation.pl: Likewise.
34139         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
34141 2015-01-02  Will Newton  <will.newton@linaro.org>
34143         * sysdeps/arm/armv7/configure: Removed.
34144         * sysdeps/arm/armv7/configure.ac: Likewise.
34146 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34148         * All files with FSF copyright notices: Update copyright dates
34149         using scripts/update-copyrights.
34150         * intl/plural.c: Regenerated.
34151         * locale/programs/charmap-kw.h: Likewise.
34152         * locale/programs/locfile-kw.h: Likewise.
34154 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34156         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
34158 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34160         [BZ #17748]
34161         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
34162         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
34163         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34164         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34165         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34166         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
34167         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34168         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
34169         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34170         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34171         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34172         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34173         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34174         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34175         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
34176         libm_hidden_def.
34177         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
34178         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
34179         Likewise.
34180         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34181         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34182         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34183         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34184         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
34185         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34186         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34187         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
34188         __fegetenv instead of fegetenv.
34189         (libc_feholdsetround_noex_ctx): Likewise.
34191 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34193         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
34194         (Elf_MIPS_ABIFlags_v0): New structure.
34195         (EF_MIPS_FP64): Define.
34196         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
34197         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
34198         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
34199         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
34200         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
34201         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
34202         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
34203         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
34204         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
34205         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
34206         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
34207         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
34208         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
34209         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
34210         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
34211         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
34212         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
34213         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
34214         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
34215         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
34216         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
34217         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
34218         field.
34219         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
34220         EF_MIPS_FP64.
34221         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
34222         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
34223         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
34224         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
34225         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
34226         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
34227         * sysdeps/mips/tst-abi-interlink.c: Likewise.
34228         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
34229         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
34230         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
34231         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
34232         record the current FP ABI extension.
34233         (mips-mode-switch): Define to show if kernel headers support mode
34234         switching.
34235         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
34236         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
34237         supported SYSV ABI version to 3.
34238         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
34239         feature.
34241 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34242             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34244         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
34245         path.
34246         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
34248 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34250         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
34251         __fegetround and redefine to call __fegetround.  Remove condition
34252         on [!__NO_MATH_INLINES].
34253         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
34254         function.
34255         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
34256         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34257         Remove macro.
34258         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
34259         instead of <fenv_libc.h>.
34260         (__llrintl): Call fegetround instead of __fegetround.
34261         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
34262         instead of <fenv_libc.h>.
34263         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34264         (__lrintl): Call fegetround instead of __fegetround.
34265         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
34266         instead of <fenv_libc.h>.
34267         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34268         (__rintl): Call fegetround instead of __fegetround.
34270 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34272         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
34273         arrays.
34275 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34277         [BZ #17775]
34278         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
34279         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
34280         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
34282 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34284         * sysdeps/i386/tls-macros.h: Include <features.h>.
34285         (TLS_LE): Use non-PIC version for GCC >= 5.0.
34286         (TLS_IE): Likewise.
34287         (TLS_LD): Likewise.
34288         (TLS_GD): Likewise.
34289         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
34290         define for GCC >= 5.0.
34292 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
34294         * math/test-fenv.c (test_single_exception, set_single_exc,
34295         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
34296         feexcp_mask_test, feenable_test, fe_single_test): Add
34297         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
34298         case where they are not used.
34299         * math/libm-test.inc: Likewise.
34300         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
34301         unused in the absence of FP rounding/exception support.
34302         * stdio-common/tst-printf-round.c: Likewise.
34303         * stdlib/tst-strtod-round.c: Likewise.
34304         * stdlib/tst-strtod-underflow.c: Likewise.
34306 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
34308         [BZ #17723]
34309         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
34310         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
34311         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34312         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34313         libm_hidden_weak.
34314         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
34315         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34316         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
34317         libm_hidden_def.
34318         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34319         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34320         libm_hidden_weak.
34321         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
34322         Likewise.
34323         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
34324         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34325         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34326         libm_hidden_weak.
34327         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34328         libm_hidden_def.
34329         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34330         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
34331         (__feraiseexcept): Likewise.
34332         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34333         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34334         libm_hidden_weak.
34335         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34336         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34337         libm_hidden_def.
34338         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
34339         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
34340         Use libm_hidden_def.
34341         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
34342         libm_hidden_def.
34343         (feraiseexcept): Define as weak not strong alias.  Use
34344         libm_hidden_weak.
34345         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
34346         New inline function.  Factored out of ...
34347         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
34348         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
34349         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
34350         feraiseexcept.
34351         * math/w_acos.c (__acos): Likewise.
34352         * math/w_asin.c (__asin): Likewise.
34353         * math/w_ilogb.c (__ilogb): Likewise.
34354         * math/w_j0.c (y0): Likewise.
34355         * math/w_j1.c (y1): Likewise.
34356         * math/w_jn.c (yn): Likewise.
34357         * math/w_log.c (__log): Likewise.
34358         * math/w_log10.c (__log10): Likewise.
34359         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
34360         * sysdeps/aarch64/fpu/math_private.h
34361         (libc_feupdateenv_test_aarch64): Likewise.
34362         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34363         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
34364         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
34365         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34366         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34367         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34368         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
34369         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34370         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34371         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34373 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34375         [BZ #17732]
34376         * io/test-utime.c (main): Replace %ld with %jd and cast to
34377         intmax_t.
34378         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
34379         * nptl/tst-mutex5.c: Include <stdint.h>.
34380         (do_test): Replace %ld with %jd and cast to intmax_t.
34381         * posix/tst-regex.c (run_test): Likewise.
34382         (run_test_backwards): Likewise.
34383         * rt/tst-clock.c: Include <stdint.h>.
34384         (clock_test): Replace %ld with %jd and cast to intmax_t.
34385         * rt/tst-cpuclock1.c: Include <stdint.h>.
34386         (do_test): Replace %lu with %ju and cast to uintmax_t.
34387         * rt/tst-cpuclock2.c: Include <stdint.h>.
34388         (do_test): Replace %lu with %ju and cast to uintmax_t.
34389         * rt/tst-mqueue1.c: Include <stdint.h>.
34390         (check_attrs): Replace %ld with %jd and cast to intmax_t.
34391         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
34392         intmax_t.
34393         * rt/tst-mqueue4.c (do_test): Likewise.
34394         * rt/tst-timer4.c: Include <stdint.h>.
34395         (check_ts): Replace %ld with %jd and cast to intmax_t.
34396         (do_test): Likewise.
34397         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
34398         and cast to intmax_t.
34399         * sysdeps/pthread/tst-timer.c (main): Likewise.
34400         * time/clocktest.c (main): Likewise.
34401         * time/tst-posixtz.c (do_test): Likewise.
34402         * timezone/tst-timezone.c (main): Likewise.
34404 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34405             H.J. Lu  <hongjiu.lu@intel.com>
34407         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
34408         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34409         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
34410         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
34411         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
34412         version if bit_Fast_Unaligned_Load is set.
34413         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34414         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34415         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34416         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34417         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34418         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34419         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34420         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
34421         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
34422         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
34423         to 4.
34424         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
34425         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
34426         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
34427         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
34429 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
34431         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
34432         instead of #if to avoid a Wundef warning.
34433         * stdlib/tst-limits.c (do_test): Likewise.
34435         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
34436         parallel other exception macros.
34437         (fegetenv): Convert from macro to extern inline so that it applies
34438         retroactively to inline functions already seen by the compiler.
34439         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
34441         * posix/Makefile (before-compile): Use $(objpfx) for
34442         posix-conf-vars-def.h.
34444 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34446         * posix/getconf.c (main): Use size_t for type of I.
34447         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
34448         NSPEC.
34450         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
34451         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
34452         * posix/posix-envs.def: Likewise.
34453         * sysdeps/posix/sysconf.c: Likewise.
34454         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
34455         (specs): Remove array.
34456         * scripts/gen-posix-conf-vars.awk: Support generation of specs
34457         array.
34459         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
34460         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
34461         (__sysconf): Use CONF_IS_* macros.
34463         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
34464         ($(objpfx)posix-conf-vars-def.h): New target.
34465         * posix/posix-conf-vars.list: New file.
34466         * posix/posix-conf-vars.h: New file.
34467         * posix/confstr.c: Include posix-conf-vars.h.
34468         (confstr): Use CONF_IS_* macros.
34469         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
34470         CONF_IS_* macros.
34471         * scripts/gen-posix-conf-vars.awk: New file.
34473 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
34475         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
34476         fegetround): Add no-op macros to avoid linknamespace issues.
34478         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
34479         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
34481         * sysdeps/unix/sysv/linux/tile/sysdep.h
34482         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
34483         assembly-specific section to avoid a redefinition warning.
34485         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
34486         long before casting to pointer to avoid a cast warning.
34488 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
34490         * sysdeps/tile/tilegx/Implies: New file.
34492 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
34494         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
34496 2014-12-23  Florian Weimer  <fweimer@redhat.com>
34498         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
34500 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34502         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
34503         not define.
34504         * sysdeps/unix/sysv/linux/utimes.c: Do not include
34505         <kernel-features.h>.
34506         (__utimes) [__NR_utimes]: Make code unconditional.
34507         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
34508         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34509         (__ASSUME_UTIMES): Do not undefine.
34510         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34511         (__ASSUME_UTIMES): Likewise.
34512         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34513         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
34514         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
34515         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
34517 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34519         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
34521 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
34523         [BZ #17747]
34524         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
34525         alias to weak alias for j0l, y0l.
34526         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
34527         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
34529         [BZ #17746]
34530         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
34531         conversion.
34533 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34535         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
34536         to zero if not already defined.
34538 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34540         [BZ #17724]
34541         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
34542         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
34543         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
34544         (char *) casts added.
34545         * sysdeps/ieee754/k_standardf.c: New file.
34546         * sysdeps/ieee754/k_standardl.c: Likewise.
34547         * math/Makefile (libm-support): Remove k_standard.
34548         (libm-calls): Add k_standard.
34550 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34552         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34553         Optimize to avoid an unnecessary FPCR read.
34555 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34557         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
34558         Optimize to reduce FPCR/FPSR accesses.
34560 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34562         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
34563         Call libc_fetestexcept_aarch64.
34565 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34567         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
34568         Call libc_fesetround_aarch64.
34570 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34572         [BZ #17733]
34573         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
34574         (__bind): Do not define as weak alias.
34575         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
34576         define.
34577         (__getsockname): Do not define as weak alias.
34579 2014-12-22  Will Newton  <will.newton@linaro.org>
34581         * manual/install.texi: Document that we require bison 2.7
34582         or above.
34583         * INSTALL: Regenerate.
34584         * configure.ac: Use AC_CHECK_PROG_VER instead of
34585         AC_PATH_PROG when checking for bison and check for
34586         version 2.7 or above.
34587         * configure: Regenerate.
34589 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
34591         [BZ #17745]
34592         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
34593         * sysdeps/tile/ffsll.c (ffsll): To here.
34595         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
34597 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34599         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
34600         if not defined.
34601         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
34602         definition.
34603         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34604         hidden ___tls_get_addr.
34605         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34606         hidden __tls_get_addr.
34607         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
34608         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
34609         Likewise.
34611 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34613         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
34614         _dl_init call.
34616 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34618         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
34619         from "call _dl_init@PLT".
34620         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
34622 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
34624         * manual/search.texi: (Array Sort Function): Clarify stable sorting
34625         guarantees.
34627 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
34629         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
34631 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34633         [BZ #17744]
34634         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
34635         strnlen.
34637 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34639         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
34640         of multu on MIPSr6.
34641         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
34642         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
34643         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
34644         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
34645         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
34647 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34649         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
34650         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
34651         (PTR_SUBU): Use subu for mips32r6/mips64r6.
34652         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
34653         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
34654         mips32r6/mips64r6.
34655         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
34657 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
34659         * string/strncat.c (STRNCAT): Simplify implementation.
34661 2014-12-19  David S. Miller  <davem@davemloft.net>
34663         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
34664         access the quad as both a long double and as a series of 4 words.
34666         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
34667         link_map->l_info array access.
34669 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34671         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
34673         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
34674         * math/atest-exp2.c (TIMEOUT): Likewise.
34675         * math/atest-sincos.c (TIMEOUT): Likewise.
34677 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34679         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
34680         -Wno-error with -fno-builtin-lround.
34682 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34684         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
34685         Contains futex constants and functions moved over from ...
34686         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
34687         <lowlevellock-futex.h>.
34688         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34689         (lll_timedwait_tid): Add comments and parentheses around macro
34690         arguments.
34692 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34694         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
34695         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
34696         (__lll_private_flag): Remove.
34697         (lll_futex_wait): Likewise.
34698         (lll_futex_timed_wait): Likewise.
34699         (lll_futex_wake): Likewise.
34700         (lll_futex_requeue): Likewise.
34701         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34702         (__lll_timedwait_tid): Spell out argument names.
34703         (lll_timedwait_tid): Add comments and parentheses around macro
34704         arguments.
34705         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
34706         LLL_SHARED and LLL_PRIVATE usable from assembly code.
34708 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34710         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
34711         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34712         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34713         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
34714         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
34715         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
34716         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
34717         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
34718         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
34719         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
34720         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
34721         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
34722         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
34723         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
34724         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
34725         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
34726         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
34727         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
34728         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
34730 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34732         * sysdeps/x86_64/x32/Makefile: New file.
34734 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34736         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
34737         1L with (mp_limb_t) 1.
34739 2014-12-17  Roland McGrath  <roland@hack.frob.com>
34741         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
34742         * nptl/libc_pthread_init.c: ... here.
34743         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
34744         * nptl/register-atfork.c: ... here.
34746         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
34747         Use pthread_sigmask rather than INTERNAL_SYSCALL.
34748         Use assert_perror to check its return value.
34749         (__gai_create_helper_thread): Likewise.
34751         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
34753         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
34755 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
34757         [BZ #17725]
34758         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
34759         __profil_counter.
34760         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
34761         Likewise.
34762         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
34763         Likewise.
34764         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
34765         Likewise.
34766         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
34767         (profil_counter): Likewise.
34768         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
34769         (profil_counter): Likewise.
34770         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
34771         Likewise.
34772         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
34773         Likewise.
34774         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
34775         (profil_counter): Likewise.
34776         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
34777         Likewise.
34778         [!__profil_counter] (profil_counter): Define as weak alias of
34779         __profil_counter.
34780         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
34781         (profil_counter): Rename to __profil_counter.
34782         [!__profil_counter] (profil_counter): Define as weak alias of
34783         __profil_counter.
34784         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
34785         (profil_counter): Rename to __profil_counter.
34786         [!__profil_counter] (profil_counter): Define as weak alias of
34787         __profil_counter.
34788         * sysdeps/posix/profil.c: Update comment referring to
34789         profil_counter.
34790         (__profil): Use __profil_counter instead of profil_counter.
34791         * sysdeps/posix/sprofil.c (profil_counter): Rename to
34792         __profil_counter.  Use __profil_counter_ushort and
34793         __profil_counter_uint in definitions.
34794         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
34795         instead of profil_counter_uint and profil_counter_ushort.
34797         [BZ #17722]
34798         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
34799         define as weak alias of __inet_makeaddr.
34800         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
34801         as weak alias of __inet_addr.
34802         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
34803         as weak alias of __inet_pton.  Use libc_hidden_weak.
34804         * include/arpa/inet.h (__inet_pton): Declare.  Use
34805         libc_hidden_proto.
34806         (inet_makeaddr): Don't use libc_hidden_proto.
34807         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
34808         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
34809         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
34810         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
34811         Remove variable.
34812         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
34813         (test-xfail-POSIX/time.h/linknamespace): Likewise.
34815 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
34817         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
34819 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34821         * stdio-common/bug-vfprintf-nargs.c (do_test):
34822         Cast value to intptr_t to avoid format warning
34823         for usage with PRIdPTR printing macro.
34825 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34827         * libio/tst-widetext.c (do_test):
34828         Use format type %td instead of %Zd for ptrdiff_t
34829         in order to avoid format warning.
34831 2014-12-17  Andreas Schwab  <schwab@suse.de>
34833         * nscd/mem.c (gc): Add size_t cast to match printf format.
34835 2014-12-16  Roland McGrath  <roland@hack.frob.com>
34837         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
34838         (init): Apply PTR_MANGLE to pointers before storing them.
34839         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
34840         before using them.
34842 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
34844         [BZ #17719]
34845         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
34846         define as weak alias of __memrchr.
34847         (__memrchr): Do not define as strong alias of memrchr.
34848         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
34849         Remove variable.
34850         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
34851         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34852         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34854         [BZ #17717]
34855         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
34856         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
34857         (if_indextoname): Rename to __if_indextoname and define as weak
34858         alias of __if_indextoname.  Use libc_hidden_weak.
34859         (if_freenameindex): Rename to __if_freenameindex and define as
34860         weak alias of __if_freenameindex.
34861         (if_nameindex): Rename to __if_nameindex and define as weak alias
34862         of __if_nameindex.
34863         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
34864         __if_nametoindex and define as weak alias of __if_nametoindex.
34865         Use libc_hidden_weak.
34866         (if_freenameindex): Rename to __if_freenameindex and define as
34867         weak alias of __if_freenameindex.
34868         (if_nameindex): Rename to __if_nameindex and define as weak alias
34869         of __if_nameindex.
34870         (if_indextoname): Rename to __if_indextoname and define as weak
34871         alias of __if_indextoname.  Use libc_hidden_weak.
34872         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
34873         __if_nametoindex and define as weak alias of __if_nametoindex.
34874         Use libc_hidden_weak.
34875         (if_freenameindex): Rename to __if_freenameindex and define as
34876         weak alias of __if_freenameindex.  Use libc_hidden_weak.
34877         (if_nameindex_netlink): Use __if_freenameindex instead of
34878         if_freenameindex.
34879         (if_nameindex): Rename to __if_nameindex and define as weak alias
34880         of __if_nameindex.  Use libc_hidden_weak.
34881         (if_indextoname): Rename to __if_indextoname and define as weak
34882         alias of __if_indextoname.  Use libc_hidden_weak.
34883         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
34884         libc_hidden_proto.
34885         [!_ISOMAC] (__if_freenameindex): Likewise.
34886         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
34887         if_nametoindex.
34888         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
34889         variable.
34890         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
34891         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
34892         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
34893         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
34894         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
34895         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
34896         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34898         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
34899         Remove variable.
34900         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34901         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34903 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34905         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
34906         subscript above bounds'
34908         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
34909         bounds.
34911 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
34913         * libio/tst-fopenloc.c: Use test-skeleton.c.
34915         * stdlib/tst-bsearch.c: Use test-skeleton.c.
34916         (entry): Rename to ITEM.
34917         (do_test, comp): Adjust.
34919         * stdio-common/tst-fseek.c: Use test-skeleton.c.
34921 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34923         * string/tester.c: Include <libc-internal.h>.
34924         (test_memset): Ignore -Wmemset-transposed-args.
34926 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34928         * misc/tst-mntent2.c (do_test): Fix warning.
34930 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34932         * elf/tst-unique4lib.cc(a): Mark as used.
34934 2014-12-16  Florian Weimer  <fweimer@redhat.com>
34936         [BZ #17630]
34937         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
34938         names.
34940 2014-12-16  Allan McRae  <allan@archlinux.org>
34942         * stdio-common/Makefile (tests): Re-add bug26.
34944 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
34946         [BZ #17657]
34947         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
34948         static array.
34950 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
34952         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
34953         (__lll_lock_wait): Likewise.
34954         (__lll_timedlock_wait): Likewise.
34955         (__lll_timedwait_tid): Likewise.
34956         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
34957         (__lll_robust_timedlock_wait): Likewise.
34958         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
34959         (lll_cond_trylock): Likewise.
34960         (__lll_lock): Likewise.
34961         (__lll_robust_lock): Likewise.
34962         (__lll_cond_lock): Likewise.
34963         (lll_robust_cond_lock): Likewise.
34964         (__lll_timedlock): Likewise.
34965         (__lll_robust_timedlock): Likewise.
34966         (__lll_unlock): Likewise.
34967         (__lll_robust_unlock): Likewise.
34968         (lll_wait_tid): Likewise.
34969         (lll_timedwait_tid): Likewise.
34971 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34973         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
34975 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34977         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
34979 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34981         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
34982         * stdio-common/tst-sprintf.c: Likewise.
34984 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34986         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
34988 2014-12-15  Jeff Law  <law@redhat.com>
34990         [BZ #16617]
34991         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
34992         on the heap.  (CVE-2012-3406)
34993         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
34994         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
34995         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
34997 2014-12-15  Will Newton  <will.newton@linaro.org>
34999         * manual/install.texi: Bump required version of texinfo
35000         to 4.7 from 4.5.
35001         * INSTALL: Regenerated.
35002         * configure.ac: Check for makeinfo version 4.7 and above.
35003         * configure: Regenerated.
35005 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35007         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
35008         PREFIX, string constant to insert between directory and name.
35009         * sysdeps/posix/shm_open.c: Update caller.
35010         * sysdeps/posix/shm_unlink.c: Likewise.
35011         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
35012         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
35013         (SEM_SHM_PREFIX): New macro.
35014         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
35015         [$(have-thread-library) = no].
35016         * nptl/Makefile (libpthread-routines): Add shm-directory.
35017         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
35018         * sysdeps/nptl/shm-directory.h: New file.
35019         * sysdeps/posix/shm-directory.c
35020         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
35021         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
35022         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
35023         INTERNAL_SYSCALL.
35024         (__where_is_shmfs): Function removed.
35025         (mountpoint, defaultmount, defaultdir, __namedsem_once):
35026         Variables removed.
35027         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
35028         Use SHM_GET_NAME.
35029         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
35031         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
35032         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
35033         unconditional for use inside libpthread.
35034         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
35036 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35038         * nptl/pthread_getaffinity.c: New file.
35039         * nptl/pthread_setaffinity.c: New file.
35040         * nptl/pthread_getname.c: New file.
35041         * nptl/pthread_setname.c: New file.
35043         * nptl/pthread_create.c (START_THREAD_DEFN)
35044         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
35046 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35047             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35049         * resolv/res_send.c (send_vc): Disable warning resplen may
35050         be used uninitialized.
35052 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35054         * nptl/tst-mutex6.c
35055         (ATTR_NULL): New define checks ATTR against NULL.
35056         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
35057         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
35059 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
35061         [BZ #17581]
35062         * malloc/hooks.c
35063         (mem2mem_check): Revert my previous change.
35064         (malloc_check_get_size): Revert my previous change.
35065         (mem2chunk_check): Revert my previous change.
35067 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35069         * sysdeps/posix/shm-directory.c: New file.
35070         * sysdeps/posix/shm-directory.h: New file.
35071         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
35072         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
35073         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
35074         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
35075         Transmute EPERM to EACCES.
35076         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
35077         from ...
35078         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
35079         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
35081 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35083         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
35084         pointer and cast to uintptr_t.
35085         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
35086         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
35087         Add cast to avoid warning.
35088         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
35090 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35092         * nptl/semaphore.h: Move to ...
35093         * sysdeps/pthread/semaphore.h: ... here.
35094         * Makefile (installed-headers): Change nptl/semaphore.h to
35095         sysdeps/pthread/semaphore.h.
35097 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35099         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
35100         generated error format strings.
35102         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
35103         -Wformat-extra-args warnings for scanf formats.
35104         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
35105         test of zero-length format (duh).
35106         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
35107         corner-case scanf format test.
35108         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
35109         generated fprintf format string.
35110         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
35111         corner-case sprintf format tests.
35112         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
35113         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
35114         -Wformat-extra-args warnings throughout.
35115         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
35116         (CFLAGS-scanf4.c): Likewise.
35117         (CFLAGS-scanf7.c): Likewise.
35118         (CFLAGS-tst-sprintf.c): Likewise.
35119         (CFLAGS-tst-printf.c): Likewise.
35120         (CFLAGS-tst-printfsz.c): Likewise.
35122 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35124         * include/cpio.h: New file.
35125         * include/fmtmsg.h: Likewise.
35127         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
35128         corresponding format argument to size_t.
35129         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
35130         arguments.
35131         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
35132         corresponding format argument to size_t.
35133         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
35134         arguments.
35135         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
35136         corresponding format argument to size_t.
35137         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
35138         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
35139         (CFLAGS-tst-mbswcs2.c): Likewise.
35140         (CFLAGS-tst-mbswcs3.c): Likewise.
35141         (CFLAGS-tst-mbswcs4.c): Likewise.
35142         (CFLAGS-tst-mbswcs5.c): Likewise.
35143         (CFLAGS-tst-trans.c): Likewise.
35145 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35147         * posix/regexbug1.c (main): Use "%s" format with regerror results,
35148         rather than assuming they won't contain any '%'s.
35150 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
35152         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
35153         inhibit_loop_to_libcall to avoid recursive calls.
35154         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
35155         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
35157 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35159         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
35160         prototype.
35162 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35164         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
35165         integer value instead of boolean.
35167 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35169         * malloc/malloc.c: Fix powerof2 check.
35171 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35173         * locale/programs/locfile.h (maybe_swap_uint32):
35174         Remove inline and add unused attribute.
35176 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35178         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35179         Truncating assembler expression to a .long expression.
35181 2014-12-11  Andreas Schwab  <schwab@suse.de>
35183         * elf/rtld.c (struct map_args): Constify str member.
35184         (do_preload): Constify fname argument.
35186 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35188         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
35189         constants definition.
35191 2014-12-11  Andreas Schwab  <schwab@suse.de>
35193         [BZ #16657]
35194         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
35195         FORCE_ELISION instead of DO_ELISION.
35196         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
35197         Remove.
35198         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
35199         Likewise.
35201         * iconvdata/gconv-modules: Remove duplicate entry.
35203 2014-12-11  Will Newton  <will.newton@linaro.org>
35205         Merge gettext 0.19.3 into intl/.
35207         This involves a number of cosmetic changes to comments
35208         and ANSI function definitions and prototypes throughout
35209         all the files. The gettext copyright header is used but
35210         with the date ranges taken from the glibc copy.
35212         * NEWS: Add gettext merge to 2.21.
35213         * intl/bindtextdom.c: Switch to gettext copyright.
35214         Use ANSI definitions and prototypes.
35215         Use gl_* locking primitives rather than __libc_* ones.
35216         Use __builtin_expect rather than __glibc_likely/unlikely.
35217         * intl/dcgettext.c: Switch to gettext copyright.
35218         Use ANSI definitions and prototypes.
35219         * intl/dcigettext.c: Switch to gettext copyright.
35220         Use ANSI definitions and prototypes.
35221         (INTDIV0_RAISES_SIGFPE): New define.
35222         Use gl_* locking primitives rather than __libc_* ones.
35223         Include eval-plural.h instead of plural-eval.c.
35224         Use __builtin_expect rather than __glibc_likely/unlikely.
35225         * intl/dcngettext.c: Switch to gettext copyright.
35226         Use ANSI definitions and prototypes.
35227         * intl/dgettext.c: Likewise.
35228         * intl/dngettext.c: Likewise.
35229         * intl/plural-eval.c: Renamed to...
35230         * intl/eval-plural.h: ...this.
35231         * intl/explodename.c: Switch to gettext copyright.
35232         Use ANSI definitions and prototypes.
35233         (_nl_explode_name): Use strchr instead of __rawmemchr.
35234         * intl/finddomain.c: Switch to gettext copyright.
35235         Use ANSI definitions and prototypes.
35236         Use gl_* locking primitives rather than __libc_* ones.
35237         (_nl_find_domain): Use malloc rather than alloca for
35238         allocation of temporary locale name.
35239         * intl/gettext.c: Switch to gettext copyright.
35240         Use ANSI definitions and prototypes.
35241         * intl/gettextP.h: Switch to gettext copyright.
35242         Use ANSI definitions and prototypes.
35243         Use gl_* locking primitives rather than __libc_* ones.
35244         * intl/gmo.h: Switch to gettext copyright.
35245         (struct sysdep_string): Move struct segment_pair outside of
35246         struct definition.
35247         * intl/hash-string.c: Use ANSI definitions and prototypes.
35248         * intl/hash-string.h: Switch to gettext copyright.
35249         Use ANSI definitions and prototypes.
35250         * intl/l10nflist.c: Switch to gettext copyright.
35251         Use ANSI definitions and prototypes.
35252         (_nl_normalize_codeset): Avoid integer overflow.
35253         * intl/loadinfo.h: Switch to gettext copyright.
35254         Use ANSI definitions and prototypes.
35255         (LIBINTL_DLL_EXPORTED): New define.
35256         (PATH_SEPARATOR): New define.
35257         * intl/loadmsgcat.c: Switch to gettext copyright.
35258         * intl/localealias.c: Switch to gettext copyright.
35259         Use ANSI definitions and prototypes.
35260         (_nl_expand_alias): Use PATH_SEPARATOR.
35261         * intl/ngettext.c: Switch to gettext copyright.
35262         Use ANSI definitions and prototypes.
35263         * intl/plural-exp.c: Likewise.
35264         * intl/plural-exp.h: Switch to gettext copyright.
35265         Use ANSI definitions and prototypes.
35266         (struct expression): Move definition of enum operator outside
35267         of struct definition.
35268         * intl/plural.c: Regenerate.
35269         * intl/plural.y: Switch to gettext copyright.
35270         Use ANSI definitions and prototypes.
35271         Port to bison 3.0.
35272         * intl/textdomain.c: Switch to gettext copyright.
35273         Use ANSI definitions and prototypes.
35274         Use gl_* locking primitives rather than __libc_* ones.
35276 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
35278         * debug/warning-nop.c: Add used atrribute.
35280 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35282         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
35284         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
35285         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
35286         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
35288 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35289             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35291         [BZ #17634]
35292         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
35293         Undefine after defining function.  Define as weak alias of
35294         __wcschr.  Use libc_hidden_weak.
35295         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
35296         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
35297         (libc_hidden_def): Also define __GI___wcschr alias.
35298         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
35299         __wcschr and define as weak alias of __wcschr.
35300         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
35301         __wcschr.
35302         [!WCSCHR] (DEFAULT_WCSCHR): Define.
35303         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
35304         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
35305         libc_hidden_weak.  Do not use libc_hidden_def.
35306         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
35307         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
35308         __GI___wcschr alias.
35309         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
35310         [IS_IN (libc)] (wcschr): Define as macro expanding to
35311         __redirect_wcschr.
35312         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
35313         [IS_IN (libc)] (__wcschr_power6): Likewise.
35314         [IS_IN (libc)] (__wcschr_power7): Likewise.
35315         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
35316         instead of wcschr.
35317         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
35318         __libc_wcschr.
35319         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
35320         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
35321         __wcschr and define as weak alias of __wcschr.  Use
35322         libc_hidden_builtin_def.
35323         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
35324         as weak alias of __wcschr.  Use libc_hidden_weak.
35325         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
35326         wcschr.
35327         * time/era.c (_nl_init_era_entries): Likewise.
35328         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
35329         variable.
35330         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35331         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35333 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35335         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
35336         format for long int variable.
35338 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
35340         [BZ #10672]
35341         * manual/search.texi: (Array Sort Function): Remove claim how to make
35342         qsort stable.
35344 2014-12-10  Andreas Schwab  <schwab@suse.de>
35346         [BZ #12847]
35347         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
35348         user-controlled locks.
35350 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
35352         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
35353         register.
35355 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35357         * configure.ac (--disable-werror): New configure option.
35358         (enable_werror): New AC_SUBST.
35359         * configure: Regenerated.
35360         * config.make.in (enable-werror): New variable.
35361         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
35362         -Wno-error=undef.
35363         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
35364         * manual/install.texi (Configuring and compiling): Document
35365         --disable-werror.
35366         * INSTALL: Regenerated.
35367         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
35368         (CFLAGS-tst-chk2.c): Likewise.
35369         (CFLAGS-tst-chk3.c): Likewise.
35370         (CFLAGS-tst-chk4.cc): Likewise.
35371         (CFLAGS-tst-chk5.cc): Likewise.
35372         (CFLAGS-tst-chk6.cc): Likewise.
35373         (CFLAGS-tst-lfschk1.c): Likewise.
35374         (CFLAGS-tst-lfschk2.c): Likewise.
35375         (CFLAGS-tst-lfschk3.c): Likewise.
35376         (CFLAGS-tst-lfschk4.cc): Likewise.
35377         (CFLAGS-tst-lfschk5.cc): Likewise.
35378         (CFLAGS-tst-lfschk6.cc): Likewise.
35380         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
35381         (main): Disable -Wdeprecated-declarations around calls to
35382         register_printf_function.
35384         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
35385         (do_test): Disable -Wdiv-by-zero around some calls to
35386         fwrite_unlocked and fread_unlocked.
35388         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
35389         (DIAG_POP_NEEDS_COMMENT): Likewise.
35390         (_DIAG_STR1): Likewise.
35391         (_DIAG_STR): Likewise.
35392         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
35393         * stdio-common/bug21.c: Include <libc-internal.h>.
35394         (do_test): Disable -Wformat around call to sscanf.
35395         * stdio-common/scanf14.c: Include <libc-internal.h>.
35396         (main): Disable -Wformat around some calls to scanf functions.
35398 2014-12-09  Torvald Riegel  <triegel@redhat.com>
35400         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
35402 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35404         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
35405         stack variable alignment.
35407 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
35409         [BZ #17682]
35410         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
35411         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
35412         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
35413         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
35414         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
35415         __getrlimit instead of getrlimit.
35416         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
35417         __gettimeofday instead of gettimeofday.
35418         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35419         Likewise.
35420         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
35421         Likewise.
35422         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35423         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
35424         Remove variable.
35425         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35426         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35428 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35430         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
35431         for wide-character tests.
35433 2014-12-04  Roland McGrath  <roland@hack.frob.com>
35435         * io/openat64.c: #include <libc-internal.h>
35436         (__openat64): Prototypify.  Use ignore_value on MODE.
35437         * io/openat.c: Likewise.
35438         * misc/reboot.c: #include <libc-internal.h>
35439         (reboot): Prototypify.  Use ignore_value on HOWTO.
35440         * misc/ptrace.c: #include <libc-internal.h>
35441         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
35443 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
35445         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
35446         XPG4, UNIX98 and XOPEN2K.
35447         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
35448         Remove variable.
35449         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35451 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35453         * libio/fileops.c: Use ISO C style for function definitions.
35454         * libio/iofopen.c: Likewise.
35455         * libio/wfileops.c: Likewise.
35457         [BZ #17653]
35458         * libio/fileops.c (_IO_new_file_underflow): Unset cached
35459         offset on EOF.
35460         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
35461         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
35462         (fgets_func): Function pointer to fgets and fgetws.
35463         (do_ftell_test): Add test to verify ftell value after read
35464         EOF.
35465         (do_test): Set fgets_func.
35467         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
35468         O_TRUNC flag for w and w+ modes.
35469         (do_rewind_test): Likewise.
35470         (do_ftell_test): Likewise.
35471         (do_write_test): Likewise.
35473         [BZ #17647]
35474         * libio/fileops.c (do_ftell): Seek only when there are
35475         unflushed writes.
35476         * libio/wfileops.c (do_ftell_wide): Likewise.
35477         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
35478         test case.
35479         (do_one_test): Call it.
35481 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
35483         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
35484         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
35485         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
35486         Remove variable.
35487         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35488         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35489         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35491 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35493         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
35494         Remove variable.
35495         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35497         [BZ #17668]
35498         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
35499         as weak alias of __getifaddrs.  Use libc_hidden_weak.
35500         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35501         __freeifaddrs.  Use libc_hidden_weak.
35502         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
35503         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
35504         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35505         __freeifaddrs.  Use libc_hidden_weak.
35506         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
35507         __getifaddrs and define as weak alias of __getifaddrs.  Use
35508         libc_hidden_weak.
35509         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35510         __freeifaddrs.  Use libc_hidden_weak.
35511         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
35512         Remove variable.
35513         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35514         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35516 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
35518         [BZ #17601]
35519         * sysdeps/mips/start.S (__start): Use indirect jump to call
35520         __libc_start_main.
35522 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35524         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
35526         * nptl/tst-mutex1.c: Include <stdbool.h>.
35527         [!ATTR] (ATTR_NULL): New macro.
35528         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
35529         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
35530         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
35532         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
35533         to char *.
35535         [BZ #17665]
35536         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
35537         Change conditional to [__USE_MISC].
35539         [BZ #17664]
35540         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
35541         fgets_unlocked.
35542         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
35543         __fgets_unlocked.
35544         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
35545         fgets_unlocked.
35546         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
35547         Remove variable.
35548         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35549         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35550         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35551         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35552         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35553         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35554         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35555         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35556         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35558         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
35560 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35562         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35563         Remove strpbrk objects.
35564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35565         (__libc_ifunc_impl_list): Remove strpbrk implementation.
35566         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
35567         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
35568         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
35569         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
35571         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35572         Remove strcspn objects.
35573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35574         (__libc_ifunc_impl_list): Remove strcspn implementation.
35575         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
35576         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
35577         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
35578         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
35580         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35581         Remove strspn objetcs.
35582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35583         (__libc_ifunc_impl_list): Remove strspn implementation.
35584         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
35585         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35586         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
35587         * sysdeps/powerpc/powerpc64/strspn.S: New file.
35589 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
35591         [BZ #17581]
35592         * malloc/hooks.c
35593         (mem2mem_check): Add a terminator to the chain of checking blocks.
35594         (malloc_check_get_size): Use it here.
35595         (mem2chunk_check): Ditto.
35597 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35599         * sysdeps/powerpc/powerpc64/strtok.S: New file.
35600         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
35602 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
35604         * bits/ioctl-types.h: Indent preprocessor directives correctly.
35606         * nptl/nptl-init.c: Include libc-internal.h.
35607         (__pthread_initialize_minimal_internal): Use ROUND_UP.
35609         * elf/ldconfig.c (search_dir): Expand comment.
35611 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
35613         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
35614         variable.
35615         (linknamespace-symlist-stdlibs-tests): Likewise.
35616         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
35617         instead of $(objpfx)symlist-stdlibs.
35618         (linknamespace-libs-isoc): New variable.
35619         (linknamespace-libs): Use $(linknamespace-libs-isoc).
35620         (linknamespace-libs-ISO): New variable.
35621         (linknamespace-libs-ISO99): Likewise.
35622         (linknamespace-libs-ISO11): Likewise.
35623         (linknamespace-libs-XPG3): Likewise.
35624         (linknamespace-libs-XPG4): Likewise.
35625         (linknamespace-libs-POSIX): Likewise.
35626         (linknamespace-libs-UNIX98): Likewise.
35627         (linknamespace-libs-XOPEN2K): Likewise.
35628         (linknamespace-libs-POSIX2008): Likewise.
35629         (linknamespace-libs-XOPEN2K8): Likewise.
35630         ($(objpfx)symlist-stdlibs): Replace by
35631         $(linknamespace-symlist-stdlibs-tests).  Use
35632         $(linknamespace-libs-$*) as set of libraries.
35633         ($(linknamespace-header-tests)): Update dependencies.  Use
35634         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
35635         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
35636         * conform/linknamespace.pl: Remove comment about considering
35637         definitions of symbols from irrelevant libraries.
35639 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
35641         [BZ #13862]
35642         * elf/dl-tls.c: Include <atomic.h>.
35643         (oom): Remove #ifdef SHARED/#endif.
35644         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
35645         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
35646         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
35647         big enough.
35648         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
35649         * nptl/Makefile (tests): Add tst-stack4.
35650         (modules-names): Add tst-stack4mod.
35651         ($(objpfx)tst-stack4): New.
35652         (tst-stack4mod.sos): Likewise.
35653         ($(objpfx)tst-stack4.out): Likewise.
35654         ($(tst-stack4mod.sos)): Likewise.
35655         (clean): Likewise.
35656         * nptl/tst-stack4.c: New file.
35657         * nptl/tst-stack4mod.c: Likewise.
35659 2014-11-27  J. Brown  <jb999@gmx.de>
35661         * sysdeps/x86/bits/string.h: Add recent CPUs.
35663 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35665         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
35666         sigblock.
35668         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
35669         feof.
35671         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
35672         variable.
35674 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
35676         * nscd/connections.c: Include libc-internal.h because of macro
35677         usage ignore_value.
35679 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35681         * string/bits/string3.h (__warn_memset_zero_len): Don't
35682         declare for gcc newer than 5.0.
35683         (memset): Don't test for zero-length __LEN for gcc newer than
35684         5.0.
35686 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35688         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
35689         size_t for %zu format.
35691         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
35692         difference, not %ju.
35694 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35696         * include/libc-internal.h (ignore_value): New macro.
35697         * nscd/connections.c (restart): Wrap calls to setuid and setgid
35698         with ignore_value.
35700         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
35701         definition.
35703         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
35704         pthread_cleanup_push to void *.
35706         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
35707         Undefine.
35709         [BZ #16619]
35710         [BZ #16740]
35711         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
35712         instead of 1L << 52.
35714         * libio/bug-rewind.c (do_test): Check fwscanf return values.
35715         * libio/bug-rewind2.c (do_test): Likewise.
35717         * debug/test-stpcpy_chk-ifunc.c: Remove file.
35718         * debug/test-strcpy_chk-ifunc.c: Likewise.
35719         * wcsmbs/test-wcschr-ifunc.c: Likewise.
35720         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35721         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35722         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35723         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35724         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35725         * Rules [$(multi-arch) = no] (tests): Do not filter out
35726         $(tests-ifunc).
35727         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
35728         * debug/Makefile (tests-ifunc): Remove variable.
35729         (tests): Do not add $(tests-ifunc).
35730         * wcsmbs/Makefile (tests-ifunc): Remove variable.
35731         (tests): Do not add $(tests-ifunc).
35732         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
35733         [TEST_IFUNC]: Remove conditionals.
35734         * string/test-string.h (TEST_IFUNC): Remove macro.
35735         [TEST_IFUNC]: Remove conditionals.
35737         * string/test-strchr.c [!WIDE] (L): New macro.
35738         [WIDE] (L): Likewise.
35739         (check1): Use CHAR instead of char.  Use L on string and character
35740         constants.
35742 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
35744         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
35745         tests.
35746         * sysdeps/powerpc/bits/atomic.h
35747         (__arch_atomic_exchange_and_add_32_acq): Add definition.
35748         (__arch_atomic_exchange_and_add_32_rel): Likewise.
35749         (atomic_exchange_and_add_acq): Likewise.
35750         (atomic_exchange_and_add_rel): Likewise.
35751         * sysdeps/powerpc/powerpc32/bits/atomic.h
35752         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35753         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35754         * sysdeps/powerpc/powerpc64/bits/atomic.h
35755         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35756         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35758 2014-11-26  Torvald Riegel  <triegel@redhat.com>
35760         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
35761         Change synchronization of __sched_fifo_min_prio and
35762         __sched_fifo_max_prio.
35763         * nptl/pthread_mutexattr_getprioceiling.c
35764         (pthread_mutexattr_getprioceiling): Likewise.
35765         * nptl/pthread_mutexattr_setprioceiling.c
35766         (pthread_mutexattr_setprioceiling): Likewise.
35767         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
35768         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
35769         Likewise.
35771 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35773         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
35774         void.
35776 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35778         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
35779         third argument const.
35781 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
35783         fnmatch: work around GCC compiler warning bug with uninit var
35784         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
35785         This works around a bug with x86-64 GCC 4.9.2 and earlier
35786         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
35787         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
35788         used uninitialized in this function [-Wmaybe-uninitialized]".
35790 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35792         * posix/bug-regex31.c (main): Return RES not 0.
35794 2014-11-25  Anton Blanchard <anton@samba.org>
35796         * sysdeps/powerpc/bits/atomic.h
35797         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
35799 2014-11-24  Sterling Augustine  <saugustine@google.com>
35801         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
35803 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
35805         [BZ #17608]
35806         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
35808 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
35810         [BZ #17633]
35811         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
35812         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
35813         variable.
35814         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35815         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35817 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35819         * string/strncpy.c (strncpy): Improve performance by using memset.
35821 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35823         * string/strcpy.c (strcpy):
35824         Improve performance by using strlen and memcpy.
35826 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
35828         * string/strcoll_l.c (get_next_seq): __always_inline.
35829         * string/strcoll_l.c (do_compare): __always_inline.
35831 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35833         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
35834         defined.
35835         * include/mqueue.h: Likewise.
35836         * include/stdlib.h: Likewise.
35838         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
35839         (get_null_defines): Adjust.
35840         * sunrpc/Makefile: Adjust comment.
35841         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
35842         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
35843         (CFLAGS-interp.c): Likewise.
35844         (CFLAGS-ldconfig.c): Likewise.
35845         (CPPFLAGS-.os): Likewise.
35846         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35847         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35848         * extra-modules.mk (extra-modules.mk): Likewise.
35849         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
35850         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
35851         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
35852         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
35853         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
35854         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
35855         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
35856         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
35857         * iconvdata/Makefile (CPPFLAGS): Likewise.
35858         (cpp-srcs-left): Add libof for all iconvdata routines.
35859         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
35860         * include/assert.h: Likewise.
35861         * include/ctype.h: Likewise.
35862         * include/errno.h: Likewise.
35863         * include/libc-symbols.h: Likewise.
35864         * include/math.h: Likewise.
35865         * include/netdb.h: Likewise.
35866         * include/resolv.h: Likewise.
35867         * include/stdio.h: Likewise.
35868         * include/stdlib.h: Likewise.
35869         * include/string.h: Likewise.
35870         * include/sys/stat.h: Likewise.
35871         * include/wctype.h: Likewise.
35872         * intl/l10nflist.c: Likewise.
35873         * libidn/idn-stub.c: Likewise.
35874         * libio/libioP.h: Likewise.
35875         * nptl/libc_multiple_threads.c: Likewise.
35876         * nptl/pthreadP.h: Likewise.
35877         * posix/regex_internal.h: Likewise.
35878         * resolv/res_hconf.c: Likewise.
35879         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
35880         * sysdeps/arm/memmove.S: Likewise.
35881         * sysdeps/arm/sysdep.h: Likewise.
35882         * sysdeps/generic/_itoa.h: Likewise.
35883         * sysdeps/generic/symbol-hacks.h: Likewise.
35884         * sysdeps/gnu/errlist.awk: Likewise.
35885         * sysdeps/gnu/errlist.c: Likewise.
35886         * sysdeps/i386/i586/memcpy.S: Likewise.
35887         * sysdeps/i386/i586/memset.S: Likewise.
35888         * sysdeps/i386/i686/memcpy.S: Likewise.
35889         * sysdeps/i386/i686/memmove.S: Likewise.
35890         * sysdeps/i386/i686/mempcpy.S: Likewise.
35891         * sysdeps/i386/i686/memset.S: Likewise.
35892         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35893         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35894         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
35895         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
35896         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35897         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35898         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
35899         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35900         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35901         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35902         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35903         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35904         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35905         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35906         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35907         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35908         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
35909         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
35910         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
35911         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35912         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35913         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35914         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35915         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35916         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35917         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35918         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
35919         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35920         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
35921         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35922         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35923         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35924         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35925         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35926         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35927         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35928         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35929         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35930         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35931         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35932         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35933         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35934         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35935         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35936         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35937         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35938         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
35939         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
35940         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35941         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35942         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35943         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
35944         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
35945         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35946         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35947         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
35948         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35949         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
35950         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
35951         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35952         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35953         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35954         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
35955         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35956         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35957         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
35958         * sysdeps/posix/closedir.c: Likewise.
35959         * sysdeps/posix/opendir.c: Likewise.
35960         * sysdeps/posix/readdir.c: Likewise.
35961         * sysdeps/posix/rewinddir.c: Likewise.
35962         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
35963         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
35964         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35965         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35966         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35967         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
35968         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
35969         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
35970         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
35971         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
35972         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
35973         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
35974         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
35975         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
35976         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
35977         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
35978         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
35979         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
35980         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
35981         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
35982         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
35983         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
35984         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
35985         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
35986         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
35987         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
35988         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
35989         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
35990         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
35991         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
35992         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
35993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
35994         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
35995         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
35996         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
35997         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
35998         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35999         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36000         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
36001         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
36002         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
36003         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
36004         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
36005         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
36006         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
36007         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
36008         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
36009         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
36010         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
36011         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
36012         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
36013         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
36014         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
36015         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
36016         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
36017         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
36018         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
36019         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
36020         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
36021         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
36022         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
36023         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
36024         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
36025         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
36026         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
36027         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
36028         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
36029         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
36030         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
36031         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
36032         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
36033         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
36034         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
36035         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
36036         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
36037         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
36038         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
36039         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
36040         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36041         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
36042         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
36043         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36044         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
36045         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
36046         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36047         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
36048         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
36049         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36050         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36051         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36052         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
36053         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
36054         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
36055         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36056         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36057         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
36058         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36059         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36060         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
36061         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
36062         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36063         * sysdeps/unix/alpha/sysdep.S: Likewise.
36064         * sysdeps/unix/alpha/sysdep.h: Likewise.
36065         * sysdeps/unix/make-syscalls.sh: Likewise.
36066         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36067         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36068         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36069         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
36070         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36071         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
36072         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
36073         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36074         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36075         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
36076         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36077         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36078         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36079         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36080         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36081         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36082         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36083         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36084         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36085         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36086         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
36087         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36088         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36089         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36090         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36091         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36092         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36095         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
36096         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36097         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36098         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36099         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36100         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36101         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36102         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36103         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36104         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36105         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36106         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36107         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36108         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36109         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36110         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36111         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36112         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36113         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36114         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36115         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36116         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36117         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36118         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36119         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36120         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
36121         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36122         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36123         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36124         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
36125         * sysdeps/x86_64/memcpy.S: Likewise.
36126         * sysdeps/x86_64/memmove.c: Likewise.
36127         * sysdeps/x86_64/memset.S: Likewise.
36128         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
36129         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36130         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36131         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
36132         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
36133         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36134         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36135         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36136         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36137         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36138         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36139         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36140         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
36141         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36142         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36143         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
36144         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36145         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36146         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36147         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36148         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
36149         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36150         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36151         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36152         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36153         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36154         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36155         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
36156         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36157         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36158         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
36159         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36160         * sysdeps/x86_64/strcmp.S: Likewise.
36162         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
36164         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
36165         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
36166         * elf/rtld-Rules: Likewise.
36167         * elf/setup-vdso.h: Likewise.
36168         * include/assert.h: Likewise.
36169         * include/bits/stdlib-float.h: Likewise.
36170         * include/errno.h: Likewise.
36171         * include/sys/stat.h: Likewise.
36172         * include/unistd.h: Likewise.
36173         * sysdeps/aarch64/setjmp.S: Likewise.
36174         * sysdeps/alpha/setjmp.S: Likewise.
36175         * sysdeps/arm/__longjmp.S: Likewise.
36176         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
36177         * sysdeps/arm/setjmp.S: Likewise.
36178         * sysdeps/arm/sysdep.h: Likewise.
36179         * sysdeps/generic/_itoa.h: Likewise.
36180         * sysdeps/generic/dl-sysdep.h: Likewise.
36181         * sysdeps/generic/ldsodefs.h: Likewise.
36182         * sysdeps/i386/dl-tls.h: Likewise.
36183         * sysdeps/i386/setjmp.S: Likewise.
36184         * sysdeps/m68k/setjmp.c: Likewise.
36185         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
36186         * sysdeps/mach/hurd/opendir.c: Likewise.
36187         * sysdeps/posix/getcwd.c: Likewise.
36188         * sysdeps/posix/opendir.c: Likewise.
36189         * sysdeps/posix/profil.c: Likewise.
36190         * sysdeps/powerpc/dl-procinfo.h: Likewise.
36191         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36192         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36193         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36194         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36195         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
36196         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36197         * sysdeps/s390/dl-tls.h: Likewise.
36198         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36199         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36200         * sysdeps/sh/sh3/setjmp.S: Likewise.
36201         * sysdeps/sh/sh4/setjmp.S: Likewise.
36202         * sysdeps/unix/alpha/sysdep.h: Likewise.
36203         * sysdeps/unix/arm/sysdep.S: Likewise.
36204         * sysdeps/unix/i386/sysdep.S: Likewise.
36205         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36206         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36207         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36208         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36209         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36210         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36211         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36212         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36213         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36214         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36215         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
36216         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36217         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36220         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36221         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36222         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36223         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36224         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36225         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36226         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36227         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36228         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36229         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36230         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36232         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36233         * sysdeps/x86_64/setjmp.S: Likewise.
36235         * include/math.h: Use IS_IN instead of IS_IN_libm.
36236         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
36237         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36238         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36239         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
36240         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36241         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36242         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36243         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36244         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36245         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36246         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
36247         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
36248         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
36249         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
36250         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
36251         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
36252         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
36253         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
36254         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
36255         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
36256         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
36257         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
36258         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
36259         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
36260         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
36261         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
36262         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
36263         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
36264         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
36265         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
36266         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
36267         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36268         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
36269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
36270         Likewise.
36271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
36272         Likewise.
36273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
36274         Likewise.
36275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
36276         Likewise.
36277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
36278         Likewise.
36279         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36280         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
36281         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36282         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36283         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36284         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
36286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
36287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
36288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
36289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
36290         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
36291         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
36292         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36293         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36294         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36295         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36296         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36297         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36298         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36299         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
36300         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
36301         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
36302         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
36303         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
36304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36305         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
36307         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
36308         * nptl/pthreadP.h: Likewise.
36309         * nptl_db/structs.def: Likewise.
36310         * sysdeps/arm/sysdep.h: Likewise.
36311         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36312         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36313         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
36314         * sysdeps/unix/alpha/sysdep.h: Likewise.
36315         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36316         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36317         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36318         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36319         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36320         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36321         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36322         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36323         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36324         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36325         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36326         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36327         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36328         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36331         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36332         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36333         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36334         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36335         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36336         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36337         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36338         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36339         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
36340         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36342         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
36343         * nptl/pthreadP.h: Likewise.
36344         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36345         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36346         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36347         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36348         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36349         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36350         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36351         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36352         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36353         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36354         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36355         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36357         Likewise.
36358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36359         Likewise.
36360         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36361         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36362         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36363         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36364         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36365         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36366         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36367         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36369         * dlfcn/dladdr.c: Use IS_IN.
36370         * dlfcn/dladdr1.c: Likewise.
36371         * dlfcn/dlclose.c: Likewise.
36372         * dlfcn/dlerror.c: Likewise.
36373         * dlfcn/dlinfo.c: Likewise.
36374         * dlfcn/dlmopen.c: Likewise.
36375         * dlfcn/dlopen.c: Likewise.
36376         * dlfcn/dlsym.c: Likewise.
36377         * dlfcn/dlvsym.c: Likewise.
36379         * include/ifaddrs.h: Use IS_IN.
36380         * inet/check_pf.c: Likewise.
36381         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36382         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
36384         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
36385         IS_IN_ldconfig.
36386         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
36387         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
36389         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
36390         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
36391         IS_IN (libc).
36393         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
36395         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
36396         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36397         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36398         * include/libc-symbols.h (IS_IN_LIB): New macro.
36399         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
36400         * include/netdb.h: Likewise.
36401         * include/stap-probe.h: Remove all uses of IN_LIB.
36403         * Makeconfig (module-cppflags-real): Define MODULE_NAME
36404         instead of IN_MODULE.
36405         * include/libc-symbols.h (IN_MODULE): Define using
36406         MODULE_NAME.
36407         (PASTE_NAME, PASTE_NAME1): New macros.
36408         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
36409         of IN_LIB.
36410         (STAP_PROBE_ASM): Likewise.
36412 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36414         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
36415         __mach_init in dlopened libc.
36417 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
36419         * sysdeps/arm/preconfigure.ac: Delete EABI check.
36420         * sysdeps/arm/preconfigure: Regenerate.
36422 2014-11-21  Roland McGrath  <roland@hack.frob.com>
36424         * nptl/pthread_create.c (__pthread_create_2_1): Set
36425         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
36426         when copying values from IATTR into PD.
36428 2014-11-21  Will Newton  <will.newton@linaro.org>
36429             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
36431         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
36432         Refactor inline-asm.  Also add comment.
36434         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
36435         ElfW macro instead of hardcoded Elf64 types.
36436         (la_aarch64_gnu_pltenter): Likewise.
36437         * sysdeps/aarch64/dl-machine.h
36438         (elf_machine_runtime_setup): Use ElfW(Addr).
36440         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
36441         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
36442         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
36443         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
36444         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
36445         (R_AARCH64_TLS_DTPMOD64): Rename to ..
36446         (R_AARCH64_TLS_DTPMOD): This.
36447         (R_AARCH64_TLS_DTPREL64): Rename to ...
36448         (R_AARCH64_TLS_DTPREL): This.
36449         (R_AARCH64_TLS_TPREL64): Rename to ...
36450         (R_AARCH64_TLS_TPREL): This.
36451         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
36452         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
36453         R_AARCH64_TLS_TPREL64.
36454         (elf_machine_rela): Likewise.
36456 2014-11-21  Torvald Riegel  <triegel@redhat.com>
36458         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
36459         by setting it to 0.  64b atomics are not supported currently.
36461 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36463         [BZ #16469]
36464         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
36465         search domain names.
36467 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36469         [BZ #16469]
36470         * NEWS: Update.
36471         * resolv/res_query.c (__libc_res_nquerydomain): Retain
36472         trailing dot.
36473         * posix/tst-getaddrinfo5.c: New.
36474         * posix/Makefile (tests): Add it.
36476 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36478         [BZ #14498]
36479         * NEWS: Fixed.
36480         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
36481         after parsing line but before break_if_match.
36482         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
36483         if there is a protocol mismatch.
36485 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
36487         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
36488         because the potential race is on the user-supplied stream.
36490 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36492         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
36493         string literal if not passed a buffer.
36494         * manual/job.texi (ctermid): Update reasoning, note deviation
36495         from posix, suggest mtasurace when not passed a buffer, for
36496         future non-preliminary safety notes.
36498 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36500         * manual/users.texi (cuserid): Fix MT-Safety note for the case
36501         of not passing it a buffer.
36502         Reported by Peng Haitao.
36504 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36506         * manual/Makefile ($(objpfx)stamp-summary): Require
36507         check-safety.sh to pass.
36508         * manual/check-safety.sh: Wish for verification that every
36509         @deftypefn and @deftypefun is followed by a @safety remark.
36511 2014-11-20  Roland McGrath  <roland@hack.frob.com>
36513         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
36515         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
36516         PTHREAD_CANCEL_ASYNCHRONOUS.
36517         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
36518         send SIGCANCEL.
36520         * nptl/default-sched.h: New file.
36521         * sysdeps/unix/sysv/linux/default-sched.h: New file.
36522         * nptl/pthread_create.c: Include it.
36523         (__pthread_create_2_1): Use collect_default_sched instead of making
36524         Linux syscalls here directly.
36526 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36528         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
36529         __pthread_once): Use C11 atomics.
36531 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36533         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
36535 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36537         * include/atomic.h (__atomic_link_error, __atomic_check_size,
36538         atomic_thread_fence_acquire, atomic_thread_fence_release,
36539         atomic_thread_fence_seq_cst, atomic_load_relaxed,
36540         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
36541         atomic_compare_exchange_weak_relaxed,
36542         atomic_compare_exchange_weak_acquire,
36543         atomic_compare_exchange_weak_release,
36544         atomic_exchange_acquire, atomic_exchange_release,
36545         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
36546         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
36547         atomic_fetch_and_acquire,
36548         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
36550 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36552         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
36553         USE_ATOMIC_COMPILER_BUILTINS): Define.
36554         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
36555         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36556         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
36557         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36558         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
36559         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36560         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
36561         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36562         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
36563         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36564         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
36565         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36566         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
36567         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36568         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
36569         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36570         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36571         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36572         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36573         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36574         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
36575         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36576         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36577         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36578         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
36579         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36580         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36581         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36582         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
36583         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36584         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
36585         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36586         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
36587         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36588         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36589         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36590         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
36591         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36592         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
36593         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36595 2014-11-19  Roland McGrath  <roland@hack.frob.com>
36597         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
36598         the sched_priority value here.  It was already checked when the user
36599         called pthread_attr_setschedparam.
36601         * nptl/tst-bad-schedattr.c: New file.
36602         * nptl/Makefile (tests): Add it.
36604 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
36605             Florian Weimer  <fweimer@redhat.com>
36606             Joseph Myers  <joseph@codesourcery.com>
36607             Adam Conrad  <adconrad@0c3.net>
36608             Andreas Schwab  <schwab@suse.de>
36609             Brooks  <bmoses@google.com>
36611         [BZ #17625]
36612         * wordexp-test.c (__dso_handle): Add prototype.
36613         (__register_atfork): Likewise.
36614         (__app_register_atfork): New function.
36615         (registered_forks): New global.
36616         (register_fork): New function.
36617         (test_case): Add 3 new tests for WRDE_CMDSUB.
36618         (main): Call __app_register_atfork.
36619         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
36620         fork count is non-zero fail the test.
36621         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
36622         is set.
36623         (parse_dollars): Remove check for WRDE_NOCMD.
36624         (parse_dquote): Likewise.
36626 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36628         * Makeconfig (built-modules): List non-library modules to be
36629         built.
36630         (module-cppflags): Include libc-modules.h for
36631         everything except shlib-versions.v.i.
36632         (CPPFLAGS): Use it.
36633         (before-compile): Add libc-modules.h.
36634         ($(common-objpfx)libc-modules.h,
36635         $(common-objpfx)libc-modules.stmp): New targets.
36636         (common-generated): Add libc-modules.h and libc-modules.stmp.
36637         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
36638         * include/libc-symbols.h: Don't include libc-modules.h.
36639         * include/libc-modules.h: Remove file.
36640         * scripts/gen-libc-modules.awk: New script to generate
36641         libc-modules.h.
36642         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
36643         Depend on libc-modules.stmp.
36645         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
36647         * Makeconfig (in-module): Get value of libof set for the
36648         translation unit.
36649         (CPPFLAGS): Use $(in-module).
36650         * Makerules: Don't suffix routine names for nonlib.
36651         * include/libc-modules.h: New file.
36652         * include/libc-symbols.h: Include libc-modules.h
36653         (IS_IN): New macro to replace IS_IN_* macros.
36654         * elf/Makefile: Set libof-* for each routine.
36655         * elf/rtld-Rules: Likewise.
36656         * extra-modules.mk: Likewise.
36657         * iconv/Makefile: Likewise.
36658         * iconvdata/Makefile: Likewise.
36659         * locale/Makefile: Likewise.
36660         * malloc/Makefile: Likewise.
36661         * nss/Makefile: Likewise.
36662         * sysdeps/gnu/Makefile: Likewise.
36663         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
36664         * sysdeps/unix/sysv/linux/Makefile: Likewise.
36665         * sysdeps/s390/s390-64/Makefile: Likewise.
36666         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
36667         CPPFLAGS for nscd instead of nonlib.
36669 2014-11-18  Roland McGrath  <roland@hack.frob.com>
36671         * nptl/createthread.c: New file.
36673         * nptl/createthread.c: Moved ...
36674         * sysdeps/unix/sysv/linux/createthread.c: ... here.
36676         * nptl/createthread.c: Add proper top-line comment.
36677         (do_clone): Folded into ...
36678         (create_thread): ... here.  Take new arguments STOPPED_START and
36679         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
36680         increment __nptl_threads, do event-reporting logic, do
36681         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
36682         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
36683         resource cleanup if sched_setaffinity or sched_setscheduler fails,
36684         just send SIGCANCEL.
36685         * nptl/pthread_create.c: Forward-declare create_thread before
36686         including createthread.c.
36687         (start_thread): Use new macro START_THREAD_DEFN to replace defining
36688         declaration, and new macro START_THREAD_SELF to replace argument.
36689         Remove return statement.
36690         (report_thread_creation): New function.
36691         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
36692         synchronization logic, and __nptl_nthreads increment here, around
36693         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
36694         PD->parent_cancelhandling here, before create_thread.  When
36695         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
36696         __deallocate_stack, and ENOMEM translation here.
36698 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
36700         [BZ #17616]
36701         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
36702         (mptwo): Rename to __mptwo.
36703         (__inv): Use __mptwo instead of mptwo.
36704         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
36705         (mptwo): Rename to __mptwo.
36706         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
36707         of mpone and __mptwo instead of mptwo.
36708         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
36709         instead of mpone.
36710         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36711         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
36712         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
36713         of mpone and __mptwo instead of mptwo.
36714         (__mpranred): Use __mpone instead of mpone.
36715         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
36716         variable.
36717         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36718         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36719         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36720         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36721         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36722         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36723         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36724         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36725         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36726         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36727         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36728         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36729         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36730         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36731         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36732         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36733         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36734         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36735         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36737 2014-11-18  Tom de Vries  <tom@codesoucery.com>
36739         * manual/signal.texi (Primitives Interrupted by Signals): In section,
36740         replace BSD Handler xref with BSD Signal Handling.
36742 2014-11-17  Richard Henderson  <rth@redhat.com>
36744         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
36745         (_FP_PACK_RAW_2): Remove.
36746         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
36747         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
36748         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
36749         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
36750         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
36751         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
36752         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
36753         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
36754         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
36755         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
36756         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
36757         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
36758         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
36759         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
36760         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
36761         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
36763 2014-11-14  Roland McGrath  <roland@hack.frob.com>
36765         * signal/signal.h [__USE_MISC]
36766         (struct sigvec): Remove type.
36767         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
36768         (sigvec): Remove declaration.
36769         * sysdeps/posix/sigvec.c: Moved ...
36770         * signal/sigvec.c: ... here, replacing old file.
36771         (struct sigvec): New type, copied from old signal.h definition.
36772         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
36773         (__sigvec): Convert definition to prototype.
36774         (sigvec): Replace weak_alias with compat_symbol.
36775         * signal/Versions (libc: GLIBC_2.21): New version set.
36776         * include/signal.h: Remove __sigvec declaration.
36777         * sysdeps/unix/bsd/sigvec.c: Remove file.
36778         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
36779         * manual/signal.texi (BSD Handler): Remove subsection.
36780         Move siginterrupt up to ...
36781         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
36782         (Blocking in BSD): Fold subsection into its parent.
36783         * NEWS: Mention sigvec removal.
36785 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36787         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
36788         (DLA_FMS): Make definition conditional only on [__FMA4__].
36789         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
36790         definition.
36792         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
36793         Make definition conditional only on [PROF].
36794         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
36795         definition.
36796         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
36797         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
36799         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
36800         !__GNUC__].
36801         * include/signal.h (__sigpause): Move declaration above call to
36802         libc_hidden_proto.
36803         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
36804         variable.
36805         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36806         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36808 2014-11-14  David S. Miller  <davem@davemloft.net>
36810         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
36811         Define before including <string/memcpy.c> and <string/mempcpy.c>.
36813 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36815         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
36816         * configure: Regenerated.
36817         * manual/install.texi (Tools for Compilation): Document a
36818         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
36819         compiler verified to work.
36820         * INSTALL: Regenerated.
36822         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
36823         redeclare with asm name.
36824         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
36825         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
36826         including <string.h>.
36827         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36828         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
36829         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36830         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
36831         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36832         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
36833         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36835 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
36837         * stdlib/strtol.c (__strtol): Use prototype definition.
36839         [BZ #17594]
36840         * stdlib/strtol.c (SYM__): New macro.
36841         (SYM__1): Likewise.
36842         (__strtol): Likewise.
36843         (strtol): Rename to __strtol and define as weak alias of
36844         __strtol.  Use libc_hidden_weak.
36846 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36848         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
36849         Use numbered labels in inline assembly.
36851 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36853         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
36854         Add setjmp LIBC_PROBE.
36855         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
36856         Likewise.
36857         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
36858         Add longjmp, longjmp_target LIBC_PROBE.
36859         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
36860         Likewise.
36862 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36864         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36865         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
36866         to get rid of unused variable warning.
36868 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36870         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
36871         Check for unwind_backtrace ==  NULL only in SHARED case.
36872         (__backchain_backtrace): Compile only in SHARED case.
36873         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
36874         Likewise.
36875         (__backchain_backtrace): Declare as static.
36877 2014-11-12  Roland McGrath  <roland@hack.frob.com>
36879         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
36880         (__libc_multiple_threads_ptr): Variable moved ...
36881         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
36883 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
36885         * conform/GlibcConform.pm: New file.
36886         * conform/conformtest.pl: Use GlibcConform module.
36887         * conform/linknamespace.pl: New file.
36888         * conform/list-header-symbols.pl: Likewise.
36889         * conform/Makefile (linknamespace-symlists-base): New variable.
36890         (linknamespace-symlists-tests): Likewise.
36891         (linknamespace-header-base): Likewise.
36892         (linknamespace-header-tests): Likewise.
36893         (tests-special): Add new tests.
36894         ($(linknamespace-symlists-tests)): New rule.
36895         (linknamespace-libs): New variable.
36896         ($(objpfx)symlist-stdlibs): New rule.
36897         ($(linknamespace-header-tests)): Likewise.
36898         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
36899         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
36900         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
36901         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
36902         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
36903         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
36904         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
36905         (test-xfail-ISO/math.h/linknamespace): Likewise.
36906         (test-xfail-ISO/signal.h/linknamespace): Likewise.
36907         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
36908         (test-xfail-ISO/time.h/linknamespace): Likewise.
36909         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36910         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
36911         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36912         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36913         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36914         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36915         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36916         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36917         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36918         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36919         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36920         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36921         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
36922         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
36923         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
36924         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36925         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
36926         (test-xfail-XPG3/search.h/linknamespace): Likewise.
36927         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
36928         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36929         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
36930         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36931         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
36932         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
36933         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36934         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36935         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
36936         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
36937         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36938         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
36939         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36940         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36941         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36942         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36943         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
36944         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
36945         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
36946         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
36947         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36948         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
36949         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36950         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
36951         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36952         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36953         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36954         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
36955         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
36956         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36957         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36958         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
36959         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36960         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36961         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
36962         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36963         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36964         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
36965         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36966         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36967         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36968         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36969         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36970         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36971         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
36972         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36973         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36974         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36975         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
36976         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36977         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36978         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
36979         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36980         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36981         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36982         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36983         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36984         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36985         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
36986         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
36987         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36988         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
36989         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36990         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
36991         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36992         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36993         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36994         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
36995         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36996         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36997         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
36998         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
36999         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
37000         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
37001         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37002         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37003         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37004         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
37005         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
37006         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
37007         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
37008         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37009         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37010         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
37011         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
37012         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37013         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37014         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
37015         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
37016         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37017         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
37018         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37019         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37020         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
37021         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37022         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
37023         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37024         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37025         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37026         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
37027         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37028         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37029         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
37030         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37031         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37032         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37033         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37034         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37035         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
37036         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37037         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37038         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37039         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37040         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
37041         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
37042         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37043         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37044         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37045         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37046         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
37047         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37048         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
37049         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37050         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37051         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37052         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37053         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37054         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37055         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
37056         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37057         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37058         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37060         [BZ #17589]
37061         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
37062         of fgets_unlocked.
37064         [BZ #17585]
37065         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
37066         (memmem): Rename to __memmem and define as weak alias of
37067         __memmem.  Use libc_hidden_weak.
37068         (__memmem): Use libc_hidden_def.
37069         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
37070         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
37071         memmem.
37073         [BZ #17582]
37074         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
37075         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
37076         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
37077         and define as weak alias of __fgets_unlocked.  Use
37078         libc_hidden_weak.
37079         (__fgets_unlocked): Use libc_hidden_def.
37080         * include/stdio.h (__fgets_unlocked): Declare.  Use
37081         libc_hidden_proto.
37082         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
37083         __fgets_unlocked instead of fgets_unlocked.
37084         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
37085         (GET_NPROCS_CONF_PARSER): Likewise.
37086         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
37087         (GET_NPROCS_CONF_PARSER): Likewise.
37089         [BZ #17574]
37090         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
37091         weak alias of __wmemset.  Use libc_hidden_weak.
37092         (__wmemset): Use libc_hidden_def.
37093         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
37094         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
37095         of wmemset.
37097         [BZ #17573]
37098         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
37099         with asm name __mempcpy.
37100         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
37102         [BZ #17572]
37103         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
37104         and define as weak alias of __rawmemchr.
37105         (__rawmemchr): Do not define as strong alias of rawmemchr.
37107         [BZ #17571]
37108         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
37109         alias of __qsort_r.
37110         (qsort): Call __qsort_r instead of qsort_r.
37111         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
37112         (__qsort_r): Declare.  Call libc_hidden_proto.
37113         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
37114         instead of qsort_r.
37115         * nscd/gai.c (__qsort_r): Define to qsort_r.
37116         * posix/tst-rfc3484.c (__qsort_r): Likewise.
37117         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
37118         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
37120         [BZ #17570]
37121         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
37122         define as weak alias of __malloc_info.
37124         [BZ #17584]
37125         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
37126         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37127         (__rewinddir): Use libc_hidden_def.
37128         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
37129         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37130         (__rewinddir): Use libc_hidden_def.
37131         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
37132         weak alias of __rewinddir.  Don't use libc_hidden_def.
37133         (__rewinddir): Use libc_hidden_def.
37134         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
37135         (__rewinddir): Use libc_hidden_proto.
37136         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
37137         rewinddir.
37138         (__getcwd): Use __rewinddir instead of rewinddir.
37140         [BZ #17583]
37141         * libio/fileno.c (fileno): Rename to __fileno and define as weak
37142         alias of __fileno.  Use libc_hidden_weak.
37143         (__fileno): Use libc_hidden_def.
37144         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
37145         * libio/ftello.c (ftello): Rename to __ftello and define as weak
37146         alias of __ftello.
37147         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
37148         __ftello.
37149         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
37150         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
37151         libc_hidden_def.
37152         (fread_unlocked): Don't use libc_hidden_ver.
37153         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
37154         and define as weak alias of __fread_unlocked.  Don't use
37155         libc_hidden_def.
37156         (__fread_unlocked): Use libc_hidden_def.
37157         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
37158         (ftello): Don't use libc_hidden_proto.
37159         (__ftello): Declare.  Use libc_hidden_proto.
37160         (fread_unlocked): Don't use libc_hidden_proto.
37161         (__fread_unlocked): Declare.  Use libc_hidden_proto.
37162         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
37163         and __ftello instead of fileno, fread_unlocked and ftello.
37165 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37167         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
37168         GOT12.
37169         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37170         Likewise.
37171         (_dl_start_user): Likewise.
37172         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
37174 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
37175             Siddhesh Poyarekar  <siddhesh@redhat.com>
37177         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
37178         Move argv and envp down instead of moving argc up.
37179         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
37181 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
37183         [BZ #17506]
37184         * test-skeleton.c (main): Return successful if one of
37185         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
37186         * string/tst-strcoll-overflow.c: Define expected status.
37188 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
37190         [BZ #17475]
37191         * locale/iso-639.def: Define Bhili and Tulu language codes.
37193 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
37195         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
37197 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
37199         [BZ #17555]
37200         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
37202 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37204         * configure.ac: Updated check of minimal required version to
37205         2.22.
37206         * manual/install.texi (Tools for Compilation): Updated version
37207         number.
37208         * configure: Regenerated.
37209         * INSTALL: Likewise.
37211 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
37213         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
37214         __tls_get_addr.
37216 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
37218         * include/sys/wait.h (__libc_waitpid): Remove declaration.
37219         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
37220         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37221         libc_hidden_weak.
37222         (waitpid): Define as alias of __waitpid.
37223         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
37224         __waitpid.
37225         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37226         libc_hidden_weak.
37227         (waitpid): Define as alias of __waitpid.
37228         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
37229         __libc_waitpid alias.
37230         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
37231         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
37232         Likewise.
37233         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
37234         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
37235         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
37236         alias.
37237         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
37238         __waitpid.
37239         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37240         libc_hidden_weak.
37241         (waitpid): Define as alias of __waitpid.
37243 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
37245         * manual/llio.texi: Add comment that write safety has been
37246         fixed in Linux.
37248         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
37249         (localplt-build-dso): Add elf/ld.so.
37250         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
37251         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
37252         and free for ld.so.
37253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
37254         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
37255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
37256         Likewise.
37257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
37258         Likewise.
37259         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
37260         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
37261         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
37262         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
37263         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
37264         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
37265         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
37266         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
37267         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
37268         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
37269         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37271 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
37273         [BZ #14132]
37274         * include/libc-symbols.h (INTUSE): Remove macro.
37275         (INTDEF): Likewise.
37276         (INTVARDEF): Likewise.
37277         (_INTVARDEF): Likewise.
37278         (INTDEF2): Likewise.
37279         (INTVARDEF2): Likewise.
37280         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
37281         rtld_hidden_def instead of INTVARDEF.
37282         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
37283         (_dl_starting_up_internal): Remove declaration.
37284         (_dl_starting_up): Use rtld_hidden_proto.
37285         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
37286         declaration.
37287         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
37288         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
37289         _dl_starting_up.
37290         * elf/dl-writev.h (_dl_writev): Likewise.
37291         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
37292         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
37293         _dl_starting_up_internal.
37295 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37297         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
37298         test-skeleton.c.
37300 2014-11-05  Will Newton  <will.newton@linaro.org>
37302         * benchtests/Makefile: (bench-malloc): Add malloc thread
37303         scalability benchmark.
37304         * benchtests/bench-malloc-threads.c: New file.
37306 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
37308         * sysdeps/aarch64/strchrnul.S: New file.
37310 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37312         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
37313         definition.
37314         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37315         Likewise.
37316         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37317         Likewise.
37318         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37319         Likewise.
37320         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37321         Likewise.
37322         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37323         Likewise.
37325 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
37327         * catgets/test-gencat.c: Use test-skeleton.c.
37328         * catgets/tst-catgets.c: Likewise.
37329         * csu/tst-empty.c: Likewise.
37330         * elf/tst-audit2.c: Likewise.
37331         * elf/tst-global1.c: Likewise.
37332         * elf/tst-pathopt.c: Likewise.
37333         * elf/tst-piemod1.c: Likewise.
37334         * elf/tst-tls10.c: Likewise.
37335         * elf/tst-tls11.c: Likewise.
37336         * elf/tst-tls12.c: Likewise.
37337         * gnulib/tst-gcc.c: Likewise.
37338         * iconvdata/tst-e2big.c: Likewise.
37339         * iconvdata/tst-loading.c: Likewise.
37340         * iconv/tst-iconv1.c: Likewise.
37341         * iconv/tst-iconv2.c: Likewise.
37342         * inet/test-inet6_opt.c: Likewise.
37343         * inet/tst-gethnm.c: Likewise.
37344         * inet/tst-network.c: Likewise.
37345         * inet/tst-ntoa.c: Likewise.
37346         * intl/tst-codeset.c: Likewise.
37347         * intl/tst-gettext2.c: Likewise.
37348         * intl/tst-gettext3.c: Likewise.
37349         * intl/tst-ngettext.c: Likewise.
37350         * intl/tst-translit.c: Likewise.
37351         * io/test-stat.c: Likewise.
37352         * libio/test-fmemopen.c: Likewise.
37353         * libio/tst-freopen.c: Likewise.
37354         * libio/tst-sscanf.c: Likewise.
37355         * libio/tst-ungetwc1.c: Likewise.
37356         * libio/tst-ungetwc2.c: Likewise.
37357         * libio/tst-widetext.c: Likewise.
37358         * localedata/tst-ctype.c: Likewise.
37359         * localedata/tst-digits.c: Likewise.
37360         * localedata/tst-leaks.c: Likewise.
37361         * localedata/tst-mbswcs1.c: Likewise.
37362         * localedata/tst-mbswcs2.c: Likewise.
37363         * localedata/tst-mbswcs3.c: Likewise.
37364         * localedata/tst-mbswcs4.c: Likewise.
37365         * localedata/tst-mbswcs5.c: Likewise.
37366         * localedata/tst-setlocale.c: Likewise.
37367         * localedata/tst-trans.c: Likewise.
37368         * localedata/tst-wctype.c: Likewise.
37369         * localedata/tst-xlocale1.c: Likewise.
37370         * login/tst-grantpt.c: Likewise.
37371         * malloc/tst-calloc.c: Likewise.
37372         * malloc/tst-malloc.c: Likewise.
37373         * malloc/tst-mallocstate.c: Likewise.
37374         * malloc/tst-mcheck.c: Likewise.
37375         * malloc/tst-mtrace.c: Likewise.
37376         * malloc/tst-obstack.c: Likewise.
37377         * math/atest-exp2.c: Likewise.
37378         * math/atest-exp.c: Likewise.
37379         * math/atest-sincos.c: Likewise.
37380         * math/test-matherr.c: Likewise.
37381         * math/test-misc.c: Likewise.
37382         * math/test-powl.c: Likewise.
37383         * math/tst-definitions.c: Likewise.
37384         * misc/tst-dirname.c: Likewise.
37385         * misc/tst-efgcvt.c: Likewise.
37386         * misc/tst-fdset.c: Likewise.
37387         * misc/tst-hsearch.c: Likewise.
37388         * misc/tst-mntent2.c: Likewise.
37389         * nptl/tst-sem7.c: Likewise.
37390         * nptl/tst-sem8.c: Likewise.
37391         * nptl/tst-sem9.c: Likewise.
37392         * nss/test-netdb.c: Likewise.
37393         * posix/tst-fnmatch.c: Likewise.
37394         * posix/tst-getlogin.c: Likewise.
37395         * posix/tst-gnuglob.c: Likewise.
37396         * posix/tst-mmap.c: Likewise.
37397         * pwd/tst-getpw.c: Likewise.
37398         * resolv/tst-inet_ntop.c: Likewise.
37399         * rt/tst-timer.c: Likewise.
37400         * stdio-common/test-fseek.c: Likewise.
37401         * stdio-common/test-popen.c: Likewise.
37402         * stdio-common/test-vfprintf.c: Likewise.
37403         * stdio-common/tst-cookie.c: Likewise.
37404         * stdio-common/tst-fileno.c: Likewise.
37405         * stdio-common/tst-gets.c: Likewise.
37406         * stdio-common/tst-obprintf.c: Likewise.
37407         * stdio-common/tst-perror.c: Likewise.
37408         * stdio-common/tst-sprintf2.c: Likewise.
37409         * stdio-common/tst-sprintf3.c: Likewise.
37410         * stdio-common/tst-sprintf.c: Likewise.
37411         * stdio-common/tst-swprintf.c: Likewise.
37412         * stdio-common/tst-tmpnam.c: Likewise.
37413         * stdio-common/tst-unbputc.c: Likewise.
37414         * stdio-common/tst-wc-printf.c: Likewise.
37415         * stdlib/tst-environ.c: Likewise.
37416         * stdlib/tst-fmtmsg.c: Likewise.
37417         * stdlib/tst-limits.c: Likewise.
37418         * stdlib/tst-rand48-2.c: Likewise.
37419         * stdlib/tst-rand48.c: Likewise.
37420         * stdlib/tst-random2.c: Likewise.
37421         * stdlib/tst-random.c: Likewise.
37422         * stdlib/tst-strtol.c: Likewise.
37423         * stdlib/tst-strtoll.c: Likewise.
37424         * stdlib/tst-tls-atexit.c: Likewise.
37425         * stdlib/tst-xpg-basename.c: Likewise.
37426         * string/test-ffs.c: Likewise.
37427         * string/tst-bswap.c: Likewise.
37428         * string/tst-inlcall.c: Likewise.
37429         * string/tst-strtok.c: Likewise.
37430         * string/tst-strxfrm.c: Likewise.
37431         * sysdeps/x86_64/tst-audit10.c: Likewise.
37432         * sysdeps/x86_64/tst-audit3.c: Likewise.
37433         * sysdeps/x86_64/tst-audit4.c: Likewise.
37434         * sysdeps/x86_64/tst-audit5.c: Likewise.
37435         * time/tst-ftime_l.c: Likewise.
37436         * time/tst-getdate.c: Likewise.
37437         * time/tst-mktime3.c: Likewise.
37438         * time/tst-mktime.c: Likewise.
37439         * time/tst-posixtz.c: Likewise.
37440         * time/tst-strptime2.c: Likewise.
37441         * time/tst-strptime3.c: Likewise.
37442         * wcsmbs/tst-btowc.c: Likewise.
37443         * wcsmbs/tst-mbrtowc.c: Likewise.
37444         * wcsmbs/tst-mbsrtowcs.c: Likewise.
37445         * wcsmbs/tst-wchar-h.c: Likewise.
37446         * wcsmbs/tst-wcpncpy.c: Likewise.
37447         * wcsmbs/tst-wcrtomb.c: Likewise.
37448         * wcsmbs/tst-wcsnlen.c: Likewise.
37449         * wcsmbs/tst-wcstof.c: Likewise.
37451 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
37453         [BZ #14132]
37454         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
37455         INTDEF.
37456         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
37457         declaration.
37458         (_dl_mcount): Use rtld_hidden_proto.
37459         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
37460         _dl_mcount.
37461         * elf/rtld.c (_rtld_global_ro): Likewise.
37463         [BZ #14132]
37464         * elf/dl-init.c (_dl_init): Don't use INTDEF.
37465         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
37466         of _dl_init_internal.
37467         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
37468         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
37469         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
37470         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
37471         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
37472         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
37473         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
37474         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
37475         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
37476         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
37477         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
37478         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
37479         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37480         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37481         * sysdeps/tile/dl-start.S (_start): Likewise.
37482         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
37483         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
37485         [BZ #14132]
37486         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
37487         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
37488         (rtld_progname): Make macro definition unconditional.
37489         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
37490         INTDEF.
37491         (dlmopen_doit): Do not use INTUSE with _dl_argv.
37492         (dl_main): Likewise.
37493         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37494         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
37495         instead of _dl_argv_internal.
37496         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37497         __GI__dl_argv instead of INTUSE(_dl_argv).
37498         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
37499         __GI__dl_argv instead of _dl_argv_internal.
37501         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
37502         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
37503         macro.
37504         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
37505         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
37506         New macro.
37507         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
37508         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
37509         macro.
37510         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
37511         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
37513 2014-11-04  Andreas Schwab  <schwab@suse.de>
37515         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
37517 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37519         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
37520         mtvsrd instruction in binary form.
37522 2014-11-03  Andreas Schwab  <schwab@suse.de>
37524         [BZ #17522]
37525         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
37526         for less than MB_LEN_MAX use a local buffer of that size.
37527         * libio/tst-fputws.c: New file.
37528         * libio/Makefile (tests): Add tst-fputws.
37530 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
37532         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
37533         the size of the fpu_fr.fpu_dregs[] array.
37535 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
37537         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
37538         (__nanosleep): Do not define as alias.
37539         (nanosleep): Define as alias of __nanosleep.
37540         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
37541         __libc_nanosleep name.
37543 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37545         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
37546         install.texi in comment.
37548 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37550         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
37551         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
37552         ... add here and use lwsync or sync ...
37553         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
37554         ... and add here using lwsync.
37556 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37558         * elf/dl-machine-reject-phdr.h: New file.
37559         * elf/dl-load.c: #include that.
37560         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
37561         if that returned true.
37563 2014-10-31  Roland McGrath  <roland@hack.frob.com>
37565         [BZ #17496]
37566         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
37567         gen-as-const-headers chunk.  Add a big scare comment after the last
37568         safe place to touch before-compile.
37570 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37572         * manual/install.texi (Tools for Compilation): Update autoconf
37573         version requirements.
37574         * INSTALL: Regenerated.
37576         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
37577         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
37578         (__libc_pselect): Likewise.
37580         [BZ #14138]
37581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
37582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37586 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37588         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
37589         correct barrier instruction.
37590         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
37591         Likewise.
37592         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
37593         Likewise.
37595 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37597         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
37598         after defining inlines.  Instead, just use parens to defeat macro
37599         expansion of __isctype in its declaration.
37601 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37603         * include/sys/uio.h (__libc_readv): Remove declaration.
37604         (__libc_writev): Likewise.
37605         * misc/readv.c (__libc_readv): Rename to __readv.
37606         (__readv): Do not define as alias.
37607         (readv): Define as alias of __readv.
37608         * misc/writev.c (__libc_writev): Rename to __writev.
37609         (__writev): Do not define as alias.
37610         (writev): Define as alias of __writev.
37611         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
37612         (__readv): Do not define as alias.
37613         (readv): Define unconditionally as alias of __readv.
37614         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
37615         (__writev): Do not define as alias.
37616         (writev): Define unconditionally as alias of __writev.
37617         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
37618         name.
37619         (writev): Do not define __libc_writev name.
37621 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37623         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
37624         (convert_charseq): New function, broken out of ...
37625         (use_from_charmap): ... here.  Call it.
37626         (use_to_charmap): Use convert_charseq and free instead of duplicating
37627         its code with a variable-length stack struct.
37629 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37631         * include/fcntl.h (__libc_creat): Remove declaration.
37632         * io/creat.c (__libc_creat): Rename to creat.
37633         (creat): Do not define as alias.
37634         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
37635         of creat instead of __libc_creat.
37636         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
37637         to creat.
37638         (creat): Do not define as alias.
37639         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
37640         __libc_creat.
37641         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
37642         __libc_creat name.
37643         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
37644         Likewise.
37646 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
37648         * manual/llio.texi: Add comments discussing why write() may be
37649         considered MT-unsafe on Linux.
37651 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
37653         * dl-load.c (local_strdup): Remove.
37654         (expand_dynamic_string_token): Use __strdup.
37655         (decompose_rpath): Likewise.
37656         (_dl_map_object): Likewise.
37658 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
37660         [BZ #14132]
37661         * sysdeps/generic/unwind-dw2-fde.c
37662         (__register_frame_info_bases_internal): Do not declare.
37663         (__register_frame_info_table_bases_internal): Likewise.
37664         (__deregister_frame_info_bases_internal): Likewise.
37665         (__register_frame_info_bases): Declare and use hidden_proto before
37666         definition.  Use hidden_def instead of INTDEF.
37667         (__register_frame_info_table_bases): Likewise.
37668         (__deregister_frame_info_bases): Likewise.
37669         (__register_frame_info): Do not use INTUSE.
37670         (__register_frame): Likewise.
37671         (__register_frame_info_table): Likewise.
37672         (__register_frame_table): Likewise.
37673         (__deregister_frame_info): Likewise.
37674         (__deregister_frame): Likewise.
37676 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
37678         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37679         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
37680         not undefine.
37681         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
37682         Likewise.
37683         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
37684         Likewise.
37686 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
37688         [BZ #14138]
37689         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
37690         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
37691         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
37692         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
37693         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
37694         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
37695         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
37696         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
37697         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
37698         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
37699         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
37700         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
37701         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
37702         syscall.
37703         (setfsuid): Likewise.
37704         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
37705         (setfsuid): Likewise.
37706         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
37707         (setfsuid): Likewise.
37708         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
37709         Likewise.
37710         (setfsuid): Likewise.
37711         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
37712         (setfsuid): Likewise.
37713         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
37714         Likewise.
37715         (setfsuid): Likewise.
37717 2014-10-27  Andreas Schwab  <schwab@suse.de>
37719         [BZ #17501]
37720         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
37721         check for Slow_SSE4_2 feature bit.
37722         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
37723         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37724         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
37725         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
37727 2014-10-24  Roland McGrath  <roland@hack.frob.com>
37729         * configure.ac: Validate compiler version with a empirical test of
37730         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
37731         $CC -v output.
37732         * configure: Regenerated.
37734         * inet/htons.c (htons): Prototypify.
37735         * inet/htonl.c (htonl): Likewise.
37737 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37739         * string/strncat.c (strncat): Improve performance by using strlen.
37741 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37743         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
37745 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37747         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
37748         Call libc_fetestexcept_aarch64.
37750 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37752         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
37753         Call libc_feholdexcept_aarch64.
37755 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37757         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
37758         Call get_rounding_mode.
37760 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37762         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37763         Simplify logic.
37765 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37767         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
37768         Simplify logic.
37770 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
37772         [BZ #14138]
37773         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
37774         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
37775         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
37776         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
37777         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
37778         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
37779         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
37780         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
37781         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
37782         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
37783         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37784         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
37785         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
37786         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
37787         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
37788         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
37789         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
37790         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
37791         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
37792         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
37793         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
37794         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
37795         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
37796         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
37797         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
37798         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
37799         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
37800         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
37801         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
37802         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
37803         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
37804         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
37805         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
37806         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
37807         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
37808         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
37809         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
37810         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
37811         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
37812         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
37813         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
37814         syscall.
37815         (geteuid): Likewise.
37816         (getgid): Likewise.
37817         (getuid): Likewise.
37818         (getresgid): Likewise.
37819         (getresuid): Likewise.
37820         (getgroups): Likewise.
37821         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
37822         (geteuid): Likewise.
37823         (getgid): Likewise.
37824         (getuid): Likewise.
37825         (getresgid): Likewise.
37826         (getresuid): Likewise.
37827         (getgroups): Likewise.
37828         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
37829         (geteuid): Likewise.
37830         (getgid): Likewise.
37831         (getuid): Likewise.
37832         (getresgid): Likewise.
37833         (getresuid): Likewise.
37834         (getgroups): Likewise.
37835         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
37836         Likewise.
37837         (geteuid): Likewise.
37838         (getgid): Likewise.
37839         (getuid): Likewise.
37840         (getresgid): Likewise.
37841         (getresuid): Likewise.
37842         (getgroups): Likewise.
37843         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
37844         (geteuid): Likewise.
37845         (getgid): Likewise.
37846         (getuid): Likewise.
37847         (getresgid): Likewise.
37848         (getresuid): Likewise.
37849         (getgroups): Likewise.
37850         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
37851         Likewise.
37852         (geteuid): Likewise.
37853         (getgid): Likewise.
37854         (getuid): Likewise.
37855         (getgroups): Likewise.
37857         [BZ #14138]
37858         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
37859         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
37860         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
37861         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37862         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
37863         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
37864         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
37865         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
37866         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
37867         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
37868         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
37869         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
37870         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
37871         __chown.
37872         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
37873         (lchown): Likewise.
37874         (fchown): Likewise.
37875         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
37876         Likewise.
37877         (lchown): Likewise.
37878         (fchown): Likewise.
37879         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
37880         (lchown): Likewise.
37881         (fchown): Likewise.
37882         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
37883         Likewise.
37884         (lchown): Likewise.
37885         (fchown): Likewise.
37887 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37889         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
37890         Simplify logic.
37892 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37894         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37895         Cleanup logic.
37897 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37899         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37900         Remove unused include.
37902 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37904         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
37905         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
37906         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
37907         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
37909 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
37910             Helge Deller <deller@gmx.de>
37912         [BZ #17508]
37913         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
37914         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
37915         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
37917 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
37919         [BZ #14132]
37920         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
37921         Remove macro definition.
37922         (__ashrdi3_v_glibc20): Likewise.
37923         (__lshrdi3_v_glibc20): Likewise.
37924         (__cmpdi2_v_glibc20): Likewise.
37925         (__ucmpdi2_v_glibc20): Likewise.
37926         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
37927         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37928         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37929         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37930         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37931         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
37933 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37935         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
37936         old GNU extension [0] syntax.
37937         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
37938         alloca rather than an array member with variable length.
37939         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
37940         * nscd/nscd.c (invalidate_db): New function, broken out of ...
37941         (parse_opt): ... here.  Likewise use alloca there.
37942         Validate the -i argument before checking for rootness.
37943         (send_shutdown): New function, broken out of ...
37944         (parse_opt): ... here.
37946 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37948         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
37949         macro to get at the _rt_local_ro field.
37950         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
37951         ([PIC] case) or _dl_hwcap ([!PIC] case).
37952         * sysdeps/arm/setjmp.S: Likewise.
37954         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
37955         * sysdeps/arm/configure.ac: New check to define it.
37956         * sysdeps/arm/configure: Regenerated.
37957         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
37958         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
37959         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
37960         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
37961         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
37962         Use move/movt pair instead of a load.
37963         (LDST_GLOBAL): Macro removed.
37964         (LDR_GLOBAL): New macro replaces it.
37965         (LDR_HIDDEN): New macro.
37966         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
37967         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
37969         * setjmp/tst-setjmp-static.c: New file.
37970         * setjmp/Makefile (tests): Add it.
37971         (tests-static): New variable.
37973 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
37975         [BZ #17485]
37976         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
37978 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
37980         [BZ #14132]
37981         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
37983 2014-10-21  Roland McGrath  <roland@hack.frob.com>
37985         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
37987 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37989         * io/fts.c (dirent_not_directory): New function.
37990         (fts_build): Call it.
37992 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37994         * nptl/version.c (__nptl_main): Use normal __write rather than
37995         INTERNAL_SYSCALL.
37996         (banner): Update copyright years.
37998         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
37999         gettimeofday.
38000         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38001         * nptl/pthread_cond_timedwait.c: Likewise.
38002         * nptl/pthread_mutex_timedlock.c: Likewise.
38003         * nptl/sem_timedwait.c: Likewise.
38005         * sysdeps/nptl/bits/libc-lock.h
38006         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38007         (__libc_lock_init_recursive): Return void, not 0.
38008         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
38009         (__libc_rwlock_init): Likewise.
38010         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
38012 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38014         [BZ #15215]
38015         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
38016         (__pthread_once_slow): ... here.
38017         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
38018         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
38020 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38022         [BZ #15215]
38023         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
38024         __PTHREAD_ONCE_FORK_GEN_INCR): New.
38025         * sysdeps/nptl/fork.c (__libc_fork): Use them.
38026         * nptl/pthread_once.c (__pthread_once): Likewise.
38027         Update comments.
38029 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
38031         [BZ #14138]
38032         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
38033         name.
38034         (writev): Use __libc_writev as strong name.
38035         * sysdeps/unix/sysv/linux/readv.c: Remove file.
38036         * sysdeps/unix/sysv/linux/writev.c: Likewise.
38038 2014-10-17  Roland McGrath  <roland@hack.frob.com>
38040         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
38042         * sysdeps/i386/nptl/tls.h
38043         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
38044         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
38045         New macros.
38046         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
38047         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
38048         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
38049         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
38050         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
38051         Call CHECK_THREAD_SYSINFO instead of doing an assert.
38053         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
38054         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
38055         on [__NR_futex].
38056         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
38057         broken out of ...
38058         (__pthread_mutex_init): ... here.  Call it.
38059         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
38060         Conditionalize PI cases on [__NR_futex].
38061         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
38062         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
38063         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
38065         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
38066         conditional on [SIGSETXID].
38067         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
38068         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
38069         is defined.  Likewise for SIGSETXID.
38070         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
38071         Conditionalize definitions on [SIGSETXID].
38072         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
38073         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
38074         unblocking on [SIGCANCEL].
38076         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
38077         [__NR_set_robust_list].
38079 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38081         * string/strcoll_l.c (get_next_seq): Fix up formatting.
38082         (do_compare): Likewise.
38084 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
38086         [BZ #15884]
38087         * string/strcoll_l.c: Don't include stdio.h.
38088         (coll_seq): Remove members idxarr and rulearr.
38089         (get_next_seq_cached): Remove function.
38090         (get_next_seq): Likewise.
38091         (get_next_seq_nocache): Rename to get_next_seq.
38092         (do_compare): Remove function.
38093         (do_compare_nocache): Rename to do_compare.
38094         (STRCOLL): Remove weight and rules cache.
38096 2014-10-16  Roland McGrath  <roland@hack.frob.com>
38098         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
38099         * sysdeps/arm/sfp-machine.h: ... to here.
38100         * sysdeps/arm/Implies: Remove arm/soft-fp.
38102 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
38104         * conform/data/sys/utsname.h-data (*_t): Allow.
38105         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
38106         [POSIX] (WEXITED): Do not expect constant.
38107         [POSIX] (WSTOPPED): Likewise.
38108         [POSIX] (WNOHANG): Likewise.
38109         [POSIX] (WNOWAIT): Likewise.
38110         [POSIX] (siginfo_t): Do not expect type or elements.
38111         [POSIX] (pid_t): Do not expect type.
38112         [POSIX] (signal.h): Do not allow header.
38113         [POSIX] (sys/resource.h): Likewise.
38114         [POSIX] (si_*): Do not allow pattern.
38115         [POSIX] (W*): Likewise.
38116         [POSIX] (P_*): Likewise.
38117         [POSIX] (BUS_*): Likewise.
38118         [POSIX] (CLD_*): Likewise.
38119         [POSIX] (FPE_*): Likewise.
38120         [POSIX] (ILL_*): Likewise.
38121         [POSIX] (POLL_*): Likewise.
38122         [POSIX] (SEGV_*): Likewise.
38123         [POSIX] (SI_*): Likewise.
38124         [POSIX] (TRAP_*): Likewise.
38125         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
38126         variable.
38128 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
38130         [BZ #12926]
38131         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
38132         infinite loop when __recvmsg returns 0.
38134 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
38136         * CANCEL-FCT-WAIVE: Remove file.
38137         * CANCEL-FILE-WAIVE: Likewise.
38139         [BZ #14132]
38140         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
38141         instead of INTVARDEF.
38142         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38143         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
38144         rtld_hidden_data_def instead of INTVARDEF.
38145         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38146         * elf/dl-deps.c (expand_dst): Likewise.
38147         * elf/dl-load.c (_dl_dst_count): Likewise.
38148         (_dl_dst_substitute): Likewise.
38149         (decompose_rpath): Likewise.
38150         (_dl_init_paths): Likewise.
38151         (open_path): Likewise.
38152         (_dl_map_object): Likewise.
38153         * elf/rtld.c (dl_main): Likewise.
38154         (process_dl_audit): Likewise.
38155         (process_envvars): Likewise.
38156         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
38157         Remove declaration.
38158         (__libc_enable_secure): Use rtld_hidden_proto.
38160 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38162         * elf/dl-load.c
38163         (add_path): New function broken out of _dl_rtld_di_serinfo.
38164         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
38166 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38168         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
38169         parentheses around macro arguments.
38170         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
38171         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
38172         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
38173         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
38174         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
38175         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38176         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38177         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
38178         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
38179         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
38180         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
38181         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
38182         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
38183         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
38184         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
38185         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
38186         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
38187         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
38188         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
38189         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
38190         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
38191         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
38192         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
38193         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38194         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38195         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
38196         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
38197         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
38198         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
38199         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
38200         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
38201         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
38202         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
38203         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
38204         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
38205         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
38206         Likewise.
38207         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
38208         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38209         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38210         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
38211         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
38212         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
38213         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
38214         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
38215         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
38216         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
38217         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
38218         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
38219         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
38220         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
38221         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
38222         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38223         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38224         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
38225         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
38226         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
38227         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
38228         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
38229         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
38230         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
38231         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
38232         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
38233         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
38234         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
38235         (_FP_FRAC_SRS_1): Likewise.
38236         (_FP_FRAC_CLZ_1): Likewise.
38237         (_FP_MUL_MEAT_1_imm): Likewise.
38238         (_FP_MUL_MEAT_1_wide): Likewise.
38239         (_FP_MUL_MEAT_1_hard): Likewise.
38240         (_FP_SQRT_MEAT_1): Likewise.
38241         (_FP_FRAC_ASSEMBLE_1): Likewise.
38242         (_FP_FRAC_DISASSEMBLE_1): Likewise.
38243         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
38244         (__FP_CLZ_2): Likewise.
38245         (_FP_MUL_MEAT_2_wide): Likewise.
38246         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38247         (_FP_MUL_MEAT_2_gmp): Likewise.
38248         (_FP_MUL_MEAT_2_120_240_double): Likewise.
38249         (_FP_SQRT_MEAT_2): Likewise.
38250         (_FP_FRAC_ASSEMBLE_2): Likewise.
38251         (_FP_FRAC_DISASSEMBLE_2): Likewise.
38252         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
38253         (_FP_FRAC_CLZ_4): Likewise.
38254         (_FP_MUL_MEAT_4_wide): Likewise.
38255         (_FP_MUL_MEAT_4_gmp): Likewise.
38256         (_FP_SQRT_MEAT_4): Likewise.
38257         (_FP_FRAC_ASSEMBLE_4): Likewise.
38258         (_FP_FRAC_DISASSEMBLE_4): Likewise.
38259         * soft-fp/op-common.h (_FP_CMP): Likewise.
38260         (_FP_CMP_EQ): Likewise.
38261         (_FP_CMP_UNORD): Likewise.
38262         (_FP_TO_INT): Likewise.
38263         (_FP_FROM_INT): Likewise.
38264         [!__FP_CLZ] (__FP_CLZ): Likewise.
38265         (_FP_DIV_HELP_imm): Likewise.
38266         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
38267         Likewise.
38268         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
38269         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
38270         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
38271         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
38272         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
38273         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38274         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38275         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
38276         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
38277         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
38278         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
38279         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
38280         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
38281         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
38282         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
38283         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
38284         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
38285         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
38286         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
38287         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
38288         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
38289         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
38290         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
38291         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38292         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38293         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
38294         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
38295         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
38296         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
38297         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
38298         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
38299         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
38300         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
38301         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
38302         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
38303         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
38304         (FP_UNPACK_RAW_SP): Likewise.
38305         (FP_PACK_RAW_S): Likewise.
38306         (FP_PACK_RAW_SP): Likewise.
38307         (FP_UNPACK_S): Likewise.
38308         (FP_UNPACK_SP): Likewise.
38309         (FP_UNPACK_SEMIRAW_S): Likewise.
38310         (FP_UNPACK_SEMIRAW_SP): Likewise.
38311         (FP_PACK_S): Likewise.
38312         (FP_PACK_SP): Likewise.
38313         (FP_PACK_SEMIRAW_S): Likewise.
38314         (FP_PACK_SEMIRAW_SP): Likewise.
38315         (_FP_SQRT_MEAT_S): Likewise.
38316         (FP_CMP_S): Likewise.
38317         (FP_CMP_EQ_S): Likewise.
38318         (FP_CMP_UNORD_S): Likewise.
38319         (FP_TO_INT_S): Likewise.
38320         (FP_FROM_INT_S): Likewise.
38322         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
38324         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
38325         (FP_EX_INVALID_IMZ): Likewise.
38326         (FP_EX_INVALID_IMZ_FMA): Likewise.
38327         (FP_EX_INVALID_ISI): Likewise.
38328         (FP_EX_INVALID_ZDZ): Likewise.
38329         (FP_EX_INVALID_IDI): Likewise.
38330         (FP_EX_INVALID_SQRT): Likewise.
38331         (FP_EX_INVALID_CVI): Likewise.
38332         (FP_EX_INVALID_VC): Likewise.
38333         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
38334         "invalid" exceptions.
38335         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
38336         (_FP_ADD_INTERNAL): Likewise.
38337         (_FP_MUL): Likewise.
38338         (_FP_FMA): Likewise.
38339         (_FP_DIV): Likewise.
38340         (_FP_CMP_CHECK_NAN): Likewise.
38341         (_FP_SQRT): Likewise.
38342         (_FP_TO_INT): Likewise.
38343         (FP_EXTEND): Likewise.
38345 2014-10-09  Allan McRae  <allan@archlinux.org>
38347         * po/fr.po: Update French translation from translation project.
38349 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38351         [BZ #14132]
38352         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
38353         of INTDEF.
38354         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
38355         (__cxa_atexit): Use libc_hidden_proto.
38356         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
38358         [BZ #14132]
38359         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
38360         declaration.
38361         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
38362         [!_ISOMAC] (__iswspace_l_internal): Likewise.
38363         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
38364         [!_ISOMAC] (__iswctype_internal): Likewise.
38365         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
38366         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
38367         alias.
38368         (fcntl): Remove __fcntl_internal alias.
38369         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
38370         __connect_internal alias.
38371         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
38372         Likewise.
38374         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
38375         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
38376         FP_DENORM_ZERO.
38377         (_FP_CHECK_FLUSH_ZERO): New macro.
38378         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
38379         (_FP_CMP): Likewise.
38380         (_FP_CMP_EQ): Likewise.
38381         (_FP_TO_INT): Do not set inexact for subnormal arguments if
38382         FP_DENORM_ZERO.
38383         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
38384         (FP_TRUNC): Likewise.
38386         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
38387         treated as invalid conversion, not as normal exponent.
38389         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
38390         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
38391         (_FP_CMP_EQ): Likewise.
38392         (_FP_CMP_UNORD): Likewise.
38393         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
38394         (FP_CMP_EQ_D): Likewise.
38395         (FP_CMP_UNORD_D): Likewise.
38396         * soft-fp/extended.h (FP_CMP_E): Likewise.
38397         (FP_CMP_EQ_E): Likewise.
38398         (FP_CMP_UNORD_E): Likewise.
38399         * soft-fp/quad.h (FP_CMP_Q): Likewise.
38400         (FP_CMP_EQ_Q): Likewise.
38401         (FP_CMP_UNORD_Q): Likewise.
38402         * soft-fp/single.h (FP_CMP_S): Likewise.
38403         (FP_CMP_EQ_S): Likewise.
38404         (FP_CMP_UNORD_S): Likewise.
38405         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
38406         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
38407         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
38408         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
38409         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
38410         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
38411         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
38412         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
38413         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
38414         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
38415         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
38416         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
38417         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
38418         to FP_CMP_Q.
38419         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
38420         FP_CMP_Q.
38421         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
38422         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
38423         FP_CMP_EQ_Q.
38424         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
38425         FP_CMP_Q.
38426         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
38427         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
38428         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
38429         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
38430         FP_CMP_EQ_Q.
38431         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
38432         FP_CMP_Q.
38433         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
38434         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
38435         FP_CMP_EQ_Q.
38436         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
38437         FP_CMP_Q.
38438         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
38439         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
38440         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
38441         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
38442         FP_CMP_EQ_Q.
38444         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
38445         a subnormal result, set the underflow exception if trapping on
38446         underflow is enabled.
38447         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
38448         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
38449         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
38450         redefine to 0.
38451         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
38452         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38453         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38454         * soft-fp/extendxftf2.c (__extendxftf2): Use
38455         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
38457         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
38458         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
38459         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38460         FP_HANDLE_EXCEPTIONS.
38461         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
38462         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38463         FP_HANDLE_EXCEPTIONS.
38464         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
38465         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38466         FP_HANDLE_EXCEPTIONS.
38467         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
38468         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38469         FP_HANDLE_EXCEPTIONS.
38471 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
38473         [BZ #14132]
38474         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
38475         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
38476         use INTUSE.
38477         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
38478         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
38479         Remove alias.
38480         (__adjtimex): Define using libc_hidden_ver.
38481         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
38482         Remove declaration.
38483         (ntp_gettime): Call __adjtimex directly.
38484         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
38485         Remove declaration.
38486         (ntp_gettimex): Call __adjtimex directly.
38487         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
38488         __adjtimex_internal alias.
38490 2014-10-08  Roland McGrath  <roland@hack.frob.com>
38492         [BZ #17460]
38493         * nscd/nscd.c (more_help): Rewrite list of tables collection
38494         using xstrdup and asprintf.
38496         * nscd/nscd_conf.c: Remove local xstrdup declaration.
38498 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38499             Roland McGrath  <roland@hack.frob.com>
38501         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
38502         (do_lookup_unique): ... local function 'enter' here; update callers.
38504 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
38506         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
38507         compat_symbol calls on [SHARED].
38508         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
38509         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
38510         Remove.
38511         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38512         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
38513         (oldsetrlimit): Remove.
38514         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38516         (lchown): New syscall entry.
38517         (oldsetrlimit): Remove.
38518         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38519         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
38520         (oldsetrlimit): Remove.
38521         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38523         [BZ #14138]
38524         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
38525         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
38526         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
38527         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
38528         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38529         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
38530         (fchown): Likewise.
38531         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
38532         (fchown): Likewise.
38533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
38534         Likewise.
38536 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38538         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
38539         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
38540         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
38541         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
38542         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
38543         Likewise.
38544         (__old_sem_post): Likewise.
38546 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
38548         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
38549         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
38550         HAVE_CLOCK_GETTIME_VSYSCALL macros.
38551         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
38552         Use INLINE_VSYSCALL macro.
38553         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
38554         __vdso_clock_gettime.
38555         * sysdeps/unix/sysv/linux/tile/init-first.c
38556         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
38557         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
38558         __vdso_clock_gettime.
38560         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
38561         to set up frame more cleanly.
38563         * sysdeps/tile/memcmp.c: New file.
38565         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
38567         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
38568         * sysdeps/tile/tilegx/strcasestr.c: New file.
38569         * sysdeps/tile/tilegx/strnlen.c: New file.
38570         * sysdeps/tile/tilegx/strstr.c: New file.
38572         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
38574 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
38576         * nptl/tst-setuid3.c: Write errors to stdout.
38578 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38580         * elf/dl-deps.c
38581         (preload): New functions broken out of _dl_map_object_deps.
38582         (_dl_map_object_deps):  Remove a nested function. Update call sites.
38584 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
38586         [BZ #14138]
38587         * sysdeps/unix/sysv/linux/execve.c: Remove file.
38588         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
38590 2014-10-01  Steve Ellcey  <sellcey@mips.com>
38592         * sysdeps/mips/strcmp.S: New.
38594 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
38596         [BZ #14138]
38597         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
38598         (linkat): Likewise.
38599         (mkdirat): Likewise.
38600         (readlinkat): Likewise.
38601         (renameat): Likewise.
38602         (symlinkat): Likewise.
38603         (unlinkat): Likewise.
38604         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
38605         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
38606         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
38607         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
38608         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
38609         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
38610         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
38612 2014-09-30  Will Newton  <will.newton@linaro.org>
38614         * math/math.h: Define long double math functions if
38615         _LIBC_TEST is defined.
38616         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
38618         * localedata/Makefile: Move assignment to tests-special
38619         into an ifdef testing run-built-tests.
38620         * timezone/Makefile: Likewise.
38622 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
38624         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
38625         with $(BASH) not $(SHELL).
38627 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
38628             Matthew LeGendre  <legendre1@llnl.gov>
38630         [BZ #17411]
38631         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
38632         l_reloc_result.
38634 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38636         * stdio-common/printf_fp.c
38637         (hack_digit): New function, broken out of ...
38638         (__printf_fp): ... local function here.  Update call sites.
38639         hack_digit now takes an additional parameter that is a pointer
38640         to a struct of the referenced locals.  Those locals moved inside
38641         the struct and references updated.
38643 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
38645         * aclocal.m4: Require autoconf 2.69.
38646         * configure: Regenerated.
38647         * sysdeps/aarch64/configure: Likewise.
38648         * sysdeps/alpha/configure: Likewise.
38649         * sysdeps/arm/armv7/configure: Likewise.
38650         * sysdeps/arm/configure: Likewise.
38651         * sysdeps/ia64/configure: Likewise.
38652         * sysdeps/mach/configure: Likewise.
38653         * sysdeps/mips/configure: Likewise.
38654         * sysdeps/s390/configure: Likewise.
38655         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
38656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
38658         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
38659         file.
38660         * sysdeps/ia64/configure.ac: Likewise.
38662 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
38664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
38665         specify symbol version for ld.so.  Do not include entry for
38666         libpthread.
38667         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38668         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38669         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38671         [BZ #14171]
38672         * Makeconfig [$(build-shared) = yes]
38673         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
38674         makefiles.
38675         [$(build-shared) = yes && $(soversions.mk-done) = t]
38676         ($(common-objpfx)gnu/lib-names.h): Remove rule.
38677         [$(build-shared) = yes && $(soversions.mk-done) = t]
38678         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
38679         to Makerules.
38680         [$(build-shared) = yes && $(soversions.mk-done) = t]
38681         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
38682         here.
38683         [$(build-shared) = yes && $(soversions.mk-done) = t]
38684         (common-generated): Don't append gnu/lib-names.h and
38685         gnu/lib-names.stmp here.
38686         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
38687         (lib-names-h-abi): New variable.
38688         [$(build-shared) = yes && $(soversions.mk-done) = t]
38689         (lib-names-stmp-abi): Likewise.
38690         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38691         abi-variants] (before-compile): Append
38692         $(common-objpfx)$(lib-names-h-abi).
38693         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38694         abi-variants] (common-generated): Append gnu/lib-names.h.
38695         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38696         abi-variants] (install-others-nosubdir): Depend on
38697         $(inst_includedir)/$(lib-names-h-abi).
38698         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38699         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
38700         [$(build-shared) = yes && $(soversions.mk-done) = t]
38701         ($(common-objpfx)$(lib-names-h-abi)): New rule.
38702         [$(build-shared) = yes && $(soversions.mk-done) = t]
38703         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
38704         [$(build-shared) = yes && $(soversions.mk-done) = t]
38705         (common-generated): Append $(lib-names-h-abi) and
38706         $(lib-names-stmp-abi).
38707         * scripts/lib-names.awk: Do not handle multi being set.
38708         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
38709         Remove variable.
38710         (abi-lp64_be-ld-soname): Likewise.
38711         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
38712         Likewise.
38713         (abi-hard-ld-soname): Likewise.
38714         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
38715         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
38716         Remove variable.
38717         (abi-o32_hard-ld-soname): Likewise.
38718         (abi-o32_soft_2008-ld-soname): Likewise.
38719         (abi-o32_hard_2008-ld-soname): Likewise.
38720         (abi-n32_soft-ld-soname): Likewise.
38721         (abi-n32_hard-ld-soname): Likewise.
38722         (abi-n32_soft_2008-ld-soname): Likewise.
38723         (abi-n32_hard_2008-ld-soname): Likewise.
38724         (abi-n64_soft-ld-soname): Likewise.
38725         (abi-n64_hard-ld-soname): Likewise.
38726         (abi-n64_soft_2008-ld-soname): Likewise.
38727         (abi-n64_hard_2008-ld-soname): Likewise.
38728         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
38729         Likewise.
38730         (abi-64-v2-ld-soname): Likewise.
38731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
38732         ld.so entries.
38733         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
38734         variable.
38735         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
38736         entry.
38737         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
38738         variable.
38739         (abi-64-ld-soname): Likewise.
38740         (abi-x32-ld-soname): Likewise.
38741         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
38742         entry.
38743         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38745 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
38747         [BZ #14138]
38748         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
38749         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
38750         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
38751         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
38752         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
38753         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
38754         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
38755         syscall entry for GLIBC_2.2 symbol version.
38756         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
38757         Likewise.
38758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38759         (setrlimit): Likewise.
38760         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
38761         Likewise.
38763 2014-09-23  Will Newton  <will.newton@linaro.org>
38765         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
38766         _LINUX_ARM_SYSDEP_H include guard too.
38767         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
38768         define.
38770 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38772         * sysdeps/unix/sysv/linux/eventfd.c:
38773         Make first argument unsigned.
38774         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
38775         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
38777 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
38779         [BZ #16852]
38780         * socket/recvmmsg.c (recvmmsg): Drop const argument.
38781         * socket/sys/socket.h: Likewise.
38782         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
38784 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38786         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
38788 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
38790         * time/tst-ftime.c: New test.
38791         * time/Makefile (tests): Add tst-ftime.
38793 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
38795         * soft-fp/extended.h: Fix comment formatting.
38796         * soft-fp/op-1.h: Likewise.
38797         * soft-fp/op-2.h: Likewise.
38798         * soft-fp/op-4.h: Likewise.
38799         * soft-fp/op-8.h: Likewise.
38800         * soft-fp/op-common.h: Likewise.
38801         * soft-fp/soft-fp.h: Likewise.
38803         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
38805 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
38807         [BZ #6652]
38808         * Makeconfig (soversions-default-setname): Remove variable.
38809         ($(common-objpfx)soversions.i): Don't pass default_setname to
38810         soversions.awk.
38811         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
38812         oldest_abi to abi-versions.awk.
38813         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
38814         * config.make.in (oldest-abi): Remove variable.
38815         * configure.ac (--enable-oldest-abi): Remove configure option.
38816         * configure: Regenerated.
38817         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
38818         text.
38819         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
38820         * scripts/soversions.awk: Do not handle default_setname variable.
38821         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
38822         variable.
38823         * sysdeps/mach/hurd/configure: Regenerated.
38824         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
38825         variable.
38826         * sysdeps/unix/sysv/linux/configure: Regenerated.
38828 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38830         * elf/Makefile (CFLAGS-interp.c): Remove.
38831         ($(elf-objpfx)runtime-linker.h): Generate header with linker
38832         path string.
38833         * elf/interp.c: Include generated runtime-linker.h
38835         * Makerules (lib%.so): Don't include $(+interp) in
38836         prerequisites.
38837         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
38838         * dlfcn/eval.c: Remove file.
38840         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
38841         macros.
38843         [BZ #17266]
38844         * misc/sys/cdefs.h: Define __extern_always_inline for clang
38845         4.2 and newer.
38847         [BZ #17370]
38848         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
38850 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38851             Jakub Jelinek  <jakub@redhat.com>
38853         [BZ #17266]
38854         * libio/stdio.h: Check definition of __fortify_function
38855         instead of __extern_always_inline to include bits/stdio2.h.
38856         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
38857         check if __extern_always_inline is defined.
38858         [__USE_MISC || __USE_XOPEN]: Likewise.
38859         [__USE_ISOC99] Likewise.
38860         * misc/sys/cdefs.h (__fortify_function): Define only if
38861         __extern_always_inline is defined.
38862         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
38863         __extern_always_inline and __extern_inline only for g++-4.3
38864         and newer or a compatible gcc.
38866 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
38868         [BZ #17371]
38869         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38870         last change to handle zero prefix length.
38872 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38874         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
38875         _SC_REGEX_VERSION.
38877         * posix/getconf.c (vars): Add _POSIX_IPV6 and
38878         _POSIX_RAW_SOCKETS.
38880 2014-09-13  Allan McRae  <allan@archlinux.org>
38882         * po/ru.po: Update Russian translation from translation project.
38884 2014-09-12  Roland McGrath  <roland@hack.frob.com>
38886         * locale/programs/locale.c (show_locale_vars): Inline local function
38887         into its sole call site.  Clean up some style nits.
38888         (print_item): New function, broken out of ...
38889         (show_info): ... local function here.  Clean up style nits.
38891         * locale/programs/ld-ctype.c (set_one_default): New function, broken
38892         out of ...
38893         (set_class_defaults): ... local function set_default here.
38894         Define set_default as a macro locally to pass constant parameters.
38895         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
38896         rather than a shared local.
38898         * stdlib/rpmatch.c (try): New function, broken out of ...
38899         (rpmatch): ... local function here.  Also, prototypify definition.
38901 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
38903         * scripts/soversions.awk: Do not handle configuration names.
38904         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
38905         vendor and os variables to soversions.awk.
38906         * configure.ac: Do not modify gnu-* host_os.
38907         * configure: Regenerated
38908         * shlib-versions: Remove first column with configuration names.
38909         * nptl/shlib-versions: Likewise.
38910         * nptl_db/shlib-versions: Likewise.
38911         * sysdeps/hppa/shlib-versions: Likewise.
38912         * sysdeps/m68k/shlib-versions: Likewise.
38913         * sysdeps/mach/hurd/shlib-versions: Likewise.
38914         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
38915         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
38916         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
38917         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
38918         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
38919         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
38920         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
38921         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
38922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38923         Likewise.
38924         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38925         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38926         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38927         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38928         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38929         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
38930         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38931         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38934         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
38935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38936         Regenerated.
38937         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
38938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38939         Condition symbol version definitions on [HAVE_ELFV2_ABI].
38941         * shlib-versions: Remove OS-specific entries.  Moved to files in
38942         sysdeps.
38943         * sysdeps/mach/hurd/shlib-versions: New file.
38944         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38946         * nptl/shlib-versions: Remove architecture-specific entries.
38947         Moved to files in sysdeps.
38948         * shlib-versions: Likewise.
38949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
38950         file.
38951         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38952         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38953         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38954         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38956         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
38957         (UDP_NO_CHECK6_RX): Likewise.
38959 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38961         * sysdeps/posix/sysconf.c (__sysconf): Spell
38962         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
38964 2014-08-12  Florian Weimer  <fweimer@redhat.com>
38966         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
38967         loading.
38968         * iconv/Versions (__gconv_transliterate): Export for use from
38969         gconv modules.
38970         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
38971         (struct __gconv_trans_data, __gconv_trans_fct,
38972         __gconv_trans_context_fct, __gconv_trans_query_fct,
38973         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
38974         definitions.
38975         (struct __gconv_step_data): Remove __trans member.
38976         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
38977         longer hidden.  Remove unused trans_data argument.
38978         * iconv/gconv_int.h (struct trans_struct): Remove definition.
38979         (__gconv_translit_find): Remove declaration.
38980         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
38981         prototype.
38982         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
38983         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
38984         trans_data argument.  Add hidden definition.
38985         (__gconv_translit_find): Remove.
38986         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
38987         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
38988         * iconv/skeleton.c: Remove transliteration initialization.
38989         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
38990         __gconv_step_data initialization.
38991         * libio/iofwide.c (__libio_translit_): Remove.
38992         (_IO_fwide): Adjust struct __gconv_step_data initialization.
38993         * wcsmbs/btowc.c (__btowc): Likewise.
38994         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38995         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38996         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
38997         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
38998         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
38999         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
39000         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
39001         * wcsmbs/wctob.c (wctob): Likewise.
39003 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39005         [BZ #16194]
39006         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
39007         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
39008         register usage.
39009         * sysdeps/x86/Makefile: Adjust.
39011 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39012             Roland McGrath  <roland@hack.frob.com>
39014         * locale/weight.h: Add include guard.
39015         (findidx): Make static rather than auto; take new parameters
39016         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
39017         * locale/weightwc.h: Likewise.
39018         * posix/fnmatch_loop.c
39019         (FCT): Change type of EXTRA from int32_t to wint_t.
39020         Don't include either header inside the function.
39021         Call FINDIDX rather than findidx, and pass new arguments.
39022         #undef FINDIDX at the end of the file.
39023         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
39024         FINDIDX before including fnmatch_loop.c for the non-wide version.
39025         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
39026         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
39027         for the wide version.
39028         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
39029         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
39030         Pass new arguments to findidx.
39031         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
39032         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
39033         Don't #include it inside the function.  Pass new arguments to findidx.
39034         * posix/regex_internal.h
39035         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
39036         (re_string_elem_size_at): Don't #include it inside the function.
39037         Pass new arguments to findidx.
39038         * string/strcoll_l.c: #include WEIGHT_H at top level.
39039         (get_next_seq): Don't #include it inside the function.
39040         Pass new arguments to findidx.
39041         (get_next_seq_nocache): Likewise.
39042         * string/strxfrm_l.c: #include WEIGHT_H at top level.
39043         (STRXFRM): Don't #include it inside the function.
39044         Pass new arguments to findidx.
39046 2014-09-11  Florian Weimer  <fweimer@redhat.com>
39048         [BZ #17344]
39049         * malloc/malloc.c (unlink): Turn asserts into a call to
39050         malloc_printerr.
39052 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
39054         [BZ #17370]
39055         * libio/wfileops (do_ftell_wide): Free OUT.
39057 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
39059         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
39061 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39063         [BZ #17363]
39064         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
39065         group if the current group is empty.
39067 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39069         * benchtests/bench-memset.c (test_main): Add more test from size
39070         from 32 to 512 bytes.
39071         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39072         Add POWER8 memset object.
39073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39074         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
39075         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
39076         implementation.
39077         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
39078         Likewise.
39079         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
39080         multiarch POWER8 memset optimization.
39081         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
39082         POWER8 memset optimization.
39084         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39085         Remove bzero multiarch objects.
39086         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
39087         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
39088         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
39089         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
39090         Remove define.
39091         [__bzero]: Redefine to specific name.
39092         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
39093         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
39094         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
39095         define.
39096         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39097         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39099 2014-09-10  Florian Weimer  <fweimer@redhat.com>
39101         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
39102         warnings into errors.
39104         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
39105         __cxa_thread_atexit_impl prototype.
39107 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39109         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
39110         Fix capitalization of error message.
39112 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39114         * sysdeps/mips/preconfigure: Modify ABI tests.
39116 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
39118         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
39120 2014-09-07  Roland McGrath  <roland@hack.frob.com>
39121             Carlos O'Donell  <carlos@systemhalted.org>
39123         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
39124         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
39125         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
39126         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
39127         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
39128         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
39129         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
39130         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
39131         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
39132         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
39133         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
39134         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
39135         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
39136         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
39137         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
39138         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
39139         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
39140         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
39141         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
39142         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
39143         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
39144         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
39145         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
39146         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
39147         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
39148         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
39149         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
39150         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
39151         Deconditionalize the code that was previously under [RESET_PID].
39152         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
39153         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
39154         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
39155         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
39156         include sysdep.h.
39158 2014-09-08  Allan McRae  <allan@archlinux.org>
39160         * version.h (RELEASE): Set to "development".
39161         (VERSION): Set to "2.20.90"
39163 2014-09-07  Allan McRae  <allan@archlinux.org
39165         * version.h (RELEASE): Set to "stable".
39166         (VERSION): Set to "2.20"
39167         * include/features.h (__GLIBC_MINOR__): Set to 20.
39169         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
39170         Liebler.
39172         * po/ko.po: Update Korean translation from translation project.
39174 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
39176         [BZ #17354]
39177         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
39178         macro for handling signed relocations.
39180 2014-09-03  Florian Weimer  <fweimer@redhat.com>
39182         [BZ #17325]
39183         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
39184         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
39185         assert.
39186         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
39187         * iconvdata/ibm935.c (BODY): Likewise.
39188         * iconvdata/ibm937.c (BODY): Likewise.
39189         * iconvdata/ibm939.c (BODY): Likewise.
39190         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
39191         assert.
39192         * iconvdata/Makefile (iconv-test.out): Pass module list to test
39193         script.
39194         * iconvdata/run-iconv-test.sh: New test loop for checking for
39195         decoder crashers.
39197 2014-09-02  Khem Raj  <raj.khem@gmail.com>
39199         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
39200         libm_hidden_ver.
39202 2014-09-01  Allan McRae  <allan@archlinux.org>
39204         * po/eo.po: Update Esperanto translation from translation project.
39206         * po/ca.po: Update Catalan translation from translation project.
39208 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39210         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
39211         __proc_dostop call.
39213 2014-08-27  Mark Wielaard  <mjw@redhat.com>
39215         [BZ #17319]
39216         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
39217         to call set_thread_area instead of hand written asm.
39218         (__NR_set_thread_area): Removed define.
39219         (TLS_FLAG_WRITABLE): Likewise.
39220         (__ASSUME_SET_THREAD_AREA): Remove check.
39221         (TLS_EBX_ARG): Remove define.
39222         (TLS_LOAD_EBX): Likewise.
39224 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39226         Simplify atomicity of socket creation in bind.
39228         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
39229         looking up the name after linking the file.
39231 2014-08-27  Allan McRae  <allan@archlinux.org>
39233         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39235 2014-08-26  Florian Weimer  <fweimer@redhat.com>
39237         [BZ #17187]
39238         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
39239         trans_compare, open_translit, __gconv_translit_find):
39240         Remove module loading code.
39242 2014-08-26  Allan McRae  <allan@archlinux.org>
39244         * po/vi.po: Update Vietnamese translation from translation project.
39246         * po/uk.po: Update Ukrainian translation from translation project.
39248         * po/fr.po: Update French translation from translation project.
39250         * po/ru.po: Update Russian translation from translation project.
39252         * po/pl.po: Update Polish translation from translation project.
39254         * po/cs.po: Update Czech translation from translation project.
39256         * po/de.po: Update German translation from translation project.
39258         * po/bg.po: Update Bulgarian translation from translation project.
39260         * po/sv.po: Update Sweedish translation from translation project.
39262         * po/nl.po: Update Dutch translation from translation project.
39264         * po/es.po: Update Spanish translation from translation project.
39266 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39268         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
39270         * catgets/Makefile (CPPFLAGS-gencat): Remove.
39271         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
39272         (CPPFLAGS-iconvconfig): Likewise.
39273         * timezone/Makefile (CPPFLAGS-zic): Likewise.
39275         * include/libc-symbols.h: Remove unnecessary check for
39276         NOT_IN_libc.
39277         * nptl/pthreadP.h: Likewise.
39278         * sysdeps/aarch64/setjmp.S: Likewise.
39279         * sysdeps/alpha/setjmp.S: Likewise.
39280         * sysdeps/arm/sysdep.h: Likewise.
39281         * sysdeps/i386/setjmp.S: Likewise.
39282         * sysdeps/m68k/setjmp.c: Likewise.
39283         * sysdeps/posix/getcwd.c: Likewise.
39284         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39285         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39286         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39287         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39288         * sysdeps/sh/sh3/setjmp.S: Likewise.
39289         * sysdeps/sh/sh4/setjmp.S: Likewise.
39290         * sysdeps/unix/alpha/sysdep.h: Likewise.
39291         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39292         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39293         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39294         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39297         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39298         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39299         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39300         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39301         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39302         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39303         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39304         * sysdeps/x86_64/setjmp.S: Likewise.
39306 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
39308         [BZ #17263]
39309         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
39310         <stdint.h>.
39311         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
39312         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
39314 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39316         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
39318         [BZ #17262]
39319         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
39320         and __x86_64__ when disabling x87 inline functions.
39322 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
39324         [BZ #17259]
39325         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
39326         asm statement with __cpuid_count.
39328 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
39330         * configure.ac: Change __ehdr_start code to dereference the struct.
39331         Run readelf on the output to look for relocations.
39332         * configure: Regenerated.
39334 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
39336         [BZ #17261]
39337         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
39338         value to 0.
39339         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
39341 2014-08-12  Roland McGrath  <roland@hack.frob.com>
39343         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
39345 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
39347         [BZ #16892]
39348         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
39349         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
39351 2014-08-12  Sean Anderson  <seanga2@gmail.com>
39353         * malloc/malloc.c: Fix typo in comment.
39355 2014-08-09  Allan McRae  <allan@archlinux.org>
39357         * Regenerate libc.po.
39359 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
39361         * intl/tst-gettext2.sh: Check every lang file for creation.
39363 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39365         * sysdeps/aarch64/fpu/math_private.h
39366         (libc_feholdsetround_noex_aarch64_ctx): New function.
39368 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39370         * sysdeps/arm/armv6/strcpy.S (strcpy):
39371         Fix performance issue in misaligned cases.
39373 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39375         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
39376         Move definition from termios.h.
39377         (struct termio): Likewise.
39378         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39379         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39380         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39381         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39382         Likewise.
39383         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
39384         Move definition to ioctl-types.h
39385         (struct termio): Likewise.
39386         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39387         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39388         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39389         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39390         Likewise.
39392 2014-08-05  Richard Henderson  <rth@redhat.com>
39394         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
39395         exceptions.
39396         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
39397         Add fraiseexcpt.
39398         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
39399         Use __feraiseexcept.
39400         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
39401         Protect libm symbols with IS_IN_libm.
39403         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
39405 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
39407         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
39409 2014-08-04  Will Newton  <will.newton@linaro.org>
39411         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
39412         file.
39414 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
39416         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
39417         variants for each function.
39419 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39421         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
39422         appended ...
39423         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
39424         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
39425         appended ...
39426         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
39427         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
39428         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
39429         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
39430         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
39431         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
39432         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
39433         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
39434         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
39435         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
39436         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
39437         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
39438         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
39439         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
39440         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
39441         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
39442         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
39443         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
39444         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
39445         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
39446         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
39447         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
39448         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
39449         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
39450         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
39451         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
39452         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
39453         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
39454         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
39455         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
39456         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
39457         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
39458         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
39459         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
39460         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
39461         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
39462         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
39463         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
39464         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
39465         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
39466         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
39467         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
39468         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
39469         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
39470         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
39471         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
39472         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
39473         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
39474         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
39475         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
39476         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
39477         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
39478         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
39479         Update #include.
39480         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
39481         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
39483 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39485         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
39486         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
39487         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
39488         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
39489         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
39490         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
39492 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39494         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
39495         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
39496         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39497         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
39499 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39501         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
39502         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
39503         (__libc_vfork): Define function under this name.
39504         (__vfork): Define as an alias.
39505         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
39506         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
39508 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39510         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
39511         that was previously under [RESET_PID].
39512         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
39514 2014-08-04  Andreas Schwab  <schwab@suse.de>
39516         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
39518 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
39520         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
39521         (main): Likewise.
39523 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39525         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
39527 2014-08-01  Richard Henderon  <rth@redhat.com>
39529         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
39530         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
39531         typo in exact zero test.
39532         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39533         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39534         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39536 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39538         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
39539         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
39540         * sysdeps/arm/sysdep.h: ... here.
39541         [!__ASSEMBLER__]: Include <stdint.h>.
39543 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39545         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
39546         (HAVE_WCTYPE_H): Likewise.
39547         (HAVE_ISWCTYPE): Likewise.
39548         (ENABLE_NLS): Likewise.
39549         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
39550         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
39552         * posix/regex_internal.c: Check if DEBUG is defined and is
39553         set.
39555         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
39556         (HAVE_MBSRTOWCS): Likewise.
39557         * posix/fnmatch.c: Include string.h unconditionally.
39559 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39561         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
39562         reversal.
39564 2014-07-31  Roland McGrath  <roland@hack.frob.com>
39566         * sysdeps/generic/safe-fatal.h: New file.
39567         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
39568         * nptl/forward.c: Include it.
39569         (__pthread_unwind): Use __safe_fatal as default action, rather
39570         than a bogus use of INTERNAL_SYSCALL that could never work.
39572         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
39573         * configure.ac (libc_cv_builtin_trap): New test.
39574         * configure: Regenerated.
39575         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
39576         (ABORT_INSTRUCTION): Define using __builtin_trap.
39578         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
39579         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
39580         * sysdeps/nptl/nptl-signals.h: New file.
39581         * nptl/pthreadP.h: Include <nptl-signals.h>.
39583 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39585         * sysdeps/s390/s390-64/utf16-utf32-z9.c
39586         (ONE_DIRECTION): Define.
39587         * sysdeps/s390/s390-64/utf8-utf16-z9.c
39588         (ONE_DIRECTION): Define.
39589         * sysdeps/s390/s390-64/utf8-utf32-z9.c
39590         (ONE_DIRECTION): Define.
39592 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39594         * sysdeps/s390/Makefile: Delete file.
39595         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
39596         * sysdeps/s390/__longjmp.c: Delete file.
39597         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
39598         Remove fields __flags and __reserved.
39599         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
39600         and add versioning.
39601         * sysdeps/s390/rtld-__longjmp.c: Delete file.
39602         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
39603         * sysdeps/s390/rtld-setjmp.S: Likewise.
39604         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
39605         * sysdeps/s390/s390-32/__longjmp.c: ... here.
39606         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
39607         * sysdeps/s390/s390-32/setjmp.S: ... here.
39608         Add versioning.
39609         (__sigsetjmp): Remove setting __flags field.
39610         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
39611         * sysdeps/s390/s390-64/__longjmp.c: ... here.
39612         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
39613         * sysdeps/s390/s390-64/setjmp.S: ... here.
39614         Add versioning.
39615         (__sigsetjmp): Remove setting __flags field.
39616         * sysdeps/s390/setjmp.S: Delete file.
39617         * sysdeps/s390/sigjmp.c: Likewise.
39618         * sysdeps/s390/v1-longjmp.c: Likewise.
39619         * sysdeps/s390/v1-setjmp.h: Likewise.
39620         * sysdeps/s390/v1-sigjmp.c: Likewise.
39621         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
39622         Remove v1-longjmp_chk.
39623         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
39624         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
39625         Include debug/longjmp_chk.c and add versioning.
39626         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
39627         Include nptl/pt-longjmp.c and add versioning.
39628         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
39629         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
39630         Include __longjmp.c.
39631         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39632         Move to ...
39633         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
39634         (__getcontext): Remove setting __flags field.
39635         Add versioning.
39636         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39637         Don't restore upper high grps.
39638         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
39639         Likewise.
39640         (__swapcontext): Remove setting uc_flags field.
39641         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
39642         Delete file.
39643         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39644         Include __longjmp.c.
39645         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39646         Move to ...
39647         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
39648         (__getcontext): Remove setting __flags field.
39649         Add versioning.
39650         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
39651         (__swapcontext): Remove setting uc_flags field.
39652         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
39653         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
39654         Remove fields uc_high_gprs and __reserved.
39655         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
39656         New file with reverted content.
39657         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
39658         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
39659         Regenerated.
39660         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
39661         Regenerated.
39663 2014-07-31  Andreas Schwab  <schwab@suse.de>
39665         * config.h.in (HAVE_IFUNC): Define to 0.
39666         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
39667         definedness.
39669 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
39671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39672         memmove-avx-unaligned, memcpy-avx-unaligned and
39673         mempcpy-avx-unaligned.
39674         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39675         Add tests for AVX memcpy functions.
39676         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
39677         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
39678         memcpy_chk.
39679         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
39680         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
39681         memmove_chk.
39682         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
39683         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
39684         mempcpy_chk.
39685         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
39686         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
39687         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
39689 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39691         [BZ #17213]
39692         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
39693         powerpc64le.
39695 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
39697         [BZ #16839]
39698         * manual/llio.texi: Add section about open file description locks.
39699         * manual/examples/ofdlocks.c: Example of open file description
39700         lock usage.
39701         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
39702         F_OFD_SETLK, and F_OFD_SETLKW.
39704 2014-07-23  Allan McRae  <allan@archlinux.org>
39706         * po/es.po: Update Spanish translation from translation project.
39708 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
39710         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
39712 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
39714         [BZ #17078]
39715         * sysdeps/arm/dl-machine.h (elf_machine_rela)
39716         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
39717         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
39719 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
39721         [BZ #17088]
39722         * math/fesetenv.c (__fesetenv)
39723         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
39724         * math/feupdateenv.c (__feupdateenv)
39725         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
39727         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
39728         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39729         (__ASSUME_SOCKETCALL): Do not define.
39731         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
39732         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
39733         (__ASSUME_SOCKETCALL): Do not define.
39734         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
39735         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39736         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39737         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39738         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39739         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
39740         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39741         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39743         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
39744         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
39745         (__ASSUME_SOCKETCALL): Do not define.
39746         (__ASSUME_IPC64): Define unconditionally.
39747         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39748         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39749         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39750         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39751         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
39752         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39753         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
39754         Likewise.
39756         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
39757         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
39758         (__ASSUME_SOCKETCALL): Do not define.
39759         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
39760         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39761         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39762         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39763         (__ASSUME_REQUEUE_PI): Define unconditionally.
39764         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
39765         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
39766         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39767         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
39768         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39769         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39771         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
39772         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
39773         (__ASSUME_SOCKETCALL): Do not define.
39774         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
39775         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39776         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39777         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
39778         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39779         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39781         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
39782         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
39783         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39784         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
39785         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39786         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
39787         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39788         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
39789         (__ASSUME_GETCPU_SYSCALL): Likewise.
39791         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
39792         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
39793         cases for individual architectures.
39794         * sysdeps/gnu/configure: Regenerated.
39795         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
39796         LIBC_SLIBDIR_RTLDDIR.
39797         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
39798         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
39799         LIBC_SLIBDIR_RTLDDIR.
39800         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
39801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
39802         LIBC_SLIBDIR_RTLDDIR.
39803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39804         Regenerated.
39805         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
39806         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
39807         file.
39808         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
39809         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
39810         file.
39811         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
39812         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
39813         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
39814         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
39816         * sysdeps/aarch64/shlib-versions: Move to ...
39817         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
39818         * sysdeps/alpha/shlib-versions: Move to ...
39819         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
39820         * sysdeps/arm/shlib-versions: Move to ...
39821         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
39822         * sysdeps/hppa/shlib-versions: Move all contents except for
39823         libgcc_s entry to ...
39824         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
39825         entry from ...
39826         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
39827         * sysdeps/ia64/shlib-versions: Move to ...
39828         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
39829         entry from ...
39830         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
39831         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
39832         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
39833         * sysdeps/microblaze/shlib-versions: Move to ...
39834         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
39835         * sysdeps/mips/shlib-versions: Move to ...
39836         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
39837         entry from ...
39838         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
39839         * sysdeps/tile/shlib-versions: Move to ...
39840         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
39841         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
39842         from ...
39843         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
39844         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
39845         entry from ...
39846         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
39848 2014-07-17  Will Newton  <will.newton@linaro.org>
39850         * sysdeps/arm/bits/atomic.h
39851         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
39852         (__arch_compare_and_exchange_bool_16_int): Likewise.
39853         (__arch_compare_and_exchange_bool_64_int): Likewise.
39855         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
39856         into an #else block.
39858 2014-07-16  Roland McGrath  <roland@hack.frob.com>
39860         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
39861         just Linux configurations.  Test empirically that the compiler sets
39862         __ARM_EABI__, rather than using the tuple to decide.
39863         * sysdeps/arm/preconfigure: Regenerated.
39864         * sysdeps/unix/sysv/linux/arm/configure: File removed.
39865         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
39866         contents appended ...
39867         * sysdeps/arm/configure.ac: ... here.
39868         * sysdeps/arm/configure: Regenerated.
39870 2014-07-15  Roland McGrath  <roland@hack.frob.com>
39872         * nptl/pthread_kill.c: New file.
39873         * nptl/pthread_sigmask.c: New file.
39874         * nptl/pthread_sigqueue.c: New file.
39876         * sysdeps/nptl/lowlevellock.h: New file.
39877         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
39878         * sysdeps/nptl/lowlevellock-futex.h: New file.
39880         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
39881         Remove dead declarations.
39883 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
39885         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
39886         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
39887         config-cflags-avx2.
39888         * sysdeps/x86_64/configure.ac: Likewise.
39889         * sysdeps/i386/configure: Regenerated.
39890         * sysdeps/x86_64/configure: Likewise.
39891         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39892         memset-avx2 only if config-cflags-avx2 is yes.
39893         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39894         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
39895         defined.
39896         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
39897         only if HAVE_AVX2_SUPPORT is defined.
39898         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39900 2014-07-14  Alan Modra  <amodra@gmail.com>
39902         [BZ #17153]
39903         * elf/elf.h (DT_PPC64_NUM): Correct value.
39904         * NEWS: Add to fixed bug list.
39906 2014-07-13  Jim Meyering  <meyering@fb.com>
39908         [BZ 17150]
39909         regex: don't deref NULL upon heap allocation failure
39910         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
39911         failure in one more place.
39912         To trigger the segfault, configure grep -with-included-regex,
39913         build it, and run these commands:
39914         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
39916 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
39918         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39920 2014-07-11  Richard Henderson  <rth@redhat.com>
39922         * sysdeps/aarch64/libm-test-ulps: Update.
39924 2014-07-10  Florian Weimer  <fweimer@redhat.com>
39926         [BZ #17135]
39927         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
39928         * nptl/allocatestack.c (__nptl_setxid_error): New function.
39929         (__nptl_setxid): Initialize error member.  Call
39930         __nptl_setxid_error.
39931         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
39932         * nptl/descr.h (struct xid_command): Add error member.
39933         * nptl/tst-setuid3.c: New file.
39934         * nptl/Makefile (tests): Add it.
39936 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39938         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
39939         New define.
39940         (__lll_trylock): Use __lll_base_trylock.
39941         (__lll_cond_trylock): Likewise.
39943 2014-07-10  Roland McGrath  <roland@hack.frob.com>
39945         * nptl/pthread_create.c (start_thread): Use atomic_or and
39946         lll_futex_wake directly rather than lll_robust_dead.
39947         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39948         (lll_robust_dead): Macro removed.
39949         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
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         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
39966         Use atomic_compare_and_exchange_val_acq directly rather than
39967         lll_robust_trylock.
39968         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39969         (__lll_robust_trylock, lll_robust_trylock): Removed.
39970         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39971         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39972         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39973         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39974         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39975         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39976         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39977         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39978         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39979         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39980         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39981         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39982         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39983         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39985 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39987         * manual/locale.texi (Locale Names): New section documenting
39988         locale name syntax.  Adjust menu and node chaining accordingly.
39989         (Choosing Locale): Reference Locale Names, Locale Categories.
39990         Mention setting LC_ALL=C.  Reflect that name syntax is now
39991         documented.
39992         (Locale Categories): New section title.  Reference Locale Names.
39993         LC_ALL is an environment variable, but not a category.
39994         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
39995         description, now in Locale Name.  Reference that section.  Locale
39996         name syntax is now documented.
39998 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40000         [BZ #17137]
40001         * locale/findlocale.c (name_present, valid_locale_name): New
40002         functions.
40003         (_nl_find_locale): Use the loc_name variable to store name
40004         candidates.  Call name_present and valid_locale_name to check and
40005         validate locale names.  Return an error if the locale is invalid.
40007 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40009         * locale/setlocale.c (setlocale): Use strdup for allocating
40010         composite name copy.
40012 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40014         Sync up with gnulib.
40015         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
40016         [!_LIBC && ENABLE_NLS]: Include gettext.h.
40017         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
40018         and _GL_ARG_NONNULL.
40019         [USE_UNLOCKED_IO]: Include unlocked-io.h.
40020         [!_LIBC]: Include code for Windows and Cygwin.
40021         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
40022         Include prototype for int strerror_r.
40023         [!_LIBC] (is_open): New function.
40024         (flush_stdout): New function.
40025         (print_errno_message): Use it.
40026         (error): Likewise.
40027         (error_at_line): Likewise.
40028         (error_tail) Add function attribute macros.  Use
40029         __builtin_expect.
40031         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
40033         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
40035         * io/ftw.c: Include sys/param.h unconditionally.
40037         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
40039         [BZ #17125]
40040         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
40041         libc_freeres_ptr.
40042         (freecache): New function to free CACHE on exit.
40044         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
40045         initialization.
40047 2014-07-09  David S. Miller  <davem@davemloft.net>
40049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40051         * sysdeps/sparc/nptl/internaltypes.h: Delete.
40052         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
40053         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
40054         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
40055         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
40056         * sysdeps/sparc/nptl/sem_init.c: Likewise.
40057         * sysdeps/sparc/nptl/sem_post.c: Likewise.
40058         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
40059         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
40060         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
40061         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
40062         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
40063         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
40065 2014-07-09  Andreas Schwab  <schwab@suse.de>
40067         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
40068         output.
40069         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
40070         (do_test): Likewise.
40072         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40074 2014-07-09  Will Newton  <will.newton@linaro.org>
40076         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
40077         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
40078         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
40079         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
40080         * sysdeps/hppa/start.S (_start): Likewise.
40082 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40084         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
40086         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
40087         defined.
40089 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40091         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
40092         after checking that it is non-NULL.
40094         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
40096 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40098         * sysdeps/powerpc/memmove.c: Remove file.
40099         * sysdeps/powerpc/powerpc32/power4/memcopy.h
40100         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
40101         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40102         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
40103         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
40104         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
40105         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
40106         string memmove instead of removed powerpc one.
40108         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40109         [weak_alias]: Fix compiler warning due trailing data.
40110         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
40111         [weak_alias]: Likewise.
40112         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
40113         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
40115         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40116         (__libc_ifunc_impl_list): Add memmove functions.
40118 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40120         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
40121         Remove code.
40122         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
40123         Likewise.
40124         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
40125         Likewise.
40126         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
40127         Likewise.
40128         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
40129         Likewise.
40130         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
40131         Likewise.
40132         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
40133         Likewise.
40134         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
40135         Likewise.
40136         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
40137         Likewise.
40138         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
40139         Likewise.
40140         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
40141         Likewise.
40142         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
40143         Likewise.
40144         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
40145         Likewise.
40146         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
40147         Likewise.
40148         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
40149         Likewise.
40150         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
40151         Likewise.
40152         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
40153         Likewise.
40155 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40157         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
40158         to avoid alignment traps in non-cacheable memory.
40159         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40161         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
40162         multiarch objects.
40163         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
40164         file: multiarch power7 memmove.
40165         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
40166         multiarch default memmove.
40167         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
40168         multiarch memove for powerpc32/power4.
40170         * string/bcopy.c: Use full path to include memmove.c.
40171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
40172         multiarch objects.
40173         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
40174         bcopy for powerpc64.
40175         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
40176         bcopy for powerpc64.
40177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
40178         and memmove implementations.
40179         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
40180         optimized multiarch memmove for POWER7/powerpc64.
40181         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
40182         default multiarch memmove for powerpc64.
40183         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
40184         multiarch for powerpc64.
40185         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
40186         for POWER7/powerpc64.
40187         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
40188         memmove for POWER7/powerpc64.
40190         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
40191         glibc default one.
40193         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
40194         __ELF_NATIVE_CLASS equal to 64.
40196 2014-07-07  Roland McGrath  <roland@hack.frob.com>
40198         * sysdeps/nptl/lowlevellock.h: File removed.
40200         * NEWS: NPTL is no longer an add-on!
40201         * nptl/internaltypes.h: Moved ...
40202         * sysdeps/nptl/internaltypes.h: ... here.
40203         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
40204         * sysdeps/nptl/fork.c: Likewise.
40205         * sysdeps/nptl/gai_misc.h: Likewise.
40206         * sysdeps/nptl/librt-cancellation.c: Likewise.
40207         * sysdeps/nptl/jmp-unwind.c: Likewise.
40208         * sysdeps/nptl/setxid.h: Likewise.
40209         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
40210         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
40211         * sysdeps/unix/sysv/linux/arm/Implies: New file.
40212         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
40213         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
40214         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
40215         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
40216         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
40217         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
40218         * sysdeps/unix/sysv/linux/mips/Implies: New file.
40219         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
40220         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
40221         * sysdeps/unix/sysv/linux/sh/Implies: New file.
40222         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
40223         * sysdeps/unix/sysv/linux/tile/Implies: New file.
40224         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
40225         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
40226         * nptl/Makeconfig: Moved ...
40227         * sysdeps/nptl/Makeconfig: ... here.
40228         * nptl/configure: File removed.
40229         * nptl/ANNOUNCE: File removed.
40230         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
40231         * sysdeps/unix/sysv/linux/configure: Regenerated.
40233         * nptl/Makefile (routines): Add libc_pthread_init,
40234         libc_multiple_threads, register-atfork and unregister-atfork.
40235         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
40236         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
40237         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
40238         pthread-pi-defines.sym, structsem.sym.
40239         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
40240         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
40241         [$(subdir) = nptl] (tests): Add tst-setgetname.
40242         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
40243         * sysdeps/unix/sysv/linux/sigaction.c: Just include
40244         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
40245         [!LIBC_SIGACTION]: Remove aliases.
40246         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40247         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40248         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40249         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
40250         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40251         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
40252         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40253         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40254         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40255         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
40256         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
40257         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
40258         __libc_allocate_rtsig_private.
40259         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
40260         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
40261         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
40262         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
40263         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
40264         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
40265         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
40266         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
40267         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
40268         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
40269         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
40270         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
40271         * nptl/internaltypes.h: ... here.
40272         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
40273         * sysdeps/nptl/jmp-unwind.c: ... here.
40274         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
40275         * nptl/libc-lowlevellock.c: ... here.
40276         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
40277         * nptl/libc_multiple_threads.c: ... here.
40278         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
40279         * nptl/libc_pthread_init.c: ... here.
40280         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
40281         * nptl/lowlevelbarrier.sym: ... here.
40282         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
40283         * nptl/lowlevelcond.sym: ... here.
40284         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
40285         * nptl/lowlevellock.c: ... here.
40286         * nptl/lowlevellock.h: Moved ...
40287         * sysdeps/nptl/lowlevellock.h: ... here.
40288         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
40289         * nptl/lowlevelrobustlock.c: ... here.
40290         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
40291         * nptl/lowlevelrobustlock.sym: ... here.
40292         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
40293         * nptl/lowlevelrwlock.sym: ... here.
40294         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
40295         * nptl/pt-fork.c: ... here.
40296         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
40297         * nptl/pthread-pi-defines.sym: ... here.
40298         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
40299         * nptl/pthread_attr_getaffinity.c: ... here.
40300         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
40301         * nptl/pthread_attr_setaffinity.c: ... here.
40302         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
40303         * nptl/pthread_mutex_cond_lock.c: ... here.
40304         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40305         Update #include.
40306         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
40307         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
40308         * nptl/pthread_once.c: ... here, replacing old file.
40309         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
40310         * nptl/pthread_yield.c: ... here.
40311         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
40312         * nptl/register-atfork.c: ... here.
40313         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
40314         * nptl/sem_post.c: ... here.
40315         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
40316         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
40317         * nptl/sem_timedwait.c: ... here.
40318         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
40319         * nptl/sem_trywait.c: ... here.
40320         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
40321         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
40322         * nptl/sem_wait.c: ... here.
40323         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
40324         * nptl/structsem.sym: ... here.
40325         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
40326         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
40327         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
40328         * nptl/unregister-atfork.c: ... here.
40329         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
40330         * nptl/unwindbuf.sym: ... here.
40331         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
40332         * sysdeps/nptl/fork.c: ... here.
40333         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
40334         * sysdeps/nptl/fork.h: ... here.
40335         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
40336         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
40337         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
40338         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
40339         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
40340         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
40341         * sysdeps/unix/sysv/linux/getpid.c: ... here.
40342         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
40343         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
40344         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
40345         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
40346         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
40347         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
40348         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
40349         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
40350         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
40351         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
40352         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
40353         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
40354         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
40355         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
40356         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
40357         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
40358         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
40359         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
40360         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
40361         * sysdeps/unix/sysv/linux/raise.c: ... here.
40362         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
40363         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
40364         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
40365         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
40366         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
40367         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
40368         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
40369         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
40370         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
40371         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
40372         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
40373         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
40374         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
40375         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
40376         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
40378 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40380         * sysdeps/generic/memcopy.h: Add comment for
40381         MEMCPY_OK_FOR_FWD_MEMMOVE.
40383 2014-07-04  Will Newton  <will.newton@linaro.org>
40385         * string/memchr.c: Merge from gnulib.
40386         [_LIBC]: Remove conditionals.
40387         (__ptr_t): Remove define.
40388         (LONG_MAX_32_BITS): Likewise.
40389         (LONG_MAX): Likewise.
40390         (MEMCHR): Use ANSI prototype and optimize algorithm.
40392         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
40394 2014-07-03  Roland McGrath  <roland@hack.frob.com>
40396         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
40397         (lll_futex_timed_wait_bitset): Fix syscall argument count.
40399         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
40400         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
40401         in a bare environment with no <stdlib.h> installed.
40402         * sysdeps/nptl/configure: Regenerated.
40404         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
40406         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
40407         AC_EGREP_CPP for kernel header checks, so they only succeed if
40408         including <linux/version.h> actually works right.
40409         * sysdeps/unix/sysv/linux/configure: Regenerated.
40411         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
40412         value so it's not diagnosed as unused.
40414         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
40415         thing) with "ifeq ($(subdir),rt)".
40417 2014-07-03  Richard Henderson  <rth@redhat.com>
40419         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
40420         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
40421         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
40423         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
40424         (math_force_eval): New.
40426         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
40427         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
40429         * sysdeps/alpha/fpu/s_round.c: Remove file.
40430         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
40432         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
40433         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
40434         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
40435         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
40436         (_dl_start, print_statistics): Likewise.
40437         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
40438         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
40440         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40441         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40442         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40443         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40444         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40445         (HP_SMALL_TIMING_AVAIL): Define.
40446         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40447         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40448         (HP_SMALL_TIMING_AVAIL): Define.
40449         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40450         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40452         * sysdeps/aarch64/hp-timing.h: New file.
40454         * sysdeps/generic/hp-timing.h: Remove dead comment.
40455         * sysdeps/generic/hp-timing-common.h: New file.
40456         * sysdeps/alpha/hp-timing.h: Include it.
40457         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
40458         * sysdeps/i386/i686/hp-timing.h: Likewise.
40459         * sysdeps/ia64/hp-timing.h: Likewise.
40460         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40461         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40462         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40463         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40464         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
40465         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
40466         (hp_timing_t): New.
40468         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
40469         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
40470         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
40471         * elf/rtld.c (_dl_start_final): Likewise.
40472         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
40473         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40474         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40475         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40476         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40477         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40478         (HP_TIMING_DIFF_INIT): Remove.
40479         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40480         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40481         (HP_TIMING_DIFF_INIT): Remove.
40482         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40483         * sysdeps/i386/i686/hp-timing.c: Remove file.
40484         * sysdeps/x86_64/hp-timing.c: Remove file.
40485         * sysdeps/ia64/hp-timing.c: Remove file.
40486         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
40487         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
40488         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
40489         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
40491         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
40492         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
40493         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
40494         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40495         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40496         (HP_TIMING_ACCUM): Remove.
40497         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40498         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
40499         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40501         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
40502         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
40503         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
40504         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
40505         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
40506         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40507         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
40508         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40510         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
40512 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
40514         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
40516 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40518         Sync up with gettext.
40519         * intl/loadmsgcat.c: Define O_BINARY if not defined.
40520         [_MSC_VER]: Include malloc.h
40521         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
40522         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
40523         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
40524         TEMP_FAILURE_RETRY.  Cast return of alloca.
40525         [!_LIBC] Call gl_rwlock_init.
40526         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
40528 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40530         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
40531         before checking its value.
40533 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40535         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
40537         * debug/memcpy_chk.c: Don't include pagecopy.h.
40538         * debug/mempcpy_chk.c: Likewise.
40539         * string/memcpy.c: Likewise.
40540         * string/memmove.c: Likewise.
40541         * sysdeps/powerpc/memmove.c: Likewise.
40542         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
40543         definition of PAGE_COPY_FWD_MAYBE here...
40544         * sysdeps/generic/pagecopy.h: ... from here.
40545         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
40547 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40548             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40550         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
40551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
40552         optimizations.
40553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40554         (__libc_ifunc_impl_list): Likewise.
40555         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
40556         multiarch strcat for PPC64.
40557         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
40558         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
40560 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40562         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
40564 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40566         * intl/loadmsgcat.c: Remove declaration of
40567         get_sysdep_segment_value.
40568         (get_sysdep_segment_value): Use ISO C style.
40569         (_nl_load_domain): Use ISO C style.  Get rid of redundant
40570         semicolon.  Fix typo and formatting in comment.
40571         (_nl_unload_domain): Use ISO C style.
40573         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
40575 2014-07-02  Will Newton  <will.newton@linaro.org>
40577         * malloc/obstack.c: Merge from gnulib master.
40578         [HAVE_CONFIG_H]: Remove conditional code.
40579         [!_LIBC]: Include config.h.
40580         [!ELIDE_CODE]: Don't include inttypes.h, include
40581         stdint.h unconditionally.
40582         (print_and_abort): Mark as _Noreturn.
40583         (_obstack_allocated_p): Mark as __attribute_pure__.
40584         (obstack_free): Rename to __obstack_free.
40585         [!__attribute__]: Remove conditional code.
40586         * malloc/obstack.h: Merge from gnulib master.
40587         [__cplusplus]: Move conditional down.
40588         [!__attribute_pure__]: Define __attribute_pure__ here
40589         if it is not already defined.
40590         (_obstack_memory_used): Mark as __attribute_pure__.
40591         [!__obstack_free]: Define as obstack_free.
40592         [__GNUC__]: Remove check for ancient NeXT gcc.
40594 2014-07-02  Will Newton  <will.newton@linaro.org>
40595             Paul Eggert  <eggert@cs.ucla.edu>
40597         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
40599 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40601         * resolv/gethnamaddr.c: Add comment warning that the file is
40602         not maintained.
40604 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
40606         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
40607         entries.
40609         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
40610         entry for aio_cancel and aio_cancel64.
40611         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
40612         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
40613         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
40614         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
40615         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
40616         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
40617         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
40618         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
40619         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
40620         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
40621         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
40622         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
40623         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
40625 2014-07-01  Roland McGrath  <roland@hack.frob.com>
40627         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
40628         * nptl/pthread_mutex_lock.c: Likewise.
40629         * nptl/pthread_mutex_timedlock.c: Likewise.
40630         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
40632 2014-07-01  Richard henderson  <rth@redhat.com>
40634         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
40635         (__isnan, __isnanl): Remove.
40636         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
40638         * sysdeps/alpha/fpu/libm-test-ulps: Update.
40640 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40642         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40644 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40646         * resolv/nss_dns/dns-host.c (getanswer_r)
40647         [MULTI_PTRS_ARE_ALIASES]: Remove code.
40649 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
40651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40652         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
40653         undefine.
40654         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
40655         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
40657 2014-07-01  Roland McGrath <roland@hack.frob.com>
40659         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
40660         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
40662         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
40663         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
40665         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
40666         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
40667         ... here.
40668         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
40669         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
40671         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
40672         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
40673         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
40674         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
40676         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
40677         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
40678         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
40679         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
40680         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
40681         Moved ...
40682         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
40683         ... here.
40684         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
40685         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
40686         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
40687         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
40688         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
40689         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
40690         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
40691         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
40692         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
40693         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
40694         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
40695         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
40696         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
40697         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
40698         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
40699         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
40700         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
40701         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
40702         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
40703         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
40704         ... here.
40705         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
40706         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
40707         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
40708         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
40709         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
40710         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
40711         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
40712         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
40714 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
40716         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
40717         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
40718         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
40719         Add sysdep.
40721 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40725 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40727         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
40728         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40730         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40732         * sysdeps/arm/libm-test-ulps: Regenerated.
40734 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40735             Roland McGrath <roland@hack.frob.com>
40737         * test-skeleton.c (signal_handler): Kill the whole process group
40738         before killing the child individually.
40739         (main): Report any failure on `setpgid'.
40741 2014-06-30  Roland McGrath  <roland@hack.frob.com>
40743         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
40744         from _TLS_H to _ARM_NPTL_TLS_H.
40745         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
40746         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
40748 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40750         [BZ #16539]
40751         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
40752         (__expm1l): Return argument unchanged when small but not
40753         subnormal.
40755         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
40756         include macro name.
40757         (_FP_UNPACK_RAW_1_P): Likewise.
40758         (_FP_PACK_RAW_1): Likewise.
40759         (_FP_PACK_RAW_1_P): Likewise.
40760         (_FP_MUL_MEAT_1_wide): Likewise.
40761         (_FP_MUL_MEAT_DW_1_hard): Likewise.
40762         (_FP_MUL_MEAT_1_hard): Likewise.
40763         (_FP_DIV_MEAT_1_imm): Likewise.
40764         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
40765         (_FP_DIV_MEAT_1_udiv): Likewise.
40766         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
40767         (_FP_UNPACK_RAW_2): Likewise.
40768         (_FP_UNPACK_RAW_2_P): Likewise.
40769         (_FP_PACK_RAW_2): Likewise.
40770         (_FP_PACK_RAW_2_P): Likewise.
40771         (_FP_MUL_MEAT_DW_2_wide): Likewise.
40772         (_FP_MUL_MEAT_2_wide): Likewise.
40773         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
40774         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40775         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
40776         (_FP_MUL_MEAT_2_gmp): Likewise.
40777         (_FP_DIV_MEAT_2_udiv): Likewise.
40778         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
40779         (_FP_FRAC_SRL_4): Likewise.
40780         (_FP_FRAC_SRST_4): Likewise.
40781         (_FP_FRAC_SRS_4): Likewise.
40782         (_FP_UNPACK_RAW_4): Likewise.
40783         (_FP_UNPACK_RAW_4_P): Likewise.
40784         (_FP_PACK_RAW_4): Likewise.
40785         (_FP_PACK_RAW_4_P): Likewise.
40786         (_FP_MUL_MEAT_DW_4_wide): Likewise.
40787         (_FP_MUL_MEAT_4_wide): Likewise.
40788         (_FP_MUL_MEAT_4_gmp): Likewise.
40789         (umul_ppppmnnn): Likewise.
40790         (_FP_DIV_MEAT_4_udiv): Likewise.
40791         (__FP_FRAC_ADD_4): Likewise.
40792         (__FP_FRAC_SUB_3): Likewise.
40793         (__FP_FRAC_SUB_4): Likewise.
40794         (__FP_FRAC_DEC_3): Likewise.
40795         (__FP_FRAC_DEC_4): Likewise.
40796         (__FP_FRAC_ADDI_4): Likewise.
40797         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
40798         (_FP_FRAC_SRL_8): Likewise.
40799         (_FP_FRAC_SRS_8): Likewise.
40801         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
40802         include macro name.
40803         (FP_UNPACK_RAW_EP): Likewise.
40804         (FP_PACK_RAW_E): Likewise.
40805         (FP_PACK_RAW_EP): Likewise.
40806         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
40807         (_FP_ISSIGNAN): Likewise.
40808         (_FP_ADD_INTERNAL): Likewise.
40809         (_FP_FMA): Likewise.
40810         (_FP_CMP): Likewise.
40811         (_FP_SQRT): Likewise.
40812         (_FP_TO_INT): Likewise.
40813         (_FP_FROM_INT): Likewise.
40814         (FP_EXTEND): Likewise.
40815         (_FP_DIV_MEAT_N_loop): Likewise.
40817 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40819         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
40820         throughout.
40822 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
40824         [BZ #17097]
40825         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
40826         result with correct sign in case of exponents that produce
40827         overflow except for X very close to 1.
40829 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
40831         mktime: merge #if/#ifdef usage from glibc
40832         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
40833         as that works with both Glibc's and Gnulib's style.
40834         See thread starting at Siddhesh Poyarekar's bug report at:
40835         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
40837 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40839         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
40840         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
40841         * sysdeps/tile/tilegx/memmove.c: Remove file.
40843 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40845         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
40846         abi-name definition.
40847         * scripts/soversions.awk: Do not handle or generate ABI lines.
40848         * shlib-versions: Remove ABI entries.
40849         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
40850         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
40852 2014-06-27  Roland McGrath  <roland@hack.frob.com>
40854         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
40855         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
40856         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
40857         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
40858         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
40859         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
40860         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
40861         Moved ...
40862         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
40863         ... here.
40864         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
40865         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
40866         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
40867         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
40868         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
40869         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
40870         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
40871         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
40872         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
40873         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
40874         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
40875         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
40876         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
40877         Moved ...
40878         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
40879         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
40880         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
40881         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
40882         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
40883         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
40884         Moved ...
40885         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
40886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
40887         Moved ...
40888         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
40889         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
40890         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
40891         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
40892         Moved ...
40893         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
40894         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
40895         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
40896         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
40897         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
40898         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
40899         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
40900         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
40901         Moved ...
40902         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
40903         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
40904         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
40905         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
40906         Moved ...
40907         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
40908         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
40909         Moved ...
40910         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
40911         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
40912         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
40913         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
40914         Moved ...
40915         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
40916         ... here.
40917         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
40918         Identical file removed.
40919         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
40920         Moved ...
40921         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
40922         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
40923         Identical file removed.
40924         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
40925         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
40926         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
40927         Moved ...
40928         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
40929         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
40930         Identical file removed.
40931         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
40932         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
40933         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
40934         Identical file removed.
40935         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
40936         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
40937         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
40938         Identical file removed.
40939         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
40940         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
40941         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
40942         Identical file removed.
40943         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
40944         Moved ...
40945         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
40946         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
40947         Identical file removed.
40948         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
40949         Moved ...
40950         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
40951         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
40952         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
40953         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
40954         Identical file removed.
40955         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
40956         Moved ...
40957         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
40958         ... here.
40959         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
40960         Identical file removed.
40961         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
40962         Moved ...
40963         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
40964         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
40965         Identical file removed.
40966         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
40967         Moved ...
40968         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
40969         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
40970         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
40971         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
40972         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
40973         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
40974         Moved ...
40975         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
40976         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
40977         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
40979         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
40980         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
40981         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
40982         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
40983         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
40985 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
40987         [BZ #17092]
40988         * nscd/nscd.c (monitor_child): Return exit status of child
40989         instead of return value from wait syscall.
40991 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40993         * configure.ac (libc_commonpagesize): Remove variable.
40994         (libc_relro_required): Likewise.
40995         (libc_cv_z_relro): Remove configure test.
40996         * configure: Regenerated.
40997         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
40998         variable.
40999         (libc_relro_required): Likewise.
41000         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
41001         (libc_relro_required): Likewise.
41002         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
41003         (libc_relro_required): Likewise.
41004         * sysdeps/arm/preconfigure: Regenerated.
41005         * sysdeps/ia64/preconfigure: Remove file.
41006         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
41007         variable.
41008         (libc_relro_required): Likewise.
41010         [BZ #16561]
41011         [BZ #16562]
41012         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
41013         (__ieee754_yn): Set FE_TONEAREST mode internally and then
41014         recompute overflowing results in original rounding mode.
41015         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
41016         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
41017         recompute overflowing results in original rounding mode.
41018         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
41019         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41020         recompute overflowing results in original rounding mode.
41021         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
41022         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41023         recompute overflowing results in original rounding mode.
41024         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
41025         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41026         recompute overflowing results in original rounding mode.
41027         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
41028         (libc_feholdsetround_ctx): New macro.
41029         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
41030         * sysdeps/i386/fpu/libm-test-ulps: Update.
41031         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
41033 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41035         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
41036         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
41037         corresponding .cpsetup call.
41039 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41041         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
41042         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
41043         * sysdeps/arm/Makefile [$(subdir) = csu]
41044         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
41045         (static-only-routines): Add aeabi_read_tp here.
41046         (shared-only-routines): Add libc-aeabi_read_tp here.
41047         (CFLAGS-libc-start.c): Add -fexceptions here.
41048         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
41049         (sysdep_routines, static-only-routines, shared-only-routines):
41050         Don't add to these here.
41051         (CFLAGS-libc-start.c): Likewise.
41053         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
41054         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41055         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
41056         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41057         * sysdeps/arm/Makefile [$(subdir) = rt]
41058         (librt-sysdep_routines, librt-shared-only-routines):
41059         Append rt-aeabi_unwind_cpp_pr1 here.
41060         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
41061         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
41062         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
41063         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41064         Append nptl-aeabi_unwind_cpp_pr1 here.
41065         (tests): Filter out tst-cleanupx4 here.
41066         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
41067         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
41068         Don't do those here.
41070 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41072         * scripts/list-sources.sh: Do not handle ports specially.
41074 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41076         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
41077         * sysdeps/arm/feupdateenv.c: Likewise.
41079         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
41081 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41083         * manual/texinfo.tex: Update to version 2014-05-05.10 with
41084         trailing whitespace removed.
41085         * scripts/config.guess: Update to version 2014-03-23.
41086         * scripts/config.sub: Update to version 2014-05-01
41087         * scripts/install-sh: Update to version 2013-12-25.23.
41088         * scripts/move-if-change: Update from gnulib.
41090 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41092         * debug/memmove_chk.c: Remove pagecopy.h include.
41094 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
41096         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
41097         identical to gnulib mktime.
41099 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41101         * configure.ac: Do not test for machine being rs6000.  Do not test
41102         for powerpc*-*soft.
41103         * configure: Regenerated.
41105         [BZ #11505]
41106         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
41107         test.
41108         * configure: Regenerated.
41109         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
41110         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
41111         Remove configure test.
41112         * sysdeps/arm/configure: Regenerated.
41113         * sysdeps/nptl/configure.ac: Do not check
41114         libc_cv_asm_cfi_directives.
41115         * sysdeps/nptl/configure: Regenerated.
41116         * sysdeps/x86_64/nptl/configure.ac: Remove file.
41117         * sysdeps/x86_64/nptl/configure: Remove generated file.
41118         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
41119         unconditional.
41120         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
41122 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41124         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
41125         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
41126         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
41127         it is defined.
41129         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
41130         instead of whether it is defined.
41131         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
41132         * sysdeps/hppa/dl-machine.h: Likewise.
41133         * sysdeps/ia64/dl-machine.h: Likewise.
41134         * sysdeps/m68k/dl-machine.h: Likewise.
41135         * sysdeps/microblaze/dl-machine.h: Likewise.
41136         * sysdeps/mips/dl-machine.: Likewise.
41137         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41138         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41139         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41140         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41141         * sysdeps/sh/dl-machine.h: Likewise.
41142         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41143         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41144         * sysdeps/tile/dl-machine.h: Likewise.
41145         * sysdeps/x86_64/dl-machine.h: Likewise.
41147         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
41148         code.
41149         (verify_persistent_db): Likewise.
41151 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
41154         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
41155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
41156         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
41157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41158         Moved ...
41159         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
41160         ... here.
41161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
41162         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
41163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
41164         Identical file removed.
41165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
41166         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
41167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
41168         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
41169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
41170         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
41171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
41172         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
41173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
41174         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
41175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41176         Moved ...
41177         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
41178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
41179         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
41180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
41181         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
41182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41183         Moved ...
41184         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
41185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
41186         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
41187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
41188         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
41189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41190         Identical file removed.
41191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
41192         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
41193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
41194         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
41195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41196         Moved ...
41197         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
41198         ... here.
41199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
41200         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
41201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
41202         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
41203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
41204         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
41205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
41206         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
41207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
41208         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
41209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41210         Moved ...
41211         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
41212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
41213         Moved ...
41214         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
41215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
41216         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
41217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41218         Moved ...
41219         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
41220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
41221         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
41223         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
41224         folded into ...
41225         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
41226         * sysdeps/unix/sysv/linux/s390/Versions
41227         (libpthread: GLIBC_2.19): New version set.
41228         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
41229         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
41230         (librt: GLIBC_2.3.3): New version set.
41231         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
41232         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
41233         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
41234         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
41235         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
41236         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
41237         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
41238         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
41239         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
41240         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
41241         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
41242         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
41243         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
41244         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
41245         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
41246         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
41247         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
41248         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
41249         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
41250         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
41251         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
41252         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
41253         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
41254         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
41255         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
41256         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
41257         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
41258         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
41259         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
41260         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
41261         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
41262         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
41263         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
41264         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
41265         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
41266         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
41267         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
41268         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
41269         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
41270         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
41271         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
41272         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
41273         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
41274         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
41275         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
41277         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
41278         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
41279         (__libc_vfork): Define the function under this name.
41280         [!NOT_IN_libc] (__vfork): Make this an alias.
41281         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41282         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
41283         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
41284         (__libc_vfork): Define the function under this name.
41285         [!NOT_IN_libc] (__vfork): Make this an alias.
41286         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41287         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
41288         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
41289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
41290         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
41291         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41293         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
41294         code that was previously under [RESET_PID].
41295         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
41296         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
41297         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
41299         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
41300         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
41301         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
41302         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
41303         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
41304         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
41305         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
41306         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
41307         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
41308         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
41309         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
41310         Moved ...
41311         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
41312         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
41313         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
41314         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
41315         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
41316         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
41317         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
41318         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
41319         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
41320         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
41321         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
41322         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
41323         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
41324         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
41325         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
41326         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
41327         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
41328         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
41329         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
41330         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
41331         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
41332         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
41333         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
41334         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
41335         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
41336         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
41337         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
41338         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
41339         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
41341 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41343         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
41344         that was previously under [RESET_PID].
41345         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
41347 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41349         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
41350         not undefine and redefine.
41351         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
41352         [O_CLOEXEC]: Make code unconditional.
41353         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
41354         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
41355         <kernel-features.h>.
41356         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
41357         conditional variable definition.
41358         (shm_open) [O_CLOEXEC]: Make code unconditional.
41359         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
41360         code.
41362         * configure.ac (USE_REGPARMS): Don't define here.
41363         * configure: Regenerated.
41364         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
41365         * sysdeps/i386/configure: Regenerated.
41367         * nptl/createthread.c: Don't include kernel-features.h.
41368         * nptl/pthread_cancel.c: Likewise.
41369         * nptl/pthread_condattr_setclock.c: Likewise.
41370         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
41371         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
41372         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
41373         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
41374         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
41375         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
41376         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41377         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
41378         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41379         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
41380         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
41381         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
41382         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
41383         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
41384         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
41385         * nscd/gai.c: Likewise.
41386         * nss/nss_db/db-open.c: Likewise.
41387         * sysdeps/generic/ldsodefs.h: Likewise.
41388         * sysdeps/sh/nptl/tls.h: Likewise.
41389         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41390         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
41391         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
41392         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
41393         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
41394         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41395         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
41396         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41397         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41398         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
41399         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
41400         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41401         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
41402         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
41403         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
41404         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
41405         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
41406         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
41407         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
41408         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
41409         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
41410         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
41411         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
41412         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
41413         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
41414         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
41415         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
41416         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
41417         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41418         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
41419         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
41420         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
41421         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
41422         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41423         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41424         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41425         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41426         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
41427         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
41428         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
41429         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41430         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
41431         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
41432         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41433         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
41434         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
41435         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
41436         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
41437         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
41438         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
41439         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
41440         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
41441         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
41442         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41443         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
41444         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41445         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41446         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
41447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
41449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
41450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
41451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
41452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
41453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
41454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
41455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
41458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
41459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
41460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
41461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
41467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
41468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
41469         * sysdeps/unix/sysv/linux/pread.c: Likewise.
41470         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
41471         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
41472         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
41473         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
41474         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
41475         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
41476         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
41477         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
41478         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
41479         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
41480         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
41481         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
41482         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
41483         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
41484         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
41485         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41486         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
41487         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
41488         * sysdeps/unix/sysv/linux/system.c: Likewise.
41489         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
41490         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
41491         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41492         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41493         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41494         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41495         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41497         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
41498         * configure: Regenerated.
41499         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
41501         * configure.ac (base_machine): Do not set specially for particular
41502         machines here.
41503         * configure: Regenerated.
41504         * sysdeps/powerpc/preconfigure: Move machine and base_machine
41505         settings from configure.ac.
41506         * sysdeps/i386/preconfigure: New file.
41507         * sysdeps/s390/preconfigure: Likewise.
41508         * sysdeps/sh/preconfigure: Likewise.
41509         * sysdeps/sparc/preconfigure: Likewise.
41511 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41513         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
41514         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
41515         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
41516         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
41517         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
41518         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
41519         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
41520         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
41521         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
41522         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
41523         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
41524         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
41525         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
41526         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
41527         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
41528         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
41529         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
41530         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
41531         * sysdeps/sparc/sparc64/Makefile: ... appended here.
41533         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
41534         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
41535         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
41536         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
41537         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
41538         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
41539         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
41540         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
41541         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
41542         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
41543         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
41544         * sysdeps/sparc/sparc32/sem_post.c: ... here.
41545         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
41546         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
41547         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
41548         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
41549         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
41550         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
41551         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
41552         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
41553         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
41554         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
41555         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
41556         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
41557         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
41558         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
41559         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
41560         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
41561         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
41562         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
41563         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
41564         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
41565         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
41566         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
41567         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
41568         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
41569         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
41570         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
41572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
41573         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
41574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
41575         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
41576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41577         Moved ...
41578         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
41579         ... here.
41580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
41581         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
41582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
41583         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
41584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
41585         Moved ...
41586         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
41587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
41588         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
41589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
41590         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
41591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
41592         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
41593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41594         Moved ...
41595         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
41596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41597         Moved ...
41598         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
41599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
41600         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
41601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41602         Moved ...
41603         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
41604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
41605         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
41606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
41607         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
41608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
41609         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
41610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
41611         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
41612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41613         Moved ...
41614         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
41615         ... here.
41616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
41617         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
41618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
41619         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
41620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
41621         Moved ...
41622         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
41623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
41624         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
41625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
41626         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
41627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
41628         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
41629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41630         Moved ...
41631         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
41632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41633         Moved ...
41634         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
41635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
41636         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
41637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41638         Moved ...
41639         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
41640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
41641         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
41642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
41643         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
41645 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41647         * timezone/checktab.awk: Update from tzcode 2014e.
41648         * timezone/private.h: Likewise.
41649         * timezone/tzfile.h: Likewise.
41650         * timezone/zdump.c: Likewise.
41651         * timezone/zic.c: Likewise.
41653         * sysdeps/unix/sysv/linux/kernel-features.h
41654         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
41655         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
41656         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
41657         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41658         Remove conditional code.
41660 2014-06-25  Will Newton  <will.newton@linaro.org>
41662         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
41663         (_dl_arm_cap_flags): Add HWCAP2 values.
41664         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
41665         (_DL_HWCAP_COUNT): Increase to 37.
41666         (_DL_HWCAP_LAST): New define.
41667         (_DL_HWCAP2_LAST): New define.
41668         (_dl_procinfo): Add support for printing
41669         AT_HWCAP2 entries.
41670         (_dl_string_hwcap): Use _dl_hwcap_string.
41672 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41676 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41678         * README: Do not mention ports directory.
41680         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
41681         Remove macro.
41682         * sysdeps/unix/sysv/linux/futimes.c: Do not include
41683         <kernel-features.h>.
41684         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
41685         conditional variable definition.
41686         (__futimes): Update comment.
41687         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
41688         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
41690         [BZ #16560]
41691         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
41692         arguments close to 0.
41693         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
41694         Likewise.
41695         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
41696         Likewise.
41697         * math/auto-libm-test-in: Add more tests of exp10.
41698         * math/auto-libm-test-out: Regenerated.
41699         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41701         * sysdeps/unix/sysv/linux/kernel-features.h
41702         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
41703         * sysdeps/unix/sysv/linux/readv.c: Do not include
41704         <kernel-features.h>.
41705         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41706         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41707         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41708         unconditional.
41709         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41710         conditional code.
41711         * sysdeps/unix/sysv/linux/writev.c: Do not include
41712         <kernel-features.h>.
41713         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41714         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41715         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41716         unconditional.
41717         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41718         conditional code.
41720 2014-06-25  Will Newton  <will.newton@linaro.org>
41722         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
41723         comment changes throughout the file.  Remove checks
41724         for HAVE_*_H definitions that are not required.
41725         (__gen_tempname): Call abort if an unknown kind value is
41726         passed.
41728 2014-06-25  Andreas Schwab  <schwab@suse.de>
41730         [BZ #17086]
41731         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
41732         scalbln, scalblnf, scalblnl in libc.
41734 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41736         [BZ #17086]
41737         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
41738         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41739         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41741 2014-06-24  Roland McGrath  <roland@hack.frob.com>
41743         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
41744         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
41745         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
41746         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
41747         Update #include.
41748         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
41749         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
41750         Update #include.
41751         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
41752         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
41753         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
41754         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
41755         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
41756         * sysdeps/x86/bits/pthreadtypes.h: ... here.
41757         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
41758         * sysdeps/x86/bits/semaphore.h: ... here.
41759         * sysdeps/x86/nptl/elide.h: Moved ...
41760         * sysdeps/x86/elide.h: ... here.
41761         * sysdeps/x86_64/nptl/Implies: File removed.
41762         * sysdeps/i386/nptl/Implies: File removed.
41764 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
41766         [BZ #16539]
41767         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
41768         return the argument for normal arguments with exponent below -64.
41769         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41770         Likewise.
41771         * math/auto-libm-test-in: Add another test of expm1.
41772         * math/auto-libm-test-out: Regenerated.
41774         [BZ #16287]
41775         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
41776         calling __erfcl for arguments at least 16.
41777         * math/auto-libm-test-in: Add more tests of erf.
41778         * math/auto-libm-test-out: Regenerated.
41780         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
41781         individual architectures.
41782         * sysdeps/unix/sysv/linux/configure: Regenerated.
41783         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
41784         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
41785         * sysdeps/unix/sysv/linux/powerpc/configure.ac
41786         (ldd_rewrite_script): Define variable.
41787         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
41789         file.
41790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
41791         generated file.
41792         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
41793         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
41794         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
41795         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
41796         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
41797         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
41798         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
41799         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
41801 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41803         [BZ #17084]
41804         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
41805         Rename member __data.d to __data.__elision_data.
41807 2014-06-24  Wilco  <wdijkstr@arm.com>
41809         * NEWS: Add 16918 to fixed bug list.
41811 2014-06-24  Wilco  <wdijkstr@arm.com>
41813         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
41815 2014-06-24  Wilco  <wdijkstr@arm.com>
41817         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
41818         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
41819         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
41820         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
41821         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
41822         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
41823         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
41824         Use _FPU_MASK_RM.
41826 2014-06-24  Wilco  <wdijkstr@arm.com>
41828         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
41830 2014-06-24  Wilco  <wdijkstr@arm.com>
41832         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
41833         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
41834         * sysdeps/arm/fesetround.c (fesetround): Remove space.
41835         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
41837 2014-06-24  Wilco  <wdijkstr@arm.com>
41839         [BZ #16918]
41840         * sysdeps/arm/feupdateenv.c (feupdateenv):
41841         Rewrite to reduce FPSCR accesses and fix return value.
41843 2014-06-24  Wilco  <wdijkstr@arm.com>
41845         * sysdeps/arm/fclrexcpt.c (feclearexcept):
41846         Optimize to avoid unnecessary FPSCR writes.
41847         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
41848         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
41849         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
41850         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
41852 2014-06-24  Wilco  <wdijkstr@arm.com>
41854         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
41855         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
41856         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
41857         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
41858         Call libc_fetestexcept_vfp.
41859         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
41860         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
41861         __SOFTFP__ ifdef so that they can be built for softfp.
41863 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41865         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
41866         argument type signed char.
41868         * Makerules (check-abi): Dump diff of symlist if the test
41869         fails.
41871 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41873         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
41874         using abort.
41876         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41877         Remove unused variable ST.
41879 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41881         [BZ #16354]
41882         [BZ #17061]
41883         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
41884         small arguments before calling __expm1.
41885         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
41886         small arguments before calling __expm1f.
41887         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
41888         small arguments before calling __expm1l.
41889         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41890         Likewise.
41891         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
41892         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
41893         spurious underflow for some cosh tests.
41894         * math/auto-libm-test-out: Regenerated.
41895         * sysdeps/i386/fpu/libm-test-ulps: Update.
41897         [BZ #17050]
41898         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
41899         (__ieee754_y1): Set errno if return value overflows.
41900         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
41901         (__ieee754_y1f): Set errno if return value overflows.
41902         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
41903         (__ieee754_y1l): Set errno if return value overflows.
41904         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
41905         (__ieee754_y1l): Set errno if return value overflows.
41906         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
41907         * math/auto-libm-test-out: Regenerated.
41909         * math/gen-auto-libm-tests.c: Document use of
41910         ignore-zero-inf-sign.
41911         (input_flag_type): Add value flag_ignore_zero_inf_sign.
41912         (input_flags): Add ignore-zero-inf-sign.
41913         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
41914         * math/gen-libm-test.pl (generate_testfile): Handle
41915         ignore-zero-inf-sign.
41916         * math/auto-libm-test-in: Mark some cpow tests with
41917         ignore-zero-inf-sign and some with xfail-rounding.
41918         * math/auto-libm-test-out: Regenerated.
41919         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
41920         * sysdeps/i386/fpu/libm-test-ulps: Update.
41921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41923         [BZ #16315]
41924         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
41925         overflowing or underflowing operations take place with sign of
41926         result.
41927         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41928         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41929         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
41930         (__ieee754_pow): Recompute overflowing and underflowing results in
41931         original rounding mode.
41932         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
41933         (__powl_helper): Allow negative argument X and scale negated value
41934         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
41935         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
41936         overflowing or underflowing operations take place with sign of
41937         result.
41938         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
41939         Include <math.h>.
41940         * math/auto-libm-test-in: Add more tests of pow.
41941         * math/auto-libm-test-out: Regenerated.
41942         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
41943         (pow_tonearest_test_data): Remove.
41944         (pow_test_tonearest): Likewise.
41945         (pow_towardzero_test_data): Likewise.
41946         (pow_test_towardzero): Likewise.
41947         (pow_downward_test_data): Likewise.
41948         (pow_test_downward): Likewise.
41949         (pow_upward_test_data): Likewise.
41950         (pow_test_upward): Likewise.
41951         (main): Don't call removed functions.
41952         * sysdeps/i386/fpu/libm-test-ulps: Update.
41953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41955 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
41958         Moved ...
41959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
41960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41961         Moved ...
41962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
41963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41964         Moved ...
41965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
41966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41967         Moved ...
41968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
41969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41970         File removed.
41971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41972         File removed.
41973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
41974         File removed.
41975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
41976         File removed.
41977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
41978         File removed.
41979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
41980         File removed.
41981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
41982         File removed.
41983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41984         File removed.
41985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
41986         File removed.
41987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41988         File removed.
41989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
41990         File removed.
41991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
41992         File removed.
41993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
41994         Moved ...
41995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
41996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
41997         Moved ...
41998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
41999         ... here.
42000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
42001         Moved ...
42002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
42003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
42004         Moved ...
42005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
42006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
42007         Moved ...
42008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
42009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
42010         Moved ...
42011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
42012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
42013         Moved ...
42014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
42015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
42016         Moved ...
42017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
42018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
42019         Moved ...
42020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
42021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
42022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
42023         ... here.
42024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
42025         Moved ...
42026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
42027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42028         Moved ...
42029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
42030         ... here.
42031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
42032         Moved ...
42033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
42034         ... here.
42035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42036         Moved ...
42037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42038         ... here.
42039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42040         Moved ...
42041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
42042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42043         Moved ...
42044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
42045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
42046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
42047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42048         Moved ...
42049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
42050         ... here.
42051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42052         Moved ...
42053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
42054         ... here.
42055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42056         Moved ...
42057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
42058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42059         Moved ...
42060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
42061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42062         Moved ...
42063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
42064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42065         Moved ...
42066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
42067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42068         Moved ...
42069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
42070         ... here.
42071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42072         Moved ...
42073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
42074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42075         Moved ...
42076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
42077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42078         Moved ...
42079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
42080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42081         Moved ...
42082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
42083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
42084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
42085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42086         Moved ...
42087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
42088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42089         Moved ...
42090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
42091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42092         Moved ...
42093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
42094         ... here.
42095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42096         Moved ...
42097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
42098         ... here.
42099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42100         Moved ...
42101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
42102         ... here.
42103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42104         Moved ...
42105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
42106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42107         Moved ...
42108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
42109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42110         Moved ...
42111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
42112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42113         Moved ...
42114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
42115         ... here.
42116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42117         Moved ...
42118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
42119         ... here.
42120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42121         Moved ...
42122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
42123         ... here.
42124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42125         Moved ...
42126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
42127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42128         Moved ...
42129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
42131 2014-06-23  Will Newton  <will.newton@linaro.org>
42132             Wilco  <wdijkstr@arm.com>
42134         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
42135         implementation.  Include get-rounding-mode.h.
42136         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
42137         [!libc_feholdsetround_noex_ctx]: Define
42138         libc_feholdsetround_noex_ctx.
42139         [!libc_feholdsetround_noexf_ctx]: Define
42140         libc_feholdsetround_noexf_ctx.
42141         [!libc_feholdsetround_noexl_ctx]: Define
42142         libc_feholdsetround_noexl_ctx.
42143         (libc_feholdsetround_ctx): New function.
42144         (libc_feresetround_ctx): New function.
42145         (libc_feholdsetround_noex_ctx): New function.
42146         (libc_feresetround_noex_ctx): New function.
42148 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42150         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
42151         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
42152         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
42153         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
42154         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
42155         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
42157         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
42158         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
42159         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
42160         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
42161         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
42162         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
42163         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
42164         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
42165         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
42166         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
42167         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
42168         Moved ...
42169         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
42170         ... here.
42171         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
42172         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
42173         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
42174         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
42175         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
42176         Moved ...
42177         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
42178         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
42179         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
42180         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
42181         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
42182         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
42183         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
42184         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
42185         Moved ...
42186         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
42187         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
42188         Moved ...
42189         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
42190         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
42191         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
42192         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
42193         Moved ...
42194         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
42195         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
42196         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
42197         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
42198         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
42199         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
42200         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
42201         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
42202         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
42203         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
42204         Moved ...
42205         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
42206         ... here.
42207         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
42208         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
42209         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
42210         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
42211         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
42212         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
42213         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
42214         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
42215         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
42216         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
42217         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
42218         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
42219         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
42220         Moved ...
42221         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
42222         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
42223         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
42224         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
42225         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
42226         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
42227         Moved ...
42228         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
42229         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
42230         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
42231         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
42232         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
42234         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
42235         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
42236         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
42237         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
42238         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
42239         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
42240         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
42241         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
42242         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
42243         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
42244         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
42245         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
42246         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
42247         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
42248         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
42249         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
42250         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
42251         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
42252         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
42253         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
42254         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
42255         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
42256         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
42257         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
42258         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
42259         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
42260         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
42261         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
42263 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42265         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
42266         (FALLOC_FL_COLLAPSE_RANGE): New macro.
42267         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
42268         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
42269         (IPV6_PMTUDISC_INTERFACE): Likewise.
42270         (IPV6_PMTUDISC_OMIT): Likewise.
42272 2014-06-23  Andreas Schwab  <schwab@suse.de>
42274         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
42275         Remove unused errout label.
42277 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42279         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
42280         macro: hardware supports Vector Crypto instructions.
42282 2014-06-23  Will Newton  <will.newton@linaro.org>
42284         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
42285         rather than __builtin_expect.
42287         * elf/dl-lookup.c (undefined_msg): Remove variable.
42288         (_dl_lookup_symbol_x): Replace undefined_msg with string
42289         literal.
42291         * elf/dl-lookup.c (do_lookup_unique): New function.
42292         (do_lookup_x): Move STB_GNU_UNIQUE handling code
42293         to a separate function.
42295 2014-06-23  Andreas Schwab  <schwab@suse.de>
42297         [BZ #17079]
42298         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
42299         before reading the next line.
42301 2014-06-23  Will Newton  <will.newton@linaro.org>
42303         * test-skeleton.c (signal_handler): Use printf and %m
42304         rather than perror.  Use printf rather than fprintf to
42305         stderr.  Use puts rather than fputs to stderr.
42306         (main): Likewise.
42308 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
42310         * nscd/nscd.c (thread_info_t): Remove typedef.
42311         (thread_info): Remove variable.
42313 2014-06-21  Allan McRae  <allan@archlinux.org>
42315         * NEWS: Mention CVE-2014-4043.
42317 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42319         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
42320         * nptl/smp.h: ... here.
42322         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
42324         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
42325         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
42326         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
42327         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
42329         * nptl/allocatestack.c: Include <stack-aliasing.h>.
42330         * nptl/stack-aliasing.h: New file.
42331         * sysdeps/i386/i686/stack-aliasing.h: New file.
42332         * sysdeps/i386/i686/nptl/Makefile: File removed.
42333         * sysdeps/x86_64/stack-aliasing.h: New file.
42334         * sysdeps/x86_64/nptl/Makefile
42335         (CFLAGS-pthread_create.c): Variable removed.
42337         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
42338         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
42339         old file.
42340         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
42341         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
42342         old file.
42344 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
42346         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42347         (__ASSUME_SIGFRAME_V2): Remove macro.
42348         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
42349         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
42350         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
42351         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
42352         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
42353         Declare as function.  Remove conditional macro definitions.
42354         (__default_rt_sa_restorer): Likewise.
42355         (__default_sa_restorer_v1): Remove declaration.
42356         (__default_sa_restorer_v2): Likewise.
42357         (__default_rt_sa_restorer_v1): Likewise.
42358         (__default_rt_sa_restorer_v2): Likewise.
42359         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
42360         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
42361         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
42363 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42365         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
42366         (libpthread-routines): Add sysdep.
42367         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
42368         * sysdeps/unix/sysv/linux/sparc/Versions
42369         (libpthread: GLIBC_2.3.3): New version set.
42370         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
42371         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
42372         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
42373         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
42374         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
42375         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
42376         Moved ...
42377         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
42378         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
42379         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
42380         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
42381         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
42382         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
42383         * sysdeps/sparc/nptl/sem_init.c: ... here.
42384         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
42385         * sysdeps/sparc/nptl/sem_post.c: ... here.
42386         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
42387         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
42388         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
42389         * sysdeps/sparc/nptl/sem_wait.c: ... here.
42390         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
42391         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
42392         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
42393         (libpthread-routines): Add cpu_relax.
42394         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
42395         File removed.
42396         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
42397         (librt: GLIBC_2.3.3): New version set.
42398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
42399         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
42400         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
42401         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
42402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
42403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
42404         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
42405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
42406         Moved ...
42407         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
42408         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
42409         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
42410         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
42411         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
42412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
42413         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
42414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
42415         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
42416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
42417         Moved ...
42418         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
42419         Update #include.
42420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
42421         Moved ...
42422         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
42423         Update #include.
42424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
42425         Moved ...
42426         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
42427         Update #include.
42428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
42429         Moved ...
42430         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
42431         Update #include.
42432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
42433         Moved ...
42434         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
42435         Update #include.
42436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
42437         Moved ...
42438         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
42439         Update #include.
42440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
42441         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
42442         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
42443         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
42444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
42445         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
42446         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
42447         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
42448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
42449         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
42450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
42451         Moved ...
42452         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
42453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
42454         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
42455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
42456         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
42458 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42460         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
42461         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
42462         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42463         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
42464         * nscd/nscd.c: Likewise.
42465         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
42466         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
42467         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
42468         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
42470         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
42471         <kernel-features.h>.
42472         (init_mq_netlink): Remove conditional have_sock_cloexec
42473         definitions.  Remove code conditional on have_sock_cloexec < 0.
42474         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
42475         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
42476         * sysdeps/unix/sysv/linux/opensock.c: Do not include
42477         <kernel-features.h>.
42478         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
42479         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
42481 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42483         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42484         Add tests for memset_chk and memset.
42486         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
42487         with AVX2_Usable.
42489 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42491         [BZ #16046]
42492         * elf/tst-dl-iter-static.c: New file.
42493         * elf/Makefile (tests-static): Add tst-dl-iter-static.
42495         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
42496         error.
42498 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42500         * sysdeps/unix/sysv/linux/kernel-features.h
42501         (__ASSUME_F_GETOWN_EX): Remove macro.
42502         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
42503         <kernel-features.h>.
42504         (miss_F_GETOWN_EX): Remove variable or macro.
42505         (do_fcntl): Do not check miss_F_GETOWN_EX.
42506         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
42508         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
42509         Remove macro.
42510         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
42511         [!__ASSUME_AT_RANDOM]: Remove conditional code.
42512         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
42514         * sysdeps/unix/sysv/linux/kernel-features.h
42515         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
42516         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
42517         [ADJ_OFFSET_SS_READ]: Make code unconditional.
42518         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
42520 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42522         [BZ #17075]
42523         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
42524         Fix calculation of the symbol's value.
42525         * sysdeps/arm/tst-armtlsdescloc.c: New file.
42526         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
42527         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
42528         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
42529         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
42530         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
42531         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
42532         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
42533         (modules-names): Add `tst-armtlsdescmod',
42534         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
42535         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
42536         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42537         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
42538         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
42539         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42540         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
42541         ($(objpfx)tst-armtlsdescloc): New dependency.
42542         ($(objpfx)tst-armtlsdescextnow): Likewise.
42543         ($(objpfx)tst-armtlsdescextlazy): Likewise.
42544         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
42545         TLS scheme support.
42546         * sysdeps/arm/configure: Regenerate.
42548 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42550         * include/fcntl.h (__atfct_seterrno): Remove prototype.
42551         (__atfct_seterrno_2): Likewise.
42552         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
42553         <kernel-features.h>.
42554         (__ASSUME_ATFCTS): Do not undefine and redefine.
42555         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
42556         (__have_atfcts): Remove conditional definition.
42557         (__fxstatat([__NR_fstatat64]: Make code unconditional.
42558         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
42559         unreachable if [__ASSUME_ATFCTS].
42560         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
42561         not undefine and redefine.
42562         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
42563         <kernel-features.h>.
42564         (faccessat) [__NR_faccessat]: Make code unconditional.
42565         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
42566         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
42567         <kernel-features.h>.
42568         (fchmodat) [__NR_fchmodat]: Make code unconditional.
42569         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42570         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
42571         <kernel-features.h>.
42572         (fchownat) [__NR_fchownat]: Make code unconditional.
42573         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
42574         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
42575         <kernel-features.h>.
42576         (futimesat) [__NR_futimesat]: Make code unconditional.
42577         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
42578         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42579         <kernel-features.h>.
42580         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42581         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42582         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42583         <kernel-features.h>.
42584         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
42585         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42586         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
42587         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42588         <kernel-features.h>.
42589         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
42590         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42591         * sysdeps/unix/sysv/linux/linkat.c: Do not include
42592         <kernel-features.h>.
42593         (linkat) [__NR_linkat]: Make code unconditional.
42594         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42595         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
42596         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
42597         <kernel-features.h>.
42598         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
42599         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42600         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
42601         <kernel-features.h>.
42602         (mkdirat) [__NR_mkdirat]: Make code unconditional.
42603         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
42604         * sysdeps/unix/sysv/linux/openat.c: Do not include
42605         <kernel-features.h>.
42606         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
42607         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
42608         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
42609         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
42610         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
42611         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
42612         <kernel-features.h>.
42613         (readlinkat) [__NR_readlinkat]: Make code unconditional.
42614         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
42615         result of INLINE_SYSCALL directly, not via int variable.
42616         * sysdeps/unix/sysv/linux/renameat.c: Do not include
42617         <kernel-features.h>.
42618         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
42619         (renameat) [__NR_renameat]: Make code unconditional.
42620         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
42621         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
42622         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
42623         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
42624         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
42625         (__ASSUME_ATFCTS): Do not undefine and redefine.
42626         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
42627         <kernel-features.h>.
42628         (symlinkat) [__NR_symlinkat]: Make code unconditional.
42629         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42630         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
42631         <kernel-features.h>.
42632         (unlinkat) [__NR_unlinkat]: Make code unconditional.
42633         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42634         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
42635         (__ASSUME_ATFCTS): Do not undefine and redefine.
42636         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42637         <kernel-features.h>.
42638         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42639         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42640         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42641         <kernel-features.h>.
42642         (__xmknodat) [__NR_mknodat]: Make code unconditional.
42643         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42645 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42647         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
42649 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
42651         [BZ #17069]
42652         * posix/regcomp.c (parse_reg_exp): Deallocate partially
42653         constructed tree before returning error.
42654         * posix/bug-regexp36.c: Expand test case.
42656 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
42658         [BZ #6803]
42659         * math/libm-test.inc (scalbln_test_date):
42660         Add errno expectations.
42661         * math/w_scalblnf.c: New File.
42662         Add wrapper which checks for setting errno to ERANGE.
42663         Add weak_alias for corresponding scalbln function.
42664         * math/w_scalbln.c: Likewise.
42665         * math/w_scalblnl.c: Likewise.
42666         * math/Makefile (libm-calls): Add w_scalbln.
42667         * sysdeps/ieee754/flt-32/s_scalblnf.c:
42668         Remove weak_alias for corresponding scalbln function.
42669         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42670         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42671         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42672         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42673         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
42674         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42675         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
42676         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42677         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
42678         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
42679         Remove long_double_symbol for scalblnl function in libm, libc.
42680         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
42681         Add wrapper which checks for setting errno to ERANGE.
42682         Add long_double_symbol for scalblnl function in libm, libc.
42683         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
42684         Remove long_double_symbol for scalblnl in libm.
42685         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
42686         Add wrapper which checks for setting errno to ERANGE.
42687         Add long_double_symbol for scalblnl function in libm.
42688         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
42689         Do not use wrapper because of own implementation.
42691 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
42693         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
42694         3 bytes for __pad1 for x32.
42695         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
42697 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
42698             H.J. Lu  <hongjiu.lu@intel.com>
42700         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
42701         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
42702         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42703         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42704         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
42706 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
42708         [BZ #17069]
42709         * posix/regcomp.c (parse_expression): Deallocate partially
42710         constructed tree before returning error.
42711         * posix/Makefile.c (tests): Add bug-regex36.
42712         (generated): Add bug-regex36.mtrace.
42713         (tests-special): Add $(objpfx)bug-regex36-mem.out
42714         (bug-regex36-ENV): New variable.
42715         ($(objpfx)bug-regex36-mem.out): New rule.
42716         * posix/bug-regex36.c: New file.
42718 2014-06-19  Will Newton  <will.newton@linaro.org>
42720         * malloc/malloc.c (systrim): If extra is zero then return
42721         early.
42723 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42725         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
42727 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
42729         * sysdeps/aarch64/strchr.S: New file.
42731 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42733         [BZ #17022]
42734         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
42735         from arguments -2 or below.
42736         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42737         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
42739 2014-06-18  Andreas Schwab  <schwab@suse.de>
42741         [BZ #17062]
42742         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
42743         of a bracket expr not to run off the end of the string.
42744         * posix/Makefile (tests): Add tst-fnmatch3.
42745         * posix/tst-fnmatch3.c: New file.
42747 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42749         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
42750         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42751         [$(cross-compiling) = no]: Likewise.
42752         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42753         [$(cross-compiling) = no]: Likewise.
42755 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42757         [BZ #17031]
42758         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
42759         double, adjusted for any remainder from the high double.
42760         * math/libm-test.inc (nearbyint): Add tests.
42761         (rint): Likewise.
42763 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42765         * nptl/sysdeps/powerpc/Makefile: Moved ...
42766         * sysdeps/powerpc/nptl/Makefile: ... here.
42767         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
42768         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
42769         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
42770         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
42771         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
42772         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
42773         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
42774         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
42775         * nptl/sysdeps/powerpc/tls.h: Moved ...
42776         * sysdeps/powerpc/nptl/tls.h: ... here.
42778 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
42780         [BZ #16681]
42781         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
42782         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
42783         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
42784         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
42785         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
42786         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
42787         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
42788         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
42789         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
42791 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
42793         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42795 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
42797         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
42798         defined operator.
42800         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
42801         $TIMEOUTFACTOR.
42803 2014-06-16  Florian Weimer  <fweimer@redhat.com>
42805         [BZ #17058]
42806         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
42807         non-executed part of the test.
42809 2014-06-16  Andreas Schwab  <schwab@suse.de>
42811         * string/bits/string2.h (strdup, strndup): Update feature guard.
42813 2014-06-14  David S. Miller  <davem@davemloft.net>
42815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42817 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
42819         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
42820         that was previously under [RESET_PID].
42821         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
42823         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
42824         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
42825         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
42826         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42827         (__libc_vfork): New strong alias.
42828         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
42830 2014-06-14 Andi Kleen  <ak@linux.intel.com>
42832         * sysdeps/generic/elide.h: New file.
42834 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42836         * Makefile (installed-headers): Adjust path of pthread.h header.
42838 2014-06-13  Roland McGrath  <roland@hack.frob.com>
42840         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
42841         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
42842         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
42843         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
42845         * nptl/sysdeps/s390/Makefile: Moved ...
42846         * sysdeps/s390/nptl/Makefile: ... here.
42847         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
42848         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
42849         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
42850         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
42851         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
42852         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
42853         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
42854         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
42855         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
42856         * sysdeps/s390/nptl/pthreaddef.h: ... here.
42857         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
42858         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
42859         * nptl/sysdeps/s390/tls.h: Moved ...
42860         * sysdeps/s390/nptl/tls.h: ... here.
42862         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
42863         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
42865 2014-06-13  David S. Miller  <davem@davemloft.net>
42867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
42868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
42869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
42870         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
42871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
42872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
42873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
42874         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
42875         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
42876         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
42877         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
42878         Remove RESET_PID cpp guards.
42879         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
42880         Remove RESET_PID cpp guards.
42881         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
42883 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
42885         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
42886         __sp to uintptr_t.
42888 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42890         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
42891         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
42892         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
42893         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
42894         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
42895         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
42896         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
42897         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
42898         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
42899         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
42900         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
42901         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
42902         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
42903         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
42904         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
42905         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
42906         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
42907         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
42908         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
42909         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
42911         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
42912         (pthread_rwlock_rdlock): Add elision.
42913         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
42914         (pthread_rwlock_wrlock): Add elision.
42915         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
42916         (pthread_rwlock_trywrlock): Add elision.
42917         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
42918         (pthread_rwlock_tryrdlock): Add elision.
42919         * nptl/pthread_rwlock_unlock.c: Include elide.h.
42920         (pthread_rwlock_tryrdlock): Add elision unlock.
42921         * nptl/sysdeps/pthread/pthread.h:
42922         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
42923         (PTHREAD_RWLOCK_INITIALIZER,
42924         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
42925         Handle new elision field.
42926         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
42927         * sysdeps/arm/nptl/bits/pthreadtypes.h
42928         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42929         * sysdeps/sh/nptl/bits/pthreadtypes.h
42930         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42931         * sysdeps/tile/nptl/bits/pthreadtypes.h
42932         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42933         * sysdeps/a/nptl/bits/pthreadtypes.h
42934         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42935         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42936         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42937         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42938         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42939         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
42940         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42941         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42942         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42943         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42944         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42945         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42946         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42947         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42948         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42949         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
42950         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42951         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
42952         (elision_init): Set try_xbegin to zero when no RTM.
42953         * sysdeps/x86/nptl/bits/pthreadtypes.h
42954         (pthread_rwlock_t): Change __pad1 to __rwelision.
42955         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42957 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42959         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
42960         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
42961         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
42962         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
42964 2014-06-13  Meador Inge  <meadori@codesourcery.com>
42966         [BZ #16996]
42967         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
42968         that the cached result has been set before returning it.
42970 2014-06-12  Roland McGrath  <roland@hack.frob.com>
42972         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
42973         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
42974         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
42975         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
42976         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
42977         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
42979         * nptl/sysdeps/sparc/Makefile: Moved ...
42980         * sysdeps/sparc/nptl/Makefile: ... here.
42981         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
42982         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
42983         * nptl/sysdeps/sparc/tls.h: Moved ...
42984         * sysdeps/sparc/nptl/tls.h: ... here.
42985         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
42986         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
42987         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
42988         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
42989         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
42990         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
42991         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
42992         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
42993         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
42994         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
42995         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
42996         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
42997         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
42998         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
42999         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
43000         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
43001         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
43002         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
43003         Update #include.
43004         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
43005         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
43006         Update #include.
43007         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
43008         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
43009         Update #include.
43010         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
43011         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
43012         Update #include.
43014         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43016         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
43017         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
43019         * sysdeps/pthread/posix-timer.h: Include <list.h>.
43020         (struct list_links): Type removed.
43021         (struct thread_node, struct timer_node): Replace struct list_links
43022         with struct list_head.
43023         (list_unlink_ip): Likewise.
43024         * sysdeps/pthread/timer_routines.c
43025         (timer_free_list, thread_free_list, thread_active_list): Likewise.
43026         (list_append, list_insbefore): Likewise.
43027         (list_init): Function removed.
43028         (thread_init, init_module): Use INIT_LIST_HEAD instead.
43029         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
43030         * sysdeps/pthread/Makefile: ... here, new file.
43032         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
43033         * sysdeps/nptl/Implies: ... here.
43034         * sysdeps/unix/sysv/linux/Implies: Add nptl.
43035         * nptl/sysdeps/pthread/list.h: Moved ...
43036         * include/list.h: ... here.
43037         * nptl/sysdeps/pthread/createthread.c: Moved ...
43038         * nptl/createthread.c: ... here.
43039         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
43040         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
43041         * nptl/pt-longjmp.c: ... here.
43042         * nptl/sysdeps/pthread/Makefile: Moved ...
43043         * sysdeps/nptl/Makefile: ... here.
43044         * nptl/sysdeps/pthread/Subdirs: Moved ...
43045         * sysdeps/nptl/Subdirs: ... here.
43046         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
43047         * sysdeps/nptl/aio_misc.h: ... here.
43048         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
43049         * sysdeps/nptl/bits/libc-lock.h: ... here.
43050         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
43051         * sysdeps/nptl/bits/libc-lockP.h: ... here.
43052         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
43053         * sysdeps/nptl/bits/stdio-lock.h: ... here.
43054         * nptl/sysdeps/pthread/configure: Moved ...
43055         * sysdeps/nptl/configure: ... here.
43056         * nptl/sysdeps/pthread/configure.ac: Moved ...
43057         * sysdeps/nptl/configure.ac: ... here.
43058         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
43059         * sysdeps/nptl/gai_misc.h: ... here.
43060         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
43061         * sysdeps/nptl/librt-cancellation.c: ... here.
43062         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
43063         * sysdeps/nptl/malloc-machine.h: ... here.
43064         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
43065         * sysdeps/nptl/pthread-functions.h: ... here.
43066         * nptl/sysdeps/pthread/pthread.h: Moved ...
43067         * sysdeps/nptl/pthread.h: ... here.
43068         * nptl/sysdeps/pthread/setxid.h: Moved ...
43069         * sysdeps/nptl/setxid.h: ... here.
43070         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
43071         * sysdeps/nptl/sigfillset.c: ... here.
43072         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
43073         * sysdeps/nptl/tcb-offsets.h: ... here.
43074         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
43075         * sysdeps/nptl/tst-mqueue8x.c: ... here.
43076         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
43077         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
43078         * nptl/sysdeps/pthread/allocalim.h: Moved ...
43079         * sysdeps/pthread/allocalim.h: ... here.
43080         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
43081         * sysdeps/pthread/bits/sigthread.h: ... here.
43082         * nptl/sysdeps/pthread/flockfile.c: Moved ...
43083         * sysdeps/pthread/flockfile.c: ... here.
43084         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
43085         * sysdeps/pthread/ftrylockfile.c: ... here.
43086         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
43087         * sysdeps/pthread/funlockfile.c: ... here.
43088         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
43089         * sysdeps/pthread/posix-timer.h: ... here.
43090         * nptl/sysdeps/pthread/timer_create.c: Moved ...
43091         * sysdeps/pthread/timer_create.c: ... here.
43092         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
43093         * sysdeps/pthread/timer_delete.c: ... here.
43094         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
43095         * sysdeps/pthread/timer_getoverr.c: ... here.
43096         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
43097         * sysdeps/pthread/timer_gettime.c: ... here.
43098         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
43099         * sysdeps/pthread/timer_routines.c: ... here.
43100         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
43101         * sysdeps/pthread/timer_settime.c: ... here.
43102         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
43103         * sysdeps/pthread/tst-timer.c: ... here.
43104         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
43105         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
43107         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
43108         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
43110         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
43111         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
43112         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
43113         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
43114         Update #include target.
43115         * nptl/sysdeps/i386/i686/Makefile: Moved ...
43116         * sysdeps/i386/i686/nptl/Makefile: ... here.
43117         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
43118         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
43119         Update #include target.
43120         * nptl/sysdeps/i386/i686/tls.h: Moved ...
43121         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
43122         * nptl/sysdeps/i386/Makefile: Moved ...
43123         * sysdeps/i386/nptl/Makefile: ... here.
43124         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
43125         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
43126         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
43127         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
43128         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
43129         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
43130         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
43131         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
43132         * sysdeps/i386/nptl/pthreaddef.h: ... here.
43133         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
43134         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
43135         * nptl/sysdeps/i386/tls.h: Moved ...
43136         * sysdeps/i386/nptl/tls.h: ... here.
43138         * sysdeps/sh/Makefile [$(subdir) = csu]
43139         (gen-as-const-headers): Add tcb-offsets.sym.
43140         * nptl/sysdeps/sh/Makefile: File removed.
43141         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
43142         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
43143         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
43144         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
43145         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
43146         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
43147         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
43148         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
43149         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
43150         * sysdeps/sh/nptl/pthreaddef.h: ... here.
43151         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
43152         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
43153         * nptl/sysdeps/sh/tls.h: Moved ...
43154         * sysdeps/sh/nptl/tls.h: ... here.
43155         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
43156         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
43157         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
43158         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
43159         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
43160         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
43161         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
43162         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
43163         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
43164         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
43165         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
43166         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
43167         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
43168         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
43169         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
43170         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
43171         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
43172         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
43173         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
43174         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
43175         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
43176         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
43177         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
43178         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
43179         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
43180         Moved ...
43181         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
43182         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
43183         Moved ...
43184         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
43185         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
43186         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
43187         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
43188         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
43189         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
43190         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
43191         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
43192         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
43193         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
43194         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
43195         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
43196         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
43197         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
43198         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
43199         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
43200         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
43201         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
43202         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
43204 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
43206         * posix/spawn_faction_addopen.c: Include string.h.
43208 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43210         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
43211         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
43212         * nptl/sysdeps/x86_64/Makefile: Moved ...
43213         * sysdeps/x86_64/nptl/Makefile: ... here.
43214         * nptl/sysdeps/x86_64/configure: Moved ...
43215         * sysdeps/x86_64/nptl/configure: ... here.
43216         * nptl/sysdeps/x86_64/configure.ac: Moved ...
43217         * sysdeps/x86_64/nptl/configure.ac: ... here.
43218         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
43219         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
43220         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
43221         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
43222         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
43223         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
43224         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
43225         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
43226         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
43227         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
43228         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
43229         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
43230         * nptl/sysdeps/x86_64/tls.h: Moved ...
43231         * sysdeps/x86_64/nptl/tls.h: ... here.
43232         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
43233         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
43234         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
43235         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
43237         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
43239 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43243 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
43245         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
43246         type.
43247         [POSIX] (off_t): Likewise.
43248         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
43249         [POSIX] (S_ISBLK): Require macro.
43250         [POSIX] (S_ISCHR): Likewise.
43251         [POSIX] (S_ISDIR): Likewise.
43252         [POSIX] (S_ISFIFO): Likewise.
43253         [POSIX] (S_ISREG): Likewise.
43254         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
43255         optional-macro.
43256         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
43257         type.
43258         [POSIX] (time_t): Likewise.
43259         [POSIX] (timer_t): Likewise.
43261 2014-06-11  Florian Weimer  <fweimer@redhat.com>
43263         [BZ #17048]
43264         * posix/spawn_int.h (struct __spawn_action): Make the path string
43265         non-const to support deallocation.
43266         * posix/spawn_faction_addopen.c
43267         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
43268         * posix/spawn_faction_destroy.c
43269         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
43270         path in all spawn_do_open actions.
43271         * posix/tst-spawn.c (do_test): Exercise the copy operation in
43272         posix_spawn_file_actions_addopen.
43274 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
43276         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
43277         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
43278         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
43279         conditional code always true.
43280         (__libc_vfork): New alias.
43282 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43284         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43285         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
43287         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
43289         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43290         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
43292         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43293         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
43295         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43296         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
43298 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43300         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
43301         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
43302         multiarch strcmp for PPC64.
43303         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
43304         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
43305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
43306         multiarch optimizations.
43307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43308         (__libc_ifunc_impl_list): Likewise.
43310 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43312         * benchtests/scripts/validate_benchout.py: New script.
43313         * benchtests/Makefile (bench-func): Call it.
43314         * benchtests/scripts/benchout.schema.json: New file.
43316 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
43318         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
43319         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
43320         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
43321         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
43322         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
43323         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
43324         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
43325         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
43326         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
43327         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
43328         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
43329         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
43330         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
43331         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
43332         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
43333         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
43334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
43335         Moved ...
43336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
43337         ... here.
43338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
43339         Moved ...
43340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
43341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
43342         Moved ...
43343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
43344         ... here.
43345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
43346         Moved ...
43347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
43348         ... here.
43349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
43350         Moved ...
43351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
43352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
43353         Moved ...
43354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
43355         ... here.
43356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
43357         Moved ...
43358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
43359         ... here.
43360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
43361         Moved ...
43362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
43363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
43364         Moved ...
43365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
43366         ... here.
43367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
43368         Moved ...
43369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
43370         ... here.
43371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
43372         Moved ...
43373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
43374         ... here.
43375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
43376         Moved ...
43377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
43378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
43379         Moved ...
43380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
43381         ... here.
43382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
43383         Moved ...
43384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
43385         ... here.
43386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
43387         Moved ...
43388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
43389         ... here.
43390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
43391         Moved ...
43392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
43393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
43394         Moved ...
43395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
43396         ... here.
43397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
43398         Moved ...
43399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
43400         ... here.
43401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
43402         Moved ...
43403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
43404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
43405         Moved ...
43406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
43407         ... here.
43408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
43409         Moved ...
43410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
43411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
43412         Moved ...
43413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
43414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
43415         Moved ...
43416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
43417         ... here.
43418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
43419         Moved ...
43420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
43421         ... here.
43422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
43423         Moved ...
43424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
43425         ... here.
43426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
43427         Moved ...
43428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
43429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
43430         Moved ...
43431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
43432         ... here.
43433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
43434         Moved ...
43435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
43436         ... here.
43437         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
43438         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
43439         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
43440         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
43441         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
43442         Moved ...
43443         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
43444         ... here.
43445         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
43446         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
43447         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
43448         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
43449         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
43450         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
43451         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
43452         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
43453         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
43454         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
43455         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
43456         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
43457         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
43458         Moved ...
43459         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
43460         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
43461         Moved ...
43462         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
43463         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
43464         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
43465         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
43466         Moved ...
43467         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
43468         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
43469         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
43470         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
43471         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
43472         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
43473         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
43475 2014-06-10  Wilco  <wdijkstr@arm.com>
43477         * math/test-fenv-return.c: New file.
43478         * math/Makefile: Add new test test-fenv-return.
43480 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
43482         [BZ #17042]
43483         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
43484         when x - 1 is zero.
43485         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
43486         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
43487         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
43488         0.0L for an argument of 1.0L.
43489         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
43490         Likewise.
43491         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
43492         value when x - 1 is zero.
43493         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
43494         * sysdeps/i386/fpu/libm-test-ulps: Update.
43495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43497 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
43499         [BZ #15119]
43500         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
43502 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43504         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
43505         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
43507 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43509         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43510         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
43512         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43513         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
43515         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43516         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
43518         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43519         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
43521         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
43522         if not already defined.
43523         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
43524         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
43525         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
43526         (TLS_INIT_TP): Use it.
43527         (TLS_DEFINE_INIT_TP): New macro.
43528         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
43530 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
43532         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
43533         constant.
43534         [POSIX] (IXANY): Likewise.
43535         [POSIX] (OLCUC): Likewise.
43536         [POSIX || POSIX2008] (CBAUD): Do not allow.
43537         [POSIX || POSIX2008] (DEFECHO): Likewise.
43538         [POSIX || POSIX2008] (ECHOCTL): Likewise.
43539         [POSIX || POSIX2008] (ECHOKE): Likewise.
43540         [POSIX || POSIX2008] (ECHOPRT): Likewise.
43541         [POSIX || POSIX2008] (EXTA): Likewise.
43542         [POSIX || POSIX2008] (EXTB): Likewise.
43543         [POSIX || POSIX2008] (FLUSHO): Likewise.
43544         [POSIX || POSIX2008] (LOBLK): Likewise.
43545         [POSIX || POSIX2008] (PENDIN): Likewise.
43546         [POSIX || POSIX2008] (SWTCH): Likewise.
43547         [POSIX || POSIX2008] (VDISCARD): Likewise.
43548         [POSIX || POSIX2008] (VDSUSP): Likewise.
43549         [POSIX || POSIX2008] (VLNEXT): Likewise.
43550         [POSIX || POSIX2008] (VREPRINT): Likewise.
43551         [POSIX || POSIX2008] (VSTATUS): Likewise.
43552         [POSIX || POSIX2008] (VWERASE): Likewise.
43553         (B*): Change to B[0123456789]*.
43554         * conform/data/time.h-data [POSIX || UNIX98]
43555         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
43556         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43557         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
43558         [POSIX] (tm_*): Do not allow.
43560 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
43562         * Makefile (install): Don't set LANGUAGE.
43563         * Makefile.in (install): Likewise.
43564         * assert/Makefile (test-assert-ENV): Remove variable.
43565         (test-assert-perr-ENV): Likewise.
43566         * elf/Makefile (neededtest4-ENV): Likewise.
43567         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43568         [$(cross-compiling) = no]: Don't set LANGUAGE.
43569         * io/ftwtest-sh (LANG): Remove variable.
43570         * libio/Makefile (tst-widetext-ENV): Likewise.
43571         * manual/install.texi (Running make install): Don't refer to
43572         environment settings for make install.
43573         * INSTALL: Regenerated.
43574         * nptl/tst-tls6.sh: Don't set LANG.
43575         * posix/globtest.sh (LANG): Remove variable.
43576         * string/Makefile (tester-ENV): Likewise.
43577         (inl-tester-ENV): Likewise.
43578         (noinl-tester-ENV): Likewise.
43579         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43580         [$(cross-compiling) = no]: Don't set LANGUAGE.
43581         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
43582         without explicit environment settings.
43584 2014-06-06  Roland McGrath  <roland@hack.frob.com>
43586         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
43587         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
43588         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
43589         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
43591 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
43593         * crypt/crypt-private.h [DOS]: Add some includes taken from the
43594         other files in the crypt directory.
43595         * crypt/crypt.c: Remove duplicate includes.
43596         * crypt/crypt-entry.c: Likewise.
43597         * crypt/crypt_util.c: Likewise.
43599 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
43601         * Makeconfig (run-program-env): New variable.
43602         (run-program-prefix-before-env): Likewise.
43603         (run-program-prefix-after-env): Likewise.
43604         (run-program-prefix): Define in terms of new variables.
43605         (built-program-cmd-before-env): New variable.
43606         (built-program-cmd-after-env): Likewise.
43607         (built-program-cmd): Define in terms of new variables.
43608         (test-program-prefix-before-env): New variable.
43609         (test-program-prefix-after-env): Likewise.
43610         (test-program-prefix): Define in terms of new variables.
43611         (test-program-cmd-before-env): New variable.
43612         (test-program-cmd-after-env): Likewise.
43613         (test-program-cmd): Define in terms of new variables.
43614         * Rules (make-test-out): Use $(run-program-env).
43615         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
43616         (help): Do not mention environment variables.  Mention
43617         --timeoutfactor option.
43618         (timeoutfactor): New variable.
43619         (blacklist_exports): Remove function.
43620         (exports): Remove variable.
43621         (command): Do not include ${exports}.
43622         * manual/install.texi (Configuring and compiling): Do not mention
43623         test wrappers preserving environment variables.  Mention that last
43624         assignment to a variable must take precedence.
43625         * INSTALL: Regenerated.
43626         * benchtests/Makefile (run-bench): Use $(run-program-env).
43627         * catgets/Makefile ($(objpfx)test1.cat): Use
43628         $(built-program-cmd-before-env), $(run-program-env) and
43629         $(built-program-cmd-after-env).
43630         ($(objpfx)test2.cat): Do not specify environment variables
43631         explicitly.
43632         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
43633         $(run-program-env) and $(built-program-cmd-after-env).
43634         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
43635         $(run-program-env) and $(test-program-cmd-after-env).
43636         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
43637         explicitly.
43638         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
43639         run_program_env and test_program_cmd_after_env arguments.
43640         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
43641         * elf/tst-pathopt.sh: Use run_program_env argument.
43642         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
43643         $(test-wrapper-env) and $(run-program-env).
43644         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
43645         run_program_env arguments.
43646         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
43647         * intl/Makefile ($(objpfx)tst-gettext.out): Use
43648         $(test-program-prefix-before-env), $(run-program-env) and
43649         $(test-program-prefix-after-env).
43650         ($(objpfx)tst-gettext2.out): Likewise.
43651         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
43652         run_program_env and test_program_prefix_after_env arguments.
43653         * intl/tst-gettext2.sh: Likewise.
43654         * intl/tst-gettext4.sh: Do not set environment variables
43655         explicitly.
43656         * intl/tst-gettext6.sh: Likewise.
43657         * intl/tst-translit.sh: Likewise.
43658         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
43659         $(test-program-prefix-before-env), $(run-program-env) and
43660         $(test-program-prefix-after-env).
43661         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
43662         run_program_env and test_program_prefix_after_env arguments.
43663         * math/Makefile (run-regen-ulps): Use $(run-program-env).
43664         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
43665         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
43666         explicitly with each use of ${test_wrapper_env}.
43667         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
43668         $(test-program-prefix-before-env), $(run-program-env) and
43669         $(test-program-prefix-after-env).
43670         * posix/tst-getconf.sh: Do not set environment variables
43671         explicitly.
43672         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
43673         run_program_env and test_program_prefix_after_env arguments.
43674         * stdio-common/tst-printf.sh: Do not set environment variables
43675         explicitly.
43676         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
43677         $(test-program-prefix-before-env), $(run-program-env) and
43678         $(test-program-prefix-after-env).
43679         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
43680         run_program_env and test_program_prefix_after_env arguments.
43681         Split $test calls into $test_pre and $test.
43682         * timezone/Makefile (build-testdata): Use
43683         $(built-program-cmd-before-env), $(run-program-env) and
43684         $(built-program-cmd-after-env).
43686 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43688         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
43689         strlen for non SHARED builds.
43691 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43693         * nptl/allocatestack.c (check_list): Inlined function...
43694         (__reclaim_stacks): ... here.
43696 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43698         [BZ #15698]
43699         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43700         memory overrun.
43702 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
43704         * Rules (make-test-out): Include
43705         LOCPATH=$(common-objpfx)localedata in default environment.
43706         * debug/Makefile (tst-chk1-ENV): Remove variable.
43707         (tst-chk2-ENV): Likewise.
43708         (tst-chk3-ENV): Likewise.
43709         (tst-chk4-ENV): Likewise.
43710         (tst-chk5-ENV): Likewise.
43711         (tst-chk6-ENV): Likewise.
43712         (tst-lfschk1-ENV): Likewise.
43713         (tst-lfschk2-ENV): Likewise.
43714         (tst-lfschk3-ENV): Likewise.
43715         (tst-lfschk4-ENV): Likewise.
43716         (tst-lfschk5-ENV): Likewise.
43717         (tst-lfschk6-ENV): Likewise.
43718         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
43719         (tst-iconv7-ENV): Likewise.
43720         * intl/Makefile (LOCPATH-ENV): Likewise.
43721         (tst-codeset-ENV): Likewise.
43722         (tst-gettext3-ENV): Likewise.
43723         (tst-gettext5-ENV): Likewise.
43724         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
43725         (tst-fopenloc-ENV): Likewise.
43726         (tst-fgetws-ENV): Remove variable.
43727         (tst-ungetwc1-ENV): Likewise.
43728         (tst-ungetwc2-ENV): Likewise.
43729         (bug-ungetwc2-ENV): Likewise.
43730         (tst-swscanf-ENV): Likewise.
43731         (bug-ftell-ENV): Likewise.
43732         (tst-fgetwc-ENV): Likewise.
43733         (tst-fseek-ENV): Likewise.
43734         (tst-ftell-partial-wide-ENV): Likewise.
43735         (tst-ftell-active-handler-ENV): Likewise.
43736         (tst-ftell-append-ENV): Likewise.
43737         * posix/Makefile (tst-fnmatch-ENV): Likewise.
43738         (tst-regexloc-ENV): Likewise.
43739         (bug-regex1-ENV): Likewise.
43740         (tst-regex-ENV): Likewise.
43741         (tst-regex2-ENV): Likewise.
43742         (bug-regex5-ENV): Likewise.
43743         (bug-regex6-ENV): Likewise.
43744         (bug-regex17-ENV): Likewise.
43745         (bug-regex18-ENV): Likewise.
43746         (bug-regex19-ENV): Likewise.
43747         (bug-regex20-ENV): Likewise.
43748         (bug-regex22-ENV): Likewise.
43749         (bug-regex23-ENV): Likewise.
43750         (bug-regex25-ENV): Likewise.
43751         (bug-regex26-ENV): Likewise.
43752         (bug-regex30-ENV): Likewise.
43753         (bug-regex32-ENV): Likewise.
43754         (bug-regex33-ENV): Likewise.
43755         (bug-regex34-ENV): Likewise.
43756         (bug-regex35-ENV): Likewise.
43757         (tst-rxspencer-ENV): Likewise.
43758         (tst-rxspencer-no-utf8-ENV): Likewise.
43759         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
43760         (tst-sscanf-ENV): Likewise.
43761         (tst-swprintf-ENV): Likewise.
43762         (tst-swscanf-ENV): Likewise.
43763         (test-vfprintf-ENV): Likewise.
43764         (scanf13-ENV): Likewise.
43765         (bug14-ENV): Likewise.
43766         (tst-grouping-ENV): Likewise.
43767         * stdlib/Makefile (tst-strtod-ENV): Likewise.
43768         (tst-strtod3-ENV): Likewise.
43769         (tst-strtod4-ENV): Likewise.
43770         (tst-strtod5-ENV): Likewise.
43771         (testmb2-ENV): Likewise./
43772         * string/Makefile (tst-strxfrm-ENV): Likewise.
43773         (tst-strxfrm2-ENV): Likewise.
43774         (bug-strcoll1-ENV): Likewise.
43775         (test-strcasecmp-ENV): Likewise.
43776         (test-strncasecmp-ENV): Likewise.
43777         * time/Makefile (tst-strptime-ENV): Likewise.
43778         (tst-ftime_l-ENV): Likewise.
43779         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
43780         (tst-mbrtowc-ENV): Likewise.
43781         (tst-wcrtomb-ENV): Likewise.
43782         (tst-mbrtowc2-ENV): Likewise.
43783         (tst-c16c32-1-ENV): Likewise.
43784         (tst-mbsnrtowcs-ENV): Likewise.
43786 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43788         * manual/resource.texi (How to get information about the memory
43789         subsystem?): Fix typo.
43790         Reported by Peon de la Parra Ivan <peon@keba.com>
43792 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
43794         [BZ #16882]
43795         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
43796         (pthread_spin_lock): Branch out of spin loop to proper location.
43797         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
43798         (pthread_spin_lock): Likewise.
43800         * nptl/tst-spin4.c: New test.
43801         * nptl/Makefile (tests): Add tst-spin4.
43803 2014-06-03  Andreas Schwab  <schwab@suse.de>
43805         [BZ #15946]
43806         * resolv/res_send.c (send_dg): Reload file descriptor after
43807         calling reopen.
43809 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
43811         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43813 2014-06-03  Richard Henderson  <rth@redhat.com>
43815         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
43816         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
43817         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
43818         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
43819         in the SAVE_PID block.
43820         (__libc_vfork): New alias.
43821         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
43823         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
43824         child in registers, not on the stack.  Remove RESET_PID conditionals.
43825         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
43827 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43829         * sysdeps/aarch64/libm-test-ulps: Regenerate.
43831 2014-06-03  Wilco  <wdijkstr@arm.com>
43833         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
43834         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
43835         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43836         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
43837         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
43838         Likewise.
43840 2014-06-03  Wilco  <wdijkstr@arm.com>
43842         * sysdeps/aarch64/fpu/math_private.h
43843         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
43844         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
43845         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
43846         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43847         Fix declarations.
43849 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43851         * crypt/crypt-private.h: Include ufc-crypt.h.
43852         (__b64_from_24bit): Declare extern.
43853         * crypt/crypt_util.c(__b64_from_24bit): New function.
43854         (b64t): New static const variable.
43855         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
43856         (b64t): Remove variable.
43857         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
43858         * crypt/sha256-crypt.c: Include crypt-private.h.
43859         (b64t): Remove variable.
43860         (__sha256_crypt_r): Remove b64_from_24bit and replace
43861         with __b64_from_24bit.
43862         * crypt/sha512-crypt.c: Likewise.
43864 2014-06-02  Roland McGrath  <roland@hack.frob.com>
43866         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
43867         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
43868         Label the code __libc_vfork rather than __vfork.
43869         [!NOT_IN_libc] (vfork): Define as weak alias.
43870         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
43871         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
43872         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
43874 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43876         * malloc/malloc.c (malloc_info): Fix format specifier for
43877         n_mmaps.
43879 2014-06-02  Wilco  <wdijkstr@arm.com>
43881         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
43882         FPCR write.
43884 2014-06-02  Wilco  <wdijkstr@arm.com>
43886         [BZ #17009]
43887         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
43888         Rewrite to reduce FPCR/FPSR accesses.
43890 2014-06-01  David S. Miller  <davem@davemloft.net>
43892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43894 2014-05-31  David S. Miller  <davem@davemloft.net>
43896         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
43897         to occur in round to nearest mode when |x| >= 2.0
43899 2014-05-30  Richard Henderson  <rth@twiddle.net>
43901         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
43902         (PSEUDO_RET_NOERRNO): Remove.
43903         (ret): Don't redefine.
43904         (ret_NOERRNO): Define in terms of ret.
43905         (ret_ERRVAL): Likewise.
43907         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
43908         use of PSEUDO_RET; perform the error check directly.
43910 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
43912         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
43913         with __int128_t.
43915 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43917         * malloc/malloc (malloc_info): Fix formatting.
43919 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43920             Roland McGrath  <roland@hack.frob.com>
43922         * malloc/malloc (malloc_info): Also print mmapped statistics.
43924 2014-05-30  Roland McGrath  <roland@hack.frob.com>
43926         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
43927         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
43929 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
43931         * malloc/malloc.c (malloc_info): Inline mi_arena.
43933 2014-05-29  Richard Henderson  <rth@twiddle.net>
43935         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
43936         Remove comma before expanding ASM_ARGS_##nr.
43937         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
43938         Make _x0 a strict output; make _x8 a strict input; adjust expansion
43939         of ASM_ARGS_##nr.
43940         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
43941         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
43942         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
43943         (ASM_ARGS_1): Add leading comma.
43945         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
43946         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
43947         to __errno_location.
43948         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
43949         Remove the expected plt for __errno_location.
43951         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43952         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
43953         call to __read_tp.
43955         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43956         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
43957         it and break it down.
43958         (DOCARGS_0, DOCARGS_1): Do nothing.
43959         (DOCARGS_2): Update to store into the new stack frame.
43960         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
43961         (UNDOCARGS_1): Update to restore from the new stack frame.
43962         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
43963         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
43965         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43966         (SINGLE_THREAD_P): New parameter for result regno.
43967         (PSEUDO): Update to match; use cbz instead of beq.
43969         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43970         Use ENTRY to define the _nocancel entry point.  Share the syscall
43971         and syscall error check paths with the cancel path.
43972         (PSEUDO_END): New.
43974         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
43975         whitespace; tabs before and after asm mnemonics.
43977 2014-05-29  Eric Wong  <normalperson@yhbt.net>
43979         [BZ #15132]
43980         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43981         Call fstat64 or stat64 internally, depending on arguments passed.
43982         Replace stat buffer argument with file descriptor argument.
43983         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
43984         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43985         Pass fd to __internal_statvfs instead of calling fstat64.
43986         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
43987         Pass fd to __internal_statvfs64 instead of calling fstat64.
43988         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
43989         Pass -1 to __internal_statvfs instead of calling stat64.
43990         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
43991         Pass -1 to __internal_statvfs64 instead of calling stat64.
43993 2014-05-28  Roland McGrath  <roland@hack.frob.com>
43995         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
43996         that was previously under [RESET_PID].
43997         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
43999         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
44000         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
44002 2014-05-27  Roland McGrath  <roland@hack.frob.com>
44004         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
44006         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
44007         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
44009 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
44011         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
44013 2014-05-27  Andreas Schwab  <schwab@suse.de>
44015         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
44016         TLS_INIT_TP macro.
44017         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
44018         * elf/rtld.c (init_tls, dl_main): Likewise.
44019         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
44020         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
44021         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
44022         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
44023         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
44024         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
44025         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
44026         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
44027         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
44028         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
44029         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
44030         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
44031         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
44032         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
44033         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
44034         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
44035         * sysdeps/generic/tls.h: Update description.
44037 2014-05-27  Will Newton  <will.newton@linaro.org>
44039         [BZ #16990]
44040         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
44041         and restore r2 rather than just restoring.
44043 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44045         [BZ #16724]
44046         * libio/tst-ftell-append.c: New test case.
44047         * libio/Makefile (tests): Add test case.
44048         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
44049         append mode.
44050         * libio/wfileops.c (do_ftell_wide): Likewise.
44052 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44056         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
44057         ...
44058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
44059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44060         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
44061         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
44062         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
44063         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
44064         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
44065         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
44066         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44067         Moved ...
44068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
44069         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44070         Moved ...
44071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
44072         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
44073         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
44074         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
44075         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
44076         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
44077         ...
44078         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
44079         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
44080         Moved ...
44081         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
44082         here.
44083         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
44084         ...
44085         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
44086         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
44087         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
44089         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
44090         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
44091         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
44092         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
44094         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
44095         merge into ...
44096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
44097         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
44098         ...
44099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
44100         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
44101         ...
44102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
44103         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44104         Moved ...
44105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
44106         here.
44107         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44108         Moved ...
44109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
44110         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44111         Moved ...
44112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
44114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
44115         conditional [RESET_PID].
44116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
44117         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
44118         removed.
44119         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
44120         removed.
44122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
44123         <tcb-offsets.h>.
44124         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44125         (__libc_vfork): New strong alias.
44126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
44127         removed.
44128         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
44129         Removed.
44131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
44132         <tcb-offsets.h>.
44133         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
44134         (__libc_vfork): New strong alias.
44135         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
44136         removed.
44137         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
44138         removed.
44140 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
44142         * malloc/malloc.c (mi_arena): New function.
44143         (malloc_info): Remove nested function mi_arena. Call non-nosted
44144         function mi_arena.
44146 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44148         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
44149         by insrwi.
44150         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
44151         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
44152         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
44153         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
44154         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
44155         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
44156         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
44158 2014-05-26  Andreas Schwab  <schwab@suse.de>
44160         [BZ #16984]
44161         * locale/programs/repertoire.c (repertoire_read): Add slash
44162         between I18NPATH element and file name.
44163         * locale/programs/locfile.c (locfile_read): Likewise.
44165 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44167         * nptl/pthread_mutexattr_settype.c
44168         (__pthread_mutexattr_settype):
44169         Disable lock elision for PTHREAD_MUTEX_NORMAL.
44171 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44173         * nptl/tst-mutex5 (do_test):
44174         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
44176 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44178         * benchtests/README: Document 'init' directive.
44179         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
44180         BENCH_INIT.
44181         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
44182         (parse_file): Recognize 'init' directive.
44184 2014-05-26  Kyle McMartin  <kyle@redhat.com>
44186         [BZ #16796]
44187         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
44188         alignment of struct pthread.
44190 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44192         [BZ #16878]
44193         * nscd/netgroupcache.c (addgetnetgrentX): Look for
44194         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44195         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
44196         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44198 2014-05-25  Richard Henderson  <rth@twiddle.net>
44200         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44201         (SINGLE_THREAD_P_PIC): Remove.
44202         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
44203         (SINGLE_THREAD_P_PIC): Remove.
44205         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
44206         branch to syscall error ...
44207         (PSEUDO): ... here.
44208         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
44209         from __local_syscall_error to .Lsyscall_error.
44210         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
44211         (SYSCALL_ERROR): Update label name.
44213         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44214         Do not use DOARGS/UNDOARGS.
44215         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
44216         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
44217         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
44218         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
44219         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
44221         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
44222         block comment.
44224         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
44225         define if !NOT_IN_libc.
44226         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
44227         define with non-default symbol versions.
44229 2014-05-23  Richard Henderson  <rth@twiddle.net>
44231         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
44232         (vfork, __vfork): Define via compat_symbol.
44234         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
44235         [!HAVE_IFUNC] (vfork_compat): Remove.
44236         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
44238 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44240         [BZ #16978]
44241         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
44242         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
44243         variable.
44245 2014-05-23  Richard Henderson  <rth@twiddle.net>
44247         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
44248         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
44249         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
44250         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
44252         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
44253         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
44254         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
44255         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
44256         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
44257         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
44258         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
44259         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
44260         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
44261         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
44262         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
44263         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
44264         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
44265         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
44266         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
44267         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
44268         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
44269         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
44270         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
44271         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
44272         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
44273         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
44274         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
44275         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
44276         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
44277         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
44278         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
44279         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
44280         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
44281         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
44282         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
44283         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
44284         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
44285         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
44286         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
44287         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
44288         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
44289         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
44290         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
44291         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
44292         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
44293         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
44294         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
44295         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
44296         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
44297         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
44298         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
44299         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
44300         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
44301         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
44302         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
44303         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
44304         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
44305         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
44306         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
44307         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
44309         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
44310         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
44311         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
44312         before exiting on error.
44313         (__libc_vfork): New strong alias.
44314         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
44315         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
44317         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
44318         that was previously under [RESET_PID].
44319         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
44321         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
44323 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44325         [BZ #16977]
44326         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
44327         value when x - 1 is zero.
44328         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
44329         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
44330         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
44331         0.0L for an argument of 1.0L.
44332         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
44333         Likewise.
44334         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
44335         value when x - 1 is zero.
44336         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
44337         * sysdeps/i386/fpu/libm-test-ulps: Update.
44338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44340 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44342         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
44343         alphasort and versionsort.
44345 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44347         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
44348         macro.
44349         [copysignf]: Likewise.
44351 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44353         * crypt/md5-crypt.c: Fix formatting.
44355 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44357         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
44358         (b64_from_24bit): New function.
44360 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44362         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
44363         libc_hidden_builtin_def to ifunc.
44364         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44365         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
44367 2014-05-21  Roland McGrath  <roland@hack.frob.com>
44369         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
44370         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
44372 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
44374         * nscd/Depend (linuxthreads): Remove.
44375         (nptl): Add.
44376         * resolv/Depend (linuxthreads): Remove.
44377         * rt/Depend (linuxthreads): Remove.
44379         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
44380         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
44381         $(common-objpfx)elf/.
44382         (link-libc-before-gnulib): Likewise.
44383         (elfobjdir): Remove variable.
44384         * Makefile (install): Use $(elf-objpfx) instead of
44385         $(common-objpfx)elf/.
44386         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
44387         $(elfobjdir)/.
44388         (link-libc-deps): Likewise.
44389         ($(common-objpfx)libc.so): Likewise.
44390         ($(common-objpfx)linkobj/libc.so): Likewise.
44391         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
44392         instead of $(common-objpfx)elf/.
44393         (symbolic-link-list): Likewise.
44394         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44395         [$(cross-compiling) = no]: Likewise.
44396         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
44397         $(elfobjdir)/.
44398         (static-gnulib-arch): Likewise.
44399         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44400         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
44401         $(common-objpfx)elf/.
44403 2014-05-21  Richard Henderson  <rth@redhat.com>
44405         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44406         (SINGLE_THREAD_P): Use the correct width load.  Fold
44407         into the ldr offset.
44409         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
44410         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
44412 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
44414         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
44415         (libgcc_s_resume): Use __attribute_used__.
44416         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
44417         Likewise.
44419 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44421         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
44422         optimization when used with float constants.
44424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44426 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
44428         [BZ #16915]
44429         * locale/nl_langinfo_l.c: Make direct reference to every
44430         _nl_current_CATEGORY symbol.
44431         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
44432         (tests-static): Add tst-langinfo-static.
44433         (tests-special): Add tst-langinfo-static.out.
44434         ($(objpfx)tst-langinfo.out): Redirect output.
44435         ($(objpfx)tst-langinfo-static.out): New.
44436         * localedata/tst-langinfo.sh: Send output to stdout.
44437         * localedata/tst-langinfo-static.c: New file.
44439         [BZ #16965]
44440         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
44441         when the shift amount is modulo the limb size.
44443 2014-05-20  Richard Henderson  <rth@redhat.com>
44445         [BZ #16967]
44446         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
44447         Change type of sa_flags from unsigned int to int.
44449         [BZ #16966]
44450         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
44452         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
44454 2014-05-20  Will Newton  <will.newton@linaro.org>
44456         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44457         Test the return value of the system call in the nocancel case.
44459 2014-05-20  Will Newton  <will.newton@linaro.org>
44460             Yvan Roux  <yvan.roux@linaro.org>
44462         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
44463         #include of asm/ptrace.h.
44464         (PTRACE_GET_THREAD_AREA): Remove #undef.
44465         (PTRACE_GETHBPREGS): Likewise.
44466         (PTRACE_SETHBPREGS): Likewise.
44467         (struct user_regs_struct): New structure.
44468         (struct user_fpsimd_struct): New structure.
44469         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
44470         #include of asm/ptrace.h and second #include of sys/user.h.
44471         (PTRACE_GET_THREAD_AREA): Remove #undef.
44472         (PTRACE_GETHBPREGS): Likewise.
44473         (PTRACE_SETHBPREGS): Likewise.
44474         (ELF_NGREG): Use new struct user_regs_struct.
44475         (elf_fpregset_t): Use new struct user_fpsimd_struct.
44477 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44479         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
44480         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
44482 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
44484         [BZ #16958]
44485         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
44486         membar to avoid block loads/stores to overlap previous stores.
44488 2014-05-17  Richard Henderson  <rth@redhat.com>
44490         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
44491         Create the __##syscall_name##_nocancel entry point.
44492         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
44493         Remove; let the sysdep-cancel.h code create it.
44495 2014-05-17  David S. Miller  <davem@davemloft.net>
44497         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
44498         Protect with __USE_GNU.
44499         (TIOCSET_TEMPT): Likewise.
44500         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44501         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
44502         these are already provided in bits/ioctl-types.h
44504 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44506         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
44507         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
44509         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
44510         Use wait4 regardless of [__NR_waitpid].
44512 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44514         PR libgcc/60166
44515         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44516         (_FP_NANSIGN_Q): Set the quiet bit.
44518 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
44520         * benchtests/Makefile
44521         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
44522         not $(common-objpfx)math/libm.so.
44523         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
44524         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
44525         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
44526         $(common-objpfx)dlfcn/libdl.so.
44527         ($(objpfx)tst-audit8): Depend on $(libm), not
44528         $(common-objpfx)math/libm.so.
44529         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
44530         not $(common-objpfx)dlfcn/libdl.so.
44531         * math/Makefile
44532         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44533         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
44534         [$(build-shared) = yes].
44535         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
44536         $(common-objpfx)nptl/libpthread.so.
44537         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
44538         $(common-objpfx)math/libm.so$(libm.so-version) or
44539         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
44540         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
44541         $(common-objpfx)dlfcn/libdl.so.
44542         * setjmp/Makefile (link-libm): Remove variable.
44543         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
44544         * stdio-common/Makefile (link-libm): Remove variable.
44545         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
44546         * stdlib/Makefile (link-libm): Remove variable.
44547         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
44548         ($(objpfx)tst-strtod-round): Likewise.
44549         ($(objpfx)tst-tininess): Likewise.
44550         ($(objpfx)tst-strtod-underflow): Likewise.
44551         ($(objpfx)tst-strtod6): Likewise.
44552         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
44553         $(libdl), not $(common-objpfx)nptl/libpthread.so and
44554         $(common-objpfx)dlfcn/libdl.so.
44556 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44558         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
44559         BSD terminal modes definitions.
44561 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44563         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
44564         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
44566         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
44567         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
44568         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
44569         Don't do #include_next.
44570         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
44571         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
44572         Don't do #include_next.
44573         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
44574         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
44575         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
44576         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
44578 2014-05-16  Allan McRae  <allan@archlinux.org>
44580         * po/sv.po: Update Swedish translation from translation project.
44582         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
44583         in sed expression.
44585 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
44587         [BZ #16917]
44588         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
44589         errno if the TIOCGPTN ioctl fails with an error different than
44590         EINVAL.
44591         * login/tst-ptsname.c: New file.
44592         * login/Makefile (tests): Add tst-ptsname.
44594         [BZ #16943]
44595         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
44596         and prlimit64.
44598 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44600         [BZ #16849]
44601         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
44602         herrno to return EAI_AGAIN.
44604 2014-05-14  Roland McGrath  <roland@hack.frob.com>
44606         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
44607         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
44608         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
44609         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
44610         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
44611         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
44612         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
44613         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
44614         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
44615         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
44616         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
44617         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
44618         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
44619         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
44620         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
44621         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
44622         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
44623         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
44624         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
44625         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
44626         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
44627         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
44628         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
44629         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
44630         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
44631         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
44632         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
44633         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
44634         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
44635         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
44636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
44637         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
44638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
44639         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
44640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44641         Moved ...
44642         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
44643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
44644         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
44645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
44646         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
44647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
44648         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
44649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
44650         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
44651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
44652         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
44653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
44654         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
44655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
44656         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
44657         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
44658         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
44659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
44660         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
44661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
44662         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
44663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
44664         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
44665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
44666         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
44667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
44668         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
44669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44670         Moved ...
44671         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
44672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
44673         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
44674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
44675         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
44676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
44677         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
44678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
44679         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
44680         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
44681         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
44682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
44683         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
44684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
44685         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
44686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
44687         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
44688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
44689         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
44690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44691         Moved ...
44692         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
44693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
44694         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
44696         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
44697         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
44698         (libpthread-sysdep_routines): Add elision-related stuff here instead.
44699         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
44700         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
44701         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
44702         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
44703         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
44704         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
44705         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
44706         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
44707         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
44708         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
44709         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
44710         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
44711         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
44712         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
44713         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
44714         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
44715         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
44716         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
44717         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
44718         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
44719         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
44720         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
44721         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
44722         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
44723         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
44724         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
44725         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
44726         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
44728         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
44729         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
44731         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
44732         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
44733         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
44734         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
44735         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
44736         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
44737         Moved ...
44738         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
44739         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
44740         Moved ...
44741         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
44742         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
44743         Moved ...
44744         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
44745         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
44746         Moved ...
44747         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
44748         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
44749         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
44750         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
44751         Moved ...
44752         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
44753         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
44754         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
44755         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
44756         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
44757         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
44758         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
44759         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
44760         Moved ...
44761         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
44762         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44763         Moved ...
44764         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44765         ... here.
44766         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
44767         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
44768         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
44769         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
44770         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44771         Moved ...
44772         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44773         ... here.
44774         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
44775         Moved ...
44776         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
44777         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
44778         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
44779         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
44780         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
44781         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
44782         Moved ...
44783         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
44784         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
44785         Moved ...
44786         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
44787         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
44788         Moved ...
44789         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
44790         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
44791         Moved ...
44792         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
44793         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
44794         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
44795         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
44796         Moved ...
44797         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
44798         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
44799         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
44800         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
44801         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
44802         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
44803         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
44804         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
44805         Moved ...
44806         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
44807         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44808         Moved ...
44809         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44810         ... here.
44811         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
44812         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
44813         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
44814         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
44815         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44816         Moved ...
44817         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44818         ... here.
44819         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
44820         Moved ...
44821         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
44822         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
44823         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
44824         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
44825         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
44826         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
44827         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
44828         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
44829         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
44830         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
44831         Moved ...
44832         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
44833         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
44834         Moved ...
44835         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
44836         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
44837         Moved ...
44838         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
44839         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
44840         Moved ...
44841         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
44842         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
44843         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
44844         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
44845         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
44846         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
44847         Moved ...
44848         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
44849         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
44850         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
44851         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
44852         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
44853         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
44854         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
44855         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
44856         Moved ...
44857         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
44858         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44859         Moved ...
44860         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44861         ... here.
44862         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
44863         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
44864         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
44865         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
44866         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44867         Moved ...
44868         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44869         ... here.
44870         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
44871         Moved ...
44872         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
44873         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
44874         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
44875         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
44876         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
44877         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
44878         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
44879         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
44880         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
44881         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
44882         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
44884         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
44885         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
44887         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
44888         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
44890         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
44891         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
44892         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
44893         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
44894         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
44895         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
44896         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
44897         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
44898         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
44899         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
44900         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
44901         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
44902         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
44903         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
44904         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
44905         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
44906         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
44907         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
44908         Moved ...
44909         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
44910         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
44911         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
44912         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
44913         Moved ...
44914         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
44915         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
44916         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
44917         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
44918         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
44919         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
44920         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
44921         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
44922         Moved ...
44923         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
44924         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
44925         Moved ...
44926         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
44927         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
44928         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
44929         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
44930         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
44931         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
44932         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
44933         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
44934         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
44935         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
44936         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
44937         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
44938         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
44939         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
44940         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
44941         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
44942         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
44944         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
44945         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
44946         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
44947         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
44948         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
44950         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
44951         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
44952         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
44953         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
44954         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
44955         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
44956         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
44957         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
44958         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
44959         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
44961         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
44962         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
44964         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
44965         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
44966         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
44967         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
44968         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
44969         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
44970         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
44971         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
44972         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
44973         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
44974         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
44975         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
44976         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
44977         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
44978         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
44979         Update #include.
44980         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
44981         Likewise.
44982         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44983         Likewise.
44984         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44985         Likewise.
44986         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44987         Likewise.
44988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
44989         Likewise.
44990         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
44991         Likewise.
44992         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44993         Likewise.
44994         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
44995         Likewise.
44996         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
44997         Likewise.
44998         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
44999         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
45000         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
45001         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
45002         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
45003         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
45004         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
45005         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
45006         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
45007         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
45008         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
45009         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
45010         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
45011         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
45012         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
45014         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
45015         that was previously under [RESET_PID].
45016         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45017         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
45018         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
45020         * sysdeps/i386/nptl/Implies: New file.
45021         * sysdeps/x86_64/nptl/Implies: New file.
45022         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
45023         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
45024         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
45025         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
45027         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
45028         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45029         (__libc_vfork): New strong alias.
45030         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
45031         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
45033         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
45034         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45035         (__libc_vfork): New strong alias.
45036         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
45037         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
45039         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
45040         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45041         (__libc_vfork): New strong alias.
45042         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
45043         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
45044         * nptl/pt-vfork.c: New file.
45045         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
45046         (libpthread: GLIBC_2.20): New version set (empty).
45048 2014-05-14  Will Newton  <will.newton@linaro.org>
45050         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
45051         rather than #if.
45053 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45055         [BZ #16564]
45056         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
45057         arguments with exponent 65 or above.
45058         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
45059         arguments 0x1p113L or above.
45060         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
45061         to arguments 0x1p107L or above.
45062         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
45063         positive arguments with exponent 65 or above.
45064         * math/auto-libm-test-in: Add more tests of log1p.
45065         * math/auto-libm-test-out: Regenerated.
45067         [BZ #16928]
45068         * math/s_cacos.c (__cacos): Ensure zero real part of result from
45069         non-finite arguments is +0.
45070         * math/s_cacosf.c (__cacosf): Likewise.
45071         * math/s_cacosl.c (__cacosl): Likewise.
45072         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
45073         * sysdeps/i386/fpu/libm-test-ulps: Update.
45074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45076         [BZ #16927]
45077         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
45078         value.
45079         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
45080         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
45081         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
45082         for explicit high bit of mantissa when testing for argument equal
45083         to 1.
45084         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
45085         * sysdeps/i386/fpu/libm-test-ulps: Update.
45086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45088         [BZ #16516]
45089         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
45090         (__erf): Scale by 16 instead of 8 in potentially underflowing
45091         case.  Ensure exception if result actually underflows.
45092         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
45093         (__erff): Scale by 16 instead of 8 in potentially underflowing
45094         case.  Ensure exception if result actually underflows.
45095         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
45096         (efx8): Remove variable.
45097         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45098         case.  Ensure exception if result actually underflows.
45099         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
45100         (efx8): Remove variable.
45101         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45102         case.  Ensure exception if result actually underflows.
45103         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
45104         (efx8): Remove variable.
45105         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45106         case.  Ensure exception if result actually underflows.
45107         * math/auto-libm-test-in: Add more tests of erf.
45108         * math/auto-libm-test-out: Regenerated.
45110 2014-05-14  Andreas Schwab  <schwab@suse.de>
45112         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
45113         Remove code conditionalized on USE___THREAD.
45115         * config.h.in (HAVE_PT_CHOWN): Define as 0.
45116         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
45117         not definedness.
45119 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45121         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
45122         Define unconditionally.
45123         (__ASSUME_O_CLOEXEC): Likewise.
45124         (__ASSUME_SOCK_CLOEXEC): Likewise.
45125         (__ASSUME_IN_NONBLOCK): Likewise.
45126         (__ASSUME_PIPE2): Likewise.
45127         (__ASSUME_EVENTFD2): Likewise.
45128         (__ASSUME_SIGNALFD4): Likewise.
45129         (__ASSUME_DUP3): Likewise.
45130         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45131         (__ASSUME_DUP3): Do not define.
45132         (__ASSUME_EVENTFD2): Likewise.
45133         (__ASSUME_IN_NONBLOCK): Likewise.
45134         (__ASSUME_O_CLOEXEC): Likewise.
45135         (__ASSUME_PIPE2): Likewise.
45136         (__ASSUME_SIGNALFD4): Likewise.
45137         (__ASSUME_SOCK_CLOEXEC): Likewise.
45138         (__ASSUME_UTIMES): Undefine.
45139         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45140         (__ASSUME_UTIMES): Do not define.
45141         (__ASSUME_O_CLOEXEC): Likewise.
45142         (__ASSUME_SOCK_CLOEXEC): Likewise.
45143         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
45144         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
45145         0x020621].
45146         (__ASSUME_PIPE2): Likewise.
45147         (__ASSUME_EVENTFD2): Likewise.
45148         (__ASSUME_SIGNALFD4): Likewise.
45149         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
45150         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
45151         Do not define.
45152         (__ASSUME_EVENTFD2): Likewise.
45153         (__ASSUME_SIGNALFD4): Likewise.
45154         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
45155         (__ASSUME_32BITUIDS): Likewise.
45156         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45157         (__ASSUME_IPC64): Likewise.
45158         (__ASSUME_ST_INO_64_BIT): Likewise.
45159         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
45160         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
45161         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45162         (__ASSUME_UTIMES): Do not define.
45163         (__ASSUME_PSELECT): Likewise.
45164         (__ASSUME_PPOLL): Likewise.
45165         (__ASSUME_O_CLOEXEC): Likewise.
45166         (__ASSUME_SOCK_CLOEXEC): Likewise.
45167         (__ASSUME_IN_NONBLOCK): Likewise.
45168         (__ASSUME_PIPE2): Likewise.
45169         (__ASSUME_EVENTFD2): Likewise.
45170         (__ASSUME_SIGNALFD4): Likewise.
45171         (__ASSUME_DUP3): Likewise.
45172         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45173         (__ASSUME_UTIMES): Likewise.
45174         (__ASSUME_O_CLOEXEC): Likewise.
45175         (__ASSUME_SOCK_CLOEXEC): Likewise.
45176         (__ASSUME_IN_NONBLOCK): Likewise.
45177         (__ASSUME_PIPE2): Likewise.
45178         (__ASSUME_EVENTFD2): Likewise.
45179         (__ASSUME_SIGNALFD4): Likewise.
45180         (__ASSUME_DUP3): Likewise.
45181         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45182         (__ASSUME_UTIMES): Likewise.
45183         (__ASSUME_O_CLOEXEC): Likewise.
45184         (__ASSUME_SOCK_CLOEXEC): Likewise.
45185         (__ASSUME_IN_NONBLOCK): Likewise.
45186         (__ASSUME_PIPE2): Likewise.
45187         (__ASSUME_EVENTFD2): Likewise.
45188         (__ASSUME_SIGNALFD4): Likewise.
45189         (__ASSUME_DUP3): Likewise.
45190         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
45191         Likewise.
45192         (__ASSUME_UTIMES): Likewise.
45193         (__ASSUME_EVENTFD2): Likewise.
45194         (__ASSUME_SIGNALFD4): Likewise.
45195         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45196         (__ASSUME_O_CLOEXEC): Likewise.
45197         (__ASSUME_SOCK_CLOEXEC): Likewise.
45198         (__ASSUME_IN_NONBLOCK): Likewise.
45199         (__ASSUME_PIPE2): Likewise.
45200         (__ASSUME_EVENTFD2): Likewise.
45201         (__ASSUME_SIGNALFD4): Likewise.
45202         (__ASSUME_DUP3): Likewise.
45203         (__ASSUME_UTIMES): Undefine.
45205         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
45206         feclearexcept.  Remove symbol versioning code.
45207         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
45208         symbol versioning code.
45209         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
45210         symbol versioning code.
45211         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
45212         feupdateenv.  Remove symbol versioning code.
45213         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
45214         fegetexceptflag.  Remove symbol versioning code.
45215         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
45216         fesetexceptflag.  Remove symbol versioning code.
45217         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
45218         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
45219         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
45220         (__posix_fadvise64_l32): Remove prototype.
45221         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
45222         code.
45224 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45226         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
45227         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
45228         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
45229         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
45231 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
45233         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
45234         current working directory
45236 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45238         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
45239         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
45240         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
45241         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
45242         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
45243         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
45244         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
45245         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
45246         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
45247         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
45248         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
45249         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
45250         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
45251         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
45252         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
45253         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
45254         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
45255         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
45256         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
45257         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
45258         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
45259         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
45260         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
45261         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
45262         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
45263         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
45264         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
45265         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
45266         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
45267         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
45268         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
45269         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
45270         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
45271         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
45272         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
45273         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
45274         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
45275         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
45276         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
45277         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
45278         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
45279         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
45281         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
45282         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
45284         * sysdeps/unix/sysv/linux/arm/Makefile
45285         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
45286         Add rt-aeabi_unwind_cpp_pr1.
45287         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
45288         Add nptl-aeabi_unwind_cpp_pr1.
45289         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
45290         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
45291         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
45292         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45293         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
45294         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45296         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
45297         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
45298         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
45299         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
45301         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
45302         Deconditionalize the code that was previously under [RESET_PID].
45303         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
45305         * sysdeps/generic/exit-thread.h: New file.
45306         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
45307         * include/unistd.h (__exit_thread): Remove declaration.
45308         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
45309         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
45310         * csu/libc-start.c: Include <exit-thread.h>.
45311         (LIBC_START_MAIN): Pass no argument to __exit_thread.
45312         * nptl/pthread_create.c: Include <exit-thread.h>.
45313         (start_thread): Call __exit_thread in place of __exit_thread_inline.
45314         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
45315         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
45316         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
45317         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
45318         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
45319         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
45320         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
45321         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
45322         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
45323         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
45324         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
45325         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
45326         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
45327         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
45328         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
45329         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
45331 2014-05-13  Andreas Schwab  <schwab@suse.de>
45333         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
45335 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
45337         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45338         (__ASSUME_UTIMES): Do not condition on kernel version.
45339         (__ASSUME_PSELECT): Define unconditionally.
45340         (__ASSUME_PPOLL): Likewise.
45341         (__ASSUME_ATFCTS): Likewise.
45342         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
45343         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
45344         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
45345         (__ASSUME_UTIMENSAT): Define unconditionally.
45346         (__ASSUME_PRIVATE_FUTEX): Likewise.
45347         (__ASSUME_FALLOCATE): Likewise.
45348         (__ASSUME_O_CLOEXEC): Likewise.
45349         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
45350         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
45351         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
45352         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
45353         (__ASSUME_IN_NONBLOCK): Likewise.
45354         (__ASSUME_PIPE2): Likewise.
45355         (__ASSUME_EVENTFD2): Likewise.
45356         (__ASSUME_SIGNALFD4): Likewise.
45357         (__ASSUME_DUP3): Likewise.
45358         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45359         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
45360         (__ASSUME_AT_RANDOM): Likewise.
45361         (__ASSUME_PREADV): Likewise.
45362         (__ASSUME_PWRITEV): Likewise.
45363         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
45364         (__ASSUME_F_GETOWN_EX): Define unconditionally.
45365         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
45366         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45367         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
45368         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45369         (__ASSUME_O_CLOEXEC): Define unconditionally.
45370         (__ASSUME_PSELECT): Do not undefine conditionally.
45371         (__ASSUME_PPOLL): Likewise.
45372         (__ASSUME_ATFCTS): Likewise.
45373         (__ASSUME_SET_ROBUST_LIST): Likewise.
45374         (__ASSUME_UTIMENSAT): Likewise.
45375         (__ASSUME_FDATASYNC): Define unconditionally.
45376         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45377         (__ASSUME_SIGFRAME_V2): Likewise.
45378         )__ASSUME_EVENTFD2): Likewise.
45379         (__ASSUME_SIGNALFD4): Likewise.
45380         (__ASSUME_PSELECT): Do not undefine conditionally.
45381         (__ASSUME_PPOLL): Likewise.
45382         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45383         (__ASSUME_PSELECT): Define unconditionally.
45384         (__ASSUME_PPOLL): Likewise.
45385         (__ASSUME_O_CLOEXEC): Likewise.
45386         (__ASSUME_SOCK_CLOEXEC): Likewise.
45387         (__ASSUME_IN_NONBLOCK): Likewise.
45388         (__ASSUME_PIPE2): Likewise.
45389         (__ASSUME_EVENTFD2): Likewise.
45390         (__ASSUME_SIGNALFD4): Likewise.
45391         (__ASSUME_DUP3): Likewise.
45392         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45393         (__ASSUME_O_CLOEXEC): Likewise.
45394         (__ASSUME_SOCK_CLOEXEC): Likewise.
45395         (__ASSUME_IN_NONBLOCK): Likewise.
45396         (__ASSUME_PIPE2): Likewise.
45397         (__ASSUME_EVENTFD2): Likewise.
45398         (__ASSUME_SIGNALFD4): Likewise.
45399         (__ASSUME_DUP3): Likewise.
45400         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45401         (__ASSUME_EVENTFD2): Likewise.
45402         (__ASSUME_SIGNALFD4): Likewise.
45403         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45405 2014-05-12  Andreas Schwab  <schwab@suse.de>
45407         [BZ #16932]
45408         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
45409         (_nss_nis_gethostbyname4_r): Return error if item length is larger
45410         than maximum RPC packet size.
45411         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
45412         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
45413         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
45414         (_nss_nis_getservbyport_r): Likewise.
45416 2014-05-12  Will Newton  <will.newton@linaro.org>
45418         * malloc/Makefile (tests): Add tst-mallopt.
45419         * malloc/tst-mallopt.c: New file.
45421 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45423         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
45424         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
45426 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45428         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
45429         (tst-tlsmod6.so): Likewise.
45431 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45433         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
45435 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
45437         [BZ #16064]
45438         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
45439         and <dl-procinfo.h>.
45440         (__fegetenv): Save SSE state in envp->__eip if supported.
45441         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
45442         envp->__eip if supported.
45443         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
45444         and <dl-procinfo.h>.
45445         (__fesetenv): Always set __eip, __cs_selector, __opcode,
45446         __data_offset and __data_selector in environment to 0.  Set SSE
45447         state if supported.
45448         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
45449         test-fenv-sse.
45450         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
45451         -mfpmath=sse.
45452         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
45454 2014-05-09  Will Newton  <will.newton@linaro.org>
45456         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
45457         and libc_relro_required for ARM.
45458         * sysdeps/arm/preconfigure: Regenerate.
45460 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
45461             Stefan Liebler  <stli@linux.vnet.ibm.com>
45463         * config.make.in (enable-lock-elision): New Makefile variable.
45464         * configure.ac: Likewise.
45465         * configure: Regenerate.
45466         * sysdeps/s390/configure.ac:
45467         Add check for gcc transactions support.
45468         * sysdeps/s390/configure: Regenerate.
45469         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
45470         Build elision files if enabled.
45471         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
45472         Add lock elision support for s390.
45473         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
45474         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
45475         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
45476         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
45477         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
45478         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
45479         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45480         Likewise.
45481         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
45482         Likewise.
45483         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
45484         Likewise.
45485         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
45486         Likewise.
45487         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
45488         (__lll_timedlock_elision, __lll_lock_elision)
45489         (__lll_unlock_elision, __lll_trylock_elision)
45490         (lll_timedlock_elision, lll_lock_elision)
45491         (lll_unlock_elision, lll_trylock_elision): Add.
45492         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45493         (pthread_mutex_t): Add lock elision support for s390.
45495 2014-05-14  Wilco  <wdijkstr@arm.com>
45497         * sysdeps/arm/fclrexcpt.c: Cleanup.
45498         * sysdeps/arm/fedisblxcpt.c: Cleanup.
45499         * sysdeps/arm/feenablxcpt.c: Cleanup.
45500         * sysdeps/arm/fegetenv.c: Cleanup.
45501         * sysdeps/arm/fegetexcept.c: Cleanup.
45502         * sysdeps/arm/fegetround.c: Cleanup.
45503         * sysdeps/arm/feholdexcpt.c: Cleanup.
45504         * sysdeps/arm/fesetenv.c: Cleanup.
45505         * sysdeps/arm/fesetround.c: Cleanup.
45506         * sysdeps/arm/feupdateenv.c: Cleanup.
45507         * sysdeps/arm/fgetexcptflg.c: Cleanup.
45508         * sysdeps/arm/fraiseexcpt.c: Cleanup.
45509         * sysdeps/arm/fsetexcptflg.c: Cleanup.
45510         * sysdeps/arm/ftestexcept.c: Cleanup.
45511         * sysdeps/arm/get-rounding-mode.h: Cleanup.
45512         * sysdeps/arm/setfpucw.c: Cleanup.
45514 2014-05-09  Will Newton  <will.newton@linaro.org>
45516         * sysdeps/arm/armv7/strcmp.S: New file.
45517         * NEWS: Mention addition of ARMv7 optimized strcmp.
45519 2014-05-08  Roland McGrath  <roland@hack.frob.com>
45521         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
45522         look for %.ac rather than %.in.
45524         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
45525         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
45526         * sysdeps/mach/hurd/configure: Regenerated.
45527         * sysdeps/unix/sysv/linux/configure: Regenerated.
45529         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
45531 2014-05-07  Steve Ellcey  <sellcey@mips.com>
45533         [BZ# 16922]
45534         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
45535         (LONG_SUB): Ditto.
45536         (PTR_SUB): Ditto.
45538 2014-05-07  Andreas Schwab  <schwab@suse.de>
45540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
45541         when skipping over non-matching result from nscd.
45543 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
45545         [BZ #16876]
45546         * nptl/sockperf.c (client): Check socket return value.
45548         [BZ #16877]
45549         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
45550         nscd security class.
45552 2014-05-06  Roland McGrath  <roland@hack.frob.com>
45554         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
45555         * sysdeps/arm/unwind.h: ... here.
45557 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
45559         [BZ# 16916]
45560         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
45561         Define.
45563 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45565         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
45566         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
45567         multiarch strncpy for PPC64.
45568         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
45569         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
45570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
45571         multiarch optimizations.
45572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45573         (__libc_ifunc_impl_list): Likewise.
45574         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
45575         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
45576         multiarch stpncpy for PPC64.
45577         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
45578         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
45580 2014-05-06  Andreas Schwab  <schwab@suse.de>
45582         [BZ #16912]
45583         * gmon/mcount.c (_MCOUNT_DECL): Use
45584         atomic_compare_and_exchange_bool_acq instead of
45585         catomic_compare_and_exchange_bool_acq.
45587 2014-05-05  Roland McGrath  <roland@hack.frob.com>
45589         * elf/Makefile (others, install-bin): Remove pldd.
45590         (pldd-modules): Variable removed.
45591         ($(objpfx)pldd): Target removed.
45592         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
45593         (others, install-bin): Append pldd here.
45594         ($(objpfx)pldd): New target.
45596         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
45597         to 0, so the first #if test emitted later doesn't see it undefined.
45598         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
45599         * sysdeps/gnu/errlist.c: Regenerated.
45601 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45603         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45604         [libc_hidden_builtin_def]: Define to empty value.
45605         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
45606         [libc_hidden_builtin_def]: Likewise.
45607         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
45608         [libc_hidden_builtin_def]: Likewise.
45609         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
45610         [libc_hidden_builtin_def]: Likewise.
45611         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
45612         __redirect_memcpy and define ifunc as default hidden symbol.
45613         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
45614         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
45616 2014-05-04  Adam Conrad  <adconrad@0c3.net>
45618         * locale/iso-4217.def: Reintroduce XDR currency.
45620 2014-05-04  Allan McRae  <allan@archlinux.org>
45622         * po/eo.po: Update Esperanto translation from translation project.
45624 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
45626         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
45627         and FEATURE_INDEX_MAX to 1.
45628         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
45630 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45632         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
45633         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
45634         * iconvdata/big5.c (ONE_DIRECTION): Define.
45635         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
45636         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
45637         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
45638         * iconvdata/cp932.c (ONE_DIRECTION): Define.
45639         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
45640         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
45641         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
45642         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
45643         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
45644         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
45645         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
45646         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
45647         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
45648         * iconvdata/gbk.c (ONE_DIRECTION): Define.
45649         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
45650         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
45651         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
45652         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
45653         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
45654         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
45655         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
45656         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
45657         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
45658         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
45659         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
45660         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
45661         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
45662         * iconvdata/iso646.c (ONE_DIRECTION): Define.
45663         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
45664         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
45665         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
45666         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
45667         * iconvdata/johab.c (ONE_DIRECTION): Define.
45668         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
45669         * iconvdata/sjis.c (ONE_DIRECTION): Define.
45670         * iconvdata/t.61.c (ONE_DIRECTION): Define.
45671         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
45672         * iconvdata/tscii.c (ONE_DIRECTION): Define.
45673         * iconvdata/uhc.c (ONE_DIRECTION): Define.
45674         * iconvdata/unicode.c (ONE_DIRECTION): Define.
45675         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
45676         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
45677         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
45679 2014-05-01  Roland McGrath  <roland@hack.frob.com>
45681         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
45682         (_IO_JUMPS_OFFSET): Define to 0.
45684         * nptl/sysdeps/pthread/bits/libc-lock.h
45685         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45686         (__libc_lock_define_initialized_recursive): Always define using
45687         initializer.  Modern compilers treat uninitialized (implicit zero) and
45688         explicit zero initializers the same (i.e. put the datum in bss).
45690 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45692         * nscd/nscd-client.h: Include <string.h>.
45694 2014-05-01  David S. Miller  <davem@davemloft.net>
45696         [BZ #16885]
45697         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
45698         multiple zero bytes exist at the end of a string.
45699         Reported by Aurelien Jarno <aurelien@aurel32.net>
45701         * string/test-strcmp.c (check): Add explicit test for situations where
45702         there are multiple zero bytes after the first.
45704 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45706         [BZ #16890]
45707         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
45708         when compiling wprintf.
45709         * stdio-common/tstdiomisc.c (t3): New function.
45710         (main): Call it.
45712 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45714         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
45715         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
45716         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
45717         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
45719 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45721         * stdlib/longlong.h: Updated from GCC.
45723 2014-05-01  Will Newton  <will.newton@linaro.org>
45724             Bernard Ogden  <bernie.ogden@linaro.org>
45726         * NEWS: Update fixed bug list.
45728         [BZ #15119]
45729         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
45731 2014-04-30  David S. Miller  <davem@davemloft.net>
45733         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
45734         (libc_feholdexcept_setround_sparc_ctx): New function.
45735         (libc_fesetenv_sparc_ctx): Likewise.
45736         (libc_feupdateenv_sparc_ctx): Likewise.
45737         (libc_feholdsetround_sparc_ctx): Likewise.
45738         (libc_feholdexcept_setround_ctx): Define.
45739         (libc_feholdexcept_setroundf_ctx): Likewise.
45740         (libc_feholdexcept_setroundl_ctx): Likewise.
45741         (libc_fesetenv_ctx): Likewise.
45742         (libc_fesetenvf_ctx): Likewise.
45743         (libc_fesetenvl_ctx): Likewise.
45744         (libc_feupdateenv_ctx): Likewise.
45745         (libc_feupdateenvf_ctx): Likewise.
45746         (libc_feupdateenvl_ctx): Likewise.
45747         (libc_feresetround_ctx): Likewise.
45748         (libc_feresetroundf_ctx): Likewise.
45749         (libc_feresetroundl_ctx): Likewise.
45750         (libc_feholdsetround_ctx): Likewise.
45751         (libc_feholdsetroundf_ctx): Likewise.
45752         (libc_feholdsetroundl_ctx): Likewise.
45754         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45755         with __USE_GNU instead of XOPEN cpp guards.
45757         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
45758         0.
45760         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45761         with XOPEN cpp guards.
45763 2014-04-30  Julian Brown  <julian@codesourcery.com>
45765         [BZ #16888]
45766         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
45767         handling.
45769 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
45771         [BZ #9894]
45772         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
45773         Change to 2.6.32.
45774         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
45775         * sysdeps/unix/sysv/linux/configure: Regenerated.
45776         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
45777         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
45778         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
45779         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
45780         * README: Update reference to required Linux kernel version.
45781         * manual/install.texi (Linux): Update reference to required Linux
45782         kernel headers version.
45783         * INSTALL: Regenerated.
45785         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
45786         header inclusion.
45787         [POSIX] (limits.h): Likewise.
45788         [POSIX] (math.h): Likewise.
45789         [POSIX] (sys/wait.h): Likewise.
45790         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
45791         function.
45792         [POSIX] (stddef.h): Do not allow header inclusion.
45794 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45796         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
45798 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
45800         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
45801         Return immediately after lll_futex_wake.
45803 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45805         [BZ #16791]
45806         * nscd/nscd-client.h (datahead_init_common): Initialize entire
45807         structure.
45808         (datahead_init_pos): Call datahead_init_common early.
45809         (datahead_init_neg): Likewise.
45811         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
45812         datahead_init_neg): New functions.
45813         * nscd/aicache.c (addhstaiX): Use them.
45814         * nscd/grpcache.c (cache_addgr): Likewise.
45815         * nscd/hstcache.c (cache_addhst): Likewise.
45816         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45817         * nscd/netgroupcache.c (do_notfound): Likewise.
45818         (addgetnetgrentX): Likewise.
45819         (addinnetgrX): Likewise.
45820         * nscd/pwdcache.c (cache_addpw): Likewise.
45821         * nscd/servicescache.c (cache_addserv): Likewise.
45823 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45824             Atsushi Onoe  <atsushi@onoe.org>
45826         [BZ #14308]
45827         [BZ #12994]
45828         [BZ #13651]
45829         * resolv/res_query.c (__libc_res_nsearch): Return if at least
45830         one response is valid.
45831         * resolv/res_send.c (send_dg): Check for validity of other
45832         response if the current response is a referral.
45834 2014-04-29  Steve Ellcey  <sellcey@mips.com>
45836         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
45838 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
45840         [BZ #16823]
45841         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
45842         Always divide by positive zero when computing -Inf result.
45843         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45844         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
45846 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45848         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
45849         FPSCR if value do not change.
45850         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45851         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
45852         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
45853         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45854         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
45855         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
45856         function.
45858 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
45860         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
45861         * sysdeps/unix/sysv/linux/hppa: Move directory from
45862         ports/systeps/unix/sysv/linux/hppa.
45863         * README: Update listing for hppa-*-linux-gnu.
45865 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
45867         [BZ #16754]
45868         * manual/stdio.texi (Hook functions): Fix types of stream hook
45869         functions.
45870         [BZ #16854]
45871         * socket/sys/socket.h: Fix typo in comment.
45873 2014-04-28  Wilco  <wdijkstr@arm.com>
45875         * sysdeps/arm/fenv_private.h: New file.
45876         * sysdeps/arm/math_private.h: New file.
45877         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
45879 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
45881         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
45882         with __int128_t.
45883         (La_x86_64_retval): Likewise.
45885 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
45887         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
45888         fpsr if value didn't change.
45889         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
45890         to fpcr if value didn't change.
45891         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
45892         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
45893         fpsr or fpcr if value didn't change.
45894         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45895         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
45896         fpcr if value didn't change.
45897         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
45898         to fpsr if value didn't change.
45900 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45902         * nptl/tst-sem3.c: Use test-skeleton.c
45903         (main): Rename to do_test.  Use return instead of
45904         exit.
45905         * nptl/tst-sem4.c: Use test-skeleton.c
45906         (main): Rename to do_test.
45908 2014-04-22  David S. Miller  <davem@davemloft.net>
45910         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
45911         (struct sigaction): New struct member __glibc_reserved0, change
45912         type of sa_flags to int.
45914 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
45916         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
45917         (COUNT_LEADING_ZEROS_0): Define for AArch64.
45919 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45921         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
45922         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
45924 2014-04-22  Will Newton  <will.newton@linaro.org>
45925             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
45927         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
45928         (__longjmp): Add longjmp and longjmp_target SystemTap
45929         probes.
45930         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
45931         (__sigsetjmp): Add setjmp SystemTap probe.
45933 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
45935         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
45936         match manual order.
45938 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45940         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
45942         * sysdeps/powerpc/fpu/fenv_private.h
45943         (libc_feholdexcept_setroundl_ctx): Define to
45944         libc_feholdexcept_setround_ppc_ctx.
45945         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
45946         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
45947         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
45948         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
45950 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45952         * sysdeps/aarch64/math-tests.h: New file.
45954 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
45956         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
45957         New.
45958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45959         Check and set bit_AVX2_Usable.
45960         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
45961         macro.
45962         (bit_AVX2): Likewise.
45963         (index_AVX2_Usable): Likewise.
45964         (CPUID_AVX2): Likewise.
45965         (HAS_AVX2): Likewise.
45967 2014-04-17  Will Newton  <will.newton@linaro.org>
45969         * manual/setjmp.texi (System V contexts): Add note that
45970         calling setcontext on a context created by a call to a
45971         signal handler is undefined.  Update text to note that
45972         setcontext from a signal handler is possible but not
45973         recommended.
45975         [BZ #16629]
45976         * stdlib/tst-setcontext.c: Include signal.h.
45977         (main): Check that the signal stack before and
45978         after swapcontext is the same.
45980         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
45981         Re-implement to restore registers in user code and avoid
45982         rt_sigreturn system call.
45984 2014-04-17  Wilco  <wdijkstr@arm.com>
45986         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
45987         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
45988         * math/test-fenv.c: Skip exception trap tests on targets which only
45989         support non-stop mode.
45991 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45992             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45994         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
45995         (libc_feholdsetround_aarch64_ctx)
45996         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
45997         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
45998         (libc_feresetround_ctx, libc_feresetroundf_ctx)
45999         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
46000         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
46001         (libc_feresetround_noexl_ctx): Define.
46003 2014-04-16  Richard Henderson  <rth@redhat.com>
46005         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
46007         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
46008         unwind tables.
46010         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
46011         const from the non-libc, non-ldso copy.
46013         * sysdeps/alpha/libm-test-ulps: Regenerate.
46015 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
46016             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46018         * sysdeps/aarch64/fpu/math_private.h: New file.
46020 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46022         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46024 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
46026         [BZ #16275]
46027         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
46028         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
46029         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
46030         Intel MPX bound registers before _dl_profile_fixup.
46031         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
46032         registers after _dl_profile_fixup.  Save and restore bound
46033         registers bnd0/bnd1 when calling _dl_call_pltexit.
46034         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
46035         (LR_BND_OFFSET): Likewise.
46036         (LRV_BND0_OFFSET): Likewise.
46037         (LRV_BND1_OFFSET): Likewise.
46039 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46041         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
46042         to...
46043         * sysdeps/mach/hurd/i386/tls.h: ... here.
46044         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
46045         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
46046         fields.
46048 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46050         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
46052 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46054         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46056 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46058         [BZ #14770]
46059         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
46060         * sysdeps/s390/configure: Regenerate.
46062         [BZ #16824]
46063         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
46064         Set round-to-nearest internally to reduce error accumulation.
46066 2014-04-16  Alan Modra  <amodra@gmail.com>
46068         [BZ #16740]
46069         [BZ #16619]
46070         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
46071         * math/libm-test.inc (frexp_test_data): Add tests.
46072         * NEWS: Update fixed bug list.
46074 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46076         * benchtests/Makefile: Depend on libraries in build directory.
46077         (bench-math): Separate out math tests.
46078         (bench-pthread): Separate out pthread tests.
46079         (bench): Include math and pthread tests.
46081 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
46083         [BZ #16831]
46084         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
46085         _dl_debug_initialize.
46087         * configure.ac: Remove SELinux header check.
46088         * configure: Regenerate.
46089         * nscd/selinux.c (perms): Array of const char* to permission names.
46090         (nscd_request_avc_has_perm): Call security_deny_unknown to find
46091         default policy. Call string_to_security_class and string_to_av_perm to
46092         translate strings. Enforce default policy and call avs_has_perm with
46093         results of translated strings.
46095 2014-04-13  David S. Miller  <davem@davemloft.net>
46097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46099 2014-04-12  Allan McRae  <allan@archlinux.org>
46101         [BZ #16838]
46102         * manual/string.texi (Collation Functions): Fix qsort argument
46103         order in example.
46104         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46106 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
46108         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46109         Make the test a no-op if there are no exceptions defined.
46111 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
46113         * elf/Makefile (tests): make tst-dlopen-aout conditional on
46114         enable-hardcoded-path-in-tests
46116 2014-04-11  Will Newton  <will.newton@linaro.org>
46118         * benchtests/Makefile (extra-objs): Add json-lib.o.
46119         (bench-func): Tidy up JSON output.
46120         * benchtests/bench-skeleton.c: Include json-lib.h.
46121         (main): Use JSON library functions to do output of
46122         benchmark results.
46123         * benchtests/bench-timing-type.c (main): Output the
46124         timing type simply, leaving formatting to the user.
46125         * benchtests/json-lib.c: New file.
46126         * benchtests/json-lib.h: Likewise.
46128 2014-04-11  Torvald Riegel  <triegel@redhat.com>
46130         [BZ #15215]
46131         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
46132         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
46133         memory barriers.  Add comments.
46134         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
46135         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
46136         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
46137         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
46138         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
46139         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
46141 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46143         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
46144         * sysdeps/s390/s390-64/configure.ac: ... this ...
46145         * sysdeps/s390/configure.ac: ... to here.
46146         * sysdeps/s390/s390-32/configure: Delete file.
46147         * sysdeps/s390/s390-64/configure: Delete file.
46148         * sysdeps/s390/configure: Regenerate.
46150 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
46152         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
46154 2014-04-11  Will Newton  <will.newton@linaro.org>
46156         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
46157         to zero if it is not defined elsewhere.  (mtrim): Test
46158         the value of MALLOC_DEBUG with #if rather than #ifdef.
46160 2014-04-10 Torvald Riegel  <triegel@redhat.com>
46162         * benchtests/pthread_once-inputs: New file.
46163         * benchtests/pthread_once-source.c: New file.
46164         * benchtests/README: Update documentation.
46166 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
46167             H.J. Lu  <hongjiu.lu@intel.com>
46169         [BZ #16275]
46170         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
46171         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
46172         * sysdeps/x86_64/configure: Regenerated.
46173         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
46174         macro.
46175         (REGISTER_SAVE_RAX): Likewise.
46176         (REGISTER_SAVE_RCX): Likewise.
46177         (REGISTER_SAVE_RDX): Likewise.
46178         (REGISTER_SAVE_RSI): Likewise.
46179         (REGISTER_SAVE_RDI): Likewise.
46180         (REGISTER_SAVE_R8): Likewise.
46181         (REGISTER_SAVE_R9): Likewise.
46182         (REGISTER_SAVE_BND0): Likewise.
46183         (REGISTER_SAVE_BND1): Likewise.
46184         (REGISTER_SAVE_BND2): Likewise.
46185         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
46186         bound registers when calling _dl_fixup.
46188 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46190         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
46191         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
46192         of its definition.
46193         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
46194         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
46195         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
46196         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
46197         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
46198         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
46199         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
46201 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
46203         [BZ #15514]
46204         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
46205         pathconf(_PC_NAME_MAX).
46207 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46209         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
46210         Remove macro usage.
46211         (__PTHREAD_SPINS): Move definition to ...
46212         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46213         (__PTHREAD_SPINS): ... here.
46214         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46215         (__PTHREAD_SPIN): Likewise.
46216         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
46217         (__PTHREAD_SPIN): Likewise.
46218         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
46219         (__PTHREAD_SPIN): Likewise.
46220         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
46221         (__PTHREAD_SPIN): Likewise.
46222         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46223         (__PTHREAD_SPIN): Likewise.
46224         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46225         (__PTHREAD_SPIN): Likewise.
46226         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
46227         (__PTHREAD_SPIN): Likewise.
46228         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46229         (__PTHREAD_SPIN): Likewise.
46230         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46231         (__PTHREAD_SPIN): Likewise.
46232         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46233         (__PTHREAD_SPIN): Likewise.
46234         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46235         (__PTHREAD_SPIN): Likewise.
46236         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
46237         (__PTHREAD_SPIN): Likewise.
46239         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
46240         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
46241         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
46242         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
46243         imply folder.
46244         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
46245         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
46246         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
46247         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
46248         correct imply path.
46249         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
46250         strlen symbol for non multi-arch builds.
46251         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
46252         missing hidden_def and weak_alias.
46254 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
46256         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
46258 2014-04-07  Will Newton  <will.newton@linaro.org>
46260         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
46261         and contents.  [!_LIBC] Remove #ifndef and contents.
46262         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
46263         * string/memccpy.c (__memccpy): Use ANSI prototype.
46264         * string/memfrob.c (memfrob): Likewise.
46265         * string/strcoll.c (STRCOLL): Likewise.
46266         * string/strlen.c (strlen): Likewise.
46267         * string/strtok.c (STRTOK): Likewise.
46268         * string/strcat.c: Remove unused #include of memcopy.h.
46269         (strcat): Use ANSI prototype.
46270         * string/strchr.c: Remove unused #include of memcopy.h.
46271         (strchr): Use ANSI prototype.
46272         * string/strcmp.c: Remove unused #include of memcopy.h.
46273         (strcmp): Use ANSI prototype.
46274         * string/strcpy.c: Remove unused #include of memcopy.h.
46275         (strcpy): Use ANSI prototype.
46277 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46279         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
46280         * config.make.in (config-extra-cppflags): Set it from
46281         libc_extra_cppflags.
46282         * configure.ac (libc_extra_cflags): Make it accumulate over
46283         configure fragments.
46284         (libc_extra_cppflags): New flag.
46285         * configure. Regenerate.
46286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46287         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
46288         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
46289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
46291         [BZ #16815]
46292         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
46293         result for FE_DOWNWARD rounding mode.
46294         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
46295         Likewise.
46296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46298 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
46300         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
46301         in function argument name.
46303 2014-04-03  David Svoboda  <svoboda@cert.org>
46305         [BZ #5666]
46306         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
46307         explicitly.
46309 2014-04-03  Roland McGrath  <roland@hack.frob.com>
46311         * elf/dl-unmap-segments.h: New file.
46312         * sysdeps/generic/ldsodefs.h
46313         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
46314         * elf/dl-close.c: Include <dl-unmap-segments.h>.
46315         * elf/dl-fptr.c: Likewise.
46316         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
46317         * sysdeps/aarch64/tlsdesc.c: Likewise.
46318         * sysdeps/arm/tlsdesc.c: Likewise.
46319         * sysdeps/i386/tlsdesc.c: Likewise.
46320         * sysdeps/tile/dl-runtime.c: Likewise.
46321         * sysdeps/x86_64/tlsdesc.c: Likewise.
46322         * elf/dl-load.h: New file.
46323         * elf/dl-load.c: Include it.
46324         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
46325         Macros moved to dl-load.h.
46326         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
46327         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
46328         Use _dl_unmap_segments in place of __munmap.
46329         Break out segment-mapping loop into ...
46330         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
46332 2014-04-03  Will Newton  <will.newton@linaro.org>
46334         * elf/dl-lookup.c (do_lookup_x): Remove comment
46335         referring to nested function and move variable
46336         declarations down to before first use.
46338 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
46340         [BZ #16799]
46341         [BZ #16800]
46342         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
46343         with 0 numerator.
46344         * math/s_catanf.c (__catanf): Likewise.
46345         * math/s_catanh.c (__catanh): Likewise.
46346         * math/s_catanhf.c (__catanhf): Likewise.
46347         * math/s_catanhl.c (__catanhl): Likewise.
46348         * math/s_catanl.c (__catanl): Likewise.
46349         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
46350         by positive zero when computing -Inf result.
46351         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
46352         (catanh_test): Likewise.
46353         * sysdeps/i386/fpu/libm-test-ulps: Update.
46354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46356         [BZ #16789]
46357         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
46358         instead of using underflowing value in computing result.
46359         * math/s_clog10.c (__clog10): Likewise.
46360         * math/s_clog10f.c (__clog10f): Likewise.
46361         * math/s_clog10l.c (__clog10l): Likewise.
46362         * math/s_clogf.c (__clogf): Likewise.
46363         * math/s_clogl.c (__clogl): Likewise.
46364         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
46365         (clog10_test): Likewise.
46366         * sysdeps/i386/fpu/libm-test-ulps: Update.
46367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46369 2014-04-02  Alan Modra  <amodra@gmail.com>
46371         [BZ #16739]
46372         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
46373         output when value is near a power of two.  Use int64_t for lx and
46374         remove casts.  Use decimal rather than hex exponent constants.
46375         Don't use long double multiplication when double will suffice.
46376         * math/libm-test.inc (nextafter_test_data): Add tests.
46377         * NEWS: Add 16739 and 16786 to bug list.
46379         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
46381         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
46383 2014-04-01  Will Newton  <will.newton@linaro.org>
46385         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
46386         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
46388 2014-04-01  Florian Weimer  <fweimer@redhat.com>
46390         [BZ #13347]
46391         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
46392         * nptl/tst-setuid2.c: New file.
46393         * nptl/Makefile (xtests): Add tst-setuid2.
46395 2014-04-01  Alan Modra  <amodra@gmail.com>
46397         [BZ #16786]
46398         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
46400 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46402         [BZ #6803]
46403         [BZ #6804]
46404         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
46405         set errno as appropriate.
46406         * math/w_scalbf.c (__scalbf): Likewise.
46407         * math/w_scalbl.c (__scalbl): Likewise.
46408         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
46409         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
46410         * math/libm-test.inc (scalb_test_data): Add errno expectations.
46411         Add more NaN tests.
46413         [BZ #16349]
46414         * math/w_atan2.c: Include <errno.h>.
46415         (__atan2): Set errno for result underflowing to zero.
46416         * math/w_atan2f.c: Include <errno.h>.
46417         (__atan2f): Set errno for result underflowing to zero.
46418         * math/w_atan2l.c: Include <errno.h>.
46419         (__atan2l): Set errno for result underflowing to zero.
46420         * math/auto-libm-test-in: Don't allow missing errno for some atan2
46421         tests.
46422         * math/auto-libm-test-out: Regenerated.
46424 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46426         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
46427         Encode instruction correctly in little endian.
46428         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
46429         Likewise.
46430         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
46431         Likewise.
46432         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
46433         Likewise.
46434         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
46435         Likewise.
46437 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46439         [BZ #9894]
46440         * sysdeps/unix/sysv/linux/kernel-features.h
46441         [__sparc__ && !__arch64__ && !__sparc_v9__]
46442         (__ASSUME_SET_ROBUST_LIST): Do not define.
46443         [__sparc__ && !__arch64__ && !__sparc_v9__]
46444         (__ASSUME_FUTEX_LOCK_PI): Likewise.
46445         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
46446         Likewise.
46447         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46448         (__ASSUME_FUTEX_LOCK_PI): Undefine.
46449         (__ASSUME_REQUEUE_PI): Likewise.
46450         (__ASSUME_SET_ROBUST_LIST): Likewise.
46451         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46452         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
46453         Undefine.
46454         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46455         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
46456         Likewise.
46457         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
46458         Likewise.
46459         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
46460         Likewise.
46461         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46462         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
46463         Undefine.
46464         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
46465         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
46466         Likewise.
46468         [BZ #16648]
46469         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46470         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
46471         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
46473 2014-03-31  Will Newton  <will.newton@linaro.org>
46475         * benchtests/Makefile (bench): Add ffs and ffsll to list
46476         of tests.
46477         * benchtests/ffs-inputs: New file.
46478         * benchtests/ffsll-inputs: Likewise.
46480 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
46482         [BZ #16770]
46483         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
46484         too large before casting to int.
46485         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
46486         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
46487         * math/libm-test.inc (scalb_test_data): Add more tests.
46489 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46491         * benchtests/Makefile (DETAILED_OPT): New make option.
46492         (bench-func): Run benchmark program with -d if DETAILED_OPT is
46493         set.
46494         * benchtests/bench-skeleton.c: Include stdbool.h.
46495         (main): Store and print timings per input.
46496         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
46497         member to each argument value.
46498         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
46499         (_print_arg_data): Initialize per-input timing to 0.
46501         * benchtests/Makefile (timing-type): New binary.
46502         (bench-clean): Also remove bench-timing-type.
46503         (bench): New target for timing-type.
46504         (bench-func): Print output in JSON format.
46505         * benchtests/bench-skeleton.c (main): Print output in JSON
46506         format.
46507         * benchtests/bench-timing-type.c: New file.
46508         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
46509         (TIMING_PRINT_STATS): Remove.
46510         * benchtests/scripts/bench.py (_print_arg_data): Store variant
46511         name separately.
46513         * benchtests/bench-modf.c: Remove.
46514         * benchtests/modf-inputs: New inputs file.
46516 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
46518         [BZ #16362]
46519         * math/s_clog10.c (M_PI_LOG10E): New macro.
46520         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
46521         imaginary parts are 0.
46522         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
46523         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
46524         imaginary parts are 0.
46525         * math/s_clog10l.c (M_PI_LOG10El): New macro.
46526         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
46527         imaginary parts are 0.
46528         * math/libm-test.inc (clog10_test_data): Update expected results
46529         for when real and imaginary parts are 0.
46531 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
46533         * elf/dl-load.c: Finish conversion of __builtin_expect into
46534         __glibc_{un}likely.
46536 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
46538         [BZ #16348]
46539         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
46540         1+x for argument with exponent below -67.
46541         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
46542         Likewise.
46543         * math/auto-libm-test-in: Add more tests of exp.
46544         * math/auto-libm-test-out: Regenerated.
46546 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46548         [BZ #16759]
46549         * inet/getnetgrent_r.c (get_nonempty_val): New function.
46550         (nscd_getnetgrent): Use it.
46552         [BZ #16760]
46553         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
46554         of stpcpy.
46556 2014-03-27  Andi Kleen  <ak@linux.intel.com>
46558         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
46559         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46560         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46561         (lll_robust_unlock): Remove out of line section. Use cfi
46562         intrinsics.
46563         (LLL_STUB_UNWIND_INFO*): Remove.
46564         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
46565         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46566         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46567         (lll_robust_unlock): Remove out of line section. Use cfi
46568         intrinsics.
46569         (LLL_STUB_UNWIND_INFO*): Remove.
46571 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46573         [BZ #16758]
46574         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
46575         blank values.
46577 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
46579         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
46581 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
46583         [BZ #16198]
46584         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
46585         fnstenv.
46586         * math/test-fenv-preserve.c: New file.
46587         * math/Makefile (tests): Add test-fenv-preserve.
46589 2014-03-26  Will Newton <will.newton@linaro.org>
46591         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
46593 2014-03-25  Roland McGrath  <roland@hack.frob.com>
46595         * scripts/versionlist.awk: Partition the version sets and emit all
46596         GLIBC_* (sorted) before all others (sorted).
46598 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46600         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
46601         GLIBC_2.2.5 version.
46603 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46605         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
46606         calls.
46608         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
46609         previous change.
46611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46613 2014-03-25  Andreas Schwab  <schwab@suse.de>
46615         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
46616         label to be used after in6ailist is initialized.
46618 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46620         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46621         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46623 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46625         [BZ #16357]
46626         [BZ #16599]
46627         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
46628         min_plus_half.
46629         (fp_formats): Update initializers.
46630         (init_fp_formats): Initialize new field.
46631         (output_for_one_input_case): Allow underflow for results up to
46632         min_plus_half.
46633         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
46634         * math/auto-libm-test-in: Don't mark some underflows from asin and
46635         atanh as spurious.
46636         * math/auto-libm-test-out: Regenerated.
46637         * sysdeps/i386/fpu/libm-test-ulps: Update.
46638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46640 2014-03-25  Andreas Schwab  <schwab@suse.de>
46642         * libio/Makefile (tst-ftell-partial-wide-ENV)
46643         (tst-ftell-active-handler-ENV): Define.
46645 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
46647         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
46649 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46651         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
46653 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46655         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
46656         * sysdeps/x86_64/fpu/multiarch/e_exp.c
46657         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
46659 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46661         [BZ #16634]
46662         * elf/dl-load.c (open_verify): Add mode parameter.
46663         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
46664         (open_path): Change from boolean 'secure' to complete flag 'mode'
46665         (_dl_map_object): Adjust.
46666         * elf/Makefile (tests): Add tst-dlopen-aout.
46667         * elf/tst-dlopen-aout.c: New test.
46669 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
46671         [BZ #16714]
46672         * sysdeps/unix/sysv/linux/s390/bits/stat.h
46673         (struct stat): Rename member pad0 to __glibc_reserved0.
46675         [BZ #16712]
46676         * sysdeps/s390/s390-32/bits/wordsize.h
46677         (__WORDSIZE32_SIZE_ULONG): New define.
46678         * sysdeps/s390/s390-64/bits/wordsize.h
46679         (__WORDSIZE32_SIZE_ULONG): Likewise.
46680         * sysdeps/generic/stdint.h (SIZE_MAX):
46681         Define as UL if __WORDSIZE32_SIZE_ULONG.
46683         [BZ #16713]
46684         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
46685         (__glibc_reserved0): New variable.
46686         (sa_flags): Change type to int.
46688         * posix/Makefile (before-compile): Use += before-compile instead
46689         of a :=.
46691         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46692         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46694 2014-03-20  Andreas Schwab  <schwab@suse.de>
46696         [BZ #16743]
46697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
46698         non-matching result from nscd.
46700 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46702         * scripts/bench.py: Moved to ...
46703         * benchtests/scripts/bench.py: ... here.
46704         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
46706 2014-03-24  Andreas Schwab  <schwab@suse.de>
46708         [BZ #16002]
46709         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
46710         alloca_account and account alloca use for struct in6ailist.
46712 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46714         [BZ #16284]
46715         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
46716         rounding mode to recompute results that overflow to infinity or
46717         underflow to zero.
46718         * math/auto-libm-test-in: Don't mark tests as expected to fail for
46719         bug 16284.
46720         * math/auto-libm-test-out: Regenerated.
46721         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
46722         (ccosh_test): Likewise.
46723         (csin_test_data): Use plus_oflow.
46724         (csin_test): Use ALL_RM_TEST.
46725         (csinh_test_data): Use plus_oflow.
46726         (csinh_test): Use ALL_RM_TEST.
46727         * sysdeps/i386/fpu/libm-test-ulps: Update.
46728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46730 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
46732         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
46733         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
46734         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
46736         [BZ #16731]
46737         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
46738         when x - 1 is zero.
46739         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
46740         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
46741         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46742         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
46743         argument is 1.
46744         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
46745         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
46746         zero.
46747         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
46748         * sysdeps/i386/fpu/libm-test-ulps: Update.
46749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46751 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46753         * scripts/bench.pl: Remove file.
46754         * scripts/bench.py: New benchmark script.
46755         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
46756         * benchtests/README: Mention python dependency.
46757         * scripts/pylintrc: New file.
46758         * scripts/pylint: New file.
46760         * bits/mathdef.h: Use #ifdef instead of #if.
46761         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
46762         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46763         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
46764         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46765         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
46766         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46768 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46769             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46771         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
46772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
46773         and strpbrk-ppc64 objects.
46774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46775         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
46776         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
46777         multiarch strpbrk for POWER7.
46778         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
46779         multiarch strpbrk for PPC64.
46780         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
46781         ifunc selector.
46782         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
46783         strpbrk for POWER7.
46785 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46787         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
46788         (atan_test): Likewise.
46789         (atanh_test_data): Use NO_TEST_INLINE for two tests.
46790         (atanh_test): Use ALL_RM_TEST.
46791         (atan2_test_data): Likewise.
46792         (cabs_test): Likewise.
46793         (cacosh_test): Likewise.
46794         (carg_test): Likewise.
46795         (casin_test): Likewise.
46796         (casinh_test): Likewise.
46797         (cbrt_test): Likewise.
46798         (csqrt_test): Likewise.
46799         (erf_test): Likewise.
46800         (erfc_test): Likewise.
46801         (pow10_test): Likewise.
46802         (exp2_test): Likewise.
46803         (hypot_test): Likewise.
46804         (j0_test): Likewise.
46805         (j1_test): Likewise.
46806         (lgamma_test): Likewise.
46807         (gamma_test): Likewise.
46808         (sincos_test): Likewise.
46809         (tanh_test): Likewise.
46810         (y0_test): Likewise.
46811         (y1_test): Likewise.
46812         * sysdeps/i386/fpu/libm-test-ulps: Update.
46813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46815 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46817         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
46818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
46819         and strcspn-ppc64 objects.
46820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46821         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
46822         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
46823         multiarch strcspn for POWER7.
46824         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
46825         multiarch strcspn for PPC64.
46826         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
46827         ifunc selector.
46828         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
46829         strcspn for POWER7.
46831 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46833         * math/gen-libm-test.pl (generate_testfile): Expect only function
46834         name as argument to AUTO_TESTS_* and pass results for all rounding
46835         modes to parse_args.
46836         (parse_auto_input): Separate inputs of automatic tests from
46837         outputs before storing in %auto_tests.
46838         * math/libm-test.inc (acos_test_data): Update call to
46839         AUTO_TESTS_f_f.
46840         (acos_test): Use ALL_RM_TEST.
46841         (acos_tonearest_test_data): Remove.
46842         (acos_test_tonearest): Likewise.
46843         (acos_towardzero_test_data): Likewise.
46844         (acos_test_towardzero): Likewise.
46845         (acos_downward_test_data): Likewise.
46846         (acos_test_downward): Likewise.
46847         (acos_upward_test_data): Likewise.
46848         (acos_test_upward): Likewise.
46849         (acosh_test_data): Update call to AUTO_TESTS_f_f.
46850         (asin_test_data): Likewise.
46851         (asin_test): Use ALL_RM_TEST.
46852         (asin_tonearest_test_data): Remove.
46853         (asin_test_tonearest): Likewise.
46854         (asin_towardzero_test_data): Likewise.
46855         (asin_test_towardzero): Likewise.
46856         (asin_downward_test_data): Likewise.
46857         (asin_test_downward): Likewise.
46858         (asin_upward_test_data): Likewise.
46859         (asin_test_upward): Likewise.
46860         (asinh_test_data): Update call to AUTO_TESTS_f_f.
46861         (atan_test_data): Likewise.
46862         (atanh_test_data): Likewise.
46863         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
46864         (cabs_test_data): Update call to AUTO_TESTS_c_f.
46865         (carg_test_data): Likewise.
46866         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
46867         (ccos_test_data): Update call to AUTO_TESTS_c_c.
46868         (ccosh_test_data): Likewise.
46869         (cexp_test_data): Likewise.
46870         (clog_test_data): Likewise.
46871         (clog10_test_data): Likewise.
46872         (cos_test_data): Update call to AUTO_TESTS_f_f.
46873         (cos_test): Use ALL_RM_TEST.
46874         (cos_tonearest_test_data): Remove.
46875         (cos_test_tonearest): Likewise.
46876         (cos_towardzero_test_data): Likewise.
46877         (cos_test_towardzero): Likewise.
46878         (cos_downward_test_data): Likewise.
46879         (cos_test_downward): Likewise.
46880         (cos_upward_test_data): Likewise.
46881         (cos_test_upward): Likewise.
46882         (cosh_test_data): Update call to AUTO_TESTS_f_f.
46883         (cosh_test): Use ALL_RM_TEST.
46884         (cosh_tonearest_test_data): Remove.
46885         (cosh_test_tonearest): Likewise.
46886         (cosh_towardzero_test_data): Likewise.
46887         (cosh_test_towardzero): Likewise.
46888         (cosh_downward_test_data): Likewise.
46889         (cosh_test_downward): Likewise.
46890         (cosh_upward_test_data): Likewise.
46891         (cosh_test_upward): Likewise.
46892         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
46893         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
46894         (ctan_test_data): Likewise.
46895         (ctan_test): Use ALL_RM_TEST.
46896         (ctan_tonearest_test_data): Remove.
46897         (ctan_test_tonearest): Likewise.
46898         (ctan_towardzero_test_data): Likewise.
46899         (ctan_test_towardzero): Likewise.
46900         (ctan_downward_test_data): Likewise.
46901         (ctan_test_downward): Likewise.
46902         (ctan_upward_test_data): Likewise.
46903         (ctan_test_upward): Likewise.
46904         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
46905         (ctanh_test): Use ALL_RM_TEST.
46906         (ctanh_tonearest_test_data): Remove.
46907         (ctanh_test_tonearest): Likewise.
46908         (ctanh_towardzero_test_data): Likewise.
46909         (ctanh_test_towardzero): Likewise.
46910         (ctanh_downward_test_data): Likewise.
46911         (ctanh_test_downward): Likewise.
46912         (ctanh_upward_test_data): Likewise.
46913         (ctanh_test_upward): Likewise.
46914         (erf_test_data): Update call to AUTO_TESTS_f_f.
46915         (erfc_test_data): Likewise.
46916         (exp_test_data): Likewise.
46917         (exp_test): Use ALL_RM_TEST.
46918         (exp_tonearest_test_data): Remove.
46919         (exp_test_tonearest): Likewise.
46920         (exp_towardzero_test_data): Likewise.
46921         (exp_test_towardzero): Likewise.
46922         (exp_downward_test_data): Likewise.
46923         (exp_test_downward): Likewise.
46924         (exp_upward_test_data): Likewise.
46925         (exp_test_upward): Likewise.
46926         (exp10_test_data): Update call to AUTO_TESTS_f_f.
46927         (exp10_test): Use ALL_RM_TEST.
46928         (exp10_tonearest_test_data): Remove.
46929         (exp10_test_tonearest): Likewise.
46930         (exp10_towardzero_test_data): Likewise.
46931         (exp10_test_towardzero): Likewise.
46932         (exp10_downward_test_data): Likewise.
46933         (exp10_test_downward): Likewise.
46934         (exp10_upward_test_data): Likewise.
46935         (exp10_test_upward): Likewise.
46936         (exp2_test_data): Update call to AUTO_TESTS_f_f.
46937         (expm1_test_data): Likewise.
46938         (expm1_test): Use ALL_RM_TEST.
46939         (expm1_tonearest_test_data): Remove.
46940         (expm1_test_tonearest): Likewise.
46941         (expm1_towardzero_test_data): Likewise.
46942         (expm1_test_towardzero): Likewise.
46943         (expm1_downward_test_data): Likewise.
46944         (expm1_test_downward): Likewise.
46945         (expm1_upward_test_data): Likewise.
46946         (expm1_test_upward): Likewise.
46947         (fma_test_data): Update call to AUTO_TESTS_fff_f.
46948         (fma_test): Use ALL_RM_TEST.
46949         (fma_towardzero_test_data): Remove.
46950         (fma_test_towardzero): Likewise.
46951         (fma_downward_test_data): Likewise.
46952         (fma_test_downward): Likewise.
46953         (fma_upward_test_data): Likewise.
46954         (fma_test_upward): Likewise.
46955         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
46956         (j0_test_data): Update call to AUTO_TESTS_f_f.
46957         (j1_test_data): Likewise.
46958         (jn_test_data): Update call to AUTO_TESTS_if_f.
46959         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
46960         (log_test_data): Update call to AUTO_TESTS_f_f.
46961         (log10_test_data): Likewise.
46962         (log1p_test_data): Likewise.
46963         (log2_test_data): Likewise.
46964         (pow_test_data): Update call to AUTO_TESTS_ff_f.
46965         (pow_tonearest_test_data): Likewise.
46966         (sin_test_data): Update call to AUTO_TESTS_f_f.
46967         (sin_test): Use ALL_RM_TEST.
46968         (sin_tonearest_test_data): Remove.
46969         (sin_test_tonearest): Likewise.
46970         (sin_towardzero_test_data): Likewise.
46971         (sin_test_towardzero): Likewise.
46972         (sin_downward_test_data): Likewise.
46973         (sin_test_downward): Likewise.
46974         (sin_upward_test_data): Likewise.
46975         (sin_test_upward): Likewise.
46976         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
46977         (sinh_test_data): Update call to AUTO_TESTS_f_f.
46978         (sinh_test): Use ALL_RM_TEST.
46979         (sinh_tonearest_test_data): Remove.
46980         (sinh_test_tonearest): Likewise.
46981         (sinh_towardzero_test_data): Likewise.
46982         (sinh_test_towardzero): Likewise.
46983         (sinh_downward_test_data): Likewise.
46984         (sinh_test_downward): Likewise.
46985         (sinh_upward_test_data): Likewise.
46986         (sinh_test_upward): Likewise.
46987         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
46988         (sqrt_test): Use ALL_RM_TEST.
46989         (sqrt_tonearest_test_data): Remove.
46990         (sqrt_test_tonearest): Likewise.
46991         (sqrt_towardzero_test_data): Likewise.
46992         (sqrt_test_towardzero): Likewise.
46993         (sqrt_downward_test_data): Likewise.
46994         (sqrt_test_downward): Likewise.
46995         (sqrt_upward_test_data): Likewise.
46996         (sqrt_test_upward): Likewise.
46997         (tan_test_data): Update call to AUTO_TESTS_f_f.
46998         (tan_test): Use ALL_RM_TEST.
46999         (tan_tonearest_test_data): Remove.
47000         (tan_test_tonearest): Likewise.
47001         (tan_towardzero_test_data): Likewise.
47002         (tan_test_towardzero): Likewise.
47003         (tan_downward_test_data): Likewise.
47004         (tan_test_downward): Likewise.
47005         (tan_upward_test_data): Likewise.
47006         (tan_test_upward): Likewise.
47007         (tanh_test_data): Update call to AUTO_TESTS_f_f.
47008         (tgamma_test_data): Likewise.
47009         (y0_test_data): Likewise.
47010         (y1_test_data): Likewise.
47011         (yn_test_data): Update call to AUTO_TESTS_if_f.
47012         (main): Do not call removed functions.
47014 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47016         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
47017         (ldexp_test_data): Remove.
47018         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
47019         scalbn_test_data.
47020         (scalb_test): Use ALL_RM_TEST.
47022 2014-03-19  Andreas Schwab  <schwab@suse.de>
47024         * nscd/nscd.service: Also invalidate netgroup cache on reload.
47026 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47028         [BZ #16649]
47029         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47030         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
47031         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
47032         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47033         (__ASSUME_PREADV): Undefine.
47034         (__ASSUME_PWRITEV): Likewise.
47036 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47038         * bits/mman-linux.h: Add comment about non-Linux use.
47039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
47040         bits/mman-linux.h resting place.
47042         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
47043         * bits/mman-linux.h: ... here.
47045 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47047         * conform/conformtest.pl: Add standard definition when calling C
47048         preprocessor on data files.
47049         (checknamespace): Remove unused variable.
47051 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47053         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
47054         minus_oflow, plus_uflow and minus_uflow in expected results.
47055         * math/libm-test.inc (scalbn_test_data): Add more tests of
47056         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
47057         minus_uflow.
47058         (scalbn_test): Use ALL_RM_TEST.
47059         (scalbln_test_data): Add more tests of negative arguments.  Use
47060         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
47061         (scalbln_test): Use ALL_RM_TEST.
47063 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47065         * scripts/abilist.awk: Ignore symbols marked with .hidden.
47067 2014-03-18  Will Newton  <will.newton@linaro.org>
47069         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
47070         inaccurate comment.
47072 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47074         * Makerules [!subdir] (check-abi): Exit with error status if a
47075         test failed.
47077 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47079         * math/libm-test.inc (nearbyint_test_data): Include all tests used
47080         for rint.  Include results for all rounding modes.
47081         (nearbyint_test): Use ALL_RM_TEST.
47082         (rint_test_data): Include all tests used for nearbyint.
47084 2014-03-17  Will Newton  <will.newton@linaro.org>
47086         * nptl/sysdeps/pthread/pthread.h: Revert previous
47087         change.
47089         * sysdeps/generic/ldsodefs.h: Revert previous
47090         change.
47092         * libio/genops.c: Revert previous change.
47093         * libio/libioP.h: Likewise.
47094         * stdio-common/vfprintf.c: Likewise.
47096         * sysdeps/generic/math_private.h: Revert previous
47097         change.
47099         * sysdeps/generic/math_private.h: Check whether
47100         HAVE_RM_CTX is defined with #ifdef rather
47101         than #if.
47103         * argp/argp-fmtstream.h: Check whether
47104         __STRICT_ANSI__ is defined with #ifdef rather
47105         than #if.
47106         * argp/argp.h: Likewise.
47108         * libio/genops.c: Check whether
47109         _IO_JUMPS_OFFSET is defined with #ifdef rather
47110         than #if.
47111         * libio/libioP.h: Likewise.
47112         * stdio-common/vfprintf.c: Likewise.
47114         * sysdeps/generic/ldsodefs.h: Check whether
47115         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
47116         than #if.
47118         * nptl/sysdeps/pthread/pthread.h: Check
47119         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
47120         its value.
47122 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47124         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
47125         setting O_APPEND.
47126         * libio/tst-ftell-active-handler.c (do_append_test): Add a
47127         test case.
47129         [BZ #16680]
47130         * libio/fileops.c (_IO_file_open): Seek to end of file but
47131         don't cache the offset.
47132         (get_file_offset): Remove function.
47133         (do_ftell): Use cached offset when available.
47134         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
47135         don't cache the offset.
47136         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
47137         case.
47138         (do_one_test): Call it.
47139         (do_ftell_test): Fix up expected old offset for a+ mode.
47140         * libio/wfileops.c (do_ftell_wide): Used cached offset when
47141         available.
47143         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
47144         up test status with function return status.
47145         (do_write_test): Likewise.
47146         (do_append_test): Likewise.
47148         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
47149         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
47150         Remove.
47152 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47154         * math/gen-libm-test.pl (parse_args): Handle results specified for
47155         each rounding mode separately.
47156         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
47157         tests and results from lrint_tonearest_test_data,
47158         lrint_towardzero_test_data, lrint_downward_test_data and
47159         lrint_upward_test_data.
47160         (lrint_test): Use ALL_RM_TEST.
47161         (lrint_tonearest_test_data): Remove.
47162         (lrint_test_tonearest): Likewise.
47163         (lrint_towardzero_test_data): Likewise.
47164         (lrint_test_towardzero): Likewise.
47165         (lrint_downward_test_data): Likewise.
47166         (lrint_test_downward): Likewise.
47167         (lrint_upward_test_data): Likewise.
47168         (lrint_test_upward): Likewise.
47169         (llrint_test_data): Merge in per-rounding-mode tests and results
47170         from llrint_tonearest_test_data, llrint_towardzero_test_data,
47171         llrint_downward_test_data and llrint_upward_test_data.
47172         (llrint_test): Use ALL_RM_TEST.
47173         (llrint_tonearest_test_data): Remove.
47174         (llrint_test_tonearest): Likewise.
47175         (llrint_towardzero_test_data): Likewise.
47176         (llrint_test_towardzero): Likewise.
47177         (llrint_downward_test_data): Likewise.
47178         (llrint_test_downward): Likewise.
47179         (llrint_upward_test_data): Likewise.
47180         (llrint_test_upward): Likewise.
47181         (rint_test_data): Merge in per-rounding-mode tests and results
47182         from rint_tonearest_test_data, rint_towardzero_test_data,
47183         rint_downward_test_data and rint_upward_test_data.  Add
47184         per-rounding-mode results for tests not in those arrays.
47185         (rint_test): Use ALL_RM_TEST.
47186         (rint_tonearest_test_data): Remove.
47187         (rint_test_tonearest): Likewise.
47188         (rint_towardzero_test_data): Likewise.
47189         (rint_test_towardzero): Likewise.
47190         (rint_downward_test_data): Likewise.
47191         (rint_test_downward): Likewise.
47192         (rint_upward_test_data): Likewise.
47193         (rint_test_upward): Likewise.
47194         (main): Don't call removed functions.
47196 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47198         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
47199         "Compiled on ..." crapola.  It is anti-useful.
47201 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
47203         * scripts/evaluate-test.sh: Handle fourth argument to determine
47204         whether test run should stop on failure.
47205         * Makeconfig (stop-on-test-failure): New variable.
47206         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
47207         $(stop-on-test-failure).
47208         * Makefile (tests): Give a summary of results from testing and
47209         exit with failure status if they include an ERROR or FAIL.
47210         (xtests): Likewise.
47211         * manual/install.texi (Configuring and compiling): Mention
47212         stop-on-test-failure=y.
47213         * INSTALL: Regenerated.
47215 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47217         * scripts/versionlist.awk: New file.
47218         * Makerules [$(build-shared) = yes]
47219         (postclean-generated): Add Versions.def, not Versions.def.v and
47220         Versions.def.v.i.
47221         ($(common-objpfx)Versions.def.v.i): Target removed.
47222         ($(common-objpfx)Versions.def): New target.
47223         ($(common-objpfx)Versions.all): Depend on that rather that
47224         $(common-objpfx)Versions.def.v.
47225         * Versions.def: File removed.
47227         * Makeconfig (+gccwarn): Add -Wundef.
47228         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
47229         a dl-sysdep.h breaking its contract.
47230         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
47231         * include/stackinfo.h: New file.
47232         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
47233         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
47234         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
47235         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
47236         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
47237         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
47238         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47239         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47240         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47241         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47242         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47243         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
47244         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47245         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47246         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47248 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47250         [BZ #16707]
47251         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
47252         implementation.
47253         * math/libm-test.inc (round_test_data): Add more tests.
47255         [BZ #16706]
47256         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
47257         implementation.
47258         * math/libm-test.inc (nearbyint_test_data): Add more tests.
47260         [BZ #16701]
47261         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
47262         implementation.
47263         * math/libm-test.inc (ceil_test_data): Add more tests.
47265         * math/libm-test.inc (trunc_test_data): Add more tests related to
47266         BZ#16414.
47268 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47270         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
47271         with #if rather than #ifdef.
47272         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
47274 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
47276         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
47277         first.  Disable AVX-512 GCC support if assembler doesn't support
47278         it.
47279         * sysdeps/x86_64/configure: Regenerated.
47281 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
47283         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
47284         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
47285         (__old_pthread_attr_setstack): Likewise.
47286         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
47287         [!_STACK_GROWS_DOWN]: Likewise.
47289 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
47291         * config.make.in (have-bash2): Delete.
47292         * configure.ac (libc_cv_have_bash2): Delete.
47293         * configure: Regenerate.
47294         * elf/Makefile (common-ldd-rewrite): Rename to ...
47295         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
47296         (sh-ldd-rewrite): Delete.
47297         (bash-ldd-rewrite): Delete.
47298         (have-bash2): Delete checks.
47299         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
47300         ldd-rewrite.
47302         * config.make.in (have-ksh): Delete.
47303         (KSH): Delete.
47304         * configure.ac (libc_cv_have_ksh): Delete.
47305         * configure: Regenerate.
47307         * elf/Makefile: Delete $(have-ksh) check.
47308         ($(objpfx)sotruss): Change KSH to BASH.
47309         * elf/sotruss.ksh: Rename to ...
47310         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
47311         function style to match POSIX.  Drop ksh vim mode setting.
47313         * manual/time.texi (Specifying the Time Zone with TZ): Change
47314         Tuesday to Thursday.
47316         * debug/tst-longjmp_chk2.c: Update header comment.
47317         (stackoverflow_handler): Add comment.  Call assert on pass value.
47319 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
47321         [BZ #16194]
47322         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
47323         (HAVE_AVX512_ASM_SUPPORT): Likewise.
47324         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
47325         (La_x86_64_vector): Add zmm.
47326         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
47327         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
47328         ($(objpfx)tst-audit10): New target.
47329         ($(objpfx)tst-audit10.out): Likewise.
47330         (tst-audit10-ENV): New.
47331         (AVX512-CFLAGS): Likewise.
47332         (CFLAGS-tst-audit10.c): Likewise.
47333         (CFLAGS-tst-auditmod10a.c): Likewise.
47334         (CFLAGS-tst-auditmod10b.c): Likewise.
47335         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
47336         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
47337         * sysdeps/x86_64/configure: Regenerated.
47338         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
47339         AVX-512 zmm register support.
47340         (_dl_x86_64_save_sse): Likewise.
47341         (_dl_x86_64_restore_sse): Likewise.
47342         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
47343         size vector registers.
47344         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
47345         (ZMM_SIZE): Likewise.
47346         * sysdeps/x86_64/tst-audit10.c: New file.
47347         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
47348         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
47350 2014-03-13  Roland McGrath  <roland@hack.frob.com>
47352         * configure.ac (HAVE_EHDR_START): New check.
47353         * configure: Regenerated.
47354         * config.h.in (HAVE_EHDR_START): New #undef.
47355         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
47356         assuming the lowest-addressed segment maps the start of the file.
47358 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
47360         * INSTALL: Regenerated.
47362 2014-03-13  Will Newton  <will.newton@linaro.org>
47364         * manual/setjmp.texi (System V contexts): Improve
47365         clarity and grammar of documentation.
47367 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
47369         [BZ #16381]
47370         * elf/Makefile (tests): Add tst-pie2.
47371         (tests-pie): Add tst-pie2.
47372         * elf/tst-pie2.c: New file.
47373         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
47374         for ET_EXEC.
47375         * elf/rtld.c (map_doit): Load executable as lt_executable.
47376         (dl_main): Likewise.
47378 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
47380         [BZ #16642]
47381         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47382         (__ASSUME_PSELECT): Undefine.
47384 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47386         [BZ #16689]
47387         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
47388         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
47389         static build.
47390         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
47391         selector for static builds.
47393 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47395         [BZ #16695]
47396         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
47397         key in the buffer.
47399 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47401         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
47402         IFUNC selector for static builds.
47404 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
47406         * sysdeps/mips/math_private.h [__mips_hard_float]
47407         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
47408         libc_feresetround_mips_ctx.
47409         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
47410         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
47411         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
47413         [BZ #16677]
47414         * math/s_nextafter.c (__nextafter): Do not return value from
47415         overflowing computation.
47416         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
47417         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
47418         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
47419         Likewise.
47420         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
47421         Likewise.
47422         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
47423         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
47425 2014-03-11  Roland McGrath  <roland@hack.frob.com>
47427         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
47428         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
47429         Move sfi_sp use from the load-multiple (that no longer sets sp) to
47430         the new mov targetting sp.
47432 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47434         [BZ #16683]
47435         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
47436         Define it for static builds as well.
47437         (NO_BZERO_IMPL): Likewise.
47439 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47441         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
47442         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
47443         multiarch strspn for PPC64.
47444         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
47445         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
47446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47447         (__libc_ifunc_impl_list): Likewise.
47448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
47449         multiarch optimizations
47450         * string/strspn.c (strspn): Using macro to redefine symbol name.
47452 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47453             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47455         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
47456         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
47457         multiarch strncat for PPC64.
47458         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
47459         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
47460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47461         (__libc_ifunc_impl_list): Likewise.
47462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
47463         multiarch optimizations
47465 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47467         [BZ #16639]
47468         * nscd/nscd.service: Make service type forking.
47470 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47472         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
47473         sign in non default rounding modes.
47474         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
47476 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
47478         * math/libm-test.inc (ALL_RM_TEST): New macro.
47479         (ceil_test): Use ALL_RM_TEST.
47480         (cimag_test): Likewise.
47481         (conj_test): Likewise.
47482         (copysign_test): Likewise.
47483         (cproj_test): Likewise.
47484         (creal_test): Likewise.
47485         (fabs_test): Likewise.
47486         (floor_test): Likewise.
47487         (fmax_test): Likewise.
47488         (fmin_test): Likewise.
47489         (fmod_test): Likewise.
47490         (fpclassify_test): Likewise.
47491         (frexp_test): Likewise.
47492         (ilogb_test): Likewise.
47493         (isfinite_test): Likewise.
47494         (finite_test): Likewise.
47495         (isgreater_test): Likewise.
47496         (isgreaterequal_test): Likewise.
47497         (isinf_test): Likewise.
47498         (isless_test): Likewise.
47499         (islessequal_test): Likewise.
47500         (islessgreater_test): Likewise.
47501         (isnan_test): Likewise.
47502         (isnormal_test): Likewise.
47503         (issignaling_test): Likewise.
47504         (isunordered_test): Likewise.
47505         (logb_test): Likewise.
47506         (logb_downward_test_data): Remove.
47507         (logb_test_downward): Likewise.
47508         (lround_test): Use ALL_RM_TEST.
47509         (llround_test): Likewise.
47510         (modf_test): Likewise.
47511         (nexttoward_test): Likewise.
47512         (remainder_test): Likewise.
47513         (drem_test): Likewise.
47514         (remainder_tonearest_test_data): Likewise.
47515         (remainder_test_tonearest): Likewise.
47516         (drem_test_tonearest): Likewise.
47517         (remainder_towardzero_test_data): Likewise.
47518         (remainder_test_towardzero): Likewise.
47519         (drem_test_towardzero): Likewise.
47520         (remainder_downward_test_data): Likewise.
47521         (remainder_test_downward): Likewise.
47522         (drem_test_downward): Likewise.
47523         (remainder_upward_test_data): Likewise.
47524         (remainder_test_upward): Likewise.
47525         (drem_test_upward): Likewise.
47526         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
47527         (round_test): Use ALL_RM_TEST.
47528         (signbit_test): Likewise.
47529         (trunc_test): Likewise.
47530         (significand_test): Likewise.
47531         (main): Don't call removed functions.
47533 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47535         [BZ #16674]
47536         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
47537         || __USE_XOPEN2K8].
47538         (ILL_ILLOPN): Likewise.
47539         (ILL_ILLADR): Likewise.
47540         (ILL_ILLTRP): Likewise.
47541         (ILL_PRVOPC): Likewise.
47542         (ILL_PRVREG): Likewise.
47543         (ILL_COPROC): Likewise.
47544         (ILL_BADSTK): Likewise.
47545         (FPE_INTDIV): Likewise.
47546         (FPE_INTOVF): Likewise.
47547         (FPE_FLTDIV): Likewise.
47548         (FPE_FLTOVF): Likewise.
47549         (FPE_FLTUND): Likewise.
47550         (FPE_FLTRES): Likewise.
47551         (FPE_FLTINV): Likewise.
47552         (FPE_FLTSUB): Likewise.
47553         (SEGV_MAPERR): Likewise.
47554         (SEGV_ACCERR): Likewise.
47555         (BUS_ADRALN): Likewise.
47556         (BUS_ADRERR): Likewise.
47557         (BUS_OBJERR): Likewise.
47558         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47559         (TRAP_TRACE): Likewise.
47560         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47561         __USE_XOPEN2K8].
47562         (CLD_KILLED): Likewise.
47563         (CLD_DUMPED): Likewise.
47564         (CLD_TRAPPED): Likewise.
47565         (CLD_STOPPED): Likewise.
47566         (CLD_CONTINUED): Likewise.
47567         (POLL_IN): Likewise.
47568         (POLL_OUT): Likewise.
47569         (POLL_MSG): Likewise.
47570         (POLL_ERR): Likewise.
47571         (POLL_PRI): Likewise.
47572         (POLL_HUP): Likewise.
47573         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
47574         Likewise.
47575         (ILL_ILLOPN): Likewise.
47576         (ILL_ILLADR): Likewise.
47577         (ILL_ILLTRP): Likewise.
47578         (ILL_PRVOPC): Likewise.
47579         (ILL_PRVREG): Likewise.
47580         (ILL_COPROC): Likewise.
47581         (ILL_BADSTK): Likewise.
47582         (FPE_INTDIV): Likewise.
47583         (FPE_INTOVF): Likewise.
47584         (FPE_FLTDIV): Likewise.
47585         (FPE_FLTOVF): Likewise.
47586         (FPE_FLTUND): Likewise.
47587         (FPE_FLTRES): Likewise.
47588         (FPE_FLTINV): Likewise.
47589         (FPE_FLTSUB): Likewise.
47590         (SEGV_MAPERR): Likewise.
47591         (SEGV_ACCERR): Likewise.
47592         (BUS_ADRALN): Likewise.
47593         (BUS_ADRERR): Likewise.
47594         (BUS_OBJERR): Likewise.
47595         (BUS_MCEERR_AR): Likewise.
47596         (BUS_MCEERR_AO): Likewise.
47597         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47598         (TRAP_TRACE): Likewise.
47599         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47600         __USE_XOPEN2K8].
47601         (CLD_KILLED): Likewise.
47602         (CLD_DUMPED): Likewise.
47603         (CLD_TRAPPED): Likewise.
47604         (CLD_STOPPED): Likewise.
47605         (CLD_CONTINUED): Likewise.
47606         (POLL_IN): Likewise.
47607         (POLL_OUT): Likewise.
47608         (POLL_MSG): Likewise.
47609         (POLL_ERR): Likewise.
47610         (POLL_PRI): Likewise.
47611         (POLL_HUP): Likewise.
47612         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
47613         (ILL_ILLOPN): Likewise.
47614         (ILL_ILLADR): Likewise.
47615         (ILL_ILLTRP): Likewise.
47616         (ILL_PRVOPC): Likewise.
47617         (ILL_PRVREG): Likewise.
47618         (ILL_COPROC): Likewise.
47619         (ILL_BADSTK): Likewise.
47620         (FPE_INTDIV): Likewise.
47621         (FPE_INTOVF): Likewise.
47622         (FPE_FLTDIV): Likewise.
47623         (FPE_FLTOVF): Likewise.
47624         (FPE_FLTUND): Likewise.
47625         (FPE_FLTRES): Likewise.
47626         (FPE_FLTINV): Likewise.
47627         (FPE_FLTSUB): Likewise.
47628         (SEGV_MAPERR): Likewise.
47629         (SEGV_ACCERR): Likewise.
47630         (BUS_ADRALN): Likewise.
47631         (BUS_ADRERR): Likewise.
47632         (BUS_OBJERR): Likewise.
47633         (BUS_MCEERR_AR): Likewise.
47634         (BUS_MCEERR_AO): Likewise.
47635         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47636         (TRAP_TRACE): Likewise.
47637         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47638         __USE_XOPEN2K8].
47639         (CLD_KILLED): Likewise.
47640         (CLD_DUMPED): Likewise.
47641         (CLD_TRAPPED): Likewise.
47642         (CLD_STOPPED): Likewise.
47643         (CLD_CONTINUED): Likewise.
47644         (POLL_IN): Likewise.
47645         (POLL_OUT): Likewise.
47646         (POLL_MSG): Likewise.
47647         (POLL_ERR): Likewise.
47648         (POLL_PRI): Likewise.
47649         (POLL_HUP): Likewise.
47650         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
47651         Likewise.
47652         (ILL_ILLOPN): Likewise.
47653         (ILL_ILLADR): Likewise.
47654         (ILL_ILLTRP): Likewise.
47655         (ILL_PRVOPC): Likewise.
47656         (ILL_PRVREG): Likewise.
47657         (ILL_COPROC): Likewise.
47658         (ILL_BADSTK): Likewise.
47659         (ILL_BADIADDR): Likewise.
47660         (ILL_BREAK): Likewise.
47661         (FPE_INTDIV): Likewise.
47662         (FPE_INTOVF): Likewise.
47663         (FPE_FLTDIV): Likewise.
47664         (FPE_FLTOVF): Likewise.
47665         (FPE_FLTUND): Likewise.
47666         (FPE_FLTRES): Likewise.
47667         (FPE_FLTINV): Likewise.
47668         (FPE_FLTSUB): Likewise.
47669         (FPE_DECOVF): Likewise.
47670         (FPE_DECDIV): Likewise.
47671         (FPE_DECERR): Likewise.
47672         (FPE_INVASC): Likewise.
47673         (FPE_INVDEC): Likewise.
47674         (SEGV_MAPERR): Likewise.
47675         (SEGV_ACCERR): Likewise.
47676         (SEGV_PSTKOVF): Likewise.
47677         (BUS_ADRALN): Likewise.
47678         (BUS_ADRERR): Likewise.
47679         (BUS_OBJERR): Likewise.
47680         (BUS_MCEERR_AR): Likewise.
47681         (BUS_MCEERR_AO): Likewise.
47682         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47683         (TRAP_TRACE): Likewise.
47684         (TRAP_BRANCH): Likewise.
47685         (TRAP_HWBKPT): Likewise.
47686         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47687         __USE_XOPEN2K8].
47688         (CLD_KILLED): Likewise.
47689         (CLD_DUMPED): Likewise.
47690         (CLD_TRAPPED): Likewise.
47691         (CLD_STOPPED): Likewise.
47692         (CLD_CONTINUED): Likewise.
47693         (POLL_IN): Likewise.
47694         (POLL_OUT): Likewise.
47695         (POLL_MSG): Likewise.
47696         (POLL_ERR): Likewise.
47697         (POLL_PRI): Likewise.
47698         (POLL_HUP): Likewise.
47699         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
47700         (ILL_ILLOPN): Likewise.
47701         (ILL_ILLADR): Likewise.
47702         (ILL_ILLTRP): Likewise.
47703         (ILL_PRVOPC): Likewise.
47704         (ILL_PRVREG): Likewise.
47705         (ILL_COPROC): Likewise.
47706         (ILL_BADSTK): Likewise.
47707         (FPE_INTDIV): Likewise.
47708         (FPE_INTOVF): Likewise.
47709         (FPE_FLTDIV): Likewise.
47710         (FPE_FLTOVF): Likewise.
47711         (FPE_FLTUND): Likewise.
47712         (FPE_FLTRES): Likewise.
47713         (FPE_FLTINV): Likewise.
47714         (FPE_FLTSUB): Likewise.
47715         (SEGV_MAPERR): Likewise.
47716         (SEGV_ACCERR): Likewise.
47717         (BUS_ADRALN): Likewise.
47718         (BUS_ADRERR): Likewise.
47719         (BUS_OBJERR): Likewise.
47720         (BUS_MCEERR_AR): Likewise.
47721         (BUS_MCEERR_AO): Likewise.
47722         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47723         (TRAP_TRACE): Likewise.
47724         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47725         __USE_XOPEN2K8].
47726         (CLD_KILLED): Likewise.
47727         (CLD_DUMPED): Likewise.
47728         (CLD_TRAPPED): Likewise.
47729         (CLD_STOPPED): Likewise.
47730         (CLD_CONTINUED): Likewise.
47731         (POLL_IN): Likewise.
47732         (POLL_OUT): Likewise.
47733         (POLL_MSG): Likewise.
47734         (POLL_ERR): Likewise.
47735         (POLL_PRI): Likewise.
47736         (POLL_HUP): Likewise.
47737         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
47738         (ILL_ILLOPN): Likewise.
47739         (ILL_ILLADR): Likewise.
47740         (ILL_ILLTRP): Likewise.
47741         (ILL_PRVOPC): Likewise.
47742         (ILL_PRVREG): Likewise.
47743         (ILL_COPROC): Likewise.
47744         (ILL_BADSTK): Likewise.
47745         (FPE_INTDIV): Likewise.
47746         (FPE_INTOVF): Likewise.
47747         (FPE_FLTDIV): Likewise.
47748         (FPE_FLTOVF): Likewise.
47749         (FPE_FLTUND): Likewise.
47750         (FPE_FLTRES): Likewise.
47751         (FPE_FLTINV): Likewise.
47752         (FPE_FLTSUB): Likewise.
47753         (SEGV_MAPERR): Likewise.
47754         (SEGV_ACCERR): Likewise.
47755         (BUS_ADRALN): Likewise.
47756         (BUS_ADRERR): Likewise.
47757         (BUS_OBJERR): Likewise.
47758         (BUS_MCEERR_AR): Likewise.
47759         (BUS_MCEERR_AO): Likewise.
47760         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47761         (TRAP_TRACE): Likewise.
47762         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47763         __USE_XOPEN2K8].
47764         (CLD_KILLED): Likewise.
47765         (CLD_DUMPED): Likewise.
47766         (CLD_TRAPPED): Likewise.
47767         (CLD_STOPPED): Likewise.
47768         (CLD_CONTINUED): Likewise.
47769         (POLL_IN): Likewise.
47770         (POLL_OUT): Likewise.
47771         (POLL_MSG): Likewise.
47772         (POLL_ERR): Likewise.
47773         (POLL_PRI): Likewise.
47774         (POLL_HUP): Likewise.
47775         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
47776         (ILL_ILLOPN): Likewise.
47777         (ILL_ILLADR): Likewise.
47778         (ILL_ILLTRP): Likewise.
47779         (ILL_PRVOPC): Likewise.
47780         (ILL_PRVREG): Likewise.
47781         (ILL_COPROC): Likewise.
47782         (ILL_BADSTK): Likewise.
47783         (FPE_INTDIV): Likewise.
47784         (FPE_INTOVF): Likewise.
47785         (FPE_FLTDIV): Likewise.
47786         (FPE_FLTOVF): Likewise.
47787         (FPE_FLTUND): Likewise.
47788         (FPE_FLTRES): Likewise.
47789         (FPE_FLTINV): Likewise.
47790         (FPE_FLTSUB): Likewise.
47791         (SEGV_MAPERR): Likewise.
47792         (SEGV_ACCERR): Likewise.
47793         (BUS_ADRALN): Likewise.
47794         (BUS_ADRERR): Likewise.
47795         (BUS_OBJERR): Likewise.
47796         (BUS_MCEERR_AR): Likewise.
47797         (BUS_MCEERR_AO): Likewise.
47798         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47799         (TRAP_TRACE): Likewise.
47800         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47801         __USE_XOPEN2K8].
47802         (CLD_KILLED): Likewise.
47803         (CLD_DUMPED): Likewise.
47804         (CLD_TRAPPED): Likewise.
47805         (CLD_STOPPED): Likewise.
47806         (CLD_CONTINUED): Likewise.
47807         (POLL_IN): Likewise.
47808         (POLL_OUT): Likewise.
47809         (POLL_MSG): Likewise.
47810         (POLL_ERR): Likewise.
47811         (POLL_PRI): Likewise.
47812         (POLL_HUP): Likewise.
47813         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
47814         (ILL_ILLOPN): Likewise.
47815         (ILL_ILLADR): Likewise.
47816         (ILL_ILLTRP): Likewise.
47817         (ILL_PRVOPC): Likewise.
47818         (ILL_PRVREG): Likewise.
47819         (ILL_COPROC): Likewise.
47820         (ILL_BADSTK): Likewise.
47821         (ILL_DBLFLT): Likewise.
47822         (ILL_HARDWALL): Likewise.
47823         (FPE_INTDIV): Likewise.
47824         (FPE_INTOVF): Likewise.
47825         (FPE_FLTDIV): Likewise.
47826         (FPE_FLTOVF): Likewise.
47827         (FPE_FLTUND): Likewise.
47828         (FPE_FLTRES): Likewise.
47829         (FPE_FLTINV): Likewise.
47830         (FPE_FLTSUB): Likewise.
47831         (SEGV_MAPERR): Likewise.
47832         (SEGV_ACCERR): Likewise.
47833         (BUS_ADRALN): Likewise.
47834         (BUS_ADRERR): Likewise.
47835         (BUS_OBJERR): Likewise.
47836         (BUS_MCEERR_AR): Likewise.
47837         (BUS_MCEERR_AO): Likewise.
47838         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47839         (TRAP_TRACE): Likewise.
47840         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47841         __USE_XOPEN2K8].
47842         (CLD_KILLED): Likewise.
47843         (CLD_DUMPED): Likewise.
47844         (CLD_TRAPPED): Likewise.
47845         (CLD_STOPPED): Likewise.
47846         (CLD_CONTINUED): Likewise.
47847         (POLL_IN): Likewise.
47848         (POLL_OUT): Likewise.
47849         (POLL_MSG): Likewise.
47850         (POLL_ERR): Likewise.
47851         (POLL_PRI): Likewise.
47852         (POLL_HUP): Likewise.
47853         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
47854         (ILL_ILLOPN): Likewise.
47855         (ILL_ILLADR): Likewise.
47856         (ILL_ILLTRP): Likewise.
47857         (ILL_PRVOPC): Likewise.
47858         (ILL_PRVREG): Likewise.
47859         (ILL_COPROC): Likewise.
47860         (ILL_BADSTK): Likewise.
47861         (FPE_INTDIV): Likewise.
47862         (FPE_INTOVF): Likewise.
47863         (FPE_FLTDIV): Likewise.
47864         (FPE_FLTOVF): Likewise.
47865         (FPE_FLTUND): Likewise.
47866         (FPE_FLTRES): Likewise.
47867         (FPE_FLTINV): Likewise.
47868         (FPE_FLTSUB): Likewise.
47869         (SEGV_MAPERR): Likewise.
47870         (SEGV_ACCERR): Likewise.
47871         (BUS_ADRALN): Likewise.
47872         (BUS_ADRERR): Likewise.
47873         (BUS_OBJERR): Likewise.
47874         (BUS_MCEERR_AR): Likewise.
47875         (BUS_MCEERR_AO): Likewise.
47876         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47877         (TRAP_TRACE): Likewise.
47878         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47879         __USE_XOPEN2K8].
47880         (CLD_KILLED): Likewise.
47881         (CLD_DUMPED): Likewise.
47882         (CLD_TRAPPED): Likewise.
47883         (CLD_STOPPED): Likewise.
47884         (CLD_CONTINUED): Likewise.
47885         (POLL_IN): Likewise.
47886         (POLL_OUT): Likewise.
47887         (POLL_MSG): Likewise.
47888         (POLL_ERR): Likewise.
47889         (POLL_PRI): Likewise.
47890         (POLL_HUP): Likewise.
47891         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
47892         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47894         [BZ #16670]
47895         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
47896         before #include of <time.h>.
47897         [!__USE_XOPEN2K] (__need_timespec): Likewise.
47898         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
47899         (test-xfail-UNIX98/sched.h/conform): Likewise.
47901 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47903         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
47904         error absence of trapping exception support.
47905         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47907 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47909         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
47910         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
47911         * timezone/Makefile (testdata): Move definition above include of
47912         Rules.
47913         (test-zones): New variable.
47914         (tests-special): Add zone files.
47915         (build-testdata): Use $(evaluate-test).
47917         * elf/Makefile (tests-special): Rename tests to end with .out.
47918         ($(objpfx)noload-mem): Likewise.
47919         ($(objpfx)tst-leaks1-mem): Likewise.
47920         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
47921         * iconv/Makefile (xtests-special): Change test-iconvconfig to
47922         $(objpfx)test-iconvconfig.out.
47923         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
47924         set -e inside subshell and redirect output to file.
47925         * iconvdata/Makefile (generated): Rename tests to end with .out.
47926         Correct type.
47927         (tests-special): Rename tests to end with .out.
47928         ($(objpfx)mtrace-tst-loading): Likewise.
47929         * intl/Makefile (generated): Likewise.
47930         (tests-special): Likewise.
47931         ($(objpfx)mtrace-tst-gettext): Likewise.
47932         * misc/Makefile (generated): Likewise.
47933         (tests-special): Likewise.
47934         ($(objpfx)tst-error1-mem): Likewise.
47935         * nptl/Makefile (tests-special): Likewise.
47936         ($(objpfx)tst-stack3-mem): Likewise.
47937         (generated): Likewise.
47938         * posix/Makefile (generated): Likewise.
47939         (tests-special): Likewise.
47940         (xtests-special): Likewise.
47941         ($(objpfx)tst-fnmatch-mem): Likewise.
47942         ($(objpfx)bug-regex2-mem): Likewise.
47943         ($(objpfx)bug-regex14-mem): Likewise.
47944         ($(objpfx)bug-regex21-mem): Likewise.
47945         ($(objpfx)bug-regex31-mem): Likewise.
47946         ($(objpfx)tst-vfork3-mem): Likewise.
47947         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47948         ($(objpfx)tst-pcre-mem): Likewise.
47949         ($(objpfx)tst-boost-mem): Likewise.
47950         ($(objpfx)bug-ga2-mem): Likewise.
47951         ($(objpfx)bug-glob2-mem): Likewise.
47952         * resolv/Makefile (generate): Likewise.
47953         (tests-special): Likewise.
47954         (xtests-special): Likewise.
47955         (generated): Likewise.
47956         ($(objpfx)mtrace-tst-leaks): Likewise.
47957         ($(objpfx)mtrace-tst-leaks2): Likewise.
47959         * scripts/merge-test-results.sh: New file.
47960         * Makefile (tests-special-notdir): New variable.
47961         (tests): Run merge-test-results.sh.
47962         (xtests): Likewise.
47963         * Rules (tests-special-notdir): New variable.
47964         (xtests-special-notdir): Likewise.
47965         (tests): Run merge-test-results.sh
47966         (xtests): Likewise.
47968         * Makeconfig (test-xfail-name): New variable.
47969         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
47970         compute variable name for expected failures.
47971         * conform/Makefile (conformtest-headers-data): New variable.
47972         (conformtest-standards): Likewise.
47973         (conformtest-headers-ISO): Likewise.
47974         (conformtest-headers-ISO99): Likewise.
47975         (conformtest-headers-ISO11): Likewise.
47976         (conformtest-headers-POSIX): Likewise.
47977         (conformtest-headers-XPG3): Likewise.
47978         (conformtest-headers-XPG4): Likewise.
47979         (conformtest-headers-UNIX98): Likewise.
47980         (conformtest-headers-XOPEN2K): Likewise.
47981         (conformtest-headers-POSIX2008): Likewise.
47982         (conformtest-headers-XOPEN2K8): Likewise.
47983         (conformtest-header-list-base): Likewise.
47984         (conformtest-header-list-tests): Likewise.
47985         (conformtest-header-base): Likewise.
47986         (conformtest-header-tests): Likewise.
47987         (tests-special): Add $(conformtest-header-list-tests).  If
47988         [$(fast-check) && !$(cross-compiling)], add
47989         $(conformtest-header-tests) instead of
47990         $(objpfx)run-conformtest.out.
47991         (generated): Add $(conformtest-header-list-base).  If
47992         [$(fast-check) && !$(cross-compiling)], add
47993         $(conformtest-header-base).  Remove previous setting.
47994         ($(conformtest-header-list-tests)): New target.
47995         (test-xfail-run-conformtest): Remove variable.
47996         ($(objpfx)run-conformtest.out): Remove target.
47997         (test-xfail-ISO11/complex.h/conform): New variable.
47998         (test-xfail-ISO11/stdalign.h/conform): Likewise.
47999         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
48000         (test-xfail-XPG3/varargs.h/conform): Likewise.
48001         (test-xfail-XPG4/varargs.h/conform): Likewise.
48002         (test-xfail-UNIX98/varargs.h/conform): Likewise.
48003         (test-xfail-XPG4/ndbm.h/conform): Likewise.
48004         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
48005         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
48006         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
48007         (test-xfail-XPG3/fcntl.h/conform): Likewise.
48008         (test-xfail-XPG3/ftw.h/conform): Likewise.
48009         (test-xfail-XPG3/grp.h/conform): Likewise.
48010         (test-xfail-XPG3/langinfo.h/conform): Likewise.
48011         (test-xfail-XPG3/limits.h/conform): Likewise.
48012         (test-xfail-XPG3/pwd.h/conform): Likewise.
48013         (test-xfail-XPG3/search.h/conform): Likewise.
48014         (test-xfail-XPG3/signal.h/conform): Likewise.
48015         (test-xfail-XPG3/stdio.h/conform): Likewise.
48016         (test-xfail-XPG3/stdlib.h/conform): Likewise.
48017         (test-xfail-XPG3/string.h/conform): Likewise.
48018         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
48019         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
48020         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
48021         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
48022         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
48023         (test-xfail-XPG3/sys/types.h/conform): Likewise.
48024         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
48025         (test-xfail-XPG3/termios.h/conform): Likewise.
48026         (test-xfail-XPG3/time.h/conform): Likewise.
48027         (test-xfail-XPG3/unistd.h/conform): Likewise.
48028         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
48029         (test-xfail-XPG4/fcntl.h/conform): Likewise.
48030         (test-xfail-XPG4/langinfo.h/conform): Likewise.
48031         (test-xfail-XPG4/netdb.h/conform): Likewise.
48032         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
48033         (test-xfail-XPG4/signal.h/conform): Likewise.
48034         (test-xfail-XPG4/stdio.h/conform): Likewise.
48035         (test-xfail-XPG4/stdlib.h/conform): Likewise.
48036         (test-xfail-XPG4/stropts.h/conform): Likewise.
48037         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
48038         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
48039         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
48040         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
48041         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
48042         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
48043         (test-xfail-XPG4/sys/time.h/conform): Likewise.
48044         (test-xfail-XPG4/sys/types.h/conform): Likewise.
48045         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
48046         (test-xfail-XPG4/termios.h/conform): Likewise.
48047         (test-xfail-XPG4/ucontext.h/conform): Likewise.
48048         (test-xfail-XPG4/unistd.h/conform): Likewise.
48049         (test-xfail-XPG4/utmpx.h/conform): Likewise.
48050         (test-xfail-POSIX/sched.h/conform): Likewise.
48051         (test-xfail-POSIX/signal.h/conform): Likewise.
48052         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48053         (test-xfail-POSIX/tar.h/conform): Likewise.
48054         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
48055         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
48056         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
48057         (test-xfail-UNIX98/netdb.h/conform): Likewise.
48058         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
48059         (test-xfail-UNIX98/sched.h/conform): Likewise.
48060         (test-xfail-UNIX98/signal.h/conform): Likewise.
48061         (test-xfail-UNIX98/stdio.h/conform): Likewise.
48062         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
48063         (test-xfail-UNIX98/stropts.h/conform): Likewise.
48064         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
48065         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
48066         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
48067         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
48068         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
48069         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
48070         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
48071         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
48072         (test-xfail-UNIX98/unistd.h/conform): Likewise.
48073         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
48074         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
48075         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
48076         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
48077         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
48078         (test-xfail-XOPEN2K/math.h/conform): Likewise.
48079         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
48080         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
48081         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
48082         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
48083         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
48084         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
48085         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
48086         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
48087         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
48088         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
48089         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
48090         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
48091         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
48092         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
48093         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
48094         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
48095         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
48096         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
48097         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
48098         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
48099         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
48100         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
48101         (test-xfail-POSIX2008/signal.h/conform): Likewise.
48102         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
48103         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
48104         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
48105         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
48106         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
48107         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
48108         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
48109         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
48110         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
48111         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
48112         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
48113         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
48114         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
48115         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
48116         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
48117         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
48118         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
48119         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
48120         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
48121         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
48122         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
48123         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
48124         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
48125         (conformtest-cc-flags): Likewise.
48126         ($(conformtest-header-tests): New target.
48127         * conform/check-header-lists.sh: New file.
48128         * conform/run-conformtest.sh: Remove.
48130         * conform/conformtest.pl: Allow ' and \ in values given for
48131         constants.
48132         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
48133         inclusion.
48134         [POSIX] (sys/types.h): Likewise.
48135         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
48136         inclusion.
48137         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
48138         inclusion.
48139         * conform/data/signal.h-data (SIGIO): Remove expectation.
48140         [XPG3] (SIGBUS): Do not expect.
48141         [POSIX || XPG3] (SIGPOLL): Likewise.
48142         [POSIX || XPG3] (SIGPROF): Likewise.
48143         [POSIX || XPG3] (SIGSYS): Likewise.
48144         [XPG3] (SIGTRAP): Likewise.
48145         [POSIX || XPG3] (SIGURG): Likewise.
48146         [POSIX || XPG3] (SIGVTALRM): Likewise.
48147         [POSIX || XPG3] (SIGXCPU): Likewise.
48148         [POSIX || XPG3] (SIGXFSZ): Likewise.
48149         [POSIX] (SA_SIGINFO): Expect.
48150         [XPG3] (siginfo_t): Do not expect type or contents.
48151         [POSIX] (si_pid): Do not expect element.
48152         [POSIX] (si_uid): Likewise.
48153         [POSIX] (si_addr): Likewise.
48154         [POSIX] (si_status): Likewise.
48155         [POSIX] (si_band): Likewise.
48156         [XPG4] (si_value): Likewise.
48157         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
48158         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
48159         [POSIX || XPG3] (ILL_ILLADR): Likewise.
48160         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
48161         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
48162         [POSIX || XPG3] (ILL_PRVREG): Likewise.
48163         [POSIX || XPG3] (ILL_COPROC): Likewise.
48164         [POSIX || XPG3] (ILL_BADSTK): Likewise.
48165         [POSIX || XPG3] (FPE_INTDIV): Likewise.
48166         [POSIX || XPG3] (FPE_INTOVF): Likewise.
48167         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
48168         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
48169         [POSIX || XPG3] (FPE_FLTUND): Likewise.
48170         [POSIX || XPG3] (FPE_FLTRES): Likewise.
48171         [POSIX || XPG3] (FPE_FLTINV): Likewise.
48172         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
48173         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
48174         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
48175         [POSIX || XPG3] (BUS_ADRALN): Likewise.
48176         [POSIX || XPG3] (BUS_ADRERR): Likewise.
48177         [POSIX || XPG3] (BUS_OBJERR): Likewise.
48178         [POSIX || XPG3] (CLD_EXITED): Likewise.
48179         [POSIX || XPG3] (CLD_KILLED): Likewise.
48180         [POSIX || XPG3] (CLD_DUMPED): Likewise.
48181         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
48182         [POSIX || XPG3] (CLD_STOPPED): Likewise.
48183         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
48184         [POSIX || XPG3] (POLL_IN): Likewise.
48185         [POSIX || XPG3] (POLL_OUT): Likewise.
48186         [POSIX || XPG3] (POLL_MSG): Likewise.
48187         [POSIX || XPG3] (POLL_ERR): Likewise.
48188         [POSIX || XPG3] (POLL_PRI): Likewise.
48189         [POSIX || XPG3] (POLL_HUP): Likewise.
48190         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
48191         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
48192         (SIG*): Do not allow.
48193         [XPG3] (si_*): Likewise.
48194         [XPG3] (SI_*): Likewise.
48195         [XPG3 || XPG4] (sigev_*): Likewise.
48196         [XPG3 || XPG4] (SIGEV_*): Likewise.
48197         [XPG3 || XPG4] (sival_*): Likewise.
48198         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
48199         [POSIX || XPG3] (BUS_*): Likewise.
48200         [POSIX || XPG3] (CLD_*): Likewise.
48201         [POSIX || XPG3] (FPE_*): Likewise.
48202         [POSIX || XPG3] (ILL_*): Likewise.
48203         [POSIX || XPG3] (POLL_*): Likewise.
48204         [POSIX || XPG3] (SEGV_*): Likewise.
48205         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
48206         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
48207         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
48208         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
48209         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
48210         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
48211         Specify type and value.
48212         (TVERSLEN): Likewise.
48213         (REGTYPE): Likewise.
48214         (AREGTYPE): Likewise.
48215         (LNKTYPE): Likewise.
48216         (SYMTYPE): Likewise.
48217         (CHRTYPE): Likewise.
48218         (BLKTYPE): Likewise.
48219         (DIRTYPE): Likewise.
48220         (FIFOTYPE): Likewise.
48221         (CONTTYPE): Likewise.
48222         (TSUID): Likewise.
48223         (TSGID): Likewise.
48224         (TSVTX): Likewise.
48225         (TUREAD): Likewise.
48226         (TUWRITE): Likewise.
48227         (TUEXEC): Likewise.
48228         (TGREAD): Likewise.
48229         (TGWRITE): Likewise.
48230         (TGEXEC): Likewise.
48231         (TOREAD): Likewise.
48232         (TOWRITE): Likewise.
48233         (TOEXEC): Likewise.
48234         [POSIX] (TSVTX): Expect constant.
48236 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
48238         * Makefile (tests): Change dependencies to ....
48239         (tests-special): ... additions to this variable.
48240         (tests): Depend on $(tests-special).
48241         * Makerules (check-abi-list): New variable.
48242         (check-abi): Depend on $(check-abi-list).
48243         [$(subdir) = elf] (tests-special): Add
48244         $(objpfx)check-abi-libc.out.
48245         [$(build-shared) = yes && subdir] (tests-special): Add
48246         $(check-abi-list).
48247         [$(build-shared) = yes && subdir] (tests): Do not depend on
48248         check-abi.
48249         * Rules (tests): Depend on $(tests-special).
48250         (xtests): Depend on $(xtests-special).
48251         * catgets/Makefile (tests): Change dependencies to ....
48252         (tests-special): ... additions to this variable.
48253         * conform/Makefile (tests): Change dependencies to ....
48254         (tests-special): ... additions to this variable.
48255         * elf/Makefile (tests): Change dependencies to ....
48256         (tests-special): ... additions to this variable.
48257         * grp/Makefile (tests): Change dependencies to ....
48258         (tests-special): ... additions to this variable.
48259         * iconv/Makefile (xtests): Change dependencies to ....
48260         (xtests-special): ... additions to this variable.
48261         * iconvdata/Makefile (tests): Change dependencies to ....
48262         (tests-special): ... additions to this variable.
48263         * intl/Makefile (tests): Change dependencies to ....
48264         (tests-special): ... additions to this variable.  Also add
48265         $(objpfx)tst-gettext.out.
48266         * io/Makefile (tests): Change dependencies to ....
48267         (tests-special): ... additions to this variable.
48268         * libio/Makefile (tests): Change dependencies to ....
48269         (tests-special): ... additions to this variable.
48270         * malloc/Makefile (tests): Change dependencies to ....
48271         (tests-special): ... additions to this variable.
48272         * misc/Makefile (tests): Change dependencies to ....
48273         (tests-special): ... additions to this variable.
48274         * nptl/Makefile (tests): Change dependencies to ....
48275         (tests-special): ... additions to this variable.
48276         * nptl_db/Makefile (tests): Change dependencies to ....
48277         (tests-special): ... additions to this variable.
48278         * posix/Makefile (tests): Change dependencies to ....
48279         (tests-special): ... additions to this variable.
48280         (xtests): Change dependencies to ....
48281         (xtests-special): ... additions to this variable.
48282         * resolv/Makefile (tests): Change dependencies to ....
48283         (tests-special): ... additions to this variable.
48284         (xtests): Change dependencies to ....
48285         (xtests-special): ... additions to this variable.
48286         * stdio-common/Makefile (tests): Change dependencies to ....
48287         (tests-special): ... additions to this variable.
48288         (do-tst-unbputc): Remove target.
48289         (do-tst-printf): Likewise.
48290         * stdlib/Makefile (tests): Change dependencies to ....
48291         (tests-special): ... additions to this variable.
48292         * string/Makefile (tests): Change dependencies to ....
48293         (tests-special): ... additions to this variable.
48294         * sysdeps/x86/Makefile (tests): Change dependencies to ....
48295         (tests-special): ... additions to this variable.
48297         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
48298         whole file.
48299         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
48300         whole file.
48301         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
48302         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
48304         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
48305         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
48306         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
48307         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
48308         * conform/data/libgen.h-data [XPG3]: Likewise.
48309         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
48310         * conform/data/ndbm.h-data [XPG3]: Likewise.
48311         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48312         * conform/data/netdb.h-data [XPG3]: Likewise.
48313         * conform/data/netinet/in.h-data [XPG3]: Likewise.
48314         * conform/data/poll.h-data [XPG3]: Likewise.
48315         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48316         * conform/data/strings.h-data [XPG3]: Likewise.
48317         * conform/data/stropts.h-data [XPG3]: Likewise.
48318         * conform/data/sys/mman.h-data [XPG3]: Likewise.
48319         * conform/data/sys/resource.h-data [XPG3]: Likewise.
48320         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
48321         Likewise.
48322         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
48323         * conform/data/sys/time.h-data [XPG3]: Likewise.
48324         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
48325         * conform/data/sys/uio.h-data [XPG3]: Likewise.
48326         * conform/data/sys/un.h-data [XPG3]: Likewise.
48327         * conform/data/syslog.h-data [XPG3]: Likewise.
48328         * conform/data/ucontext.h-data [XPG3]: Likewise.
48329         * conform/data/utmpx.h-data [XPG3]: Likewise.
48330         * conform/data/varargs.h-data [UNIX98]: Enable file.
48332         * manual/Makefile (INSTALL_INFO): Remove variable setting.
48334         * math/libm-test.inc (struct test_f_f_data): Move expected results
48335         into structure for each rounding mode.
48336         (struct test_ff_f_data): Likewise.
48337         (struct test_ff_f_data_nexttoward): Likewise.
48338         (struct test_fi_f_data): Likewise.
48339         (struct test_fl_f_data): Likewise.
48340         (struct test_if_f_data): Likewise.
48341         (struct test_fff_f_data): Likewise.
48342         (struct test_c_f_data): Likewise.
48343         (struct test_f_f1_data): Likewise.
48344         (struct test_fF_f1_data): Likewise.
48345         (struct test_ffI_f1_data): Likewise.
48346         (struct test_c_c_data): Likewise.
48347         (struct test_cc_c_data): Likewise.
48348         (struct test_f_i_data): Likewise.
48349         (struct test_ff_i_data): Likewise.
48350         (struct test_f_l_data): Likewise.
48351         (struct test_f_L_data): Likewise.
48352         (struct test_fFF_11_data): Likewise.
48353         (RM_): New macro.
48354         (RM_FE_DOWNWARD): Likewise.
48355         (RM_FE_TONEAREST): Likewise.
48356         (RM_FE_TOWARDZERO): Likewise.
48357         (RM_FE_UPWARD): Likewise.
48358         (RUN_TEST_LOOP_f_f): Update references to expected results.
48359         (RUN_TEST_LOOP_2_f): Likewise.
48360         (RUN_TEST_LOOP_fff_f): Likewise.
48361         (RUN_TEST_LOOP_c_f): Likewise.
48362         (RUN_TEST_LOOP_f_f1): Likewise.
48363         (RUN_TEST_LOOP_fF_f1): Likewise.
48364         (RUN_TEST_LOOP_fI_f1): Likewise.
48365         (RUN_TEST_LOOP_ffI_f1): Likewise.
48366         (RUN_TEST_LOOP_c_c): Likewise.
48367         (RUN_TEST_LOOP_cc_c): Likewise.
48368         (RUN_TEST_LOOP_f_i): Likewise.
48369         (RUN_TEST_LOOP_f_i_tg): Likewise.
48370         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48371         (RUN_TEST_LOOP_f_b): Likewise.
48372         (RUN_TEST_LOOP_f_b_tg): Likewise.
48373         (RUN_TEST_LOOP_f_l): Likewise.
48374         (RUN_TEST_LOOP_f_L): Likewise.
48375         (RUN_TEST_LOOP_fFF_11): Likewise.
48376         * math/gen-libm-test.pl (parse_args): Output four copies of
48377         expected results for each test.
48379         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48380         (__ASSUME_UTIMES): Remove.
48381         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48382         (__ASSUME_UTIMES): Likewise.
48384         * math/gen-auto-libm-tests.c: Update comment on output format.
48385         (output_for_one_input_case): Generate before-rounding and
48386         after-rounding information as conditions on output flags not
48387         floating-point format.
48388         * math/auto-libm-test-out: Regenerated.
48389         * math/gen-libm-test.pl (cond_value): New function.
48390         (or_cond_value): Use cond_value.
48391         (generate_testfile): Handle conditional exceptions.
48393 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
48395         * math/libm-test.inc (max_valid_error): New variable.
48396         (init_max_error): Take new argument specifying whether function
48397         results are exactly determined.  Set max_valid_error and bound
48398         other variables for errors based on this argument.
48399         (set_max_error): Do not record results above max_valid_error.
48400         (check_float_internal): Only accept errors of up to 0.5ulps if
48401         also at most max_valid_error.
48402         (START): Take new argument EXACT and pass it to init_max_error.
48403         (acos_test): Update call to START.
48404         (acos_test_tonearest): Likewise.
48405         (acos_test_towardzero): Likewise.
48406         (acos_test_downward): Likewise.
48407         (acos_test_upward): Likewise.
48408         (acosh_test): Likewise.
48409         (asin_test): Likewise.
48410         (asin_test_tonearest): Likewise.
48411         (asin_test_towardzero): Likewise.
48412         (asin_test_downward): Likewise.
48413         (asin_test_upward): Likewise.
48414         (asinh_test): Likewise.
48415         (atan_test): Likewise.
48416         (atanh_test): Likewise.
48417         (atan2_test): Likewise.
48418         (cabs_test): Likewise.
48419         (cacos_test): Likewise.
48420         (cacosh_test): Likewise.
48421         (carg_test): Likewise.
48422         (casin_test): Likewise.
48423         (casinh_test): Likewise.
48424         (catan_test): Likewise.
48425         (catanh_test): Likewise.
48426         (cbrt_test): Likewise.
48427         (ccos_test): Likewise.
48428         (ccosh_test): Likewise.
48429         (ceil_test): Likewise.
48430         (cexp_test): Likewise.
48431         (cimag_test): Likewise.
48432         (clog_test): Likewise.
48433         (clog10_test): Likewise.
48434         (conj_test): Likewise.
48435         (copysign_test): Likewise.
48436         (cos_test): Likewise.
48437         (cos_test_tonearest): Likewise.
48438         (cos_test_towardzero): Likewise.
48439         (cos_test_downward): Likewise.
48440         (cos_test_upward): Likewise.
48441         (cosh_test): Likewise.
48442         (cosh_test_tonearest): Likewise.
48443         (cosh_test_towardzero): Likewise.
48444         (cosh_test_downward): Likewise.
48445         (cosh_test_upward): Likewise.
48446         (cpow_test): Likewise.
48447         (cproj_test): Likewise.
48448         (creal_test): Likewise.
48449         (csin_test): Likewise.
48450         (csinh_test): Likewise.
48451         (csqrt_test): Likewise.
48452         (ctan_test): Likewise.
48453         (ctan_test_tonearest): Likewise.
48454         (ctan_test_towardzero): Likewise.
48455         (ctan_test_downward): Likewise.
48456         (ctan_test_upward): Likewise.
48457         (ctanh_test): Likewise.
48458         (ctanh_test_tonearest): Likewise.
48459         (ctanh_test_towardzero): Likewise.
48460         (ctanh_test_downward): Likewise.
48461         (ctanh_test_upward): Likewise.
48462         (erf_test): Likewise.
48463         (erfc_test): Likewise.
48464         (exp_test): Likewise.
48465         (exp_test_tonearest): Likewise.
48466         (exp_test_towardzero): Likewise.
48467         (exp_test_downward): Likewise.
48468         (exp_test_upward): Likewise.
48469         (exp10_test): Likewise.
48470         (exp10_test_tonearest): Likewise.
48471         (exp10_test_towardzero): Likewise.
48472         (exp10_test_downward): Likewise.
48473         (exp10_test_upward): Likewise.
48474         (pow10_test): Likewise.
48475         (exp2_test): Likewise.
48476         (expm1_test): Likewise.
48477         (expm1_test_tonearest): Likewise.
48478         (expm1_test_towardzero): Likewise.
48479         (expm1_test_downward): Likewise.
48480         (expm1_test_upward): Likewise.
48481         (fabs_test): Likewise.
48482         (fdim_test): Likewise.
48483         (floor_test): Likewise.
48484         (fma_test): Likewise.
48485         (fma_test_towardzero): Likewise.
48486         (fma_test_downward): Likewise.
48487         (fma_test_upward): Likewise.
48488         (fmax_test): Likewise.
48489         (fmin_test): Likewise.
48490         (fmod_test): Likewise.
48491         (fpclassify_test): Likewise.
48492         (frexp_test): Likewise.
48493         (hypot_test): Likewise.
48494         (ilogb_test): Likewise.
48495         (isfinite_test): Likewise.
48496         (finite_test): Likewise.
48497         (isgreater_test): Likewise.
48498         (isgreaterequal_test): Likewise.
48499         (isinf_test): Likewise.
48500         (isless_test): Likewise.
48501         (islessequal_test): Likewise.
48502         (islessgreater_test): Likewise.
48503         (isnan_test): Likewise.
48504         (isnormal_test): Likewise.
48505         (issignaling_test): Likewise.
48506         (isunordered_test): Likewise.
48507         (j0_test): Likewise.
48508         (j1_test): Likewise.
48509         (jn_test): Likewise.
48510         (ldexp_test): Likewise.
48511         (lgamma_test): Likewise.
48512         (gamma_test): Likewise.
48513         (lrint_test): Likewise.
48514         (lrint_test_tonearest): Likewise.
48515         (lrint_test_towardzero): Likewise.
48516         (lrint_test_downward): Likewise.
48517         (lrint_test_upward): Likewise.
48518         (llrint_test): Likewise.
48519         (llrint_test_tonearest): Likewise.
48520         (llrint_test_towardzero): Likewise.
48521         (llrint_test_downward): Likewise.
48522         (llrint_test_upward): Likewise.
48523         (log_test): Likewise.
48524         (log10_test): Likewise.
48525         (log1p_test): Likewise.
48526         (log2_test): Likewise.
48527         (logb_test): Likewise.
48528         (logb_test_downward): Likewise.
48529         (lround_test): Likewise.
48530         (llround_test): Likewise.
48531         (modf_test): Likewise.
48532         (nearbyint_test): Likewise.
48533         (nextafter_test): Likewise.
48534         (nexttoward_test): Likewise.
48535         (pow_test): Likewise.
48536         (pow_test_tonearest): Likewise.
48537         (pow_test_towardzero): Likewise.
48538         (pow_test_downward): Likewise.
48539         (pow_test_upward): Likewise.
48540         (remainder_test): Likewise.
48541         (drem_test): Likewise.
48542         (remainder_test_tonearest): Likewise.
48543         (drem_test_tonearest): Likewise.
48544         (remainder_test_towardzero): Likewise.
48545         (drem_test_towardzero): Likewise.
48546         (remainder_test_downward): Likewise.
48547         (drem_test_downward): Likewise.
48548         (remainder_test_upward): Likewise.
48549         (drem_test_upward): Likewise.
48550         (remquo_test): Likewise.
48551         (rint_test): Likewise.
48552         (rint_test_tonearest): Likewise.
48553         (rint_test_towardzero): Likewise.
48554         (rint_test_downward): Likewise.
48555         (rint_test_upward): Likewise.
48556         (round_test): Likewise.
48557         (scalb_test): Likewise.
48558         (scalbn_test): Likewise.
48559         (scalbln_test): Likewise.
48560         (signbit_test): Likewise.
48561         (sin_test): Likewise.
48562         (sin_test_tonearest): Likewise.
48563         (sin_test_towardzero): Likewise.
48564         (sin_test_downward): Likewise.
48565         (sin_test_upward): Likewise.
48566         (sincos_test): Likewise.
48567         (sinh_test): Likewise.
48568         (sinh_test_tonearest): Likewise.
48569         (sinh_test_towardzero): Likewise.
48570         (sinh_test_downward): Likewise.
48571         (sinh_test_upward): Likewise.
48572         (sqrt_test): Likewise.
48573         (sqrt_test_tonearest): Likewise.
48574         (sqrt_test_towardzero): Likewise.
48575         (sqrt_test_downward): Likewise.
48576         (sqrt_test_upward): Likewise.
48577         (tan_test): Likewise.
48578         (tan_test_tonearest): Likewise.
48579         (tan_test_towardzero): Likewise.
48580         (tan_test_downward): Likewise.
48581         (tan_test_upward): Likewise.
48582         (tanh_test): Likewise.
48583         (tgamma_test): Likewise.
48584         (trunc_test): Likewise.
48585         (y0_test): Likewise.
48586         (y1_test): Likewise.
48587         (yn_test): Likewise.
48588         (significand_test): Likewise.
48590         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
48591         individual tests in comment.
48592         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
48593         (prev_max_error): New variable.
48594         (prev_real_max_error): Likewise.
48595         (prev_imag_max_error): Likewise.
48596         (compare_ulp_data): Don't refer to test names in comment.
48597         (find_test_ulps): Remove function.
48598         (find_function_ulps): Likewise.
48599         (find_complex_function_ulps): Likewise.
48600         (init_max_error): Take function name as argument.  Look up ulps
48601         for that function.
48602         (print_ulps): Remove function.
48603         (print_max_error): Use prev_max_error instead of calling
48604         find_function_ulps.
48605         (print_complex_max_error): Use prev_real_max_error and
48606         prev_imag_max_error instead of calling find_complex_function_ulps.
48607         (check_float_internal): Take max_ulp parameter instead of calling
48608         find_test_ulps.  Don't call print_ulps.
48609         (check_float): Update call to check_float_internal.
48610         (check_complex): Update calls to check_float_internal.
48611         (START): Pass argument to init_max_error.
48612         * math/gen-libm-test.pl (%results): Don't include "kind"
48613         information.
48614         (parse_ulps): Don't handle ulps of individual tests.
48615         (print_ulps_file): Likewise.
48616         (output_ulps): Likewise.
48617         * math/README.libm-test: Update.
48618         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
48619         individual tests.
48620         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
48621         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
48622         * sysdeps/arm/libm-test-ulps: Likewise.
48623         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
48624         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
48625         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
48626         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
48627         * sysdeps/microblaze/libm-test-ulps: Likewise.
48628         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
48629         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48630         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48631         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
48632         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48633         * sysdeps/sh/libm-test-ulps: Likewise.
48634         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48635         * sysdeps/tile/libm-test-ulps: Likewise.
48636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48638 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
48640         * math/libm-test.inc (print_complex_max_error): Check separately
48641         whether real and imaginary errors are within allowed range and
48642         pass 0 to print_complex_function_ulps instead of value within
48643         allowed range.
48645 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48647         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
48648         formatting.
48649         (get_handles_fopen): Likewise.
48650         (do_write_test): Likewise.
48652         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
48654         * libio/fileops.c (do_ftell): Use cached offset when
48655         available.
48656         * libio/iofwide.c (do_ftell_wide): Likewise.
48657         * libio/iofdopen.c (_IO_new_fdopen): Don't use
48658         _IO_file_attach.
48659         * libio/wfileops.c (_IO_fwide): Don't cache offset.
48661         [BZ #16532]
48662         * libio/libioP.h (get_file_offset): New function.
48663         * libio/fileops.c (get_file_offset): Likewise.
48664         (do_ftell): Likewise.
48665         (_IO_new_file_seekoff): Split out ftell logic.
48666         * libio/wfileops.c (do_ftell_wide): Likewise.
48667         (_IO_wfile_seekoff): Split out ftell logic.
48668         * libio/tst-ftell-active-handler.c: New test case.
48669         * libio/Makefile (tests): Add it.
48671 2014-03-03  Roland McGrath  <roland@hack.frob.com>
48673         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
48674         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
48676 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48678         [BZ #16639]
48679         * nscd/connections.c (nscd_init): Call do_exit.
48680         (start_threads): Call do_exit and notify_parent.
48681         (begin_drop_privileges): Call do_exit.
48682         (finish_drop_privileges): Likewise.
48683         * nscd/selinux.c (preserve_capabilities): Likewise.
48684         (install_real_capabilities): Likewise.
48685         (nscd_selinux_enabled): Likewise.
48686         (avc_create_thread): Likewise.
48687         (avc_alloc_lock): Likewise.
48688         (nscd_avc_init): Likewise.
48689         * nscd/nscd.c (parent_fd): New static variable.
48690         (main): Create a pipe between parent and child processes.
48691         Skip closing parent_fd.
48692         (monitor_child): New function.
48693         (do_exit): Likewise.
48694         (notify_parent): Likewise.
48695         * nscd/nscd.h (notify_parent): Likewise.
48696         (do_exit): Likewise.
48698 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
48700         * malloc/malloc.c (__libc_calloc): Revert last change.
48702 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48706 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48708         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
48709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
48710         implementation.
48711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48712         (__libc_ifunc_impl_list): Likewise.
48713         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
48714         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
48715         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
48716         * string/strrchr.c: Define STRRCHR.
48718 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
48720         * benchtest/bench-strtok.c (simple_strtok): Delete.
48721         (strtok_string): Use as benchmark.
48722         * string/strtok (STRTOK): New macro.
48724 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
48726         * manual/threads.texi: Add header and standard comments to all
48727         functions.
48729         * elf/dl-lookup.c (check_match): New function.
48730         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
48731         (do_lookup_x): Remove nested function check_match. Use non-nested
48732         function check_match.
48734 2014-02-28  Roland McGrath  <roland@hack.frob.com>
48736         * csu/Makefile (generated, before-compile): Use += rather than =.
48737         * catgets/Makefile (generated, generated-dirs): Likewise.
48738         * debug/Makefile (generated): Likewise.
48739         * dlfcn/Makefile (generated): Likewise.
48740         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
48741         * iconvdata/Makefile (before-compile, generated): Likewise.
48742         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
48743         * libio/Makefile (generated): Likewise.
48744         * malloc/Makefile (generated): Likewise.
48745         * manual/Makefile (generated, generated-dirs): Likewise.
48746         * misc/Makefile (generated): Likewise.
48747         * posix/Makefile (generated): Likewise.
48748         * resolv/Makefile (generated): Likewise.
48749         * sunrpc/Makefile (generated, generated-dirs): Likewise.
48750         * timezone/Makefile (generated, generated-dirs): Likewise.
48752         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
48754 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48756         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48757         power8 implementation.
48758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
48759         file: POWER8 llround ifunc implementation.
48760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
48761         (__lllround): Add POWER8 implementation.
48762         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
48763         POWER8 llround implementation.
48765         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
48766         power8 implementation.
48767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
48768         file: POWER8 llrint ifunc implementation.
48769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
48770         Add POWER8 implementation.
48771         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
48772         POWER8 llrint implementation.
48774         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
48775         power8 implementation.
48776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
48777         file: POWER8 finite ifunc implementation.
48778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
48779         Add POWER8 implementation.
48780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
48781         Likewise.
48782         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
48783         POWER8 finite implementation.
48784         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
48786         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
48787         power8 implementation.
48788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
48789         file: POWER8 isinf ifunc implementation.
48790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
48791         POWER8 implementation.
48792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
48793         Likewise.
48794         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
48795         isinf implementation.
48796         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
48798         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
48799         (INIT_ARCH): Add hwcap2 initialization.
48800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48801         power8 implementation.
48802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
48803         file: POWER8 isnan ifunc implementation.
48804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
48805         POWER8 implementation.
48806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
48807         Likewise.
48808         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
48809         isnan implementation.
48810         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
48812 2014-02-27  Joey Ye  <joey.ye@arm.com>
48814         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48815         (_FP_NANFRAC_Q): Set to zero.
48817 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48819         [BZ #16623]
48820         * math/auto-libm-test-in: New test inputs.
48821         * math/auto-libm-test-out: Regenerate.
48822         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
48823         and DA.
48824         (__cos): Likewise.
48825         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48827 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
48829         * scripts/evaluate-test.sh: Take new argument indicating whether
48830         failure is expected.
48831         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
48832         indicating whether failure is expected.
48833         * conform/Makefile (test-xfail-run-conformtest): New variable.
48834         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
48835         level.
48836         * posix/Makefile (test-xfail-annexc): New variable.
48837         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
48839 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
48841         * argp/Makefile: Include Makeconfig immediately after defining
48842         subdir.
48843         * assert/Makefile: Likewise.
48844         * benchtests/Makefile: Likewise.
48845         * catgets/Makefile: Likewise.
48846         * conform/Makefile: Likewise.
48847         * crypt/Makefile: Likewise.
48848         * csu/Makefile: Likewise.
48849         (all): Remove target.
48850         * ctype/Makefile: Include Makeconfig immediately after defining
48851         subdir.
48852         * debug/Makefile: Likewise.
48853         * dirent/Makefile: Likewise.
48854         * dlfcn/Makefile: Likewise.
48855         * gmon/Makefile: Likewise.
48856         * gnulib/Makefile: Likewise.
48857         * grp/Makefile: Likewise.
48858         * gshadow/Makefile: Likewise.
48859         * hesiod/Makefile: Likewise.
48860         * hurd/Makefile: Likewise.
48861         (all): Remove target.
48862         * iconvdata/Makefile: Include Makeconfig immediately after
48863         defining subdir.
48864         * inet/Makefile: Likewise.
48865         * intl/Makefile: Likewise.
48866         * io/Makefile: Likewise.
48867         * libio/Makefile: Likewise.
48868         (all): Remove target.
48869         * locale/Makefile: Include Makeconfig immediately after defining
48870         subdir.
48871         * login/Makefile: Likewise.
48872         * mach/Makefile: Likewise.
48873         (all): Remove target.
48874         * malloc/Makefile: Include Makeconfig immediately after defining
48875         subdir.
48876         (all): Remove target.
48877         * manual/Makefile: Include Makeconfig immediately after defining
48878         subdir.
48879         * math/Makefile: Likewise.
48880         * misc/Makefile: Likewise.
48881         * nis/Makefile: Likewise.
48882         * nss/Makefile: Likewise.
48883         * po/Makefile: Likewise.
48884         (all): Remove target.
48885         * posix/Makefile: Include Makeconfig immediately after defining
48886         subdir.
48887         * pwd/Makefile: Likewise.
48888         * resolv/Makefile: Likewise.
48889         * resource/Makefile: Likewise.
48890         * rt/Makefile: Likewise.
48891         * setjmp/Makefile: Likewise.
48892         * shadow/Makefile: Likewise.
48893         * signal/Makefile: Likewise.
48894         * socket/Makefile: Likewise.
48895         * soft-fp/Makefile: Likewise.
48896         * stdio-common/Makefile: Likewise.
48897         * stdlib/Makefile: Likewise.
48898         * streams/Makefile: Likewise.
48899         * string/Makefile: Likewise.
48900         * sunrpc/Makefile: Likewise.
48901         (all): Remove target.
48902         * sysvipc/Makefile: Include Makeconfig immediately after defining
48903         subdir.
48904         * termios/Makefile: Likewise.
48905         * time/Makefile: Likewise.
48906         * timezone/Makefile: Likewise.
48907         (all): Remove target.
48908         * wcsmbs/Makefile: Include Makeconfig immediately after defining
48909         subdir.
48910         * wctype/Makefile: Likewise.
48912 2014-02-26  Steve Ellcey  <sellcey@mips.com>
48914         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
48915         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
48916         (libc_feholdexcept_setround_mips): Ditto.
48917         (libc_feholdsetround): New.
48918         (libc_feholdsetroundf): New.
48919         (libc_feholdsetroundl): New.
48920         (libc_feupdateenv_test_mips): New.
48921         (libc_feupdateenv_test): New.
48922         (libc_feupdateenv_testf): New.
48923         (libc_feupdateenv_testl): New.
48924         (libc_feresetround): New.
48925         (libc_feresetroundf): New.
48926         (libc_feresetroundl): New.
48927         (libc_fetestexcept_mips): New.
48928         (libc_fetestexcept): New.
48929         (libc_fetestexceptf): New.
48930         (libc_fetestexceptl): New.
48931         (HAVE_RM_CTX): New.
48932         (libc_feholdexcept_setround_mips_ctx): New.
48933         (libc_feholdexcept_setround_ctx): New.
48934         (libc_feholdexcept_setroundf_ctx): New.
48935         (libc_feholdexcept_setroundl_ctx): New.
48936         (libc_fesetenv_mips_ctx): New.
48937         (libc_fesetenv_ctx): New.
48938         (libc_fesetenv_ctxf): New.
48939         (libc_fesetenv_ctxl): New.
48940         (libc_feupdateenv_mips_ctx): New.
48941         (libc_feupdateenv_ctx): New.
48942         (libc_feupdateenvf_ctx): New.
48943         (libc_feupdateenvl_ctx): New.
48944         (libc_feholdsetround_mips_ctx): New.
48945         (libc_feholdsetround_ctx): New.
48946         (libc_feholdsetroundf_ctx): New.
48947         (libc_feholdsetroundl_ctx): New.
48948         (libc_feresetround_mips_ctx): New.
48949         (libc_feresetround_ctx): New.
48950         (libc_feresetroundf_ctx): New.
48951         (libc_feresetroundl_ctx): New.
48953 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
48955         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
48957         * manual/ipc.texi: New file.
48958         * manual/Makefile (chapters): Add ipc.
48959         * manual/job.texi: Add "Inter-Process Communication" to next.
48960         * manual/process.texi: Add "Inter-Process Communication" to prev.
48962 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48966 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
48968         * malloc/malloc.c (__libc_calloc): Simplify implementation.
48970         * manual/arith.texi: Fix spaces after sentences.
48971         * manual/charset.texi: Likewise.
48972         * manual/errno.texi: Likewise.
48973         * manual/install.texi: Likewise.
48974         * manual/llio.texi: Likewise.
48975         * manual/locale.texi: Likewise.
48976         * manual/maint.texi: Likewise.
48977         * manual/math.texi: Likewise.
48978         * manual/memory.texi: Likewise.
48979         * manual/message.texi: Likewise.
48980         * manual/probes.texi: Likewise.
48981         * manual/resource.texi: Likewise.
48982         * manual/signal.texi: Likewise.
48983         * manual/socket.texi: Likewise.
48984         * manual/stdio.texi: Likewise.
48985         * manual/string.texi: Likewise.
48986         * manual/time.texi: Likewise.
48987         * manual/users.texi: Likewise.
48989 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
48991         [BZ #16632]
48992         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
48993         _DEFAULT_SOURCE is defined.
48995 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
48996             Carlos O'Donell  <carlos@redhat.com>
48998         [BZ #16613]
48999         * elf/dl-tls.c (_dl_count_modids): New function.
49000         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
49001         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
49002         audit library and increment generation counter.
49003         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
49004         * elf/tst-audit9.c: New file.
49005         * elf/tst-auditmod9a.c: New file.
49006         * elf/tst-auditmod9b.c: New file.
49007         * elf/Makefile: Add rules to build and run tst-audit9.
49009 2014-02-25  Florian Weimer  <fweimer@redhat.com>
49011         [BZ #15347]
49012         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
49014 2014-02-25  Will Newton  <will.newton@linaro.org>
49016         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
49017         (__longjmp): Restore sp and lr before restoring callee
49018         saved registers.  Add longjmp and longjmp_target
49019         SystemTap probe point.
49020         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
49021         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
49022         Define to zero to match jmpbuf layout.
49023         * sysdeps/arm/setjmp.S: Include stap-probe.h.
49024         (__sigsetjmp): Save sp and lr before saving callee
49025         saved registers.  Add setjmp SystemTap probe point.
49027 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
49029         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49031 2014-02-24  Andreas Schwab  <schwab@suse.de>
49033         [BZ #15804]
49034         * elf/pldd.c (wait_for_ptrace_stop): New function.
49035         (main): Call it after attaching.
49037 2014-02-22  Roland McGrath  <roland@hack.frob.com>
49039         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
49040         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
49041         Versions files is now verboten.
49042         * hurd/Versions (libc: GLIBC_2.0):
49043         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
49044         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
49045         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
49046         * mach/Versions: Likewise.
49048         * csu/Versions: Remove unused %include.
49049         * resolv/Versions: Likewise.
49051 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
49053         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
49054         ($(objpfx)check-local-headers.out): Likewise.
49055         ($(objpfx)begin-end-check.out): Likewise.
49056         * Makerules (check-abi-%.out): Likewise.
49057         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
49058         ($(objpfx)test2.cat): Likewise.
49059         ($(objpfx)de/libc.cat): Likewise.
49060         ($(objpfx)test-gencat.out): Likewise.
49061         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
49062         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
49063         ($(objpfx)noload-mem): Likewise.
49064         ($(objpfx)tst-pathopt.out): Likewise.
49065         ($(objpfx)tst-rtld-load-self.out): Likewise.
49066         ($(objpfx)tst-array1-cmp.out): Likewise.
49067         ($(objpfx)tst-array1-static-cmp.out): Likewise.
49068         ($(objpfx)tst-array2-cmp.out): Likewise.
49069         ($(objpfx)tst-array3-cmp.out): Likewise.
49070         ($(objpfx)tst-array4-cmp.out): Likewise.
49071         ($(objpfx)tst-array5-cmp.out): Likewise.
49072         ($(objpfx)tst-array5-static-cmp.out): Likewise.
49073         ($(objpfx)check-textrel.out): Likewise.
49074         ($(objpfx)check-execstack.out): Likewise.
49075         ($(objpfx)check-localplt.out): Likewise.
49076         ($(objpfx)order2-cmp.out): Likewise.
49077         ($(objpfx)tst-leaks1-mem): Likewise.
49078         ($(objpfx)tst-leaks1-static-mem): Likewise.
49079         ($(objpfx)tst-initorder-cmp.out): Likewise.
49080         ($(objpfx)tst-initorder2-cmp.out): Likewise.
49081         ($(objpfx)tst-unused-dep.out): Likewise.
49082         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
49083         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
49084         * iconv/Makefile (test-iconvconfig): Likewise.
49085         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
49086         ($(objpfx)iconv-test.out): Likewise.
49087         ($(objpfx)tst-tables.out): Likewise.
49088         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
49089         ($(objpfx)tst-gettext.out): Likewise.
49090         ($(objpfx)tst-translit.out): Likewise.
49091         ($(objpfx)tst-gettext2.out): Likewise.
49092         ($(objpfx)tst-gettext4.out): Likewise.
49093         ($(objpfx)tst-gettext6.out): Likewise.
49094         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
49095         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
49096         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
49097         ($(objpfx)tst-fopenloc-mem.out): Likewise.
49098         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
49099         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
49100         * posix/Makefile ($(objpfx)globtest.out): Likewise.
49101         ($(objpfx)wordexp-tst.out): Likewise.
49102         ($(objpfx)annexc.out): Likewise.
49103         ($(objpfx)tst-fnmatch-mem): Likewise.
49104         ($(objpfx)bug-regex2-mem): Likewise.
49105         ($(objpfx)bug-regex14-mem): Likewise.
49106         ($(objpfx)bug-regex21-mem): Likewise.
49107         ($(objpfx)bug-regex31-mem): Likewise.
49108         ($(objpfx)tst-vfork3-mem): Likewise.
49109         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49110         ($(objpfx)tst-pcre-mem): Likewise.
49111         ($(objpfx)tst-boost-mem): Likewise.
49112         ($(objpfx)tst-getconf.out): Likewise.
49113         ($(objpfx)bug-ga2-mem): Likewise.
49114         ($(objpfx)bug-glob2-mem): Likewise.
49115         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
49116         ($(objpfx)mtrace-tst-leaks2): Likewise.
49117         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
49118         ($(objpfx)tst-printf.out): Likewise.
49119         ($(objpfx)tst-setvbuf1.out): Likewise.
49120         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
49121         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
49122         ($(objpfx)tst-fmtmsg.out): Likewise.
49123         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
49124         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
49126         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
49127         * bits/sigaction.h [__USE_MISC]: Likewise.
49128         * bits/waitstatus.h: Update #endif comments.
49129         * ctype/ctype.h: Likewise.
49130         * dirent/dirent.h: Likewise.
49131         [__USE_MISC]: Remove redundant conditionals.
49132         * grp/grp.h: Update #endif comments.
49133         [__USE_GNU]: Remove redundant conditionals.
49134         [__USE_MISC]: Likewise.
49135         * inet/netinet/in.h [__USE_GNU]: Likewise.
49136         * io/sys/stat.h [__USE_MISC]: Likewise.
49137         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
49138         * libio/bits/stdio.h: Update #endif comments.
49139         [__USE_MISC]: Remove redundant conditionals.
49140         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
49141         * libio/stdio.h: Update #endif comments.
49142         [__USE_MISC]: Remove redundant conditionals.
49143         * math/bits/math-finite.h [__USE_MISC]: Likewise.
49144         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
49145         * math/math.h: Update #else and #endif comments.
49146         [__USE_MISC]: Remove redundant conditionals.
49147         * misc/sys/uio.h: Update #endif comments.
49148         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
49149         * posix/glob.h [__USE_MISC]: Likewise.
49150         * posix/sys/types.h: Update #endif comments.
49151         [__USE_MISC]: Remove redundant conditionals.
49152         * posix/sys/wait.h: Update #endif comments.
49153         [__USE_MISC]: Remove redundant conditionals.
49154         * posix/unistd.h: Update #endif comments.
49155         [__USE_MISC]: Remove redundant conditionals.
49156         * pwd/pwd.h [__USE_GNU]: Likewise.
49157         [__USE_MISC]: Likewise.
49158         * resolv/netdb.h [__USE_GNU]: Likewise.
49159         * signal/signal.h: Update #endif comments.
49160         [__USE_MISC]: Remove redundant conditionals.
49161         * stdlib/stdlib.h: Update #else and #endif comments.
49162         [__USE_MISC]: Remove redundant conditionals.
49163         [__USE_GNU]: Likewise.
49164         * string/bits/string2.h [__USE_MISC]: Likewise.
49165         * string/string.h: Update #endif comments.
49166         [__USE_MISC]: Remove redundant conditionals.
49167         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
49168         Likewise.
49169         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
49170         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
49171         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
49172         Likewise.
49173         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
49174         Likewise.
49175         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
49176         comments.
49177         [__USE_MISC]: Remove redundant conditionals.
49178         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
49179         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
49180         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
49181         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
49182         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
49183         Likewise.
49184         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
49185         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
49186         Likewise.
49187         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
49188         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
49189         Likewise.
49190         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
49191         Likewise.
49192         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
49193         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
49194         Likewise.
49195         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
49196         Likewise.
49197         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
49198         * sysdeps/x86/bits/string.h: Update #endif comments.
49199         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
49200         conditionals.
49201         * time/sys/time.h: Update #endif comments.
49202         * time/time.h: Likewise.
49203         [__USE_MISC]: Remove redundant conditionals.
49205 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
49207         [BZ #16600]
49208         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
49210 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
49212         * Versions.def (librt): Add GLIBC_2.17.
49214 2014-02-21  Adam Conrad  <adconrad@0c3.net>
49216         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
49217         synonym for _SYS_AUXV_H to allow direct inclusion.
49218         * sysdeps/sparc/bits/hwcap.h: Likewise.
49219         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
49220         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
49221         * sysdeps/sparc/sysdep.h: Likewise.
49223 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49225         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
49227 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49229         * benchtests/bench-strrchr.c: Print length instead of position.
49231 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
49233         [BZ #16611]
49234         * sysdeps/unix/sysv/linux/kernel-features.h
49235         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
49236         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
49237         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
49238         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
49239         Likewise.
49240         [__i386__ || __powerpc__ || __sh__ || __sparc__]
49241         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49242         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
49243         (__ASSUME_SENDMMSG): Define instead of using previous
49244         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
49245         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49246         (__ASSUME_SENDMMSG_SYSCALL): Define.
49247         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49248         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
49249         Likewise.
49250         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49251         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49252         Likewise.
49253         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49254         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49255         Likewise.
49256         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
49257         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49258         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49259         [__ASSUME_SENDMMSG]: Change conditionals to
49260         [__ASSUME_SENDMMSG_SOCKETCALL].
49261         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49262         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
49263         Define.
49264         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49265         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
49266         Likewise.
49267         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
49268         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49269         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49270         [!__ASSUME_SENDMMSG]: Change conditional to
49271         [!__ASSUME_SENDMMSG_SOCKETCALL].
49272         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49273         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49274         Define.
49276         [BZ #16610]
49277         * sysdeps/unix/sysv/linux/kernel-features.h
49278         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
49279         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
49280         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
49281         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
49282         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
49283         [__i386__ || __sparc__]
49284         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49285         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
49286         (__ASSUME_RECVMMSG): Define instead of using previous
49287         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
49288         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49289         (__ASSUME_RECVMMSG_SYSCALL): Define.
49290         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49291         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49292         Likewise.
49293         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49294         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49295         Likewise.
49296         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49297         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49298         Likewise.
49299         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
49300         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49301         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49302         [__ASSUME_RECVMMSG]: Change condition to
49303         [__ASSUME_RECVMMSG_SOCKETCALL].
49304         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49305         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49306         Define.
49307         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49308         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49309         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49310         Likewise.
49311         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
49312         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49313         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49314         [!__ASSUME_RECVMMSG]: Change condition to
49315         [!__ASSUME_RECVMMSG_SOCKETCALL].
49316         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49317         (__ASSUME_RECVMMSG_SYSCALL): Define.
49319         [BZ #16609]
49320         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
49321         __powerpc__ || __s390__ || __sh__ || __sparc__]
49322         (__ASSUME_SOCKETCALL): Define.
49323         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
49324         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
49325         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
49326         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
49327         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49328         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
49329         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
49330         (__ASSUME_ACCEPT4): Define instead of using previous
49331         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
49332         __powerpc__ || __sparc__ || __s390__)] condition.
49333         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49334         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49335         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
49336         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49337         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49338         [!__ASSUME_ACCEPT4]: Change condition to
49339         [!__ASSUME_ACCEPT4_SOCKETCALL].
49340         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49341         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
49342         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
49343         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49344         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
49345         __ASSUME_ACCEPT4_SYSCALL.
49346         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
49347         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
49348         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49349         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
49350         __ASSUME_ACCEPT4_SYSCALL.
49351         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
49352         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49353         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49354         [__ASSUME_ACCEPT4]: Change condition to
49355         [__ASSUME_ACCEPT4_SOCKETCALL].
49356         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49357         (__ASSUME_SOCKETCALL): Define.
49358         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
49359         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49360         (__ASSUME_SOCKETCALL): Define.
49361         (__ASSUME_ACCEPT4): Remove.
49362         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
49363         Define.
49364         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49365         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
49366         Likewise.
49367         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49368         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49370         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
49371         macro.
49372         (HWCAP_ARM_LPAE): Likewise.
49373         (HWCAP_ARM_EVTSTRM): Likewise.
49374         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
49375         Add vpfd32, lpae and evtstrm.
49376         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
49377         Increase to 22.
49379 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
49381         * math/auto-libm-test-in: Add tests of clog10.
49382         * math/auto-libm-test-out: Regenerated.
49383         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
49384         * sysdeps/i386/fpu/libm-test-ulps: Update.
49385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49387 2014-02-18  Andreas Schwab  <schwab@suse.de>
49389         [BZ #16574]
49390         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
49391         Store non-zero if the second buffer was newly allocated.
49392         (send_dg): Likewise.
49393         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
49394         to send_vc and send_dg.
49395         (res_nsend): Pass NULL for ansp2_malloced.
49396         * resolv/res_query.c (__libc_res_nquery): Add parameter
49397         answerp2_malloced and pass it down to __libc_res_nsend.
49398         (res_nquery): Pass additional NULL to __libc_res_nquery.
49399         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
49400         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
49401         second answer buffer if answerp2_malloced was set.
49402         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
49403         (__libc_res_nquerydomain): Add parameter
49404         answerp2_malloced and pass it down to __libc_res_nquery.
49405         (res_nquerydomain): Pass additional NULL to
49406         __libc_res_nquerydomain.
49407         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
49408         additional NULL to __libc_res_nsend and __libc_res_nquery.
49409         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
49410         additional NULL to __libc_res_nsearch.
49411         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
49412         parameter of __libc_res_nsearch to check for separately allocated
49413         second buffer.
49414         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
49415         __libc_res_nquery.
49416         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
49417         additional NULL to __libc_res_nquery.
49418         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
49419         __libc_res_nsearch.
49420         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
49421         * include/resolv.h: Update prototypes of __libc_res_nquery,
49422         __libc_res_nsearch, __libc_res_nsend.
49424 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
49426         * math/auto-libm-test-in: Add tests of fma.
49427         * math/auto-libm-test-out: Regenerated.
49428         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
49429         (fma_towardzero_test_data): Likewise.
49430         (fma_downward_test_data): Likewise.
49431         (fma_upward_test_data): Likewise.
49432         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
49433         mpc_mode.
49434         (rounding_modes): Add values for new field.
49435         (func_calc_method): Add value mpfr_fff_f.
49436         (func_calc_desc): Add mpfr_fff_f union field.
49437         (test_function): Add field exact_args.
49438         (FUNC): Add macro argument EXACT_ARGS.
49439         (FUNC_mpfr_f_f): Update call to FUNC.
49440         (FUNC_mpfr_f_f): Likewise.
49441         (FUNC_mpfr_ff_f): Likewise.
49442         (FUNC_mpfr_if_f): Likewise.
49443         (FUNC_mpc_c_f): Likewise.
49444         (FUNC_mpc_c_c): Likewise.
49445         (test_functions): Add fma.  Update calls to FUNC.
49446         (handle_input_arg): Add argument exact_args.
49447         (add_test): Update call to handle_input_arg.
49448         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
49449         (output_for_one_input_case): Update call to calc_generic_results.
49450         Recalculate exact zero results in each rounding mode.
49452         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
49453         non-negative before setting low bit.
49454         * math/auto-libm-test-in: Mark one asin test possibly having
49455         spurious underflow.
49456         * math/auto-libm-test-out: Regenerated.
49457         * sysdeps/i386/fpu/libm-test-ulps: Update.
49458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49460 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
49462         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
49463         * sysdeps/unix/sysv/linux/microblaze: Move directory from
49464         ports/sysdeps/unix/sysv/linux/microblaze.
49465         * README: Add missing listing for microblaze*-*-linux-gnu.
49467 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
49469         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
49470         duplicate code
49472 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
49474         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
49475         * sysdeps/unix/sysv/linux/ia64: Move directory from
49476         ports/sysdeps/unix/sysv/linux/ia64.
49477         * README: Update listing for ia64-*-linux-gnu.
49479 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
49480             Joseph Myers  <joseph@codesourcery.com>
49482         * Makeconfig (test-name): New variable.
49483         (evaluate-test): Likewise.
49484         * Makerules (do-test-clean): Remove .test-result files.
49485         (common-mostlyclean): Likewise.
49486         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
49487         * scripts/evaluate-test.sh: New file.
49489 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
49491         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
49492         separate $(objpfx)tst-fopenloc-cmp.out and
49493         $(objpfx)tst-fopenloc-mem.out targets.
49494         (tests): Update dependencies.
49495         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
49496         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
49497         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
49498         (tst-rxspencer-no-utf8-ARGS): New variable.
49499         (tst-rxspencer-no-utf8-ENV): Likewise.
49500         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
49501         instead of $(objpfx)tst-rxspencer-mem.
49502         ($(objpfx)tst-rxspencer-mem): Change target to
49503         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
49504         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
49505         * posix/tst-rxspencer-no-utf8.c: New file.
49507         * elf/Makefile ($(objpfx)order.out): Remove rule.
49508         [$(run-built-tests) = yes] (tests): Depend on
49509         $(objpfx)order-cmp.out.
49510         ($(objpfx)order-cmp.out): New rule.
49511         [$(run-built-tests) = yes] (tests): Depend on
49512         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
49513         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
49514         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
49515         $(objpfx)tst-array5-static-cmp.out.
49516         ($(objpfx)tst-array1.out): Remove rule.
49517         ($(objpfx)tst-array1-cmp.out): New rule.
49518         ($(objpfx)tst-array1-static.out): Remove rule.
49519         ($(objpfx)tst-array1-static-cmp.out): New rule.
49520         ($(objpfx)tst-array2.out): Remove rule.
49521         ($(objpfx)tst-array2-cmp.out): New rule.
49522         ($(objpfx)tst-array3.out): Remove rule.
49523         ($(objpfx)tst-array3-cmp.out): New rule.
49524         ($(objpfx)tst-array4.out): Remove rule.
49525         ($(objpfx)tst-array4-cmp.out): New rule.
49526         ($(objpfx)tst-array5.out): Remove rule.
49527         ($(objpfx)tst-array5-cmp.out): New rule.
49528         ($(objpfx)tst-array5-static.out): Remove rule.
49529         ($(objpfx)tst-array5-static-cmp.out): New rule.
49530         [$(run-built-tests) = yes] (tests): Depend on
49531         $(objpfx)order2-cmp.out.
49532         ($(objpfx)order2.out): Remove rule.
49533         ($(objpfx)order2-cmp.out): New rule.
49534         ($(objpfx)tst-initorder.out): Remove rule.
49535         [$(run-built-tests) = yes] (tests): Depend on
49536         $(objpfx)tst-initorder-cmp.out.
49537         ($(objpfx)tst-initorder-cmp.out): New rule.
49538         ($(objpfx)tst-initorder2.out): Remove rule.
49539         [$(run-built-tests) = yes] (tests): Depend on
49540         $(objpfx)tst-initorder2-cmp.out.
49541         ($(objpfx)tst-initorder2-cmp.out): New rule.
49542         [$(run-built-tests) = yes] (tests): Depend on
49543         $(objpfx)tst-unused-dep-cmp.out.
49544         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
49545         ($(objpfx)tst-unused-dep-cmp.out): New rule.
49546         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
49547         on $(objpfx)tst-setvbuf1-cmp.out.
49548         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
49549         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
49550         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
49551         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
49552         ($(objpfx)tst-svc.out): Remove rule.
49553         ($(objpfx)tst-svc-cmp.out): New rule.
49555 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
49557         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
49558         * ctype/ctype.h [__USE_MISC]: Likewise.
49559         * dirent/dirent.h [__USE_MISC]: Likewise.
49560         * grp/grp.h [__USE_MISC]: Likewise.
49561         * io/fcntl.h [__USE_MISC]: Likewise.
49562         * io/sys/stat.h [__USE_MISC]: Likewise.
49563         * libio/stdio.h [__USE_MISC]: Likewise.
49564         * posix/unistd.h [__USE_MISC]: Likewise.
49565         * pwd/pwd.h [__USE_MISC]: Likewise.
49566         * stdlib.h [__USE_MISC]: Likewise.
49567         * string/bits/string2.h [__USE_MISC]: Likewise.
49568         * string/string.h [__USE_MISC]: Likewise.
49569         * time/time.h [__USE_MISC]: Likewise.
49571 2014-02-13  Andreas Schwab  <schwab@suse.de>
49573         [BZ #16574]
49574         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
49575         second answer buffer if it was separately allocated.
49577 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
49579         * sysdeps/mips/math-tests.h: Include <features.h>.
49580         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49581         (ROUNDING_TESTS_long_double): Do not define.
49582         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49583         (EXCEPTION_TESTS_long_double): Likewise.
49584         * sysdeps/mips/mips64/libm-test-ulps: Update.
49586         * include/features.h (__USE_BSD): Remove macro definitions.
49587         (__USE_SVID): Likewise.
49588         (_BSD_SOURCE): Likewise.
49589         (_SVID_SOURCE): Likewise.
49590         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
49591         from definition of _DEFAULT_SOURCE.
49592         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
49593         [_DEFAULT_SOURCE].
49594         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
49595         * bits/mman.h [__USE_BSD]: Likewise.
49596         * bits/termios.h [__USE_BSD]: Likewise.
49597         * bits/waitstatus.h [__USE_BSD]: Likewise.
49598         * ctype/ctype.h [__USE_SVID]: Likewise.
49599         * dirent/dirent.h [__USE_BSD]: Likewise.
49600         * grp/grp.h [__USE_SVID]: Likewise.
49601         [__USE_BSD]: Likewise.
49602         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
49603         * io/fcntl.h [__USE_BSD]: Likewise.
49604         * io/ftw.h [__USE_BSD]: Likewise.
49605         * io/sys/stat.h [__USE_BSD]: Likewise.
49606         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
49607         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
49608         * libio/stdio.h [__USE_SVID]: Likewise.
49609         [__USE_BSD]: Likewise.
49610         * math/math.h [__USE_SVID]: Likewise.
49611         [__USE_BSD]: Likewise.
49612         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
49613         * misc/bits/syslog.h [__USE_BSD]: Likewise.
49614         * misc/search.h [__USE_SVID]: Likewise.
49615         * misc/sys/mman.h [__USE_BSD]: Likewise.
49616         * misc/sys/syslog.h [__USE_BSD]: Likewise.
49617         * misc/sys/uio.h [__USE_BSD]: Likewise.
49618         * posix/bits/unistd.h [__USE_BSD]: Likewise.
49619         * posix/glob.h [__USE_BSD]: Likewise.
49620         * posix/regex.h [__USE_BSD]: Likewise.
49621         * posix/sys/types.h [__USE_BSD]: Likewise.
49622         [__USE_SVID]: Likewise.
49623         * posix/sys/utsname.h [__USE_SVID]: Likewise.
49624         * posix/sys/wait.h [__USE_BSD]: Likewise.
49625         [__USE_SVID]: Likewise.
49626         * posix/unistd.h [__USE_BSD]: Likewise.
49627         [__USE_SVID]: Likewise.
49628         * pwd/pwd.h [__USE_SVID]: Likewise.
49629         * resolv/netdb.h [__USE_BSD]: Likewise.
49630         * setjmp/setjmp.h [__USE_BSD]: Likewise.
49631         * signal/signal.h [__USE_BSD]: Likewise.
49632         [__USE_SVID]: Likewise.
49633         * socket/sys/socket.h [__USE_BSD]: Likewise.
49634         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
49635         * stdlib/stdlib.h [__USE_BSD]: Likewise.
49636         [__USE_SVID]: Likewise.
49637         * string/bits/string2.h [__USE_BSD]: Likewise.
49638         [__USE_SVID]: Likewise.
49639         * string/bits/string3.h [__USE_BSD]: Likewise.
49640         * string/endian.h [__USE_BSD]: Likewise.
49641         * string/string.h [__USE_SVID]: Likewise.
49642         [__USE_BSD]: Likewise.
49643         * string/strings.h [__USE_BSD]: Likewise.
49644         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
49645         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
49646         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
49647         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
49648         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
49649         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
49650         Likewise.
49651         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
49652         Likewise.
49653         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
49654         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
49655         Likewise.
49656         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
49657         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
49658         Likewise.
49659         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
49660         Likewise.
49661         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
49662         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
49663         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
49664         Likewise.
49665         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
49666         Likewise.
49667         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
49668         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
49669         * termios/termios.h [__USE_BSD]: Likewise.
49670         * time/sys/time.h [__USE_BSD]: Likewise.
49671         * time/time.h [__USE_BSD]: Likewise.
49672         [__USE_SVID]: Likewise.
49674         * Makefile (subdir_targets): Remove subdir_lint.out.
49676         * stdio-common/Makefile (do-tst-unbputc): Remove target.
49677         (do-tst-printf): Likewise.
49678         (tests): Depend directly on $(objpfx)tst-unbputc.out and
49679         $(objpfx)tst-printf.out.
49681         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
49683         * Makerules (check-abi-%): Change target to
49684         $(objpfx)check-abi-%.out.
49685         (check-abi target): Update dependencies.
49686         (check-abi-pattern variable): Redirect output of diff to $@.
49687         (check-abi variable): Likewise.
49688         * elf/Makefile (check-abi): Update dependencies.
49690         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
49691         unused.
49692         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
49693         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
49694         subnormal range.
49695         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
49696         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
49697         value has largest subnormal exponent.
49698         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
49699         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
49700         * sysdeps/aarch64/soft-fp/sfp-machine.h
49701         (_FP_TININESS_AFTER_ROUNDING): New macro.
49702         * sysdeps/alpha/soft-fp/sfp-machine.h
49703         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49704         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49705         Likewise.
49706         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
49707         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49708         * sysdeps/mips/soft-fp/sfp-machine.h
49709         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49710         * sysdeps/powerpc/soft-fp/sfp-machine.h
49711         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49712         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49713         Likewise.
49714         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49715         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49716         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49717         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49718         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49719         Likewise.
49721 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
49723         [BZ #16545]
49724         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
49725         model 1.
49727 2014-02-12  Richard Henderson  <rth@redhat.com>
49729         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
49730         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
49731         * sysdeps/unix/sysv/linux/alpha: Move directory from
49732         ports/sysdeps/unix/sysv/linux/alpha.
49733         * README: Update listing for alpha-*-linux-gnu.
49735 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
49737         * include/features.h: Update comment documenting feature test
49738         macros.
49739         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
49740         _DEFAULT_SOURCE.
49741         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
49742         (_SVID_SOURCE): Likewise.
49743         (_DEFAULT_SOURCE): Update description of default features.
49744         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
49745         with _GNU_SOURCE.
49746         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
49747         (S_ISVTX): Likewise.
49748         * manual/math.texi (Mathematical Constants): Likewise.
49749         * manual/signal.texi (Interrupted Primitives): Likewise.
49750         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
49751         * math/test-matherr.c (_SVID_SOURCE): Do not define.
49752         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
49753         Don't refer to _SVID_SOURCE in warning text.
49755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49757         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
49758         already defined.
49759         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
49760         * sysdeps/mips/dl-lookup.c: Remove.
49761         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
49763 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49765         [BZ #16447]
49766         * math/auto-libm-test-in: Add testcase for expl.
49767         * math/auto-libm-test-out: Regenerate.
49768         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
49769         calculation of unsafe.
49770         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
49772 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49774         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
49775         * sysdeps/unix/sysv/linux/aarch64: Move directory from
49776         ports/sysdeps/unix/sysv/linux/aarch64.
49777         * README: Update listing for aarch64*-*-linux-gnu.
49779 2014-02-11  Will Newton  <will.newton@linaro.org>
49781         * manual/probes.texi (Mathematical Function Probes): Use
49782         "triggered" instead of "hit".
49784         * manual/probes.texi (Internal Probes): Add documentation
49785         of setjmp, longjmp and longjmp_target probes.
49787         * include/stap-probe.h: Add comment about probe argument
49788         format.
49790         * malloc/mtrace.c (attribute_hidden): Remove unused macro
49791         definition.  (tr_where, tr_freehook, tr_mallochook,
49792         tr_reallochook, tr_memalignhook): Use ANSI protoype.
49794 2014-02-11  David S. Miller  <davem@davemloft.net>
49796         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
49797         processing int_tests.
49799 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
49801         * sysdeps/mips: Move directory from ports/sysdeps/mips.
49802         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
49803         * sysdeps/unix/sysv/linux/mips: Move directory from
49804         ports/sysdeps/unix/sysv/linux/mips.
49805         * README: Update listing for mips-*-linux-gnu and
49806         mips64-*-linux-gnu.
49808 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
49810         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
49811         * sysdeps/unix/sysv/linux/m68k: Move directory from
49812         ports/sysdeps/unix/sysv/linux/m68k.
49813         * README: Update listing for m68k-*-linux-gnu.
49815 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
49817         * sysdeps/tile: Move directory from ports/sysdeps/tile.
49818         * sysdeps/unix/sysv/linux/generic: Move directory from
49819         ports/sysdeps/unix/sysv/linux/generic.
49820         * sysdeps/unix/sysv/linux/tile: Move directory from
49821         ports/sysdeps/unix/sysv/linux/tile.
49822         * README: Update listing for tile*-*-linux-gnu.
49824 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
49826         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
49827         __builtin_expect.
49828         * benchtests/bench-memmem.c (simple_memmem): Likewise.
49829         * catgets/open_catalog.c (__open_catalog): Likewise.
49830         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
49831         * debug/confstr_chk.c: Likewise.
49832         * debug/fread_chk.c (__fread_chk): Likewise.
49833         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
49834         * debug/getgroups_chk.c: Likewise.
49835         * debug/mbsnrtowcs_chk.c: Likewise.
49836         * debug/mbsrtowcs_chk.c: Likewise.
49837         * debug/mbstowcs_chk.c: Likewise.
49838         * debug/memcpy_chk.c: Likewise.
49839         * debug/memmove_chk.c: Likewise.
49840         * debug/mempcpy_chk.c: Likewise.
49841         * debug/memset_chk.c: Likewise.
49842         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49843         * debug/strcat_chk.c (__strcat_chk): Likewise.
49844         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
49845         * debug/strncat_chk.c (__strncat_chk): Likewise.
49846         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
49847         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
49848         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
49849         * debug/wcpncpy_chk.c: Likewise.
49850         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49851         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
49852         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
49853         * debug/wcsncpy_chk.c: Likewise.
49854         * debug/wcsnrtombs_chk.c: Likewise.
49855         * debug/wcsrtombs_chk.c: Likewise.
49856         * debug/wcstombs_chk.c: Likewise.
49857         * debug/wmemcpy_chk.c: Likewise.
49858         * debug/wmemmove_chk.c: Likewise.
49859         * debug/wmempcpy_chk.c: Likewise.
49860         * debug/wmemset_chk.c: Likewise.
49861         * dirent/scandirat.c (SCANDIRAT): Likewise.
49862         * dlfcn/dladdr1.c (dladdr1): Likewise.
49863         * dlfcn/dladdr.c (dladdr): Likewise.
49864         * dlfcn/dlclose.c (dlclose_doit): Likewise.
49865         * dlfcn/dlerror.c (__dlerror): Likewise.
49866         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
49867         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
49868         * dlfcn/dlopen.c (dlopen_doit): Likewise.
49869         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
49870         * dlfcn/dlsym.c (dlsym_doit): Likewise.
49871         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
49872         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
49873         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
49874         Likewise.
49875         * elf/dl-conflict.c: Likewise.
49876         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
49877         * elf/dl-dst.h: Likewise.
49878         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
49879         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
49880         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
49881         * elf/dl-init.c (call_init, _dl_init): Likewise.
49882         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
49883         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
49884         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
49885         Likewise.
49886         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
49887         Likewise.
49888         * elf/dl-minimal.c (__libc_memalign): Likewise.
49889         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
49890         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49891         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
49892         * elf/dl-sym.c (do_sym): Likewise.
49893         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
49894         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
49895         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
49896         * elf/dl-writev.h (_dl_writev): Likewise.
49897         * elf/ldconfig.c (search_dir): Likewise.
49898         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
49899         (dl_main): Likewise.
49900         * elf/setup-vdso.h (setup_vdso): Likewise.
49901         * grp/compat-initgroups.c (compat_call): Likewise.
49902         * grp/fgetgrent.c (fgetgrent): Likewise.
49903         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
49904         * grp/putgrent.c (putgrent): Likewise.
49905         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49906         Likewise.
49907         * hurd/hurdinit.c: Likewise.
49908         * iconvdata/8bit-gap.c (struct): Likewise.
49909         * iconvdata/ansi_x3.110.c : Likewise.
49910         * iconvdata/big5.c : Likewise.
49911         * iconvdata/big5hkscs.c : Likewise.
49912         * iconvdata/cp1255.c: Likewise.
49913         * iconvdata/cp1258.c : Likewise.
49914         * iconvdata/cp932.c : Likewise.
49915         * iconvdata/euc-cn.c: Likewise.
49916         * iconvdata/euc-jisx0213.c : Likewise.
49917         * iconvdata/euc-jp.c: Likewise.
49918         * iconvdata/euc-jp-ms.c : Likewise.
49919         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
49920         * iconvdata/gb18030.c : Likewise.
49921         * iconvdata/gbbig5.c (const): Likewise.
49922         * iconvdata/gbgbk.c: Likewise.
49923         * iconvdata/gbk.c : Likewise.
49924         * iconvdata/ibm1364.c : Likewise.
49925         * iconvdata/ibm930.c : Likewise.
49926         * iconvdata/ibm932.c: Likewise.
49927         * iconvdata/ibm933.c : Likewise.
49928         * iconvdata/ibm935.c : Likewise.
49929         * iconvdata/ibm937.c : Likewise.
49930         * iconvdata/ibm939.c : Likewise.
49931         * iconvdata/ibm943.c: Likewise.
49932         * iconvdata/iso_11548-1.c: Likewise.
49933         * iconvdata/iso-2022-cn.c : Likewise.
49934         * iconvdata/iso-2022-cn-ext.c : Likewise.
49935         * iconvdata/iso-2022-jp-3.c: Likewise.
49936         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
49937         * iconvdata/iso-2022-kr.c : Likewise.
49938         * iconvdata/iso646.c (gconv_end): Likewise.
49939         * iconvdata/iso_6937-2.c : Likewise.
49940         * iconvdata/iso_6937.c : Likewise.
49941         * iconvdata/iso8859-1.c: Likewise.
49942         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
49943         * iconvdata/shift_jisx0213.c : Likewise.
49944         * iconvdata/sjis.c : Likewise.
49945         * iconvdata/t.61.c : Likewise.
49946         * iconvdata/tcvn5712-1.c : Likewise.
49947         * iconvdata/tscii.c: Likewise.
49948         * iconvdata/uhc.c : Likewise.
49949         * iconvdata/unicode.c (gconv_end): Likewise.
49950         * iconvdata/utf-16.c (gconv_end): Likewise.
49951         * iconvdata/utf-32.c (gconv_end): Likewise.
49952         * iconvdata/utf-7.c (base64): Likewise.
49953         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
49954         * iconv/gconv_close.c (__gconv_close): Likewise.
49955         * iconv/gconv_open.c (__gconv_open): Likewise.
49956         * iconv/gconv_simple.c (internal_ucs4_loop_single)
49957         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
49958         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
49959         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
49960         (ucs4le_internal_loop_single): Likewise.
49961         * iconv/iconv.c (iconv): Likewise.
49962         * iconv/iconv_close.c: Likewise.
49963         * iconv/loop.c (SINGLE): Likewise.
49964         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
49965         * include/atomic.h: Likewise.
49966         * inet/inet6_option.c (option_alloc): Likewise.
49967         * intl/bindtextdom.c (set_binding_values): Likewise.
49968         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
49969         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
49970         * intl/localealias.c (read_alias_file): Likewise.
49971         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
49972         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
49973         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
49974         * libio/fmemopen.c (fmemopen): Likewise.
49975         * libio/iofgets.c (_IO_fgets): Likewise.
49976         * libio/iofgets_u.c (fgets_unlocked): Likewise.
49977         * libio/iofgetws.c (fgetws): Likewise.
49978         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
49979         * libio/iogetdelim.c (_IO_getdelim): Likewise.
49980         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
49981         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
49982         * locale/findlocale.c (_nl_find_locale): Likewise.
49983         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
49984         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
49985         Likewise.
49986         * locale/setlocale.c (setlocale): Likewise.
49987         * login/programs/pt_chown.c (main): Likewise.
49988         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
49989         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
49990         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
49991         (mmap, mmap64, mremap, munmap): Likewise.
49992         * math/e_exp2l.c: Likewise.
49993         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
49994         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
49995         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
49996         * math/s_catan.c (__catan): Likewise.
49997         * math/s_catanf.c (__catanf): Likewise.
49998         * math/s_catanh.c (__catanh): Likewise.
49999         * math/s_catanhf.c (__catanhf): Likewise.
50000         * math/s_catanhl.c (__catanhl): Likewise.
50001         * math/s_catanl.c (__catanl): Likewise.
50002         * math/s_ccosh.c (__ccosh): Likewise.
50003         * math/s_ccoshf.c (__ccoshf): Likewise.
50004         * math/s_ccoshl.c (__ccoshl): Likewise.
50005         * math/s_cexp.c (__cexp): Likewise.
50006         * math/s_cexpf.c (__cexpf): Likewise.
50007         * math/s_cexpl.c (__cexpl): Likewise.
50008         * math/s_clog10.c (__clog10): Likewise.
50009         * math/s_clog10f.c (__clog10f): Likewise.
50010         * math/s_clog10l.c (__clog10l): Likewise.
50011         * math/s_clog.c (__clog): Likewise.
50012         * math/s_clogf.c (__clogf): Likewise.
50013         * math/s_clogl.c (__clogl): Likewise.
50014         * math/s_csin.c (__csin): Likewise.
50015         * math/s_csinf.c (__csinf): Likewise.
50016         * math/s_csinh.c (__csinh): Likewise.
50017         * math/s_csinhf.c (__csinhf): Likewise.
50018         * math/s_csinhl.c (__csinhl): Likewise.
50019         * math/s_csinl.c (__csinl): Likewise.
50020         * math/s_csqrt.c (__csqrt): Likewise.
50021         * math/s_csqrtf.c (__csqrtf): Likewise.
50022         * math/s_csqrtl.c (__csqrtl): Likewise.
50023         * math/s_ctan.c (__ctan): Likewise.
50024         * math/s_ctanf.c (__ctanf): Likewise.
50025         * math/s_ctanh.c (__ctanh): Likewise.
50026         * math/s_ctanhf.c (__ctanhf): Likewise.
50027         * math/s_ctanhl.c (__ctanhl): Likewise.
50028         * math/s_ctanl.c (__ctanl): Likewise.
50029         * math/w_pow.c: Likewise.
50030         * math/w_powf.c: Likewise.
50031         * math/w_powl.c: Likewise.
50032         * math/w_scalb.c (sysv_scalb): Likewise.
50033         * math/w_scalbf.c (sysv_scalbf): Likewise.
50034         * math/w_scalbl.c (sysv_scalbl): Likewise.
50035         * misc/error.c (error_tail): Likewise.
50036         * misc/pselect.c (__pselect): Likewise.
50037         * nis/nis_callback.c (__nis_create_callback): Likewise.
50038         * nis/nis_call.c (__nisfind_server): Likewise.
50039         * nis/nis_creategroup.c (nis_creategroup): Likewise.
50040         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
50041         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
50042         * nis/nis_getservlist.c (nis_getservlist): Likewise.
50043         * nis/nis_lookup.c (nis_lookup): Likewise.
50044         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
50045         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
50046         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
50047         * nis/nis_xdr.c (xdr_endpoint): Likewise.
50048         * nis/nss_compat/compat-grp.c (getgrent_next_file)
50049         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
50050         * nis/nss_compat/compat-initgroups.c (add_group)
50051         (internal_getgrent_r): Likewise.
50052         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
50053         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
50054         * nis/nss_compat/compat-spwd.c (getspent_next_file)
50055         (internal_getspnam_r): Likewise.
50056         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
50057         (_nss_nis_getaliasbyname_r): Likewise.
50058         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
50059         (_nss_nis_getntohost_r): Likewise.
50060         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
50061         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
50062         (_nss_nis_getgrgid_r): Likewise.
50063         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
50064         (internal_nis_gethostent_r, internal_gethostbyname2_r)
50065         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
50066         (_nss_nis_gethostbyname4_r): Likewise.
50067         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
50068         (initgroups_netid): Likewise.
50069         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
50070         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
50071         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
50072         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
50073         (_nss_nis_getprotobynumber_r): Likewise.
50074         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
50075         (_nss_nis_getsecretkey): Likewise.
50076         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
50077         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
50078         (_nss_nis_getpwuid_r): Likewise.
50079         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
50080         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
50081         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
50082         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
50083         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
50084         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
50085         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
50086         Likewise.
50087         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
50088         (_nss_nisplus_getntohost_r): Likewise.
50089         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
50090         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
50091         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
50092         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
50093         Likewise.
50094         * nis/nss_nisplus/nisplus-initgroups.c
50095         (_nss_nisplus_initgroups_dyn): Likewise.
50096         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
50097         (_nss_nisplus_getnetbyaddr_r): Likewise.
50098         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
50099         (_nss_nisplus_getprotobynumber_r): Likewise.
50100         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
50101         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
50102         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
50103         Likewise.
50104         * nis/nss_nisplus/nisplus-service.c
50105         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
50106         (_nss_nisplus_getservbyport_r): Likewise.
50107         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
50108         (_nss_nisplus_getspnam_r): Likewise.
50109         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
50110         Likewise.
50111         * nscd/aicache.c (addhstaiX): Likewise.
50112         * nscd/cache.c (cache_search, prune_cache): Likewise.
50113         * nscd/connections.c (register_traced_file, send_ro_fd)
50114         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
50115         (main_loop_epoll): Likewise.
50116         * nscd/grpcache.c (addgrbyX): Likewise.
50117         * nscd/hstcache.c (addhstbyX): Likewise.
50118         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50119         * nscd/mem.c (gc, mempool_alloc): Likewise.
50120         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
50121         (addinnetgrX): Likewise.
50122         * nscd/nscd-client.h (__nscd_acquire_maplock)
50123         (__nscd_drop_map_ref): Likewise.
50124         * nscd/nscd_getai.c (__nscd_getai): Likewise.
50125         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
50126         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
50127         Likewise.
50128         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
50129         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50130         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
50131         (__nscd_get_map_ref): Likewise.
50132         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
50133         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
50134         Likewise.
50135         * nscd/pwdcache.c (addpwbyX): Likewise.
50136         * nscd/selinux.c (preserve_capabilities): Likewise.
50137         * nscd/servicescache.c (addservbyX): Likewise.
50138         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
50139         * posix/fnmatch.c (fnmatch): Likewise.
50140         * posix/getopt.c (_getopt_internal_r): Likewise.
50141         * posix/glob.c (glob, glob_in_dir): Likewise.
50142         * posix/wordexp.c (exec_comm_child): Likewise.
50143         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
50144         (getanswer_r, gaih_getanswer_slice): Likewise.
50145         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
50146         * resolv/res_init.c: Likewise.
50147         * resolv/res_mkquery.c (res_nmkquery): Likewise.
50148         * resolv/res_query.c (__libc_res_nquery): Likewise.
50149         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
50150         Likewise.
50151         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
50152         * stdio-common/perror.c (perror): Likewise.
50153         * stdio-common/printf_fp.c (___printf_fp): Likewise.
50154         * stdio-common/tmpnam.c (tmpnam): Likewise.
50155         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50156         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
50157         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
50158         Likewise.
50159         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
50160         * stdlib/putenv.c (putenv): Likewise.
50161         * stdlib/setenv.c (__add_to_environ): Likewise.
50162         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50163         * stdlib/strtol_l.c (INTERNAL): Likewise.
50164         * string/memmem.c (memmem): Likewise.
50165         * string/strerror.c (strerror): Likewise.
50166         * string/strnlen.c (__strnlen): Likewise.
50167         * string/test-memmem.c (simple_memmem): Likewise.
50168         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
50169         * sunrpc/pm_getport.c (__get_socket): Likewise.
50170         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
50171         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
50172         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
50173         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
50174         Likewise.
50175         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
50176         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
50177         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
50178         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
50179         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
50180         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
50181         Likewise.
50182         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
50183         Likewise.
50184         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
50185         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
50186         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50187         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
50188         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
50189         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
50190         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50191         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
50192         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
50193         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
50194         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50195         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
50196         Likewise.
50197         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
50198         Likewise.
50199         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
50200         Likewise.
50201         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
50202         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50203         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
50204         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
50205         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
50206         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
50207         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50208         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
50209         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
50210         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
50211         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
50212         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50213         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50214         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
50215         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50216         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
50217         Likewise.
50218         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
50219         Likewise.
50220         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
50221         Likewise.
50222         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
50223         Likewise.
50224         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50225         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50226         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
50227         Likewise.
50228         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
50229         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
50230         * sysdeps/posix/opendir.c (__opendirat): Likewise.
50231         * sysdeps/posix/sleep.c: Likewise.
50232         * sysdeps/posix/tempname.c: Likewise.
50233         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
50234         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50235         Likewise.
50236         * sysdeps/powerpc/powerpc32/dl-machine.h
50237         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
50238         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50239         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50240         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
50241         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
50242         Likewise.
50243         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
50244         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
50245         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50246         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
50247         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50248         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
50249         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
50250         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
50251         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50252         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
50253         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
50254         (elf_machine_lazy_rel): Likewise.
50255         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50256         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
50257         (elf_machine_lazy_rel): Likewise.
50258         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
50259         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
50260         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
50261         * sysdeps/unix/grantpt.c (grantpt): Likewise.
50262         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
50263         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
50264         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
50265         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50266         Likewise.
50267         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
50268         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
50269         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
50270         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
50271         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50272         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50273         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
50274         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
50275         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
50276         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50277         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50278         Likewise.
50279         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
50280         (__posix_fallocate64_l64): Likewise.
50281         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
50282         (posix_fallocate): Likewise.
50283         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
50284         Likewise.
50285         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50286         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
50287         (getifaddrs_internal): Likewise.
50288         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
50289         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
50290         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
50291         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
50292         * sysdeps/unix/sysv/linux/posix_fallocate64.c
50293         (__posix_fallocate64_l64): Likewise.
50294         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
50295         Likewise.
50296         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
50297         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
50298         (__get_clockfreq): Likewise.
50299         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
50300         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
50301         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
50302         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50303         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50304         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
50305         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
50306         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
50307         Likewise.
50308         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
50309         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
50310         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
50311         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
50312         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50313         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
50314         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
50315         Likewise.
50316         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50317         (posix_fallocate): Likewise.
50318         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50319         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
50320         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
50321         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
50322         (elf_machine_rela, elf_machine_rela_relative)
50323         (elf_machine_lazy_rel): Likewise.
50324         * time/asctime.c (asctime_internal): Likewise.
50325         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
50326         * time/tzset.c (__tzset_parse_tz): Likewise.
50327         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
50328         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
50329         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
50330         * wcsmbs/wcsmbsload.h: Likewise.
50332         [BZ #15894]
50333         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
50335         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
50336         (arena_get2): Remove THREAD_STATS conditionals.
50337         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
50338         (__malloc_stats, int): Likewise.
50340 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
50342         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
50343         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
50345         * manual/setjmp.texi: Fix typos/grammar errors.
50347         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
50348         Only return early when n is <= 0.  Delete unused return statement.
50350         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
50351         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
50352         * debug/tst-longjmp_chk3.c: New file.
50354         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
50355         (test_main): Replace code with set_fortify_handler call.
50356         * debug/test-strcpy_chk.c: Likewise.
50357         * debug/tst-chk1.c: Likewise.
50358         * debug/tst-longjmp_chk.c: Likewise.
50359         * test-skeleton.c: Include fcntl.h & paths.h
50360         (set_fortify_handler): Define.
50362         * debug/tst-longjmp_chk.c: Add header comment and include
50363         ../test-skeleton.c.
50364         (do_test): Mark static.
50365         (TEST_FUNCTION): Define.
50367         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
50368         (IP_PMTUDISC_INTERFACE): Likewise.
50369         (IP_MULTICAST_IF): Likewise.
50370         (IP_MULTICAST_TTL): Likewise.
50371         (IP_MULTICAST_LOOP): Likewise.
50372         (IP_ADD_MEMBERSHIP): Likewise.
50373         (IP_DROP_MEMBERSHIP): Likewise.
50374         (IP_UNBLOCK_SOURCE): Likewise.
50375         (IP_BLOCK_SOURCE): Likewise.
50376         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
50377         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
50378         (IP_MSFILTER): Likewise.
50379         (MCAST_JOIN_GROUP): Likewise.
50380         (MCAST_BLOCK_SOURCE): Likewise.
50381         (MCAST_UNBLOCK_SOURCE): Likewise.
50382         (MCAST_LEAVE_GROUP): Likewise.
50383         (MCAST_JOIN_SOURCE_GROUP): Likewise.
50384         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
50385         (MCAST_MSFILTER): Likewise.
50386         (IP_MULTICAST_ALL): Likewise.
50387         (IP_UNICAST_IF): Likewise.
50389         * timezone/Makefile: Delete $(have-ksh) check.
50390         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
50391         * timezone/tzselect.ksh: Add +x mode bits.
50393         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
50394         (ANON_INODE_FS_MAGIC): Likewise.
50395         (BDEVFS_MAGIC): Likewise.
50396         (BINFMTFS_MAGIC): Likewise.
50397         (BTRFS_TEST_MAGIC): Likewise.
50398         (CRAMFS_MAGIC_WEND): Likewise.
50399         (DEBUGFS_MAGIC): Likewise.
50400         (ECRYPTFS_SUPER_MAGIC): Likewise.
50401         (EXT3_SUPER_MAGIC): Likewise.
50402         (EXT4_SUPER_MAGIC): Likewise.
50403         (FUTEXFS_SUPER_MAGIC): Likewise.
50404         (HOSTFS_SUPER_MAGIC): Likewise.
50405         (HUGETLBFS_MAGIC): Likewise.
50406         (MINIX3_SUPER_MAGIC): Likewise.
50407         (MTD_INODE_FS_MAGIC): Likewise.
50408         (NILFS_SUPER_MAGIC): Likewise.
50409         (OPENPROM_SUPER_MAGIC): Likewise.
50410         (PIPEFS_MAGIC): Likewise.
50411         (PSTOREFS_MAGIC): Likewise.
50412         (QNX6_SUPER_MAGIC): Likewise.
50413         (RAMFS_MAGIC): Likewise.
50414         (REISERFS_SUPER_MAGIC_STRING): Likewise.
50415         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
50416         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
50417         (SECURITYFS_MAGIC): Likewise.
50418         (SELINUX_MAGIC): Likewise.
50419         (SMACK_MAGIC): Likewise.
50420         (SOCKFS_MAGIC): Likewise.
50421         (SQUASHFS_MAGIC): Likewise.
50422         (STACK_END_MAGIC): Likewise.
50423         (TMPFS_MAGIC): Likewise.
50424         (USBDEVICE_SUPER_MAGIC): Likewise.
50425         (V9FS_MAGIC): Likewise.
50426         (XENFS_SUPER_MAGIC): Likewise.
50427         (CRAMFS_MAGIC): Fix typo in comment.
50428         (EXT2_SUPER_MAGIC): Update comment.
50429         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
50431 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
50433         * sysdeps/arm: Move directory from ports/sysdeps/arm.
50434         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
50435         * sysdeps/unix/sysv/linux/arm: Move directory from
50436         ports/sysdeps/unix/sysv/linux/arm.
50437         * README: Update listing for arm-*-linux-gnueabi.
50439         * README: Remove mention of am33.
50441 2014-02-07  Roland McGrath  <roland@hack.frob.com>
50443         * bits/sigset.h (__sigemptyset): Use a statement expression rather
50444         than the comma operator, to avoid "rhs of comma has no effect"
50445         compiler warnings.
50446         (__sigfillset, __sigandset, __sigorset): Likewise.
50447         * include/signal.h (__sigemptyset): Likewise.
50448         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
50450 2014-02-07  Allan McRae  <allan@archlinux.org>
50452         * version.h (RELEASE): Set to "development".
50453         (VERSION): Set to "2.19.90"
50454         * NEWS: Add 2.20 section.
50456 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
50458         [BZ #16529]
50459         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
50461 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50463         * manual/contrib.texi: Update entry for Carlos O'Donell,
50464         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
50466 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
50468         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
50470         * sysdeps/unix/sysv/linux/kernel-features.h
50471         [__LINUX_KERNEL_VERSION >= 0x020621]
50472         (__ASSUME_PROC_PID_TASK_COMM): Define.
50474 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50476         [BZ #16398]
50477         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
50478         conversion when destination buffer does not have enough space.
50479         * libio/tst-ftell-partial-wide.c: New test case.
50480         * libio/Makefile (tests): Add tst-ftell-partial-wide.
50482         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
50483         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
50484         Leonard and Allan McRae.
50486 2014-02-04  David S. Miller  <davem@davemloft.net>
50488         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
50489         32-bit.
50491 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
50494         New file
50495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
50496         New file
50497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
50498         New file.
50499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
50500         New file.
50501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
50502         New file.
50503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
50504         New file.
50505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
50506         New file.
50507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
50508         New file.
50509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
50510         New file.
50511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
50512         New file.
50513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
50514         New file.
50515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
50516         New file.
50517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
50518         New file.
50520 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50522         * nptl/shlib-versions: Change powerpc*le start to 2.17.
50523         * shlib-versions: Likewise.
50525 2014-02-04  Roland McGrath  <roland@hack.frob.com>
50526             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50528         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
50529         (abilist-pattern): New variable, set to %-le.abilist.
50531         * Makerules (abilist-pattern): New variable.
50532         (vpath): Use $(abilist-pattern) in place of %.abilist.
50533         (check-abi-% pattern rule): Likewise.
50534         (check-abi, update-abi): Likewise.
50536 2014-02-04  Eric Wong  <normalperson@yhbt.net>
50538         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50540 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
50542         * manual/startup.texi: Add next, previous, and top entries for
50543         the `Program Arguments' and `Environment Variables' nodes.
50545 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
50547         * manual/macros.texi: Add comments before MTASC-safety macros.
50549         * manual/users.texi: Document MTASC-safety properties.
50551         * manual/threads.texi (pthread_key_create, pthread_key_delete)
50552         (pthread_getspecific, pthread_setspecific): Format with
50553         @deftypefun, and add @safety note.
50554         * manual/signal.texi: Move comments that analyze the above
50555         functions to their home place.
50557 2014-02-03  Allan McRae  <allan@archlinux.org>
50559         * po/sl.po: Update Slovenian translation from translation project.
50561 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
50563         * manual/time.texi (timegm): Add missing blank after @c.
50564         Reported by Joseph Myers <joseph@codesourcery.com>.
50566 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
50568         * manual/check-safety.sh: New.
50569         * manual/Makefile ($(objpfx)stamp-summary): Run it.
50571         * manual/terminal.texi: Document MTASC-safety properties.
50573         * manual/filesys.texi: Document MTASC-safety properties.
50575         * manual/errno.texi: Document MTASC-safety properties.
50577         * manual/intro.texi: Document safety identifiers and
50578         conditionals.
50580         * manual/string.texi (wcstok): Fix prototype.
50581         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
50583         * manual/time.texi: Document MTASC-safety properties.
50585         * manual/string.texi: Document MTASC-safety properties.
50587         * manual/threads.texi: Document MTASC-safety properties.
50589         * manual/stdio.texi: Document MTASC-safety properties.
50591         * manual/syslog.texi: Document MTASC-safety properties.
50593         * manual/sysinfo.texi: Document MTASC-safety properties.
50595         * manual/startup.texi: Document MTASC-safety properties.
50597         * manual/socket.texi: Document MTASC-safety properties.
50599         * manual/signal.texi: Document MTASC-safety properties.
50601 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
50603         * manual/setjmp.texi: Document MTASC-safety properties.
50605         * manual/search.texi: Document MTASC-safety properties.
50607         * manual/resource.texi: Document MTASC-safety properties.
50609         * manual/process.texi: Document MTASC-safety properties.
50611         * manual/platform.texi: Document MTASC-safety properties.
50613         * manual/pipe.texi: Document MTASC-safety properties.
50615         * manual/pattern.texi: Document MTASC-safety properties.
50617         * manual/message.texi: Document MTASC-safety properties.
50619         [BZ #12751]
50620         * manual/memory.texi: Document MTASC-safety properties.
50622         * manual/math.texi: Document MTASC-safety properties.
50624         * manual/locale.texi: Document MTASC-safety properties.
50626         * manual/llio.texi: Document MTASC-safety properties.
50628         * manual/libdl.texi: New.
50630         * manual/lang.texi: Document MTASC-safety properties.
50632         * manual/job.texi: Document MTASC-safety properties.
50634         * manual/getopt.texi: Document MTASC-safety properties.
50636         * manual/ctype.texi: Document MTASC-safety properties.
50638 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
50640         [BZ #16046]
50641         * csu/libc-tls.c (static_map): Remove variable.
50642         (__libc_setup_tls): Use main executable's link map for TLS data.
50643         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
50644         casing for LM_ID_BASE and GL(dl_nns).
50645         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
50646         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
50647         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
50648         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
50649         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
50650         member.
50651         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
50652         l_phnum members.
50654 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
50656         * manual/debug.texi: Document MTASC-safety properties.
50658 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
50660         [BZ #16510]
50661         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
50662         of __x86_64__ when disabling x87 inline functions.
50664 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
50666         * manual/charset.texi: Document MTASC-safety properties.
50668         * manual/crypt.texi: Document MTASC-safety properties.
50670         * manual/conf.texi: Document MTASC-safety properties.
50672         * manual/arith.texi: Document MTASC-safety properties.
50674         * manual/argp.texi: Document MTASC-safety properties.
50676         * manual/macros.texi: Introduce macros to document multi
50677         thread, asynchronous signal and asynchronous cancellation
50678         safety properties.
50679         * manual/intro.texi: Introduce the properties themselves.
50681 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50683         * sysdeps/sh/sh4/Makefile: New file.
50685 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
50687         * math/gen-libm-test.pl ($srcdir): New variable.
50688         ($auto_input): Use it.
50690 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50692         [BZ #16506]
50693         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
50694         access beyond array bounds when parsing netgroups file.
50696         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
50697         the old buffer before realloc.
50699 2014-01-27  Allan McRae  <allan@archlinux.org>
50701         * po/fr.po: Update French translation from translation project.
50703 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50705         * sysdeps/sh/libm-test-ulps: Regenerate.
50707 2014-01-24  David S. Miller  <davem@davemloft.net>
50709         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
50711 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50713         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
50714         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
50716 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50718         [BZ #16474]
50719         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
50720         string pointers after reallocation.
50722 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50724         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
50725         __SH4A__ instead of __SH_FPU_ANY__.
50727 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50729         * sysdeps/sh/fpu_control.h: New file.
50730         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
50731         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
50732         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
50733         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
50734         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
50735         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
50736         * sysdeps/sh/sys/ucontext.h: Remove.
50737         * sysdeps/sh/sys: Remove directory.
50739 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50741         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
50742         s390/sys/ucontext.h.
50743         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
50744         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
50746 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
50748         [BZ #15605]
50749         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
50751 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50753         [BZ#16431]
50754         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50755         Adjust the vDSO correctly for internal calls.
50756         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
50758 2014-01-20  Allan McRae  <allan@archlinux.org>
50760         * po/ca.po: Update Catalan translation from translation project.
50762 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
50764         * sysdeps/s390/sotruss-lib.c: New file.
50766 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50768         [BZ#16430]
50769         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
50770         (__GI___gettimeofday): Alias for a different internal symbol to avoid
50771         local calls issues by not having a PLT stub required for IFUNC calls.
50772         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
50774 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
50776         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
50777         * math/test-fpucw-static.c: Likewise.
50779 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50781         [BZ #16453]
50782         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
50784 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50786         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
50787         implementation for powerpc.
50789 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
50791         [BZ #14782]
50792         * sysdeps/posix/system.c (__libc_system): Do not enable
50793         asynchronous cancellation.
50795 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50797         [BZ #16427]
50798         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
50799         handling only for numbers special also in the IEEE case.
50801 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50803         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50805 2014-01-11  Allan McRae  <allan@archlinux.org>
50807         * po/bg.po: Update Bulgarian translation from translation project.
50809         * po/de.po: Update German translation from translation project.
50811 2014-01-10  Roland McGrath  <roland@hack.frob.com>
50813         * sysdeps/generic/gcc-compat.h: New file.
50815 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50817         * benchtests/asin-inputs: Correct slow inputs.
50818         * benchtests/acos-inputs: Likewise.
50820 2014-01-10  Allan McRae  <allan@archlinux.org>
50822         * po:sv.po: Update Swedish translation from translation project.
50824         * po/vi.po: Update Vietnamese translation from translation project.
50826         * po/eo.po: Update Esperanto translation from translation project.
50828         * po/cs.po: Update Czech translation from translation project.
50830         * po/nl.po: Update Dutch translation from translation project.
50832         * po/pl.po: Update Polish translation from translation project.
50834         * po/ru.po: Update Russian translation from translation project.
50836         * po/uk.po: Update Ukrainian translation from translation project.
50838 2014-01-08  Brooks Moses  <bmoses@google.com>
50840         * elf/dl-load.c: Fix comment typo.
50842 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
50844         * po/header.pot: Rename to...
50845         * po/pot.header: ... this.
50846         * po/Makefile: Use pot.header.
50848 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
50849             Maxim Kuvyrkov  <maxim@kugelworks.com>
50851         [BZ #16394]
50852         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
50853         SRC and DEST against LEN.
50855 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50857         [BZ #16414]
50858         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
50859         implementation.
50860         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
50862 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50866 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
50868         [BZ #16408]
50869         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
50870         for large positive arguments.
50872 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
50874         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50876         * math/auto-libm-test-in: Mark various tests with
50877         xfail-rounding:ldbl-128ibm.
50878         * math/auto-libm-test-out: Regenerated.
50880         [BZ #16407]
50881         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
50882         Increase overflow threshold.
50884 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
50886         [BZ #14286]
50887         * stdio-common/vfprintf.c: Check for integer overflow.
50889 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50891         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
50892         the first argument and return value of __tls_get_addr_internal.
50894 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50896         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
50897         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
50899 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50901         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
50902         * sysdeps/s390/rtld-global-offsets.sym: New file.
50903         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
50904         GLIBC_2.19 symbol.
50905         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
50906         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
50907         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
50908         ... this.
50909         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
50910         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
50911         ... this.
50912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50913         Regenerate.
50914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50915         Regenerate.
50916         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
50917         halfs of GPRs for high_gprs contexts.
50918         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
50919         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
50920         field.
50921         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
50922         uc_flags field.
50923         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
50924         64 bit versions:
50925         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
50926         for high GPRs (uc_high_gprs) and for future extensions
50927         (__reserved).
50928         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
50929         for future extensions (__reserved).
50930         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
50931         64 bit versions:
50932         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
50933         SC_HIGHGPRS offset definition.
50934         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
50935         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
50937         * Versions.def: Add GLIBC_2.19 for libpthread.
50938         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
50939         siglongjmp for libpthread with GLIBC_2.19 symver.
50940         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
50941         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
50942         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
50943         * sysdeps/s390/__longjmp.c: New file.
50944         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
50945         * sysdeps/s390/longjmp.c: New file.
50946         * sysdeps/s390/setjmp.S: New file.
50947         * sysdeps/s390/sigjmp.S: New file.
50948         * sysdeps/s390/v1-longjmp.c: New file.
50949         * sysdeps/s390/v1-setjmp.h: New file.
50950         * sysdeps/s390/v1-sigjmp.c: New file.
50951         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
50952         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
50953         GLIBC_2.19 version.
50954         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
50955         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
50956         versioned symbols for ____longjmp_chk.
50957         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
50958         Likewise.
50959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50960         Regenerate.
50961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50962         Regenerate.
50963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50964         Regenerate.
50965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50966         Regenerate.
50967         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
50968         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
50969         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
50970         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
50971         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
50972         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
50973         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
50974         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
50975         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
50976         * sysdeps/s390/rtld-__longjmp.c: New file.
50977         * sysdeps/s390/rtld-setjmp.S: New file.
50979 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
50981         [BZ #16400]
50982         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50983         Return -__logl (x) for small positive arguments without evaluating
50984         a polynomial.
50986 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
50988         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
50989         Rename to ...
50990         (__ptrace_peeksiginfo_args): ... this.
50991         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50992         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50993         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50995 2014-01-06  Allan McRae  <allan@archlinux.org>
50997         * inet/netinet/in.h: Fix typo in comment.
50999 2014-01-05  Andreas Jaeger  <aj@suse.de>
51001         * sysdeps/i386/fpu/libm-test-ulps: Update.
51003 2014-01-05  Allan McRae  <allan@archlinux.org>
51005         * po/libc.pot: Regenerated.
51007         * malloc/memusagestat.c: Fix gettext call formatting.
51009 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
51011         * nscd/nscd.c: Improve usage() output.
51013 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
51015         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
51016         * sysdeps/unix/sysv/linux/configure: Regenerated.
51017         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
51018         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
51020 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51022         [BZ #16390]
51023         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51024         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
51026 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51028         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
51029         extra tokens at end of #undef directive.
51030         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
51031         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
51032         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
51034 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51036         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51038         * math/auto-libm-test-in: Mark various tests with
51039         xfail-rounding:ldbl-128ibm.
51040         * math/auto-libm-test-out: Regenerated.
51042 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
51044         [BZ #16386]
51045         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
51046         numbers with subnormal high part when calculating exponent.
51048         [BZ #16385]
51049         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
51050         fabs.
51052         [BZ #16384]
51053         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
51054         M_LN2l.
51055         (__ieee754_acoshl): Use __log1pl not __log1p.
51057 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
51059         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
51060         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
51061         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
51062         (grow_heap, heap_trim, _int_new_arena, get_free_list)
51063         (reused_arena, arena_get2): Convert to GNU style.
51064         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
51065         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
51066         (memalign_check, __malloc_set_state): Likewise.
51067         * malloc/mallocbug.c (main): Likewise.
51068         * malloc/malloc.c (__malloc_assert, malloc_init_state)
51069         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
51070         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
51071         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
51072         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
51073         (__posix_memalign, malloc_info): Likewise.
51074         * malloc/malloc.h: Likewise.
51075         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
51076         (mallochook, memalignhook, reallochook, mabort): Likewise.
51077         * malloc/mcheck.h: Likewise.
51078         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
51079         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
51080         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
51081         * malloc/morecore.c (__default_morecore): Likewise.
51082         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
51083         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
51084         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
51085         (print_and_abort): Likewise.
51086         * malloc/obstack.h: Likewise.
51087         * malloc/set-freeres.c (__libc_freeres): Likewise.
51088         * malloc/tst-mallocstate.c (main): Likewise.
51089         * malloc/tst-mtrace.c (main): Likewise.
51090         * malloc/tst-realloc.c (do_test): Likewise.
51092 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51094         [BZ #16366]
51095         * nscd/netgroupcache.c (do_notfound): New function.
51096         (addgetnetgrentX): Use it.
51098         [BZ # 16365]
51099         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
51100         NSS_STATUS_NOTFOUND.
51102 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
51104         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51107 2014-01-01  Allan McRae  <allan@archlinux.org>
51109         * scripts/update-copyrights: Update configure input file suffix.
51111         * NEWS: Update copyright year.
51112         * catgets/gencat.c: Likewise.
51113         * csu/version.c: Likewise.
51114         * debug/catchsegv.sh: Likewise.
51115         * debug/pcprofiledump.c: Likewise.
51116         * debug/xtrace.sh: Likewise.
51117         * elf/ldconfig.c: Likewise.
51118         * elf/ldd.bash.in: Likewise.
51119         * elf/pldd.c: Likewise.
51120         * elf/sotruss.ksh: Likewise.
51121         * elf/sprof.c: Likewise.
51122         * iconv/iconv_prog.c: Likewise.
51123         * iconv/iconvconfig.c: Likewise.
51124         * locale/programs/locale.c: Likewise.
51125         * locale/programs/localedef.c: Likewise.
51126         * login/programs/pt_chown.c: Likewise.
51127         * malloc/memusage.sh: Likewise.
51128         * malloc/memusagestat.c: Likewise.
51129         * malloc/mtrace.pl: Likewise.
51130         * manual/libc.texinfo: Likewise.
51131         * nscd/nscd.c: Likewise.
51132         * nss/getent.c: Likewise.
51133         * nss/makedb.c: Likewise.
51134         * posix/getconf.c: Likewise.
51135         * scripts/test-installation.pl: Likewise.
51137         * All files with FSF copyright notices: Update copyright dates
51138         using scripts/update-copyrights.
51139         * intl/plural.c: Regenerated.
51140         * locale/programs/charmap-kw.h: Likewise.
51141         * locale/programs/locfile-kw.h: Likewise.
51143 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
51145         * sysdeps/unix/sysv/linux/configure: Regenerated.
51146         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
51147         the linux/fanotify.h header.
51148         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
51149         HAVE_LINUX_FANOTIFY_H is defined.
51151 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51153         * benchtests/cos-inputs: New inputs.
51154         * benchtests/sin-inputs: Likewise.
51156         * benchtests/atan-inputs: New inputs. Fix name of multiple
51157         precision fallback inputs.
51159         * benchtests/atanh-inputs: New inputs.
51160         * benchtests/tanh-inputs: Likewise.
51162         * benchtests/acosh-inputs: New inputs.
51163         * benchtests/asinh-inputs: Likewise.
51165         * benchtests/cosh-inputs: New inputs.
51166         * benchtests/sinh-inputs: Likewise.
51168         * benchtests/acos-inputs: Add more inputs.
51169         * benchtests/asin-inputs: Likewise.
51171 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
51173         [BZ #16375]
51174         * manual/arith.texi: Fix spelling.
51175         * manual/charset.texi: Likewise.
51176         * manual/errno.texi: Likewise.
51177         * manual/filesys.texi: Likewise.
51178         * manual/lang.texi: Likewise.
51179         * manual/llio.texi: Likewise.
51180         * manual/locale.texi: Likewise.
51181         * manual/message.texi: Likewise.
51182         * manual/resource.texi: Likewise.
51183         * manual/search.texi: Likewise.
51184         * manual/setjmp.texi: Likewise.
51185         * manual/stdio.texi: Likewise.
51186         * manual/string.texi: Likewise.
51187         * manual/sysinfo.texi: Likewise.
51188         * manual/time.texi: Likewise.
51190 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
51192         * po/sl.po: New file.
51194 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
51196         * .gitignore: Add core/.gdbinit/.gdb_history.
51198 2013-12-27  Allan McRae  <allan@archlinux.org>
51200         [BZ #16369]
51201         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
51202         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
51204 2013-12-24  Brooks Moses  <bmoses@google.com>
51206         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
51207         all compilers that claim C++98 compliance, not just GCC.
51208         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
51209         Likewise.
51211 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51213         * NEWS: Restore accidentally deleted bug-fix entries.
51215 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51216             Ondřej Bílka  <neleai@seznam.cz>
51218         [BZ #15073]
51219         * malloc/malloc.c (_int_free): Perform sanity check only if we
51220         have_lock.
51222 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
51224         [BZ #12986]
51225         * manual/stdio.texi (String Input Conversions): Clarify that character
51226         classes are not supported.
51228 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51232 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
51234         [BZ #16337]
51235         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51236         Calculate results for small negative arguments directly rather
51237         than using reflection formula with special underflow handling.
51239         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
51240         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
51241         sysdeps/unix/bsd/bsd4.4/syscalls.list.
51242         (fchflags): Likewise.
51243         (revoke): Likewise.
51244         (setlogin): Likewise.
51245         (sigaltstack): Likewise.
51246         (wait4): Likewise.
51247         (sigblock): Remove.
51248         (sigsetmask): Likewise.
51249         (wait3): Likewise.
51250         (waitpid): Likewise.
51251         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
51252         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
51253         file.
51254         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
51255         * sysdeps/unix/bsd/Makefile: ... here.
51256         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
51257         * sysdeps/unix/bsd/Versions: ... here.
51258         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
51259         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
51260         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
51261         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
51262         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
51263         * sysdeps/unix/bsd/sigblock.c: ... here.
51264         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
51265         * sysdeps/unix/bsd/sigsetmask.c: ... here.
51266         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
51267         * sysdeps/unix/bsd/sigvec.c: ... here.
51268         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
51269         * sysdeps/unix/bsd/tcdrain.c: ... here.
51270         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
51271         * sysdeps/unix/bsd/tcgetattr.c: ... here.
51272         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
51273         * sysdeps/unix/bsd/tcsetattr.c: ... here.
51274         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
51275         * sysdeps/unix/bsd/wait.c: ... here.
51276         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
51277         * sysdeps/unix/bsd/wait3.c: ... here.
51278         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
51279         * sysdeps/unix/bsd/waitpid.c: ... here.
51281 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
51283         [BZ #16356]
51284         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
51285         round-to-nearest for [!USE_AS_EXPM1L].
51286         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
51287         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
51288         more tests of exp and exp10.  Expect some exp10 tests to miss
51289         exceptions or fail in directed rounding modes.
51290         * math/auto-libm-test-out: Regenerated.
51291         * math/libm-test.inc (exp10_tonearest_test_data): New array.
51292         (exp10_test_tonearest): New function.
51293         (exp10_towardzero_test_data): New array.
51294         (exp10_test_towardzero): New function.
51295         (exp10_downward_test_data): New array.
51296         (exp10_test_downward): New function.
51297         (exp10_upward_test_data): New array.
51298         (exp10_test_upward): New function.
51299         (main): Call the new functions.
51300         * sysdeps/i386/fpu/libm-test-ulps: Update.
51301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51303 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
51305         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
51306         asinh, atan, atan2, atanh, cbrt, cos and cosh.
51307         * math/auto-libm-test-out: Regenerated.
51308         * math/libm-test.inc (acosh_test_data): Add more tests.
51309         (atanh_test_data): Likewise.
51310         (ceil_test_data): Likewise.
51311         (copysign_test_data): Likewise.
51312         * sysdeps/i386/fpu/libm-test-ulps: Update.
51313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51315         * timezone/checktab.awk: Update from tzcode 2013i.
51316         * timezone/private.h: Likewise.
51317         * timezone/scheck.c: Likewise.
51318         * timezone/tzfile.h: Likewise.
51319         * timezone/tzselect.ksh: Likewise.
51320         * timezone/zdump.c: Likewise.
51321         * timezone/zic.c: Likewise.
51323         * math/auto-libm-test-in: Add tests of cpow.
51324         * math/auto-libm-test-out: Regenerated.
51325         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
51326         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51327         mpc_cc_c.
51328         (func_calc_desc): Add mpc_cc_c union field.
51329         (test_functions): Add cpow.
51330         (special_fill_2pi): New function.
51331         (special_real_inputs): Add 2pi.
51332         (calc_generic_results): Handle mpc_cc_c.
51333         * sysdeps/i386/fpu/libm-test-ulps: Update.
51334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51336         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
51337         csqrt, ctan and ctanh.
51338         * math/auto-libm-test-out: Regenerated.
51339         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51340         (TEST_COND_x86): Likewise.
51341         (ccos_test_data): Use AUTO_TESTS_c_c.
51342         (ccosh_test_data): Likewise.
51343         (cexp_test_data): Likewise.
51344         (clog_test_data): Likewise.
51345         (csqrt_test_data): Likewise.
51346         (ctan_test_data): Likewise.
51347         (ctan_tonearest_test_data): Likewise.
51348         (ctan_towardzero_test_data): Likewise.
51349         (ctan_downward_test_data): Likewise.
51350         (ctan_upward_test_data): Likewise.
51351         (ctanh_test_data): Likewise.
51352         (ctanh_tonearest_test_data): Likewise.
51353         (ctanh_towardzero_test_data): Likewise.
51354         (ctanh_downward_test_data): Likewise.
51355         (ctanh_upward_test_data): Likewise.
51356         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51357         mpc_c_c.
51358         (func_calc_desc): Add mpc_c_c union field.
51359         (FUNC_mpc_c_c): New macro.
51360         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
51361         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
51362         ctanh.
51363         (special_fill_min_subnorm_p120): New function.
51364         (special_real_inputs): Add min_subnorm_p120.
51365         (calc_generic_results): Handle mpc_c_c.
51366         * sysdeps/i386/fpu/libm-test-ulps: Update.
51367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51369 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51371         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
51372         (do_sin_slow): New functions.
51373         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
51374         (cslow2, csloww1, csloww2): Use the new functions.
51376         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
51377         Use M to change sign of result instead of X.  Assume X is
51378         positive.
51379         (csloww1): Likewise.
51380         (__sin): Adjust.
51381         (__cos): Adjust.
51383         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
51384         arguments A and DA.
51385         (__sin): Adjust.
51386         (__cos): Likewise.
51388         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
51389         (__cos): Likewise.
51390         (sloww1): Don't adjust sign of DX.
51391         (csloww1): Likewise.
51392         (sloww2): Use X directly and don't adjust sign of DX.
51393         (csloww2): Likewise.
51395 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51397         * math/auto-libm-test-in: Add tests of cabs and carg.
51398         * math/auto-libm-test-out: Regenerated.
51399         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
51400         (carg_test_data): Likewise.
51401         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51402         mpc_c_f.
51403         (func_calc_desc): Add mpc_c_f union field.
51404         (test_functions): Add cabs and carg.
51405         (calc_generic_results): Handle mpc_c_f.
51407         * sysdeps/powerpc/powerpc32/libgcc-compat.S
51408         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
51409         as a macro and a compat symbol.
51410         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
51411         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
51412         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
51413         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
51414         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
51415         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
51416         not use .hidden.
51417         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
51418         Likewise.
51419         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
51420         Likewise.
51421         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
51422         Likewise.
51423         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
51424         Likewise.
51425         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
51426         Likewise.
51427         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
51428         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
51429         from GLIBC_2.3.2.
51431 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51435 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51437         * manual/texinfo.tex: Update to version 2013-11-26.10 with
51438         trailing whitespace removed.
51439         * scripts/config.guess: Update to version 2013-11-29.
51440         * scripts/config.sub: Update to version 2013-10-01.
51442         * math/auto-libm-test-in: Add tests of sincos.
51443         * math/auto-libm-test-out: Regenerated.
51444         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
51445         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51446         mpfr_f_11.
51447         (func_calc_desc): Add mpfr_f_11 union field.
51448         (test_functions): Add sincos.
51449         (calc_generic_results): Handle mpfr_f_11.
51450         * sysdeps/i386/fpu/libm-test-ulps: Update.
51451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51453 2013-12-19  Andreas Schwab  <schwab@suse.de>
51455         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
51456         CALL_MCOUNT.
51457         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51458         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
51459         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
51461 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51463         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
51464         * sysdeps/i386/fpu/libm-test-ulps: Update.
51465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51467         [BZ #16293]
51468         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
51469         round-to-nearest mode when using frndint.
51470         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
51471         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51472         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
51473         Likewise.
51474         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
51475         sinh test to fail.
51476         * math/auto-libm-test-out: Regenerated.
51477         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
51478         (TEST_COND_x86): Likewise.
51479         (expm1_tonearest_test_data): New array.
51480         (expm1_test_tonearest): New function.
51481         (expm1_towardzero_test_data): New array.
51482         (expm1_test_towardzero): New function.
51483         (expm1_downward_test_data): New array.
51484         (expm1_test_downward): New function.
51485         (expm1_upward_test_data): New array.
51486         (expm1_test_upward): New function.
51487         (main): Run the new test functions.
51488         * sysdeps/i386/fpu/libm-test-ulps: Update.
51489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51491         * include/features.h: Update comment documenting feature test
51492         macros.  Mention _DEFAULT_SOURCE in comment.
51493         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
51494         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
51495         _BSD_SOURCE and _SVID_SOURCE.
51496         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
51497         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
51498         !_SVID_SOURCE]: Likewise.
51499         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51500         (__USE_POSIX_IMPLICITLY): Define.
51501         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51502         (_POSIX_SOURCE): Undefine and redefine.
51503         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51504         (_POSIX_C_SOURCE): Likewise.
51505         * manual/creature.texi (_DEFAULT_SOURCE): Document.
51506         (Feature Test Macros): Update documentation of default features.
51508 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51510         * benchtests/Makefile: Add bench-strtok.
51511         * benchtests/bench-strtok.c: New file: strtok benchtest.
51513 2013-12-19  Allan McRae  <allan@archlinux.org>
51515         * manual/install.texi: Suppress menu for plain text output.
51516         * INSTALL: Regenerated.
51518 2013-12-18  Brooks Moses  <bmoses@google.com>
51520         [BZ #15846]
51521         * misc/getauxval.c: Include errno.h.
51522         (__getauxval): Set errno to ENOENT if the requested type is not
51523         found.
51524         * misc/sys/auxv.h (getauxval): Document that it may set errno;
51525         don't declare with __attribute_const__.
51526         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
51527         * manual/startup.texi: Document that getauxval sets errno.
51529 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51531         * math/auto-libm-test-in: Add tests of jn and yn.
51532         * math/auto-libm-test-out: Regenerated.
51533         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
51534         (yn_test_data): Likewise.
51535         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51536         mpfr_if_f.
51537         (func_calc_desc): Add mpfr_if_f union field.
51538         (FUNC_mpfr_if_f): New macro.
51539         (test_functions): Add jn and yn.
51540         (calc_generic_results): Assert type of second input for
51541         mpfr_ff_f.  Handle mpfr_if_f.
51542         (output_for_one_input_case): Disable all checking for arguments
51543         fitting floating-point types in case of an integer argument.
51544         * sysdeps/i386/fpu/libm-test-ulps: Update.
51545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51548         Don't expect fegetround reference in libm.so.
51550 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51552         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
51553         $(config-cflags-nofma).
51555 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51557         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
51558         * math/auto-libm-test-out: Regenerated.
51560         [BZ #16338]
51561         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
51562         to determine exponent and adjust argument to have exponent of -1.
51563         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
51564         log2.
51565         * math/auto-libm-test-out: Regenerated.
51566         * sysdeps/i386/fpu/libm-test-ulps: Update.
51567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51569 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
51571         * manual/probes.texi: Remove cases when per-thread arenas are
51572         disabled.
51574 2013-12-18  Andreas Schwab  <schwab@suse.de>
51576         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
51577         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
51578         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
51579         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
51580         * sysdeps/i386/i686/multiarch/Makefile: Update.
51581         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
51583 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51585         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
51586         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
51588 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
51590         [BZ #15968]
51591         Support TZ transition times < 00:00:00.
51592         This is needed for version-3 tz-format files; it supports time
51593         stamps past 2037 for America/Godthab (the only entry in the tz
51594         database for which this change is relevant).
51595         * manual/time.texi (TZ Variable): Document transition times
51596         from -167:59:59 through -00:00:01.
51597         * time/tzset.c (tz_rule): Time of day is now signed.
51598         (__tzset_parse_tz): Parse negative time of day.
51600         Document TZ transition times >= 25:00:00.
51601         * manual/time.texi (TZ Variable): Document transition times from
51602         25:00:00 through 167:59:59.  These are already supported, and this
51603         support will help with version-3 tz-format files.
51605         * manual/time.texi (TZ Variable): Modernize North America example
51606         to reflect current (i.e., 2007-and-later) daylight saving rules.
51608         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
51610 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51612         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
51613         * sysdeps/unix/bsd/bits/stat.h: Likewise.
51614         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
51615         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51616         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
51617         * sysdeps/unix/bsd/bsdstat.h: Likewise.
51618         * sysdeps/unix/bsd/clock.c: Likewise.
51619         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
51620         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
51621         * sysdeps/unix/bsd/init-posix.c: Likewise.
51622         * sysdeps/unix/bsd/poll.c: Likewise.
51623         * sysdeps/unix/bsd/ptsname.c: Likewise.
51624         * sysdeps/unix/bsd/seekdir.c: Likewise.
51625         * sysdeps/unix/bsd/setegid.c: Likewise.
51626         * sysdeps/unix/bsd/seteuid.c: Likewise.
51627         * sysdeps/unix/bsd/setgid.c: Likewise.
51628         * sysdeps/unix/bsd/setrgid.c: Likewise.
51629         * sysdeps/unix/bsd/setruid.c: Likewise.
51630         * sysdeps/unix/bsd/setsid.c: Likewise.
51631         * sysdeps/unix/bsd/setuid.c: Likewise.
51632         * sysdeps/unix/bsd/sigaction.c: Likewise.
51633         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
51634         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
51635         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
51636         * sysdeps/unix/bsd/telldir.c: Likewise.
51637         * sysdeps/unix/bsd/times.c: Likewise.
51638         * sysdeps/unix/bsd/usleep.c: Likewise.
51640         * misc/Makefile (install-lib): Remove libbsd-compat.a.
51641         ($(objpfx)libbsd-compat.a): Remove rule.
51643         * include/features.h (__FAVOR_BSD): Do not define.
51644         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
51645         features conflicting with POSIX.
51646         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
51647         (_BSD_SOURCE): Remove description of not being a subset of other
51648         feature test macros.
51649         * manual/job.texi (getpgrp): Do not document BSD version.
51650         (getpgid): Do not document by reference to BSD getpgrp.
51651         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
51652         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
51653         * signal/signal.h [__FAVOR_BSD]: Likewise.
51654         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
51655         instead of making contents conditional on [__FAVOR_BSD].
51656         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
51658 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51662 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51664         [BZ #16314]
51665         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
51666         values below 2**-450, not 2**-500.
51667         * math/auto-libm-test-in: Don't allow spurious underflow from
51668         hypot.
51669         * math/auto-libm-test-out: Regenerated.
51671         [BZ #16316]
51672         [BZ #16330]
51673         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
51674         values of ha and hb and sort them after adjusting subnormal
51675         arguments.
51676         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
51677         Likewise.
51678         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
51679         values of ea and eb and sort them after adjusting subnormal
51680         arguments.
51681         * math/auto-libm-test-in: Do not expect some hypot tests of
51682         subnormals to fail.  Add more hypot tests.
51683         * math/auto-libm-test-out: Regenerated.
51685 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51687         [BZ #13304]
51688         * sysdeps/sh/s_fma.c: New file.
51689         * sysdeps/sh/s_fmaf.c: New file.
51690         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
51691         version.
51692         * sysdeps/sh/Implies: Add sh/soft-fp.
51694 2013-12-16  Roland McGrath  <roland@hack.frob.com>
51696         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
51697         level of indirection to members `objname', `errstring', `malloced'.
51698         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
51699         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
51700         it as the __longjmp argument (just pass 1 instead).
51701         (_dl_catch_error): Initialize C with argument pointers and address of
51702         volatile local ERRCODE rather than copying values out of C at return.
51704 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
51706         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
51707         * math/auto-libm-test-out: Regenerated.
51708         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
51709         (hypot_test_data): Likewise.
51710         (pow_test_data): Likewise.
51711         (pow_tonearest_test_data): Likewise.
51712         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51713         mpfr_ff_f.
51714         (func_calc_desc): Add mpfr_ff_f union field.
51715         (FUNC_mpfr_ff_f): New macro.
51716         (test_functions): Add atan2, hypot and pow.
51717         (special_fill_min): New function.
51718         (special_fill_minus_min): Likewise.
51719         (special_fill_min_subnorm): Likewise.
51720         (special_fill_minus_min_subnorm): Likewise.
51721         (special_real_inputs): Add min, -min, min_subnorm and
51722         -min_subnorm.
51723         (calc_generic_results): Handle mpfr_ff_f.
51724         * sysdeps/i386/fpu/libm-test-ulps: Update.
51725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51727 2013-12-16  Will Newton  <will.newton@linaro.org>
51729         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
51730         (Aligned Memory Blocks): Add documentation for aligned_alloc
51731         and suggest it as an alternative to posix_memalign.
51732         (Hooks for Malloc): Document __memalign_hook is also called
51733         for aligned_alloc.  (Summary of Malloc): Add summary for
51734         aligned alloc.  Document __memalign_hook is also called
51735         for aligned_alloc.
51737 2013-12-16  Will Newton  <will.newton@linaro.org>
51739         * manual/memory.texi (Malloc Examples): Clarify default
51740         alignment documentation.  Suggest posix_memalign rather
51741         than memalign or valloc.
51742         (Aligned Memory Blocks): Remove suggestion to use memalign
51743         or valloc.  Remove obsolete comment about BSD.
51744         Document memalign errno values and mark the function obsolete.
51745         Document posix_memalign returned error codes.  Mark valloc
51746         as obsolete.  (Hooks for Malloc): __memalign_hook is also
51747         called for posix_memalign and valloc.
51748         (Summary of Malloc): Add posix_memalign to function summary.
51749         __memalign_hook is also called for posix_memalign and valloc.
51751 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51753         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
51754         TAYLOR_SIN.
51755         (__sin): Adjust.
51756         (__cos): Likewise.
51757         (sloww): Use mynumber union.  Expand ternary operator into
51758         if-else statements.
51759         (cslow): use mynumber union.
51761 2013-12-16  Allan McRae  <allan@archlinux.org>
51763         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
51764         * configure: Regenerated.
51766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
51768         [BZ #14120]
51769         * configure.ac: Added --enable-maintainer-mode. Check for
51770         autoconf when enabled.
51771         * configure: Regenerated.
51773         * nscd/nscd.service: New file.
51774         * nscd/nscd.tmpfiles: New file.
51776 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
51778         [BZ #12100]
51779         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
51780         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
51781         * sysdeps/x86_64/multiarch/strstr.c: ... here.
51782         (strstr): Add __strstr_sse2_unaligned ifunc.
51783         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
51784         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
51785         (strcasestr): Remove __strcasestr_sse42 ifunc.
51786         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
51787         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51788         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51790 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51792         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
51793         * sysdeps/sh/bits/fenv.h: ... here.
51794         * sysdeps/sh/sh4/fpu/bits: Remove directory.
51796 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51798         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
51800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
51801         hypotf multiarch implementations.
51802         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
51803         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
51804         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
51805         multiarch hypot for PPC64.
51806         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
51807         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
51808         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
51809         multiarch hypotf for PPC64.
51811         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
51812         modff multiarch implementations.
51813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
51814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
51815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
51816         multiarch modf for PPC64.
51817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
51818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
51819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
51820         multiarch modff for PPC64.
51822         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
51823         and logl multiarch implementations.
51824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
51825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
51826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
51827         multiarch logb for PPC64.
51828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
51829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
51830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
51831         multiarch logb for PPC64.
51832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
51833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
51834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
51835         multiarch logb for PPC64.
51837         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
51838         isinff multiarch implementation.
51839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
51840         file.
51841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
51842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
51843         multiarch isinf for PPC64.
51844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
51845         file.
51846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
51847         multiarch isinff for PPC64.
51849         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
51850         finitef multiarch implementation.
51851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
51852         file.
51853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
51854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
51855         multiarch finite for PPC64.
51856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
51857         file.
51858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
51859         multiarch finitef for PPC64.
51861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
51862         lrint multiarch implementation.
51863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
51864         file.
51865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
51866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
51867         multiarch llrint for PPC64.
51868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
51869         multiarch lrint for PPC64.
51871         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
51872         copysignf multiarch implementation.
51873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
51874         file.
51875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
51876         file.
51877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
51878         multiarch copysign for PPC64.
51879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
51880         multiarch copysignf for PPC64.
51882         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
51883         multiarch implementation.
51884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
51885         file.
51886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
51887         file.
51888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
51889         file.
51890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
51891         file.
51892         multiarch llround for PPC64.
51893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
51894         multiarch trunc for PPC64.
51895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
51896         multiarch truncf for PPC64.
51898         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
51899         multiarch implementation.
51900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
51901         file.
51902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
51903         file.
51904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
51905         file.
51906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
51907         file.
51908         multiarch llround for PPC64.
51909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
51910         multiarch round for PPC64.
51911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
51912         multiarch roundf for PPC64.
51914         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
51915         multiarch implementation.
51916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
51917         file.
51918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
51919         file.
51920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
51921         file.
51922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
51923         file.
51924         multiarch llround for PPC64.
51925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
51926         multiarch floor for PPC64.
51927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
51928         multiarch floorf for PPC64.
51930         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
51931         multiarch implementation.
51932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
51933         file.
51934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
51935         file.
51936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
51937         file.
51938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
51939         file.
51940         multiarch llround for PPC64.
51941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
51942         multiarch ceil for PPC64.
51943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
51944         multiarch ceilf for PPC64.
51946         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51947         multiarch implementation.
51948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
51949         file.
51950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
51951         file.
51952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
51953         file.
51954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
51955         multiarch llround for PPC64.
51956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
51957         multiarch lround for PPC64.
51959         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51960         multiarch implementation.
51961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
51962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
51963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
51964         file.
51965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
51966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
51967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
51968         multiarch isnan for PPC64.
51969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
51970         multiarch isnanf for PPC64.
51972         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
51973         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
51974         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
51975         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
51976         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
51977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
51979         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
51980         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51981         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51982         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
51985         multiarch implementations.
51986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51987         (__libc_ifunc_impl_list): Likewise.
51988         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
51989         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
51990         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
51991         multiarch stpcpy for PPC64.
51993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
51994         multiarch implementations.
51995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51996         (__libc_ifunc_impl_list): Likewise.
51997         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
51998         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
51999         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
52000         multiarch strcpy for PPC64.
52002         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
52003         redefine function name.
52004         (_wordcopy_fwd_dest_aligned): Likewise.
52005         (_wordcopy_bwd_aligned): Likewise.
52006         (_wordcopy_bwd_dest_aligned): Likewise.
52007         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
52008         multiarch implementations.
52009         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52010         (__libc_ifunc_impl_list): Likewise.
52011         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
52012         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
52013         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
52014         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
52015         multiarch wcscpy for PPC64.
52017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
52018         multiarch implementations.
52019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52020         (__libc_ifunc_impl_list): Likewise.
52021         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
52022         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
52023         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
52024         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
52025         multiarch wcscpy for PPC64.
52027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
52028         multiarch implementations.
52029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52030         (__libc_ifunc_impl_list): Likewise.
52031         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
52032         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
52033         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
52034         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
52035         multiarch wcsrchr for PPC64.
52037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
52038         multiarch implementations.
52039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52040         (__libc_ifunc_impl_list): Likewise.
52041         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
52042         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
52043         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
52044         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
52045         multiarch wcschr for PPC64.
52047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
52048         multiarch implementations.
52049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52050         (__libc_ifunc_impl_list): Likewise.
52051         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
52052         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
52053         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
52054         multiarch strchrnul for PPC64.
52056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
52057         implementations.
52058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52059         (__libc_ifunc_impl_list): Likewise.
52060         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
52061         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
52062         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
52063         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
52064         strchr for PPC64.
52066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
52067         implementations.
52068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52069         (__libc_ifunc_impl_list): Likewise.
52070         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
52071         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
52072         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
52073         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
52074         strncmp for PPC64.
52076         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
52077         multiarch implementations.
52078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52079         (__libc_ifunc_impl_list): Likewise.
52080         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
52081         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
52082         strncasecmp for PPC64.
52083         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
52084         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
52085         multiarch strncasecmp_l for PPC64.
52087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
52088         multiarch implementations.
52089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52090         (__libc_ifunc_impl_list): Likewise.
52091         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
52092         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
52093         multiarch strcasecmp for PPC64.
52094         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
52095         file.
52096         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
52097         multiarch strcasecmp_l for PPC64.
52099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
52100         implementations.
52101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52102         (__libc_ifunc_impl_list): Likewise.
52103         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
52104         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
52105         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
52106         strnlen for PPC64.
52108         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
52109         implementations.
52110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52111         (__libc_ifunc_impl_list): Likewise.
52112         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
52113         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
52114         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
52115         strlen for PPC64.
52117         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
52118         implementations.
52119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52120         (__libc_ifunc_impl_list): Likewise.
52121         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
52122         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
52123         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
52124         rawmemrchr for PPC64.
52126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
52127         implementation.
52128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52129         (__libc_ifunc_impl_list): Likewise.
52130         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
52131         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
52132         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
52133         memrchr for PPC64.
52135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
52136         implementation.
52137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52138         (__libc_ifunc_impl_list): Likewise.
52139         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
52140         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
52141         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
52142         memchr for PPC64.
52144         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
52145         implementation.
52146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52147         (__libc_ifunc_impl_list): Likewise.
52148         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
52149         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
52150         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
52151         mempcpy for PPC64.
52153         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
52154         avoid cretion of __bzero symbol.
52155         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
52156         Likewise.
52157         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
52158         Likewise.
52159         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
52160         Likewise.
52161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
52162         multiarch implementations.
52163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52164         (__libc_ifunc_impl_list): Likewise.
52165         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
52166         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
52167         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
52168         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
52169         bzero for PPC32.
52170         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
52171         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
52172         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
52173         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
52174         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
52175         memset for PPC64.
52176         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
52178         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
52179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
52180         implementations.
52181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52182         (__libc_ifunc_impl_list): Likewise.
52183         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
52184         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
52185         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
52186         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
52187         memcmp for PPC64.
52189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
52190         multiarch for POWER/PPC64.
52191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
52192         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
52193         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
52194         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
52195         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
52196         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
52197         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
52198         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
52199         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
52200         memcpy for PPC64.
52202         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
52203         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
52204         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
52205         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
52206         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
52207         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
52208         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
52209         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
52210         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
52211         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
52212         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
52213         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
52214         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
52215         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
52216         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
52217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
52218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
52219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
52220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
52221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
52222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
52223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
52225 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52227         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
52229 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52231         * benchtests/Makefile (bench): Add exp2 and log2.
52232         (LDLIBS-bench-exp2): Add -lm.
52233         (LDLIBS-bench-log2): Likewise.
52234         * benchtests/exp2-inputs: New inputs file.
52235         * benchtests/log2-inputs: New inputs file.
52236         * benchtests/log-inputs: Add new inputs.
52237         * benchtests/tan-inputs: Likewise.
52239 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52241         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
52242         definition...
52243         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
52244         (csloww2): ... from here.
52246         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
52247         instead of structures.
52248         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
52249         (POLYNOMIAL): Likewise.
52250         (TAYLOR_SLOW): Likewise.
52251         (__sin): Likewise.
52252         (__cos): Likewise.
52253         (slow1): Likewise.
52254         (slow2): Likewise.
52255         (sloww): Likewise.
52256         (sloww1); Likewise.
52257         (sloww2): Likewise.
52258         (bsloww1): Likewise.
52259         (bsloww2): Likewise.
52260         (cslow2): Likewise.
52261         (csloww): Likewise.
52262         (csloww1): Likewise.
52263         (csloww2): Likewise.
52265 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
52267         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
52268         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
52269         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
52270         * malloc/hooks.c (realloc_check): Likewise.
52272         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
52273         * malloc/arena.c: Remove PER_THREAD conditional.
52274         [!PER_THREAD]: Remove code.
52275         (ptmalloc_unlock_all2): Likewise.
52276         (ptmalloc_init): Likewise.
52277         (_int_new_arena): Likewise.
52278         (arena_get2): Likewise.
52279         * malloc/hooks.c (__malloc_get_state): Likewise.
52280         (__malloc_set_state): Likewise.
52281         * malloc/malloc.c: Likewise.
52282         (struct malloc_state): Likewise.
52283         (struct malloc_par): Likewise.
52284         (__libc_realloc): Likewise.
52285         (__libc_mallopt): Likewise.
52287 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52289         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
52291 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
52293         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
52294         macro to a function.  Check for zero perturb_byte.
52295         (_int_malloc, _int_free): Remove zero perturb_byte checks.
52297         * malloc/malloc.c: (force_reg): Remove.
52298         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
52299         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
52300         force_reg by atomic_forced_read.
52301         * malloc/arena.c (ptmalloc_init): Likewise.
52302         * malloc/hooks.c (top_check): Likewise.
52304 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52308 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
52310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52312 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
52314         * math/auto-libm-test-in: Add tests of lgamma.
52315         * math/auto-libm-test-out: Regenerated.
52316         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
52317         (M_LOG_2_SQRT_PIl): Likewise.
52318         (lgamma_test_data): Use AUTO_TESTS_f_f1.
52319         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52320         mpfr_f_f1.
52321         (func_calc_desc): Add mpfr_f_f1 union field.
52322         (ARGS1): New macro.
52323         (ARGS2): Likewise.
52324         (ARGS3): Likewise.
52325         (ARGS4): Likewise.
52326         (RET1): Likewise.
52327         (RET2): Likewise.
52328         (CALC): Likewise.
52329         (FUNC): Likewise.
52330         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
52331         (test_functions): Add lgamma.
52332         (calc_generic_results): Handle mpfr_f_f1.
52333         * sysdeps/i386/fpu/libm-test-ulps: Update.
52334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52336 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52338         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
52339         __mpn_add_n for PowerPC64/POWER7.
52340         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
52341         __mpn_sub_n for PowerPC64/POWER7.
52343         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
52344         __mpn_addmul_1 for PowerPC64.
52345         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
52346         __mpn_submul_1 for PowerPC64.
52347         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
52348         for PowerPC64.
52349         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
52350         for PowerPC64.
52352 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
52354         [BZ #15089]
52355         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
52357 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52359         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
52361         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
52362         add multiarch folders.
52363         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
52364         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
52365         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
52366         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
52367         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
52368         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
52369         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
52370         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
52371         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
52372         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
52373         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
52374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
52375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
52376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
52377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
52378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
52379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
52381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52382         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
52383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
52384         New file.
52385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
52386         New file.
52387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
52388         multiarch __ieee754_hypot for PowerPC32.
52389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
52390         New file.
52391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
52392         New file.
52393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
52394         multiarch __ieee754_hypotf for PowerPC32.
52396         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
52397         long_double_symbol only if __logbl is defined.
52398         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
52399         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
52400         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
52401         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
52402         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
52403         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
52404         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
52405         path for implementation.
52406         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
52407         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
52408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
52409         logb, and logbl multiarch implementations for PowerPC32.
52410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
52411         file.
52412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
52413         file.
52414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
52415         multiarch logb for PowerPC32.
52416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
52417         file.
52418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
52419         file.
52420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
52421         multiarch logbf for PowerPC32.
52422         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
52423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
52424         file.
52425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
52426         multiarch logbl implementation for PowerPC32.
52428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
52429         and modff multiarch implementations.
52430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
52431         New file.
52432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
52433         New file.
52434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
52435         multiarch modf for PowerPC32.
52436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
52437         New file.
52438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
52439         New file.
52440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
52441         multiarch modff for PowerPC32.
52443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
52444         and lrintf multiarch implementations.
52445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
52446         New file.
52447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
52448         New file.
52449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
52450         multiarch lrint for PowerPC32.
52451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
52452         file: multiarch lrintf for PowerPC32.
52454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
52455         and lroundf multiarch implementations.
52456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
52457         New file.
52458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
52459         New file.
52460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
52461         New file.
52462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
52463         multiarch lround for PowerPC32.
52464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
52465         file: multiarch lroundf for PowerPC32.
52467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52468         copysign and copysignf multiarch implementations.
52469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
52470         New file.
52471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
52472         New file.
52473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
52474         file: multiarch copysign for PowerPC32.
52475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
52476         file: multiarch copysignf for PowerPC32.
52478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
52479         and truncf multiarch implementations.
52480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
52481         New file.
52482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
52483         file.
52484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
52485         multiarch trunc for PowerPC32.
52486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
52487         New file.
52488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
52489         New file.
52490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
52491         multiarch truncf for PowerPC32.
52493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
52494         and roundf multiarch implementations.
52495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
52496         New file.
52497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
52498         file.
52499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
52500         multiarch round for PowerPC32.
52501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
52502         New file.
52503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
52504         New file.
52505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
52506         multiarch roundf for PowerPC32.
52508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
52509         and floorf multiarch implementations.
52510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
52511         New file.
52512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
52513         file.
52514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
52515         multiarch floor for PowerPC32.
52516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
52517         New file.
52518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
52519         New file.
52520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
52521         multiarch floorf for PowerPC32.
52523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
52524         and ceilf multiarch implementations.
52525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
52526         New file.
52527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
52528         file.
52529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
52530         multiarch ceil for PowerPC32.
52531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
52532         New file.
52533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
52534         file.
52535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
52536         multiarch ceilf for PowerPC32.
52538         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
52539         is defined.
52540         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
52541         FINITEF is defined.
52542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
52543         and finitef multiarch implementations.
52544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
52545         New file.
52546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
52547         file.
52548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
52549         multiarch finite for PowerPC32.
52550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
52551         New file.
52552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
52553         file: multiarch finitef for PowerPC32.
52555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
52556         and isinff multiarch implementations.
52557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
52558         file.
52559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
52560         file.
52561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
52562         multiarch isinf for PowerPC32.
52563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
52564         New file.
52565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
52566         multiarch isinff for PowerPC32.
52568         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
52569         alias when __isnan is defined.
52570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
52571         and isnanf multiarch implementations.
52572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
52573         file.
52574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
52575         file.
52576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
52577         file.
52578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
52579         file.
52580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
52581         multiarch isnan for PowerPC32.
52582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
52583         New file.
52584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
52585         New file.
52586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
52587         multiarch isnanf for PowerPC32.
52589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
52590         and sqrtf multiarch implementations.
52591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
52592         file.
52593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
52594         file.
52595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
52596         multiarch sqrt for PowerPC32.
52597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
52598         file.
52599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
52600         file.
52601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
52602         multiarch sqrtf for PowerPC32.
52604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
52605         and llroundf multiarch implementations.
52606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
52607         New file.
52608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
52609         New file.
52610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
52611         New file.
52612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
52613         file: multiarch llround for PowerPC32.
52614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
52615         file: multiarch llroundf for PowerPC32.
52617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
52618         multiarch PowerPC32 fpu implementations.
52619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
52620         New file.
52621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
52622         New file.
52623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
52624         multiarch llrint for PowerPC32.
52625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
52626         New file.
52627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
52628         New file.
52629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
52630         file.
52632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
52634         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
52635         file.
52636         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
52637         file.
52638         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
52639         file.
52640         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
52641         multiarch wordcopy for PPC32.
52642         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52643         wordcopy objects.
52644         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52645         (__libc_ifunc_impl_list): Likewise.
52646         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
52647         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
52648         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
52649         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
52650         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
52651         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
52653         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
52654         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
52655         file.
52656         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
52657         file.
52658         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
52659         file.
52660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
52661         multiarch wcscpy for PPC32.
52662         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52663         multiarch objects.
52664         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52665         (__libc_ifunc_impl_list): Likewise.
52666         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52667         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52668         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
52669         sysdeps/powerpc/power6/wcscpy.c.
52671         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
52672         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
52673         file.
52674         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
52675         file.
52676         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
52677         file.
52678         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
52679         multiarch wcsrchr for PPC32.
52680         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52681         multiarch objects.
52682         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52683         (__libc_ifunc_impl_list): Likewise.
52684         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52685         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52686         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
52687         sysdeps/powerpc/power6/wcsrchr.c.
52689         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
52690         file.
52691         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
52692         file.
52693         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
52694         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
52695         multiarch wcschr for PPc32.
52696         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52697         multiarch objects.
52698         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52699         (__libc_ifunc_impl_list): Likewise.
52700         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
52701         * sysdeps/powerpc/power6/wcschr.c: ... to here.
52702         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
52703         sysdeps/powerpc/power6/wcschr.c.
52705         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
52706         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
52707         file.
52708         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
52709         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
52710         file: multiarch strchr for PPC32.
52711         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
52712         multiarch objects.
52713         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52714         (__libc_ifunc_impl_list): Likewise.
52716         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
52717         name.
52718         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
52719         file.
52720         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
52721         file.
52722         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
52723         multiarch strchrnul for PPC32.
52724         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
52725         multiarch objects.
52726         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52727         (__libc_ifunc_impl_list): Likewise.
52729         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
52730         file.
52731         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
52732         multiarch strncasecmp for PPC32.
52733         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
52734         file.
52735         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
52736         multiarch strncasecmp_l for PPC32.
52737         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
52738         strncasecmp multiarch objects.
52739         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52740         (__libc_ifunc_impl_list): Likewise.
52742         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
52743         file.
52744         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
52745         multiarch strncasecmp for PPC32.
52746         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
52747         New file.
52748         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
52749         multiarch strcasecmp_l for PPC32.
52750         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
52751         multiarch objects.
52752         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52753         (__libc_ifunc_impl_list): Likewise.
52755         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
52756         file.
52757         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
52758         file.
52759         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
52760         multiarch strncmp for PPC32.
52761         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
52762         multiarch objects.
52763         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52764         (__libc_ifunc_impl_list): Likewise.
52766         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
52767         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
52768         file.
52769         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
52770         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
52771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
52772         multiarch objects.
52773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52774         (__libc_ifunc_impl_list): Likewise.
52776         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
52777         file.
52778         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
52779         file.
52780         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
52781         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
52782         multiarch objects.
52783         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52784         (__libc_ifunc_impl_list): Likewise.
52786         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
52787         file.
52788         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
52789         file.
52790         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
52791         multiarch rawmemchr for PPC32.
52792         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
52793         multiarch objects.
52794         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52795         (__libc_ifunc_impl_list): Likewise.
52797         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
52798         file.
52799         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
52800         file.
52801         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
52802         file: memrchr multiarch for PPC32.
52803         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
52804         multiarch objects.
52805         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52806         (__libc_ifunc_impl_list): Likewise.
52808         * string/memchr.c (__memchr): Using macro to redefine symbol name.
52809         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
52810         file.
52811         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
52812         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
52813         multiarch memchr for PPC32.
52814         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
52815         multiarch objects.
52816         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52817         (__libc_ifunc_impl_list): Likewise.
52819         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
52820         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
52821         file.
52822         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
52823         file.
52824         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
52825         file: multiarch mempcpy for PPC32.
52826         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
52827         multiarch objects.
52828         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52829         (__libc_ifunc_impl_list): Likewise.
52831         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
52832         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
52833         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
52834         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
52835         multiarch bzero for PPC32.
52836         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
52837         file.
52838         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
52839         file.
52840         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
52841         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
52842         file: multiarch memset for PPC32.
52843         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
52844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
52845         memset multiarch objects.
52846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52847         (__libc_ifunc_impl_list): Likewise.
52849         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
52850         file.
52851         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
52852         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
52853         memcmp for PPC32.
52854         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
52855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
52856         multiarch objects.
52857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52858         (__libc_ifunc_impl_list): Likewise.
52860         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
52861         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
52862         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
52863         file.
52864         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
52865         file.
52866         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
52867         file.
52868         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
52869         multiarch memcpy for PPC32.
52870         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
52871         multiarch objects.
52872         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52873         (__libc_ifunc_impl_list): Likewise.
52875         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
52876         support multiarch for POWER/PPC32.
52877         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
52878         Likewise.
52879         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
52880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
52881         Implies file to make multiarch folder appers before the fpu and
52882         default folder for power4 configuration.
52884 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52886         * scripts/bench.pl: Append volatile keyword to type.
52888 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52890         * sysdeps/sh/sotruss-lib.c: New file.
52891         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
52893 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52897 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
52899         [BZ #6810]
52900         * math/w_tgamma.c: Include <errno.h>.
52901         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
52902         * math/w_tgammaf.c: Include <errno.h>.
52903         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
52904         * math/w_tgammal.c: Include <errno.h>.
52905         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
52906         * math/auto-libm-test-in: Do not allow missing errno on tgamma
52907         underflow.  Add more tgamma tests.
52908         * math/auto-libm-test-out: Regenerated.
52909         * sysdeps/i386/fpu/libm-test-ulps: Update.
52910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52912         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
52913         sin, sinh, tan, tanh, tgamma, y0 and y1.
52914         * math/auto-libm-test-out: Regenerated.
52915         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52916         (TEST_COND_x86): Likewise.
52917         (M_E2l): Remove macro.
52918         (M_E3l): Likewise.
52919         (M_2_SQRT_PIl): Likewise.
52920         (M_SQRT_PIl): Likewise.
52921         (M_1_DIV_El): Likewise.
52922         (log_test_data): Use AUTO_TESTS_f_f.
52923         (log10_test_data): Likewise.
52924         (log1p_test_data): Likewise.
52925         (log2_test_data): Likewise.
52926         (sin_test_data): Likewise.
52927         (sin_tonearest_test_data): Likewise.
52928         (sin_towardzero_test_data): Likewise.
52929         (sin_downward_test_data): Likewise.
52930         (sin_upward_test_data): Likewise.
52931         (sinh_test_data): Likewise.
52932         (sinh_tonearest_test_data): Likewise.
52933         (sinh_towardzero_test_data): Likewise.
52934         (sinh_downward_test_data): Likewise.
52935         (sinh_upward_test_data): Likewise.
52936         (tan_test_data): Likewise.
52937         (tan_tonearest_test_data): Likewise.
52938         (tan_towardzero_test_data): Likewise.
52939         (tan_downward_test_data): Likewise.
52940         (tan_upward_test_data): Likewise.
52941         (tanh_test_data): Likewise.
52942         (tgamma_test_data): Likewise.
52943         (y0_test_data): Likewise.
52944         (y1_test_data): Likewise.
52945         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
52946         (special_real_inputs): Add pi/4.
52947         * sysdeps/i386/fpu/libm-test-ulps: Update.
52948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52950 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52952         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
52953         "longjmp_target" static probes.
52954         (__longjmp): Rename to __longjmp_symbol.
52955         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52956         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
52957         on which longjmp to generate.
52958         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52959         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
52960         probe.
52961         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52962         (__sigjmp_save): Rename to __sigjmp_save_symbol.
52963         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
52964         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
52965         and __sigjmp_save_symbol based on which sigsetjmp to generated.
52966         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
52968         __longjmp_symbol based on which __longjmp to generate.
52969         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
52970         probe.
52971         (setjmp): Rename to setjmp_symbol.
52972         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52973         (_setjmp): Rename to _setjmp_symbol.
52974         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52975         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
52976         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
52977         which setjmp to generate.
52978         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
52979         "longjmp_target" static probes.
52981 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52983         * benchtests/README: Add note about output arguments.
52984         * benchtests/bench-sincos.c: Remove file.
52985         * benchtests/sincos-inputs: New file.
52986         * scripts/bench.pl: Identify output arguments and define
52987         static variables for them.
52989         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
52991         [BZ #15941]
52992         * Makefile (INSTALL): Add install-plain.texi as the primary
52993         dependency.
52994         * manual/install-plain.texi: New file.
52995         * manual/install.texi: Include node directive only for
52996         non-plaintext output.
52998 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
53000         * stdlib/longlong.h: Update from GCC.
53002         [BZ #6807]
53003         [BZ #15901]
53004         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
53005         * math/w_j0f.c (y0f): Likewise.
53006         * math/w_j0l.c (__y0l): Likewise.
53007         * math/w_j1.c (y1): Likewise.
53008         * math/w_j1f.c (y1f): Likewise.
53009         * math/w_j1l.c (__y1l): Likewise.
53010         * math/w_jn.c (yn): Likewise.
53011         * math/w_jnf.c (ynf): Likewise.
53012         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
53013         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
53014         value for Bessel function domain errors outside _SVID_ mode.
53015         Adjust sign of return value for yn (negative integer, 0).
53016         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
53017         by zero in return for negative x and set sign appropriately for
53018         negative n.
53019         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
53020         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53021         * math/libm-test.inc (y0_test_data): Add more tests and adjust
53022         expectations in error cases.
53023         (y1_test_data): Likewise.
53024         (yn_test_data): Likewise.
53025         * sysdeps/i386/fpu/libm-test-ulps: Update.
53026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53028 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53030         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
53031         "64" to "64-v1".  Add "64-v2".
53032         (abi-64-options): Rename to ...
53033         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
53034         (abi-64-condition): Rename to ...
53035         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
53036         (abi-64-ld-soname): Rename to ...
53037         (abi-64-v1-ld-soname): ... this.
53038         (abi-64-v2-options): Define.
53039         (abi-64-v2-condition): Likewise.
53040         (abi-64-v2-ld-soname): Likewise.
53041         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
53042         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
53043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
53044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
53045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
53047 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53048             Alan Modra  <amodra@gmail.com>
53050         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
53051         New versions for use with the ELFv2 ABI.
53052         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
53053         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
53054         declaration.
53055         (struct La_ppc64v2_retval): Likewise.
53056         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
53057         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
53058         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
53059         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
53060         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
53061         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53062         Do not save or restore CR.
53063         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
53064         (_dl_profile_resolve): Do no save or restore CR.  Support extended
53065         return values for ELFv2 ABI.  Fix location of FPR return registers.
53066         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
53067         updated values for _CALL_ELF == 2.
53068         (La_regs, La_retval, int_retval): Likewise.
53070 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53072         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
53073         (FRAME_MIN_SIZE_PARM): Likewise.
53074         (FRAME_BACKCHAIN): Likewise.
53075         (FRAME_CR_SAVE): Likewise.
53076         (FRAME_LR_SAVE): Likewise.
53077         (FRAME_TOC_SAVE): Likewise.
53078         (FRAME_PARM_SAVE): Likewise.
53079         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
53080         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
53081         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53082         (call_mcount_parm_offset): New macro.
53083         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
53084         (PROF): Use symbolic stack frame offsets.
53085         (TAIL_CALL_SYSCALL_ERROR): Likewise.
53086         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
53087         Redefine in terms of FRAME_MIN_SIZE.
53088         (_dl_runtime_resolve): Use symbolic stack frame offsets.
53089         (_dl_profile_resolve): Likewise.  Update comment.
53090         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
53091         symbols stack frame offsets.
53092         (__sigsetjmp): Likewise.
53093         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
53094         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
53095         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
53096         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
53098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
53099         (FRAME_BACKCHAIN): Remove.
53100         (FRAME_CR_SAVE): Likewise.
53101         (FRAME_LR_SAVE): Likewise.
53102         (FRAME_COMPILER_DW): Likewise.
53103         (FRAME_LINKER_DW): Likewise.
53104         (FRAME_TOC_SAVE): Likewise.
53105         (FRAME_PARM_SAVE): Likewise.
53106         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
53107         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
53108         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
53110         (CHECK_SP): Use symbolic stack frame offsets.
53111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
53112         zone" instead of caller's parameter save area for temp storage.
53113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53114         Likewise.  Also, use symbolic stack frame offsets.
53115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
53116         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
53117         our own stack frame instead of the caller's.
53118         (__socket): Use symbolic stack frame offsets.
53120 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53121             Alan Modra  <amodra@gmail.com>
53123         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
53124         Define.
53125         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
53126         (PPC64_LOCAL_ENTRY_OFFSET): Define.
53127         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
53128         New function.
53129         (elf_machine_fixup_plt): Call it.
53130         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
53131         reloc arguments.
53132         (elf_machine_rela): Update call to elf_machine_plt_conflict.
53133         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53134         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
53135         r2 before calling target.
53137 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53138             Alan Modra  <amodra@gmail.com>
53140         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
53141         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
53142         versions of macros to support ELFv2 ABI.
53143         (LOCALENTRY): New macro.
53144         (ENTRY, EALIGN): Use it.
53145         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
53146         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
53147         fall through into ENTRY entry point.
53148         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
53149         Only define if _CALL_ELF != 2.
53151         (elf_machine_matches_host): Verify ABI version matches.
53152         (RTLD_START): Use LOCALENTRY.
53153         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
53154         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
53155         (PLT_ENTRY_WORDS): New macro.
53156         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
53157         (elf_machine_runtime_setup): Support ELFv2 ABI.
53158         (elf_machine_fixup_plt): Likewise.
53159         (elf_machine_plt_conflict): Likewise.
53160         (resolve_ifunc): Likewise.
53161         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53162         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53163         Likewise.
53164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
53165         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
53166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53167         (makecontext): Support ELFv2 ABI.
53168         * elf/elf.h (EF_PPC64_ABI): Define.
53170 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53172         * sysdeps/powerpc/powerpc64/sysdep.h
53173         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
53174         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
53175         (ENTRY) [ASSEMBLER]: ... but instead here ...
53176         (EALIGN) [ASSEMBLER]: ... and here.
53177         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
53178         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
53179         (ENTRY_2) [!ASSEMBLER]: Use it.
53180         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
53181         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
53182         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53183         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
53184         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
53185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
53186         Use PPC64_LOAD_FUNCPTR.
53188         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
53190 2013-12-04  Alan Modra  <amodra@gmail.com>
53192         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
53193         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
53194         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
53195         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
53197         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
53198         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
53199         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
53200         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
53201         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
53202         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
53204 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53207         (__makecontext): Fix incorrect CFI when backtracing out of
53208         context created via makecontext.
53209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
53210         (__setcontext): Fix incorrect CFI during switch to new context.
53211         (__novec_setcontext): Likewise.
53213 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53215         [BZ #4772]
53216         * time/strptime_l.c (__strptime_internal): Allow modifiers
53217         in strptime.
53218         * time/tst-strptime.c (day_tests): Add testcase.
53220 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53222         * scripts/bench.pl: Skip over blank lines.
53224 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
53226         [BZ #926]
53227         * manual/time.texi (Calendar Time): Clarify what timezone functions
53228         use.
53230 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53234 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53236         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
53237         implementation.
53238         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
53239         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
53240         * debug/memset_chk.c (__memset_chk): Likewise.
53241         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
53242         * debug/strncpy_chk.c: Likewise.
53244 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53246         [BZ #15268]
53247         [BZ #15425]
53248         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
53249         (__ieee754_exp): For possibly underflowing results, check size of
53250         result and force underflow exception if required.
53251         * math/auto-libm-test-in: Add more tests of exp.
53252         * math/auto-libm-test-out: Regenerated.
53253         * sysdeps/i386/fpu/libm-test-ulps: Update.
53254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53256         [BZ #16283]
53257         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
53258         * math/w_exp2f.c (__exp2f): Likewise.
53259         * math/w_exp2l.c (__exp2l): Likewise.
53260         * math/auto-libm-test-in: Do not allow missing errno on exp2
53261         underflow.
53262         * math/auto-libm-test-out: Regenerated.
53264 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
53266         [BZ #16274]
53267         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
53268         handle filename validation.
53269         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
53270         (do_open): Delete.
53272 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53274         [BZ #6786]
53275         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
53276         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
53277         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
53278         <float.h>.
53279         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
53280         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
53281         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53282         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
53283         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53284         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
53285         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53286         * math/auto-libm-test-in: Don't allow missing errno from erfc.
53287         Add more erfc tests.
53288         * math/auto-libm-test-out: Regenerated.
53289         * sysdeps/i386/fpu/libm-test-ulps: Update.
53290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53292         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
53293         exp2, expm1, j0 and j1.
53294         * math/auto-libm-test-out: Regenerated.
53295         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
53296         (erfc_test_data): Likewise.
53297         (exp_test_data): Likewise.
53298         (exp_tonearest_test_data): Likewise.
53299         (exp_towardzero_test_data): Likewise.
53300         (exp_downward_test_data): Likewise.
53301         (exp_upward_test_data): Likewise.
53302         (exp10_test_data): Likewise.
53303         (exp2_test_data): Likewise.
53304         (expm1_test_data): Likewise.
53305         (j0_test_data): Likewise.
53306         (j1_test_data): Likewise.
53307         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
53308         (input_flag_type): Add flag_xfail_rounding.
53309         (input_flags): Add xfail-rounding.
53310         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
53311         (output_for_one_input_case): Handle flag_xfail_rounding.
53312         * sysdeps/i386/fpu/libm-test-ulps: Update.
53313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53315 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
53317         [BZ #16289]
53318         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
53319         division by 0.
53321 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53323         [BZ #16195]
53324         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
53325         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
53326         (STAP_PROBE0): New macro.
53327         (STAP_PROBE1): Likewise.
53328         (STAP_PROBE2): Likewise.
53329         (STAP_PROBE3): Likewise.
53330         (STAP_PROBE4): Likewise.
53332 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
53334         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
53336 2013-12-02  Steve Ellcey  <sellcey@mips.com>
53338         * benchtests/Makefile (bench): Add sqrt.
53339         (LDLIBS-bench-sqrt): New.
53340         * benchtests/sqrt-input: New.
53342 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
53344         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
53345         (GAIH_EAI): Likewise.
53346         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
53347         (gaih_inet): Likewise.
53348         (getaddrinfo): Don't use GAIH_EAI.
53350         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
53351         (struct gaih): Remove definition.
53353 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53355         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
53356         Use HERRNOP directly.
53358 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53362 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
53364         * math/gen-auto-libm-tests.c (test_functions): Add more
53365         single-argument functions.
53366         (special_fill_pi_2): New function.
53367         (special_fill_minus_pi_2): Likewise.
53368         (special_fill_pi_6): Likewise.
53369         (special_fill_minus_pi_6): Likewise.
53370         (special_fill_pi_3): Likewise.
53371         (special_fill_2pi_3): Likewise.
53372         (special_fill_e): Likewise.
53373         (special_fill_1_e): Likewise.
53374         (special_fill_e_minus_1): Likewise.
53375         (special_real_inputs): Add more special inputs.
53376         (output_for_one_input_case): Do not require ERANGE on underflow to
53377         zero if round-to-nearest result does not underflow to zero, unless
53378         exact results required.
53379         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
53380         atan, atanh, cbrt, cos and cosh.
53381         * math/auto-libm-test-out: Regenerated.
53382         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
53383         (acos_tonearest_test_data): Likewise.
53384         (acos_towardzero_test_data): Likewise.
53385         (acos_downward_test_data): Likewise.
53386         (acos_upward_test_data): Likewise.
53387         (acosh_test_data): Likewise.
53388         (asin_test_data): Likewise.
53389         (asin_tonearest_test_data): Likewise.
53390         (asin_towardzero_test_data): Likewise.
53391         (asin_upward_test_data): Likewise.
53392         (asinh_test_data): Likewise.
53393         (atan_test_data): Likewise.
53394         (atanh_test_data): Likewise.
53395         (cbrt_test_data): Likewise.
53396         (cos_test_data): Likewise.
53397         (cos_tonearest_test_data): Likewise.
53398         (cos_towardzero_test_data): Likewise.
53399         (cos_downward_test_data): Likewise.
53400         (cos_upward_test_data): Likewise.
53401         (cosh_test_data): Likewise.
53402         (cosh_tonearest_test_data): Likewise.
53403         (cosh_towardzero_test_data): Likewise.
53404         (cosh_downward_test_data): Likewise.
53405         (cosh_upward_test_data): Likewise.
53406         * sysdeps/i386/fpu/libm-test-ulps: Update.
53407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53409 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
53411         [BZ #6787]
53412         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
53413         * math/w_exp10f.c (__exp10f): Likewise.
53414         * math/w_exp10l.c (__exp10l): Likewise.
53415         * math/libm-test.inc (exp10_test_data): Add more tests and expect
53416         errno settings in existing tests.
53418         [BZ #14032]
53419         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
53420         precision control set to double precision.
53421         * sysdeps/i386/fpu/w_sqrt.c: New file.
53422         * math/auto-libm-test-in: Add more tests.
53423         * math/auto-libm-test-out: Update.
53425         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
53426         (sqrt_test_tonearest): New function.
53427         (sqrt_towardzero_test_data): New variable.
53428         (sqrt_test_towardzero): New function.
53429         (sqrt_downward_test_data): New variable.
53430         (sqrt_test_downward): New function.
53431         (sqrt_upward_test_data): New variable.
53432         (sqrt_test_upward): New function.
53433         (main): Call the new functions.
53435         * math/gen-auto-libm-tests.c: New file.
53436         * math/auto-libm-test-in: Likewise.
53437         * math/auto-libm-test-out: New generated file.
53438         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
53439         variables.
53440         (%beautify): Add generated representations of zero.
53441         (top level): Set $auto_input and call parse_auto_input.
53442         (beautify): Remove trailing "f" from hex float constants.
53443         (parse_args): Handle XFAIL_TEST.
53444         (convert_condition): New function.
53445         (or_value): Likewise.
53446         (or_cond_value): Likewise.
53447         (generate_testfile): Handle AUTO_TESTS_* lines.
53448         (parse_auto_input): New function.
53449         * math/libm-test.inc (XFAIL_TEST): New macro.
53450         (ERRNO_UNCHANGED): Update value.
53451         (ERRNO_EDOM): Likewise.
53452         (ERRNO_ERANGE): Likewise.
53453         (IGNORE_RESULT): Likewise.
53454         (TEST_COND_flt_32): New macro.
53455         (TEST_COND_dbl_64): Likewise.
53456         (TEST_COND_ldbl_96_intel): Likewise.
53457         (TEST_COND_ldbl_96_m68k): Likewise.
53458         (TEST_COND_ldbl_128): Likewise.
53459         (TEST_COND_ldbl_128ibm): Likewise.
53460         (TEST_COND_long32): Likewise.
53461         (TEST_COND_long64): Likewise.
53462         (TEST_COND_before_rounding): Likewise.
53463         (TEST_COND_after_rounding): Likewise.
53464         (enable_test): Handle XFAIL_TEST flag.
53465         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
53466         with finite results.
53467         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
53468         auto-libm-test-out.
53470 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53471             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53473         [BZ #16214]
53474         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
53475         __tls_get_addr_internal instead of __tls_get_offset in order to
53476         avoid GOT pointer dependency.  Make rtld export
53477         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
53478         __tls_get_addr since we are a __tls_get_offset platform.
53479         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
53480         GOT pointer being set up before.
53481         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
53483 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
53485         * manual/math.texi (Errors in Math Functions): Document accuracy
53486         goals.
53488         [BZ #15004]
53489         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
53490         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
53491         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53492         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53493         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53494         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53495         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53496         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53497         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53498         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53499         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53500         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53501         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53502         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53503         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53504         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53506         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
53507         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
53508         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
53509         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
53510         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
53511         Likewise.
53512         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
53513         Likewise.
53514         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
53515         Likewise.
53516         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
53517         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
53518         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
53519         atomic-feupdateenv and flt-rounds.
53520         * sysdeps/powerpc/nofpu/Versions (libc): Add
53521         __atomic_feholdexcept, __atomic_feclearexcept,
53522         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
53523         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
53524         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
53525         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
53526         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
53527         here.
53528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
53529         Update.
53531         * manual/arith.texi (FP Exceptions): Document that exceptions may
53532         not be raised when matherr is used.
53533         (Math Error Reporting): Document overflow in directed rounding
53534         modes.  Document that errno may not be set when finite values are
53535         returned on overflow.  Document intent to set errno on underflow
53536         only for underflow to zero.
53538         [BZ #16271]
53539         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
53540         round-to-nearest then adjust result for other rounding modes.
53541         * include/fenv.h (fegetround): Use libm_hidden_proto.
53542         * math/fegetround.c (fegetround): Use libm_hidden_def.
53543         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
53544         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
53545         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53546         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
53547         Likewise.
53548         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
53549         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53550         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
53551         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
53553 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53555         [BZ #16077]
53556         * nss/Versions (libnss_files): Add
53557         _nss_files_gethostbyname3_r.
53558         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
53559         New function.
53560         (HOST_DB_LOOKUP): Remove macro.
53561         (_nss_files_gethostbyname_r): Implement function without the
53562         HOST_DB_LOOKUP macro.
53563         (_nss_files_gethostbyname2_r): Likewise.
53565 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
53567         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
53569 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
53571         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
53572         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
53573         warning.
53575 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53577         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
53578         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
53579         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53580         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
53581         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
53582         __fe_nomask_env_priv and attribute_hidden.
53583         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
53584         (libc_feupdateenv_test_ppc): Likewise.
53585         (libc_feresetround_ppc): Likewise.
53586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53587         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
53588         compat_symbol macro.
53589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53590         (__fe_nomask_env): Likewise.
53591         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
53593 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53595         * string/Makefile: Remove ifunc tests.
53596         * string/test-string.h: Define TEST_IFUNC.
53597         * string/test-bcopy-ifunc.c: Remove.
53598         * string/test-bzero-ifunc.c: Likewise.
53599         * string/test-memccpy-ifunc.c: Likewise.
53600         * string/test-memchr-ifunc.c: Likewise.
53601         * string/test-memcmp-ifunc.c: Likewise.
53602         * string/test-memcpy-ifunc.c: Likewise.
53603         * string/test-memmem-ifunc.c: Likewise.
53604         * string/test-memmove-ifunc.c: Likewise.
53605         * string/test-mempcpy-ifunc.c: Likewise.
53606         * string/test-memrchr-ifunc.c: Likewise.
53607         * string/test-memset-ifunc.c: Likewise.
53608         * string/test-rawmemchr-ifunc.c: Likewise.
53609         * string/test-stpcpy-ifunc.c: Likewise.
53610         * string/test-stpncpy-ifunc.c: Likewise.
53611         * string/test-strcasecmp-ifunc.c: Likewise.
53612         * string/test-strcasestr-ifunc.c: Likewise.
53613         * string/test-strcat-ifunc.c: Likewise.
53614         * string/test-strchr-ifunc.c: Likewise.
53615         * string/test-strchrnul-ifunc.c: Likewise.
53616         * string/test-strcmp-ifunc.c: Likewise.
53617         * string/test-strcpy-ifunc.c: Likewise.
53618         * string/test-strcspn-ifunc.c: Likewise.
53619         * string/test-strlen-ifunc.c: Likewise.
53620         * string/test-strncasecmp-ifunc.c: Likewise.
53621         * string/test-strncat-ifunc.c: Likewise.
53622         * string/test-strncmp-ifunc.c: Likewise.
53623         * string/test-strncpy-ifunc.c: Likewise.
53624         * string/test-strnlen-ifunc.c: Likewise.
53625         * string/test-strpbrk-ifunc.c: Likewise.
53626         * string/test-strrchr-ifunc.c: Likewise.
53627         * string/test-strspn-ifunc.c: Likewise.
53628         * string/test-strstr-ifunc.c: Likewise.
53630 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53632         * benchtests/Makefile: Remove ifunc tests.
53633         * benchtests/bench-string.h: Define TEST_IFUNC.
53634         * benchtests/bench-bcopy-ifunc.c: Remove.
53635         * benchtests/bench-bzero-ifunc.c: Likewise.
53636         * benchtests/bench-memccpy-ifunc.c: Likewise.
53637         * benchtests/bench-memchr-ifunc.c: Likewise.
53638         * benchtests/bench-memcmp-ifunc.c: Likewise.
53639         * benchtests/bench-memcpy-ifunc.c: Likewise.
53640         * benchtests/bench-memmem-ifunc.c: Likewise.
53641         * benchtests/bench-memmove-ifunc.c: Likewise.
53642         * benchtests/bench-mempcpy-ifunc.c: Likewise.
53643         * benchtests/bench-memrchr-ifunc.c: Likewise.
53644         * benchtests/bench-memset-ifunc.c: Likewise.
53645         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
53646         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
53647         * benchtests/bench-stpcpy-ifunc.c: Likewise.
53648         * benchtests/bench-stpncpy-ifunc.c: Likewise.
53649         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
53650         * benchtests/bench-strcasestr-ifunc.c: Likewise.
53651         * benchtests/bench-strcat-ifunc.c: Likewise.
53652         * benchtests/bench-strchr-ifunc.c: Likewise.
53653         * benchtests/bench-strchrnul-ifunc.c: Likewise.
53654         * benchtests/bench-strcmp-ifunc.c: Likewise.
53655         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
53656         * benchtests/bench-strcpy-ifunc.c: Likewise.
53657         * benchtests/bench-strcspn-ifunc.c: Likewise.
53658         * benchtests/bench-strlen-ifunc.c: Likewise.
53659         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
53660         * benchtests/bench-strncat-ifunc.c: Likewise.
53661         * benchtests/bench-strncmp-ifunc.c: Likewise.
53662         * benchtests/bench-strncpy-ifunc.c: Likewise.
53663         * benchtests/bench-strnlen-ifunc.c: Likewise.
53664         * benchtests/bench-strpbrk-ifunc.c: Likewise.
53665         * benchtests/bench-strrchr-ifunc.c: Likewise.
53666         * benchtests/bench-strsep-ifunc.c: Likewise.
53667         * benchtests/bench-strspn-ifunc.c: Likewise.
53668         * benchtests/bench-strstr-ifunc.c: Likewise.
53670 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53672         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
53674 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53676         * resolv/netdb.h: Use __glibc_reserved instead __unused.
53677         * rt/aio.h: Likewise.
53678         * sysdeps/gnu/bits/utmp.h: Likewise.
53679         * sysdeps/gnu/bits/utmpx.h: Likewise.
53680         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53681         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
53682         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
53683         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
53684         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
53685         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
53686         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
53687         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
53688         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
53689         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
53690         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
53691         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
53692         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
53693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
53694         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53695         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
53696         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
53697         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
53698         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
53699         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
53700         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
53701         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
53702         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
53703         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53704         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
53705         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53706         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
53707         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
53708         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
53709         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
53710         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
53711         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
53712         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
53713         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
53714         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
53715         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
53716         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
53717         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
53718         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
53719         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
53720         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
53721         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53723 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
53725         [BZ #16245]
53726         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
53727         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
53729 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
53731         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
53732         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
53733         Likewise.
53735 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53737         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
53738         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
53739         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
53740         (__fesetround): Remove define.
53741         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
53742         rounding and exceptions handling.
53743         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
53744         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
53745         (__fe_nomask_env): Likewise.
53746         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
53747         __fegetround instead of fegetround.
53748         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53749         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
53751 2013-11-21  Roland McGrath  <roland@hack.frob.com>
53753         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
53754         it's there.
53756         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
53758 2013-11-21  Meador Inge  <meadori@codesourcery.com>
53760         [BZ #11157]
53761         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
53762         (encrypt_r): Likewise.
53763         * malloc/obstack.h (obstack_free): Likewise.
53764         * posix/unistd.h (encrypt): Likewise.
53766 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
53768         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
53769         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
53770         DL_CALL_DT_FINI() that call the functions directly.
53771         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
53772         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
53773         * elf/dl-fini.c: Likewise.
53775 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
53777         * malloc/hooks.c (memalign_check): Add alignment rounding.
53778         * malloc/malloc.c (_mid_memalign): New function.
53779         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
53780         Implement by calling _mid_memalign.
53781         * manual/probes.texi (Memory Allocation Probes): Remove
53782         memory_valloc_retry and memory_pvalloc_retry.
53784 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53786         * locale/programs/locarchive.c (open_archive): Add const
53787         qualifier to ARCHIVEFNAME and copy default fname to
53788         DEFAULT_FNAME.
53790         [BZ #15601]
53791         * libio/tst-widetext.input: Rename Oriya to Odia.
53792         * locale/iso-639.def: Likewise.
53794         * manual/probes.texi (Mathematical Function Probes): Add
53795         documentation for sin, cos, asin and acos probes.
53796         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
53797         (__sin32): Add slowasin probe.
53798         (__cos32): Add slowacos probe.
53799         (__mpsin): Add slowsin probe.
53800         (__mpcos): Add slowcos probe.
53802 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
53804         [BZ #15483]
53805         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
53806         thread-local __sim_exceptions_thread and global
53807         __sim_exceptions_global.
53808         (__sim_disabled_exceptions): Change to thread-local
53809         __sim_disabled_exceptions_thread and global
53810         __sim_disabled_exceptions_global.
53811         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53812         and global __sim_round_mode_global.
53813         (__simulate_exceptions): Use thread-local floating-point state and
53814         set global state from it as needed.
53815         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
53816         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
53817         __sim_round_mode_thread.
53818         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
53819         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
53820         and global __sim_exceptions_global.
53821         (__sim_disabled_exceptions): Change to thread-local
53822         __sim_disabled_exceptions_thread and global
53823         __sim_disabled_exceptions_global.
53824         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53825         and global __sim_round_mode_global.
53826         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
53827         (SIM_SET_GLOBAL): Likewise.
53828         * sysdeps/powerpc/soft-fp/sfp-machine.h
53829         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
53830         __sim_round_mode_thread.
53831         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
53832         __sim_disabled_exceptions_thread.
53833         (__sim_exceptions): Change to __sim_exceptions_thread.
53834         (__sim_disabled_exceptions): Change to
53835         __sim_disabled_exceptions_thread.
53836         (__sim_round_mode): Change to __sim_round_mode_thread.
53837         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
53838         thread-local floating-point state and set global state from it as
53839         needed.
53840         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
53841         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
53842         (__sim_disabled_exceptions): Remove extern declaration.
53843         (feenableexcept): Use thread-local floating-point state and set
53844         global state from it as needed.
53845         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
53846         extern declaration.
53847         (__sim_disabled_exceptions): Likewise.
53848         (__sim_round_mode): Likewise.
53849         (__fegetenv): Use thread-local floating-point state.
53850         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
53851         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53852         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
53853         floating-point state and set global state from it as needed.
53854         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
53855         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
53856         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
53857         Likewise.
53858         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
53859         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
53860         Likewise.
53861         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
53862         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
53863         Use __sim_round_mode_thread.
53864         * math/test-fenv-tls.c: New file.
53865         * math/Makefile (tests): Add test-fenv-tls.
53866         ($(objpfx)test-fenv-tls): Depend on
53867         $(common-objpfx)nptl/libpthread.so.
53869 2013-11-19  Andreas Schwab  <schwab@suse.de>
53871         * locale/programs/locale.c (show_info): Decode wordarray elements.
53872         * locale/categories.def (LC_MONETARY): Add element for
53873         _NL_MONETARY_CRNCYSTR.
53874         * locale/C-monetary.c (conversion_rate): New variable.
53875         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
53876         element.
53878 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
53880         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
53881         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
53883 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53885         * elf/Makefile (tst-auxv): New test.
53886         * elf/tst-auxv.c: New
53887         * elf/rtld.c (dl_main): Adjust AT_EXECFN
53889 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
53891         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
53892         (hidden_proto): Caller changed.
53893         (hidden_tls_proto): New macro.
53894         (libc_hidden_tls_proto): Likewise.
53895         (rtld_hidden_tls_proto): Likewise.
53896         (libm_hidden_tls_proto): Likewise.
53897         (libresolv_hidden_tls_proto): Likewise.
53898         (librt_hidden_tls_proto): Likewise.
53899         (libdl_hidden_tls_proto): Likewise.
53900         (libnss_files_hidden_tls_proto): Likewise.
53901         (libnsl_hidden_tls_proto): Likewise.
53902         (libnss_nisplus_hidden_tls_proto): Likewise.
53903         (libutil_hidden_tls_proto): Likewise.
53905 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
53907         [BZ #10253]
53908         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
53909         (decompose_rpath): Defer expansion to fillin_rpath.
53910         (_dl_init_paths): Pass linkmap to fillin_rpath.
53912 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53914         * benchtests/Makefile: Add strsep.
53915         * benchtests/bench-strsep.c: New file: strsep benchtest.
53916         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
53918 2013-11-18  Andreas Schwab  <schwab@suse.de>
53920         * locale/programs/locale.c (show_info) [case byte]: Check for
53921         '\377' instead of '\177'.
53922         * locale/C-monetary.c (not_available): Always use "\377".
53923         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
53924         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
53925         detect unavailable sign_posn locale elements.
53926         * locale/localeconv.c (__localeconv): For grouping and
53927         mon_grouping handle "\177" and "\377" like no grouping.
53928         (INT_ELEM): New macro.  Use it to set all numeric members.
53929         * locale/programs/ld-monetary.c (monetary_read)
53930         <tok_mon_grouping>: Normalize single -1 to the empty string.
53931         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
53932         Likewise.
53934 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53936         [BZ #16055]
53937         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
53938         when we match (nil).
53939         * stdio-common/tst-sscanf.c (struct test): Add testcase.
53941 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
53943         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
53944         (NO_TEST_INLINE): Update value.
53945         (ERRNO_UNCHANGED): Likewise.
53946         (ERRNO_EDOM): Likewise.
53947         (ERRNO_ERANGE): Likewise.
53948         (IGNORE_RESULT): Likewise.
53949         (check_float_internal): Check signs of NaN results if
53950         TEST_NAN_SIGN used.
53951         (check_complex): Pass TEST_NAN_SIGN flag through to second
53952         check_float_internal call.
53953         (copysign_test_data): Add tests with quiet NaNs as second
53954         argument.  Use TEST_NAN_SIGN.
53955         (fabs_test_data): Add test of negative quiet NaN argument.  Use
53956         TEST_NAN_SIGN.
53957         (signbit_test_data): Add tests of quiet NaN argument.
53958         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
53960         * math/gen-libm-test.pl (show_exceptions): Take extra argument
53961         $ignore_result.
53962         (parse_args): Handle function results specified as IGNORE.
53963         * math/libm-test.inc (IGNORE_RESULT): New macro.
53964         (check_float_internal): Do not check numerical result if flag
53965         IGNORE_RESULT set.
53966         (check_complex): Pass through IGNORE_RESULT to second
53967         check_float_internal call.
53968         (check_int): Do not check numerical result if flag IGNORE_RESULT
53969         set.
53970         (check_long): Likewise.
53971         (check_bool): Likewise.
53972         (check_longlong): Likewise.
53973         (lrint_test_data): Add tests of infinite and NaN arguments.
53974         (lrint_tonearest_test_data): Likewise.
53975         (lrint_towardzero_test_data): Likewise.
53976         (lrint_downward_test_data): Likewise.
53977         (lrint_upward_test_data): Likewise.
53978         (llrint_test_data): Likewise.
53979         (llrint_tonearest_test_data): Likewise.
53980         (llrint_towardzero_test_data): Likewise.
53981         (llrint_downward_test_data): Likewise.
53982         (llrint_upward_test_data): Likewise.
53983         (lround_test_data): Likewise.
53984         (llround_test_data): Likewise.
53986         * math/libm-test.inc (NO_TEST_INLINE): New macro.
53987         (ERRNO_UNCHANGED): Update value.
53988         (ERRNO_EDOM): Likewise.
53989         (ERRNO_ERANGE): Likewise.
53990         (NO_TEST_INLINE_FLOAT): New macro.
53991         (NO_TEST_INLINE_DOUBLE): Likewise.
53992         (enable_test): New function.
53993         (RUN_TEST_f_f): Check enable_test before running test.
53994         (RUN_TEST_2_f): Likewise.
53995         (RUN_TEST_fff_f): Likewise.
53996         (RUN_TEST_c_f): Likewise.
53997         (RUN_TEST_f_f1): Likewise.
53998         (RUN_TEST_fF_f1): Likewise.
53999         (RUN_TEST_fI_f1): Likewise.
54000         (RUN_TEST_ffI_f1): Likewise.
54001         (RUN_TEST_c_c): Likewise.
54002         (RUN_TEST_cc_c): Likewise.
54003         (RUN_TEST_f_i): Likewise.
54004         (RUN_TEST_f_i_tg): Likewise.
54005         (RUN_TEST_ff_i_tg): Likewise.
54006         (RUN_TEST_f_b): Likewise.
54007         (RUN_TEST_f_b_tg): Likewise.
54008         (RUN_TEST_f_l): Likewise.
54009         (RUN_TEST_f_L): Likewise.
54010         (RUN_TEST_fFF_11): Likewise.
54011         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
54012         conditionals.
54013         (cosh_test_data): Likewise.
54014         (exp_test_data): Likewise.
54015         (expm1_test_data): Likewise.
54016         (hypot_test_data): Likewise.
54017         (pow_test_data): Likewise.
54018         (sinh_test_data): Likewise.
54019         (tanh_test_data): Likewise.
54020         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
54021         flags argument.
54023         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
54024         tests with quiet NaN input and output.
54025         (acosh_test_data): Likewise.
54026         (asin_test_data): Likewise.
54027         (asinh_test_data): Likewise.
54028         (atan_test_data): Likewise.
54029         (atanh_test_data): Likewise.
54030         (atan2_test_data): Likewise.
54031         (cbrt_test_data): Likewise.
54032         (cos_test_data): Likewise.
54033         (cosh_test_data): Likewise.
54034         (erf_test_data): Likewise.
54035         (erfc_test_data): Likewise.
54036         (exp_test_data): Likewise.
54037         (exp10_test_data): Likewise.
54038         (exp2_test_data): Likewise.
54039         (expm1_test_data): Likewise.
54040         (hypot_test_data): Likewise.
54041         (j0_test_data): Likewise.
54042         (j1_test_data): Likewise.
54043         (jn_test_data): Likewise.
54044         (lgamma_test_data): Likewise.
54045         (log_test_data): Likewise.
54046         (log10_test_data): Likewise.
54047         (log1p_test_data): Likewise.
54048         (log2_test_data): Likewise.
54049         (pow_test_data): Likewise.
54050         (scalb_test_data): Likewise.
54051         (sin_test_data): Likewise.
54052         (sincos_test_data): Likewise.
54053         (sinh_test_data): Likewise.
54054         (tan_test_data): Likewise.
54055         (tanh_test_data): Likewise.
54056         (tgamma_test_data): Likewise.
54057         (y0_test_data): Likewise.
54058         (y1_test_data): Likewise.
54059         (yn_test_data): Likewise.
54061         [BZ #16167]
54062         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
54063         argument being NaN and avoid computations with second argument in
54064         that case.
54065         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54066         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
54067         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54069 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
54071         * locale/iso-639.def: Add Chitwani Tharu (the).
54073 2013-11-14  Andreas Schwab  <schwab@suse.de>
54075         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
54076         word instead of empty string.
54078 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54081         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
54082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54083         (__fe_nomask_env): Likewise.
54085 2013-11-13  Steve Ellcey  <sellcey@mips.com>
54087         * benchtests/bench-timing.h: Include time.h.
54089 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
54091         [BZ #15997]
54092         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
54093         to 3.4.0 for x32.
54094         * sysdeps/unix/sysv/linux/configure: Regenerated.
54096 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
54098         [BZ #16151]
54099         * stdlib/strtod_l.c (round_and_return): Do not consider
54100         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
54101         exponent one less than half the least subnormal exponent.
54102         * stdlib/test-strtod-round-data: Add more tests.
54103         * stdlib/tst-strtod-round.c (tests): Regenerated.
54105 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54107         [BZ #14143]
54108         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
54109         (__fe_mask_env): Likewise.
54110         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
54111         libm_hidden_proto and add function prototype.
54112         (__fe_mask_env): Add function prototype.
54113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54114         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
54115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54116         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
54117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54118         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
54120 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54122         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
54123         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
54125 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54127         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
54128         of htab_find_slot().
54130 2013-11-11  David S. Miller  <davem@davemloft.net>
54132         [BZ #16150]
54133         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
54134         symbol in the non-vis3 case in static builds.
54135         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
54136         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
54137         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
54138         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
54140 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
54142         [BZ #387]
54143         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
54144         it is empty.
54146 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54148         * benchtests/Makefile: Add bench-strtod.
54149         * benchtests/bench-strtod.c: New file: strtod benchtest
54151 2013-11-11  Andreas Schwab  <schwab@suse.de>
54153         [BZ #16153]
54154         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
54155         terminating NUL in key length.
54157 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54159         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54160         Add artificial ODP entry for vDSO symbol for PPC64.
54161         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
54162         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
54164 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54166         [BZ #15374]
54167         * nss/getent.c (services_keys): Recognize services starting with digit.
54169 2013-11-06  David S. Miller  <davem@davemloft.net>
54171         [BZ #15985]
54172         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
54173         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
54175 2013-11-06  Will Newton  <will.newton@linaro.org>
54177         * manual/memory.texi (Malloc Examples): Remove register
54178         keyword from examples.
54180 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
54182         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
54184 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
54186         [BZ #6981]
54187         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
54188         depending on [__GCC_IEC_559 > 0].
54189         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
54190         depending on [__GCC_IEC_559_COMPLEX > 0].
54192 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
54194         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
54195         to iso-639.def.
54197 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
54199         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
54201 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
54203         [BZ #16112]
54204         * malloc/malloc (malloc_info): Do not handle first bin as
54205         special case.
54207 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
54209         * locale/iso-639.def: Add Central Nahuatl (nhn).
54211 2013-11-01  Bruno Haible  <bruno@clisp.org>
54213         [BZ #7003]
54214         * manual/math.texi (BSD Random): Specify range upper bound as
54215         in POSIX.
54217 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
54219         * locale/iso-639.def: Add Meadow Mari (mhr).
54221 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
54223         [BZ #14752], [BZ #15763]
54224         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
54225         Validate name.
54226         * rt/tst_shm.c: Add test for escaping directory.
54228 2013-10-31  Andreas Schwab  <schwab@suse.de>
54230         [BZ #15917]
54231         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
54232         followed by 'x' as part of digit sequence.
54233         * stdio-common/tst-sscanf.c (double_tests2): New tests.
54235 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
54237         [BZ #16037]
54238         * configure.ac: allow GNU Make 4.0 and greater.
54239         * configure: Regenerated.
54241 2013-10-30  Will Newton  <will.newton@linaro.org>
54243         [BZ #16038]
54244         * malloc/hooks.c (memalign_check): Limit alignment to the
54245         maximum representable power of two.
54246         * malloc/malloc.c (__libc_memalign): Likewise.
54247         * malloc/tst-memalign.c (do_test): Add test for very
54248         large alignment values.
54249         * malloc/tst-posix_memalign.c (do_test): Likewise.
54251 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54253         [BZ #11087]
54254         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
54255         (munmap_chunk): Likewise.
54256         (mremap_chunk): Likewise.
54258 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54260         [BZ #15799]
54261         * stdlib/div.c (div): Remove obsolete code.
54262         * stdlib/ldiv.c (ldiv): Likewise.
54263         * stdlib/lldiv.c (lldiv): Likewise.
54265 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54267         [BZ #16071]
54268         * nss/nss_files/files-XXX.c (get_contents_ret): New
54269         enumerator.
54270         (get_contents): New function.
54271         (internal_getent): Use it.  Expand size of LINEBUFLEN.
54273 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
54275         * configure.in: Moved to ...
54276         * configure.ac: ... here. Change reference to configure.in
54277         to configure.ac.
54278         * sysdeps/arm/preconfigure.ac: ... here.
54279         configure.in to configure.ac.
54280         * sysdeps/gnu/configure.in: Moved to ...
54281         * sysdeps/gnu/configure.ac: ... here.
54282         * sysdeps/i386/configure.in: Moved to ...
54283         * sysdeps/i386/configure.ac: ... here.
54284         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
54285         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
54286         * sysdeps/mach/configure.in: Moved to ...
54287         * sysdeps/mach/configure.ac: ... here.
54288         * sysdeps/mach/hurd/configure.in: Moved to ...
54289         * sysdeps/mach/hurd/configure.ac: ... here.
54290         * sysdeps/powerpc/configure.in: Moved to ...
54291         * sysdeps/powerpc/configure.ac: ... here.
54292         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
54293         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
54294         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
54295         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
54296         * sysdeps/s390/s390-32/configure.in: Moved to ...
54297         * sysdeps/s390/s390-32/configure.ac: ... here.
54298         * sysdeps/s390/s390-64/configure.in: Moved to ...
54299         * sysdeps/s390/s390-64/configure.ac: ... here.
54300         * sysdeps/sh/configure.in: Moved to ...
54301         * sysdeps/sh/configure.ac: ... here.
54302         * sysdeps/sparc/configure.in: Moved to ...
54303         * sysdeps/sparc/configure.ac: ... here.
54304         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
54305         * sysdeps/unix/sysv/linux/configure.ac: ... here.
54306         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
54307         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
54308         * sysdeps/x86_64/configure.in: Moved to ...
54309         * sysdeps/x86_64/configure.ac: ... here.
54310         * sysdeps/x86_64/preconfigure.in: Moved to ...
54311         * sysdeps/x86_64/preconfigure.ac: ... here.
54312         * aclocal.m4: Change reference to configure.in to configure.ac.
54313         * config.h.in: Likewise.
54314         * manual/install.texi: Likewise.
54315         * manual/maint.texi: Likewise.
54316         * Makefile: Likewise.
54317         * malloc/Makefile: Likewise.
54318         * nscd/Makefile: Likewise.
54319         * Makeconfig: Change reference to configure.in and
54320         preconfigure.in to configure.ac and preconfigure.ac
54321         respectively.
54322         * INSTALL: Regenerated.
54323         * configure: Likewise.
54324         * sysdeps/gnu/configure: Likewise.
54325         * sysdeps/i386/configure: Likewise.
54326         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
54327         * sysdeps/mach/configure: Likewise.
54328         * sysdeps/mach/hurd/configure: Likewise.
54329         * sysdeps/powerpc/configure: Likewise.
54330         * sysdeps/powerpc/powerpc32/configure: Likewise.
54331         * sysdeps/powerpc/powerpc64/configure: Likewise.
54332         * sysdeps/s390/s390-32/configure: Likewise.
54333         * sysdeps/s390/s390-64/configure: Likewise.
54334         * sysdeps/sh/configure: Likewise.
54335         * sysdeps/sparc/configure: Likewise.
54336         * sysdeps/unix/sysv/linux/configure: Likewise.
54337         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
54338         * sysdeps/x86_64/configure: Likewise.
54339         * sysdeps/x86_64/preconfigure: Likewise.
54341 2013-10-29  Andreas Schwab  <schwab@suse.de>
54343         * stdio-common/Makefile (tst-swscanf-ENV): Define.
54345 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54347         * benchtests/pow-inputs: Add new inputs.
54349         * benchtests/exp-inputs: Add new inputs.
54351         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
54352         conditional check for return value.
54353         (__cos32): Likewise.
54355 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54357         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
54358         to provide a boost for large inputs with word alignment.
54359         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
54360         implementation based on optimized PPC64 strcpy.
54361         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
54362         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
54363         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
54364         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
54366 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54368         [BZ #2801]
54369         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
54371 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54373         [BZ #14876]
54374         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
54375         * time/tst-strptime.c (day_tests): Add testcase.
54377 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54379         [BZ #14029]
54380         * manual/pattern.texi: Acknowledge that fnmatch can fail.
54382 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
54384         [BZ #16074]
54385         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
54386         MAP_FAILED on error.
54388 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54390         [BZ #16072]
54391         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
54392         heap for large requests.
54394 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
54396         [BZ #9954]
54397         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
54398         result if the result has no associated interface.
54399         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
54400         interface for all 127.X.Y.Z addresses.
54402 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
54404         * locale/iso-639.def: Add Ligurian (lij)
54406 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
54408         [BZ #15825]
54409         * sunrpc/rpc_main.c: Document rpcgen -5.
54411 2013-10-19  Michael Stahl  <mstahl@redhat.com>
54413         * elf/rtld.c (do_preload): Print the reason why preloading failed.
54415 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54417         [BZ #10278]
54418         * posix/glob.c: Match only directories when trailing slash is present.
54419         * posix/tst-gnuglob.c (my_opendir): Do not open files.
54420         (main): Add testcase.
54422 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54424         [BZ #15670]
54425         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
54427 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
54429         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
54430         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
54431         AUTH_DES and cindex for FIPS 140-2.
54432         (DES Encryption): Add cindex FIPS 46-3.
54434         * locale/locarchive.h (struct locarhandle): Add fname.
54435         * locale/programs/localedef.c (main): Pass ARGV[remaining]
54436         if an optional argument was specified to --list-archive,
54437         otherwise NULL.
54438         * locale/programs/locarchive.c (show_archive_content): Take new
54439         argument fname and pass it via ah.fname to open_archive.
54440         * locale/programs/localedef.h: Update decl.
54441         (open_archive): If AH->fname is non-null, open that file
54442         rather than the default file name, and don't ignore ENOENT.
54443         (create_archive): Set AH.fname to NULL.
54444         (delete_locales_from_archive): Likewise.
54445         (add_locales_to_archive): Likewise.
54446         * locale/programs/locfile.c (write_all_categories): Likewise.
54448 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
54449             Aldy Hernandez  <aldyh@redhat.com>
54451         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
54452         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
54453         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
54454         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
54455         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
54456         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
54457         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
54458         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
54459         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
54460         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
54461         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
54462         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
54463         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
54464         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
54465         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
54466         Likewise.
54467         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
54468         Likewise.
54469         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
54470         Likewise.
54471         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
54472         Likewise.
54473         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
54474         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
54475         Likewise.
54476         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
54477         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
54478         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
54479         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
54480         Likewise.
54481         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
54482         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
54483         * sysdeps/powerpc/preconfigure: Likewise.
54484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
54485         Likewise.
54486         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
54487         Replace contents of file by #include of <fenv_libc.h>.
54488         * sysdeps/powerpc/soft-fp/sfp-machine.h
54489         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
54490         and <sys/prctl.h>.
54491         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
54492         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
54493         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
54494         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
54495         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
54496         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
54497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
54498         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
54499         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
54500         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
54501         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
54502         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
54503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54504         Allow copysignl PLT reference to be missing.
54506 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
54507             Joseph Myers  <joseph@codesourcery.com
54509         [BZ #15948]
54510         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
54511         single character.
54512         (add_to_tablewc): Assert sequence of wide characters is nonempty.
54514 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54516         * elf/tst-tls-dlinfo.c: Don't include tls.h.
54517         * elf/tst-tls1.c: Likewise.
54518         * elf/tst-tls10.h: Likewise.
54519         * elf/tst-tls14.c: Likewise.
54520         * elf/tst-tls2.c: Likewise.
54521         * elf/tst-tls3.c: Likewise.
54522         * elf/tst-tls4.c: Likewise.
54523         * elf/tst-tls5.c: Likewise.
54524         * elf/tst-tls6.c: Likewise.
54525         * elf/tst-tls7.c: Likewise.
54526         * elf/tst-tls8.c: Likewise.
54527         * elf/tst-tls9.c: Likewise.
54528         * elf/tst-tlsmod1.c: Likewise.
54529         * elf/tst-tlsmod13.c: Likewise.
54530         * elf/tst-tlsmod13a.c: Likewise.
54531         * elf/tst-tlsmod14a.c: Likewise.
54532         * elf/tst-tlsmod16a.c: Likewise.
54533         * elf/tst-tlsmod16b.c: Likewise.
54534         * elf/tst-tlsmod2.c: Likewise.
54535         * elf/tst-tlsmod3.c: Likewise.
54536         * elf/tst-tlsmod4.c: Likewise.
54537         * elf/tst-tlsmod5.c: Likewise.
54538         * elf/tst-tlsmod6.c: Likewise.
54540 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
54542         [BZ #12486]
54543         * malloc/malloc.c: remove checks for statistics.
54545 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54547         [BZ #15277]
54548         * inet/inet_net.c (inet_network): Detect additional invalid strings.
54549         * inet/tst-network.c: Add testcase.
54551 2013-10-17  Andreas Schwab  <schwab@suse.de>
54553         [BZ #15218]
54554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
54555         to determine canonical name.
54557 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54559         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
54560         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
54561         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54562         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54563         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54564         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54565         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54566         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54567         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54568         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54569         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54570         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54571         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54572         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54573         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54574         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54575         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54576         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54577         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54578         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54579         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54580         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54581         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54582         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
54583         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
54584         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54585         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54586         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
54587         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54588         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
54589         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54590         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54591         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54592         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54593         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54594         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54595         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54596         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54597         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54598         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54599         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54600         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54601         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54602         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54603         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54604         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54605         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54606         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54607         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54608         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54609         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54610         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54611         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54612         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54613         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54614         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54615         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54616         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54618 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
54620         [BZ #16041]
54621         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
54622         make result into a quiet NaN.
54624 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
54626         * soft-fp/adddf3.c: Fix horizontal whitespace.
54627         * soft-fp/addsf3.c: Likewise.
54628         * soft-fp/addtf3.c: Likewise.
54629         * soft-fp/divdf3.c: Likewise.
54630         * soft-fp/divsf3.c: Likewise.
54631         * soft-fp/divtf3.c: Likewise.
54632         * soft-fp/double.h: Likewise.
54633         * soft-fp/eqdf2.c: Likewise.
54634         * soft-fp/eqsf2.c: Likewise.
54635         * soft-fp/eqtf2.c: Likewise.
54636         * soft-fp/extenddftf2.c: Likewise.
54637         * soft-fp/extended.h: Likewise.
54638         * soft-fp/extendsfdf2.c: Likewise.
54639         * soft-fp/extendsftf2.c: Likewise.
54640         * soft-fp/extendxftf2.c: Likewise.
54641         * soft-fp/fixdfdi.c: Likewise.
54642         * soft-fp/fixdfsi.c: Likewise.
54643         * soft-fp/fixdfti.c: Likewise.
54644         * soft-fp/fixsfdi.c: Likewise.
54645         * soft-fp/fixsfsi.c: Likewise.
54646         * soft-fp/fixsfti.c: Likewise.
54647         * soft-fp/fixtfdi.c: Likewise.
54648         * soft-fp/fixtfsi.c: Likewise.
54649         * soft-fp/fixtfti.c: Likewise.
54650         * soft-fp/fixunsdfdi.c: Likewise.
54651         * soft-fp/fixunsdfsi.c: Likewise.
54652         * soft-fp/fixunsdfti.c: Likewise.
54653         * soft-fp/fixunssfdi.c: Likewise.
54654         * soft-fp/fixunssfsi.c: Likewise.
54655         * soft-fp/fixunssfti.c: Likewise.
54656         * soft-fp/fixunstfdi.c: Likewise.
54657         * soft-fp/fixunstfsi.c: Likewise.
54658         * soft-fp/fixunstfti.c: Likewise.
54659         * soft-fp/floatdidf.c: Likewise.
54660         * soft-fp/floatdisf.c: Likewise.
54661         * soft-fp/floatditf.c: Likewise.
54662         * soft-fp/floatsidf.c: Likewise.
54663         * soft-fp/floatsisf.c: Likewise.
54664         * soft-fp/floatsitf.c: Likewise.
54665         * soft-fp/floattidf.c: Likewise.
54666         * soft-fp/floattisf.c: Likewise.
54667         * soft-fp/floattitf.c: Likewise.
54668         * soft-fp/floatundidf.c: Likewise.
54669         * soft-fp/floatundisf.c: Likewise.
54670         * soft-fp/floatunditf.c: Likewise.
54671         * soft-fp/floatunsidf.c: Likewise.
54672         * soft-fp/floatunsisf.c: Likewise.
54673         * soft-fp/floatunsitf.c: Likewise.
54674         * soft-fp/floatuntidf.c: Likewise.
54675         * soft-fp/floatuntisf.c: Likewise.
54676         * soft-fp/floatuntitf.c: Likewise.
54677         * soft-fp/fmadf4.c: Likewise.
54678         * soft-fp/fmasf4.c: Likewise.
54679         * soft-fp/fmatf4.c: Likewise.
54680         * soft-fp/gedf2.c: Likewise.
54681         * soft-fp/gesf2.c: Likewise.
54682         * soft-fp/getf2.c: Likewise.
54683         * soft-fp/ledf2.c: Likewise.
54684         * soft-fp/lesf2.c: Likewise.
54685         * soft-fp/letf2.c: Likewise.
54686         * soft-fp/muldf3.c: Likewise.
54687         * soft-fp/mulsf3.c: Likewise.
54688         * soft-fp/multf3.c: Likewise.
54689         * soft-fp/negdf2.c: Likewise.
54690         * soft-fp/negsf2.c: Likewise.
54691         * soft-fp/negtf2.c: Likewise.
54692         * soft-fp/op-1.h: Likewise.
54693         * soft-fp/op-2.h: Likewise.
54694         * soft-fp/op-4.h: Likewise.
54695         * soft-fp/op-8.h: Likewise.
54696         * soft-fp/op-common.h: Likewise.
54697         * soft-fp/quad.h: Likewise.
54698         * soft-fp/single.h: Likewise.
54699         * soft-fp/soft-fp.h: Likewise.
54700         * soft-fp/sqrtdf2.c: Likewise.
54701         * soft-fp/sqrtsf2.c: Likewise.
54702         * soft-fp/sqrttf2.c: Likewise.
54703         * soft-fp/subdf3.c: Likewise.
54704         * soft-fp/subsf3.c: Likewise.
54705         * soft-fp/subtf3.c: Likewise.
54706         * soft-fp/truncdfsf2.c: Likewise.
54707         * soft-fp/trunctfdf2.c: Likewise.
54708         * soft-fp/trunctfsf2.c: Likewise.
54709         * soft-fp/trunctfxf2.c: Likewise.
54710         * soft-fp/unorddf2.c: Likewise.
54711         * soft-fp/unordsf2.c: Likewise.
54712         * soft-fp/unordtf2.c: Likewise.
54714 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
54716         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
54717         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
54719 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
54721         * elf/dl-libc.c: Clear initfini list after freeing.
54723 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
54725         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
54726         * soft-fp/addsf3.c: Likewise.
54727         * soft-fp/addtf3.c: Likewise.
54728         * soft-fp/divdf3.c: Likewise.
54729         * soft-fp/divsf3.c: Likewise.
54730         * soft-fp/divtf3.c: Likewise.
54731         * soft-fp/double.h: Likewise.
54732         * soft-fp/eqdf2.c: Likewise.
54733         * soft-fp/eqsf2.c: Likewise.
54734         * soft-fp/eqtf2.c: Likewise.
54735         * soft-fp/extenddftf2.c: Likewise.
54736         * soft-fp/extended.h: Likewise.
54737         * soft-fp/extendsfdf2.c: Likewise.
54738         * soft-fp/extendsftf2.c: Likewise.
54739         * soft-fp/extendxftf2.c: Likewise.
54740         * soft-fp/fixdfdi.c: Likewise.
54741         * soft-fp/fixdfsi.c: Likewise.
54742         * soft-fp/fixdfti.c: Likewise.
54743         * soft-fp/fixsfdi.c: Likewise.
54744         * soft-fp/fixsfsi.c: Likewise.
54745         * soft-fp/fixsfti.c: Likewise.
54746         * soft-fp/fixtfdi.c: Likewise.
54747         * soft-fp/fixtfsi.c: Likewise.
54748         * soft-fp/fixtfti.c: Likewise.
54749         * soft-fp/fixunsdfdi.c: Likewise.
54750         * soft-fp/fixunsdfsi.c: Likewise.
54751         * soft-fp/fixunsdfti.c: Likewise.
54752         * soft-fp/fixunssfdi.c: Likewise.
54753         * soft-fp/fixunssfsi.c: Likewise.
54754         * soft-fp/fixunssfti.c: Likewise.
54755         * soft-fp/fixunstfdi.c: Likewise.
54756         * soft-fp/fixunstfsi.c: Likewise.
54757         * soft-fp/fixunstfti.c: Likewise.
54758         * soft-fp/floatdidf.c: Likewise.
54759         * soft-fp/floatdisf.c: Likewise.
54760         * soft-fp/floatditf.c: Likewise.
54761         * soft-fp/floatsidf.c: Likewise.
54762         * soft-fp/floatsisf.c: Likewise.
54763         * soft-fp/floatsitf.c: Likewise.
54764         * soft-fp/floattidf.c: Likewise.
54765         * soft-fp/floattisf.c: Likewise.
54766         * soft-fp/floattitf.c: Likewise.
54767         * soft-fp/floatundidf.c: Likewise.
54768         * soft-fp/floatundisf.c: Likewise.
54769         * soft-fp/floatunsidf.c: Likewise.
54770         * soft-fp/floatunsisf.c: Likewise.
54771         * soft-fp/floatuntidf.c: Likewise.
54772         * soft-fp/floatuntisf.c: Likewise.
54773         * soft-fp/floatuntitf.c: Likewise.
54774         * soft-fp/fmadf4.c: Likewise.
54775         * soft-fp/fmasf4.c: Likewise.
54776         * soft-fp/fmatf4.c: Likewise.
54777         * soft-fp/gedf2.c: Likewise.
54778         * soft-fp/gesf2.c: Likewise.
54779         * soft-fp/getf2.c: Likewise.
54780         * soft-fp/ledf2.c: Likewise.
54781         * soft-fp/lesf2.c: Likewise.
54782         * soft-fp/letf2.c: Likewise.
54783         * soft-fp/muldf3.c: Likewise.
54784         * soft-fp/mulsf3.c: Likewise.
54785         * soft-fp/multf3.c: Likewise.
54786         * soft-fp/negdf2.c: Likewise.
54787         * soft-fp/negsf2.c: Likewise.
54788         * soft-fp/negtf2.c: Likewise.
54789         * soft-fp/op-1.h: Likewise.
54790         * soft-fp/op-2.h: Likewise.
54791         * soft-fp/op-4.h: Likewise.
54792         * soft-fp/op-8.h: Likewise.
54793         * soft-fp/op-common.h: Likewise.
54794         * soft-fp/quad.h: Likewise.
54795         * soft-fp/single.h: Likewise.
54796         * soft-fp/soft-fp.h: Likewise.
54797         * soft-fp/sqrtdf2.c: Likewise.
54798         * soft-fp/sqrtsf2.c: Likewise.
54799         * soft-fp/sqrttf2.c: Likewise.
54800         * soft-fp/subdf3.c: Likewise.
54801         * soft-fp/subsf3.c: Likewise.
54802         * soft-fp/subtf3.c: Likewise.
54803         * soft-fp/truncdfsf2.c: Likewise.
54804         * soft-fp/trunctfdf2.c: Likewise.
54805         * soft-fp/trunctfsf2.c: Likewise.
54806         * soft-fp/trunctfxf2.c: Likewise.
54807         * soft-fp/unorddf2.c: Likewise.
54808         * soft-fp/unordsf2.c: Likewise.
54809         * soft-fp/unordtf2.c: Likewise.
54811 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
54813         [BZ #15672]
54814         * misc/error.c (error_tail): Fix possible buffer overflow.
54816 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
54818         [BZ #13028]
54819         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
54820         address.
54822 2013-10-14  P. J. McDermott  <pj@pehjota.net>
54824         [BZ #832]
54825         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
54826         testing pipefail option.
54828 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54830         * soft-fp/double.h: Indent preprocessor directives inside #if.
54831         * soft-fp/extended.h: Likewise.
54832         * soft-fp/op-2.h: Likewise.
54833         * soft-fp/op-4.h: Likewise.
54834         * soft-fp/op-common.h: Likewise.
54835         * soft-fp/quad.h: Likewise.
54836         * soft-fp/single.h: Likewise.
54837         * soft-fp/soft-fp.h: Likewise.
54839 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
54841         * iconv/iconv_prog.c: Fix typos.
54842         * stdio-common/psiginfo-data.h: Likewise.
54844 2013-10-12   Reuben Thomas <rrt@sc3d.org>
54846         [BZ #15764]
54847         * locale/setlocale.c: Fix typo.
54849 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54851         [BZ #16036]
54852         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
54853         signaling NaN arguments.
54854         * soft-fp/unordsf2.c (__unordsf2): Likewise.
54855         * soft-fp/unordtf2.c (__unordtf2): Likewise.
54857         [BZ #14910]
54858         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
54859         unordered operands.
54860         * soft-fp/gesf2.c (__gesf2): Likewise.
54861         * soft-fp/getf2.c (__getf2): Likewise.
54862         * soft-fp/ledf2.c (__ledf2): Likewise.
54863         * soft-fp/lesf2.c (__lesf2): Likewise.
54864         * soft-fp/letf2.c (__letf2): Likewise.
54866         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
54867         * soft-fp/eqsf2.c (__eqsf2): Likewise.
54868         * soft-fp/eqtf2.c (__eqtf2): Likewise.
54869         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
54870         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
54871         * soft-fp/fixdfti.c (__fixdfti): Likewise.
54872         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
54873         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
54874         * soft-fp/fixsfti.c (__fixsfti): Likewise.
54875         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
54876         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
54877         * soft-fp/fixtfti.c (__fixtfti): Likewise.
54878         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
54879         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
54880         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
54881         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
54882         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
54883         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
54884         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
54885         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
54886         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
54887         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
54888         * soft-fp/floatdisf.c (__floatdisf): Likewise.
54889         * soft-fp/floatsisf.c (__floatsisf): Likewise.
54890         * soft-fp/floattidf.c (__floattidf): Likewise.
54891         * soft-fp/floattisf.c (__floattisf): Likewise.
54892         * soft-fp/floattitf.c (__floattitf): Likewise.
54893         * soft-fp/floatundidf.c (__floatundidf): Likewise.
54894         * soft-fp/floatundisf.c (__floatundisf): Likewise.
54895         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
54896         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
54897         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
54898         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
54899         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
54900         * soft-fp/gesf2.c (__gesf2): Likewise.
54901         * soft-fp/getf2.c (__getf2): Likewise.
54902         * soft-fp/ledf2.c (__ledf2): Likewise.
54903         * soft-fp/lesf2.c (__lesf2): Likewise.
54904         * soft-fp/letf2.c (__letf2): Likewise.
54906         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
54907         Undefine and redefine.
54908         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
54909         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
54910         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
54911         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
54912         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54913         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
54914         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54915         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
54916         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54917         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
54918         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54919         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
54920         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54921         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
54922         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54924         [BZ #16032]
54925         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
54926         without decrementing exponent if mantissa >= that for the
54927         denominator, not >.
54928         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
54929         denominator, not >.  Decrement exponent in < case instead of
54930         incrementing in >= case.
54931         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
54932         without decrementing exponent if mantissa >= that for the
54933         denominator, not >.
54935         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
54936         computing saturated result for unsigned overflow.
54938 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54939             Jeff Law  <law@redhat.com>
54941         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
54942         (atan2Mp): Add systemtap probe marker.
54943         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
54944         (__ieee754_log): Add systemtap probe marker.
54945         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
54946         (atanMp): Add systemtap probe marker.
54947         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
54948         (tanMp): Add systemtap probe marker.
54949         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
54950         (__slowexp): Add systemtap probe marker.
54951         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
54952         (__slowpow): Add systemtap probe marker.
54953         * manual/probes.texi: Document probes.
54955 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
54957         [BZ #15362]
54958         * libio/fileops.c (_IO_new_file_write): Return count of bytes
54959         written.
54960         (_IO_new_file_xsputn): Don't return EOF if nothing has been
54961         written.
54962         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
54963         written to buffer but not flushed.
54964         * libio/iofwrite_u.c:  Likewise.
54965         * libio/iopadn.c:  Return bytes returned even if EOF was
54966         encountered.
54967         * libio/iowpadn.c:  Likewise.
54968         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
54969         if _IO_padn does not write the whole buffer.
54970         [!COMPILE_WPRINTF] (PAD): Likewise.
54972 2013-10-10  David S. Miller  <davem@davemloft.net>
54974         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
54975         directory block.
54977 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54979         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
54980         instead of FSF address.
54981         * soft-fp/fixdfti.c: Likewise.
54982         * soft-fp/fixsfti.c: Likewise.
54983         * soft-fp/fixtfti.c: Likewise.
54984         * soft-fp/fixunsdfti.c: Likewise.
54985         * soft-fp/fixunssfti.c: Likewise.
54986         * soft-fp/fixunstfti.c: Likewise.
54987         * soft-fp/floattidf.c: Likewise.
54988         * soft-fp/floattisf.c: Likewise.
54989         * soft-fp/floattitf.c: Likewise.
54990         * soft-fp/floatuntidf.c: Likewise.
54991         * soft-fp/floatuntisf.c: Likewise.
54992         * soft-fp/floatuntitf.c: Likewise.
54993         * soft-fp/trunctfxf2.c: Likewise.
54995         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
54996         * soft-fp/fixdfti.c: Likewise.
54997         * soft-fp/fixsfti.c: Likewise.
54998         * soft-fp/fixtfti.c: Likewise.
54999         * soft-fp/fixunsdfti.c: Likewise.
55000         * soft-fp/fixunssfti.c: Likewise.
55001         * soft-fp/fixunstfti.c: Likewise.
55002         * soft-fp/floattidf.c: Likewise.
55003         * soft-fp/floattisf.c: Likewise.
55004         * soft-fp/floattitf.c: Likewise.
55005         * soft-fp/floatuntidf.c: Likewise.
55006         * soft-fp/floatuntisf.c: Likewise.
55007         * soft-fp/floatuntitf.c: Likewise.
55008         * soft-fp/trunctfxf2.c: Likewise.
55010 2013-10-10  David S. Miller  <davem@davemloft.net>
55012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55014 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
55016         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55017         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
55018         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
55019         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
55020         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
55021         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
55022         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
55024         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
55025         for NaNs before doing comparisons on argument.
55026         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
55027         Likewise.
55029 2013-10-10  Will Newton  <will.newton@linaro.org>
55031         * malloc/hooks.c (memalign_check): Ensure the value of bytes
55032         passed to _int_memalign does not overflow.
55034 2013-10-10  Torvald Riegel  <triegel@redhat.com>
55036         * scripts/bench.pl: Add include-sources directive.
55037         * benchtests/README: Update documentation.
55039 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55041         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
55042         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
55043         instead of FP_INIT_ROUNDMODE.
55044         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
55045         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
55047         [BZ #16034]
55048         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
55049         copy class of input value.
55050         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
55051         not handle exceptions.
55052         * soft-fp/negsf2.c (__negsf2): Likewise.
55053         * soft-fp/negtf2.c (__negtf2): Likewise.
55054         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
55056 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
55058         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
55059         semicolon.  From Linux kernel.
55061 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
55063         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
55065 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
55067         [BZ #156]
55068         * manual/socket.texi: Added statement about buffer
55069         for gethostbyname2_r.
55071 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
55073         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
55074         Use .p2align directive instead, throughout.
55075         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55076         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
55077         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
55078         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55079         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55080         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
55081         * sysdeps/x86_64/strchr.S: Likewise.
55082         * sysdeps/x86_64/strrchr.S: Likewise.
55084 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55086         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
55088         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
55090         * sysdeps/generic/math_private.h (__mpsin1): Remove
55091         declaration.
55092         (__mpcos1): Likewise.
55093         (__mpsin): New argument __range_reduce.
55094         (__mpcos): Likewise.
55095         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55096         (slow): Use __mpsin and __mpcos.
55097         (slow1): Likewise.
55098         (slow2): Likewise.
55099         (sloww): Likewise.
55100         (sloww1): Likewise.
55101         (sloww2): Likewise.
55102         (bsloww): Likewise.
55103         (bsloww1): Likewise.
55104         (bsloww2): Likewise.
55105         (cslow2): Likewise.
55106         (csloww): Likewise.
55107         (csloww1): Likewise.
55108         (csloww2): Likewise.
55109         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
55110         range_reduce.  Merge in __mpsin1.
55111         (__mpcos): Likewise.
55112         (__mpsin1): Remove.
55113         (__mpcos1): Likewise.
55115 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
55117         * locale/loadlocale.c (_nl_intern_locale_data): Use
55118         LOCFILE_ALIGNED_P.
55119         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
55120         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
55121         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
55122         obstack data is appropriately aligned.
55123         (obstack_int32_grow_fast): Likewise.
55124         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
55125         * locale/programs/locfile.c (add_locale_uint32): Likewise.
55126         (add_locale_uint32_array): Likewise.
55128 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55130         * benchtests/Makefile: Remove ARGLIST and RET variables.
55131         ($(objpfx)bench-%.c): Pass only function name to the script.
55132         * benchtests/README: Update documentation.
55133         * benchtests/acos-inputs: Add new directives.
55134         * benchtests/acosh-inputs: Likewise.
55135         * benchtests/asin-inputs: Likewise.
55136         * benchtests/asinh-inputs: Likewise.
55137         * benchtests/atan-inputs: Likewise.
55138         * benchtests/atanh-inputs: Likewise.
55139         * benchtests/cos-inputs: Likewise.
55140         * benchtests/cosh-inputs: Likewise.
55141         * benchtests/exp-inputs: Likewise.
55142         * benchtests/log-inputs: Likewise.
55143         * benchtests/pow-inputs: Likewise.
55144         * benchtests/rint-inputs: Likewise.
55145         * benchtests/sin-inputs: Likewise.
55146         * benchtests/sinh-inputs: Likewise.
55147         * benchtests/tan-inputs: Likewise.
55148         * benchtests/tanh-inputs: Likewise.
55149         * scripts/bench.pl: Add support for new directives.
55151 2013-10-07  Alan Modra  <amodra@gmail.com>
55153         * README: Fix careless merge.
55155 2013-10-05  Alan Modra  <amodra@gmail.com>
55157         * NEWS: Mention powerpc64le support and bugs fixed.
55158         * README: Both big-endian and little-endian powerpc64 supported.
55160 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55162         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
55163         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
55164         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
55165         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
55167 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
55169         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
55170         match prototype.
55172 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
55174         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
55175         Move -mhard-float appending from
55176         ports/sysdeps/powerpc/powerpc32/Makefile.
55177         [$(with-fp) = yes] (ASFLAGS): Likewise.
55178         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
55179         * sysdeps/powerpc/nofpu: Move directory from
55180         ports/sysdeps/powerpc/nofpu.
55181         * sysdeps/powerpc/soft-fp: Move directory from
55182         ports/sysdeps/powerpc/soft-fp.
55183         * sysdeps/powerpc/powerpc32/405: Move directory from
55184         ports/sysdeps/powerpc/powerpc32/405.
55185         * sysdeps/powerpc/powerpc32/440: Move directory from
55186         ports/sysdeps/powerpc/powerpc32/440.
55187         * sysdeps/powerpc/powerpc32/464: Move directory from
55188         ports/sysdeps/powerpc/powerpc32/464.
55189         * sysdeps/powerpc/powerpc32/476: Move directory from
55190         ports/sysdeps/powerpc/powerpc32/476.
55191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
55192         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
55193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
55194         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
55195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
55196         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
55197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
55198         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
55199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
55200         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
55201         * README: Update for powerpc-*-linux-gnu software floating point
55202         support in libc.
55204         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
55205         case to powerpc/powerpc32*.
55206         * sysdeps/unix/sysv/linux/configure: Regenerated.
55208         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
55209         (_FPU_MASK_OM): Define as 0x04.
55210         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
55211         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
55212         0x00c10080.
55213         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
55214         0x0000003c.
55215         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
55217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
55218         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55219         getcontext_e500.
55220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
55221         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55222         setcontext_e500.
55223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
55224         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
55225         and setcontext_e500.
55227 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
55229         * locale/iso-3166.def: Update iso-1366.def and related occurrences
55231 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55233         * manual/threads.texi (Default Thread Attributes): Fix typo.
55235 2013-10-04  Will Newton  <will.newton@linaro.org>
55237         * malloc/Makefile: Add tst-memalign.
55238         * malloc/tst-memalign.c: New file.
55240         * malloc/tst-posix_memalign.c: Add comments.
55241         (do_test): Add comments and call free on all potentially
55242         allocated pointers. Add space after cast.
55244         * malloc/tst-pvalloc.c: Add comments.
55245         (do_test): Add comments and call free on all potentially
55246         allocated pointers. Remove duplicate check for NULL pointer.
55247         Add space after cast.
55249         * malloc/tst-valloc.c: Add comments.
55250         (do_test): Add comments and call free on all potentially
55251         allocated pointers. Remove duplicate check for NULL pointer.
55252         Add space after cast.
55254 2013-10-04  Alan Modra  <amodra@gmail.com>
55256         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55257         Use stdint types in rather than __attribute__((mode())).
55258         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55260 2013-10-04  Alan Modra  <amodra@gmail.com>
55262         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55263         Correct handling of unaligned relocs for little-endian.
55264         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55266 2013-10-04  Alan Modra  <amodra@gmail.com>
55268         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
55269         * configure: Regenerate.
55270         * nptl/shlib-versions: Powerpc*le starts at 2.18.
55271         * shlib-versions: Likewise.
55273 2013-10-04  Alan Modra  <amodra@gmail.com>
55275         * string/tester.c (test_memrchr): Increment reported test cycle.
55277 2013-10-04  Alan Modra  <amodra@gmail.com>
55279         * string/test-memcpy.c (do_one_test): When reporting errors, print
55280         string address and don't overrun end of string.
55282 2013-10-04  Alan Modra  <amodra@gmail.com>
55284         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
55285         insrdi.  Make better use of reg selection to speed exit slightly.
55286         Schedule entry path a little better.  Remove useless "are we done"
55287         checks on entry to main loop.  Handle wrapping around zero address.
55288         Correct main loop count.  Handle single left-over word from main
55289         loop inline rather than by using loop_small.  Remove extra word
55290         case in loop_small caused by wrong loop count.  Add little-endian
55291         support.
55292         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55293         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
55294         cache hint.
55295         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55296         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
55297         support.  Avoid rlwimi.
55298         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
55300 2013-10-04  Alan Modra  <amodra@gmail.com>
55302         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
55303         insrdi.  Formatting.
55304         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
55305         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55306         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
55307         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55308         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55309         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
55311 2013-10-04  Alan Modra  <amodra@gmail.com>
55313         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
55314         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55315         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
55316         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
55317         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55318         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55319         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55320         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55321         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
55322         use of regs.  Use power7 mtocrf.  Tidy function tails.
55324 2013-10-04  Alan Modra  <amodra@gmail.com>
55326         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
55327         Formatting.  Consistently use rXXX register defines or rN defines.
55328         Use early exit labels that avoid restoring unused non-volatile regs.
55329         Make cr field use more consistent with rWORDn compares.  Rename
55330         regs used as shift registers for unaligned loop, using rN defines
55331         for short lifetime/multiple use regs.
55332         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55333         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
55334         addi 1,1,64 to pop stack frame.  Simplify return value code.
55335         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55337 2013-10-04  Alan Modra  <amodra@gmail.com>
55339         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
55340         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
55341         rather than rlwimi.
55342         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
55343         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
55344         little-endian support.  Correct typos.
55345         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
55346         rather than rlwimi.
55347         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
55348         in loop and entry code to keep "and." results.
55349         (strchr): Add little-endian support.  Comment.  Move cntlzd
55350         earlier in tail.
55351         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
55353 2013-10-04  Alan Modra  <amodra@gmail.com>
55355         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
55356         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
55357         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
55358         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
55360 2013-10-04  Alan Modra  <amodra@gmail.com>
55362         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
55363         (rTMP): Define as r11.
55364         (strcmp): Add little-endian support.  Optimise tail.
55365         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
55366         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55367         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55368         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55369         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55370         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55371         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55373 2013-10-04  Alan Modra  <amodra@gmail.com>
55375         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
55376         little-endian support.  Remove unnecessary "are we done" tests.
55377         Handle "s" wrapping around zero and extremely large "size".
55378         Correct main loop count.  Handle single left-over word from main
55379         loop inline rather than by using small_loop.  Correct comments.
55380         Delete "zero" tail, use "end_max" instead.
55381         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
55383 2013-10-04  Alan Modra  <amodra@gmail.com>
55385         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
55386         support.  Don't branch over align.
55387         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
55388         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
55389         support.  Rearrange tmp reg use to suit.  Comment.
55390         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
55392 2013-10-04  Alan Modra  <amodra@gmail.com>
55394         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
55396 2013-10-04  Alan Modra  <amodra@gmail.com>
55398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
55399         conditional form of branch and link when obtaining pc.
55400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
55402 2013-10-04  Alan Modra  <amodra@gmail.com>
55404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
55405         HIWORD/LOWORD.
55406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
55407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
55409 2013-10-04  Alan Modra  <amodra@gmail.com>
55411         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
55412         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
55413         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
55414         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
55415         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
55416         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55417         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
55418         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55419         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
55420         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
55422 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55423             Alistair Popple <alistair@ozlabs.au.ibm.com>
55424             Alan Modra <amodra@gmail.com>
55426         [BZ #15723]
55427         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
55428         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
55429         _dl_hwcap access for little-endian.
55430         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
55431         destroy vmx regs when saving unaligned.
55432         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
55433         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
55434         destroy vmx regs when saving unaligned.
55436 2013-10-04  Alan Modra  <amodra@gmail.com>
55438         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
55439         Don't use a union to pack hi/low value.
55441 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55443         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
55444         for little-endian.
55445         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55446         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
55447         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55448         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55449         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55451 2013-10-04  Alan Modra  <amodra@gmail.com>
55453         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
55454         constants to usual value for .cst8 section, and remove redundant
55455         high address load.
55456         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
55457         constant for 0x1p52.  Load little-endian words of double from
55458         correct stack offsets.
55460 2013-10-04  Alan Modra  <amodra@gmail.com>
55462         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
55463         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
55464         words of double from correct stack offsets.
55465         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
55466         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
55467         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55468         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55469         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55470         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55471         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55472         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
55473         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
55474         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55475         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55476         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55477         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55478         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55479         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55480         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
55481         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
55483 2013-10-04  Alan Modra  <amodra@gmail.com>
55485         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
55486         64-bit int/double union.
55487         (_FPU_SETCW): Likewise.
55488         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
55489         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
55491 2013-10-04  Alan Modra  <amodra@gmail.com>
55493         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
55494         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
55496 2013-10-04  Alan Modra  <amodra@gmail.com>
55498         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
55499         use vector int constants.
55500         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
55502 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55504         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
55505         array with long long.
55506         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
55507         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
55508         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
55509         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
55510         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
55511         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
55512         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
55513         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
55514         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
55515         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
55516         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
55517         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
55518         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
55520 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55522         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
55523         (__signbit): Likewise.  Correct for little-endian.
55524         (__signbitl): Call __signbit.
55525         (lrint): Correct for little-endian.
55526         (lrintf): Call lrint.
55528 2013-10-04  Alan Modra  <amodra@gmail.com>
55530         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
55531         union 32-bit int array member with 64-bit int array.
55532         (t515, tm256): Double rather than long double.
55533         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
55535 2013-10-04  Alan Modra  <amodra@gmail.com>
55537         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
55538         Delete.
55539         (IEEE854_LONG_DOUBLE_BIAS): Delete.
55540         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
55541         version of math_ldbl.h.
55543 2013-10-04  Alan Modra  <amodra@gmail.com>
55545         [BZ #15734], [BZ #15735]
55546         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
55547         all uses of ieee875 long double macros and unions.  Simplify test
55548         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
55549         ldbl_extract_mantissa value for ix,iy exponents.  Properly
55550         normalize after ldbl_extract_mantissa, and don't add hidden bit
55551         already handled.  Don't treat low word of ieee854 mantissa like
55552         low word of IBM long double and mask off bit when testing for
55553         zero.
55554         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
55555         all uses of ieee875 long double macros and unions.  Simplify tests
55556         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
55557         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
55558         two1022, instead use their values.  Recognise that tests for large
55559         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
55560         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
55561         Rewrite all uses of ieee875 long double macros and unions.  Simplify
55562         test for 0.0L and nan.  Correct negation.
55563         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
55564         ieee875 long double macros and unions.  Correct output for large
55565         magnitude x.  Correct absolute value calculation.
55566         (__erfcl): Likewise.
55567         * math/libm-test.inc: Add tests for errors discovered in IBM long
55568         double versions of fmodl, remainderl, erfl and erfcl.
55570 2013-10-04  Alan Modra  <amodra@gmail.com>
55572         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
55573         all uses of ieee854 long double macros and unions.  Simplify tests
55574         for long doubles that are fully specified by the high double.
55575         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
55576         Likewise.
55577         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
55578         Remove dead code too.
55579         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
55580         (__ieee754_ynl): Likewise.
55581         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
55582         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
55583         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
55584         Remove dead code too.
55585         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
55586         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
55587         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
55588         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
55589         Simplify.
55590         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
55591         Simplify.
55592         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
55593         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
55594         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
55595         Comment on variable precision.
55596         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
55597         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
55598         Likewise.
55599         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
55600         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55601         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55602         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
55603         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
55605 2013-10-04  Alan Modra  <amodra@gmail.com>
55607         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
55608         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
55609         all uses of ieee854 long double macros and unions.
55610         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
55611         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55612         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
55613         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
55614         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
55615         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55616         Likewise.
55617         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
55618         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55619         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
55620         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55621         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
55622         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
55623         Simplify sign and nan test too.
55624         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
55625         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
55626         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
55627         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
55628         Likewise.
55629         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55630         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
55631         Likewise.
55632         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55633         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
55634         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
55635         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
55636         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
55637         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
55639 2013-10-04  Alan Modra  <amodra@gmail.com>
55641         * stdio-common/printf_size.c (__printf_size): Don't use
55642         union ieee854_long_double in fpnum union.
55643         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
55644         signbit macro to retrieve sign from long double.
55645         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
55646         retrieve sign from long double.
55647         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
55648         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
55649         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
55650         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55651         * math/test-misc.c (main): Don't use union ieee854_long_double.
55653 2013-10-04  Alan Modra  <amodra@gmail.com>
55655         [BZ #15680]
55656         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
55657         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
55658         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
55659         calculation.  Remove unnecessary test for denormal exponent.
55660         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
55661         Correct handling of denormals.  Avoid undefined shift behaviour.
55662         Correct normalisation of low mantissa when low double is denormal.
55663         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
55664         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
55665         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
55666         Correct normalisation of low mantissa.  Test for overflow of high
55667         mantissa and normalise.
55668         (ldbl_nearbyint): Use more readable constant for two52.
55669         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
55670         (__mpn_construct_long_double): Fix test for overflow of high
55671         mantissa and correct normalisation.  Avoid undefined shift.
55673 2013-10-04  Alan Modra  <amodra@gmail.com>
55675         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55676         (union ibm_extended_long_double): Define as an array of ieee754_double.
55677         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
55678         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
55679         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
55680         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55681         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55682         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
55683         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55684         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55685         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55686         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
55687         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55689 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
55691         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
55692         page size instead of calling getpagesize.
55694         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
55695         (LOCFILE_ALIGN_MASK): Likewise.
55696         (LOCFILE_ALIGN_UP): Likewise.
55697         (LOCFILE_ALIGNED_P): Likewise.
55698         * locale/programs/ld-collate.c (collate_output): Use the new
55699         macros instead of __alignof__ (int32_t).
55700         * locale/weight.h (findidx): Likewise.
55702 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
55704         [BZ #431]
55705         * manual/string.texi: Fix strncat and wcsncat.
55707 2013-10-03  Brooks Moses  <bmoses@google.com>
55709         [BZ #15915]
55710         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
55711         * Makerules: ...here, and adjust associated comments.
55713 2013-10-02  Will Newton  <will.newton@linaro.org>
55715         * malloc/Makefile: Add tst-pvalloc.
55716         * malloc/tst-pvalloc.c: New file.
55718 2013-10-02  Will Newton  <will.newton@linaro.org>
55720         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
55721         improve test coverage.
55723 2013-10-02  Will Newton  <will.newton@linaro.org>
55725         * malloc/Makefile: Add tst-posix_memalign.
55726         * malloc/tst-posix_memalign.c: New file.
55728 2013-10-01  Eric Blake  <eblake@redhat.com>
55730         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
55731         Use __THROWNL rather than __THROW on static functions.
55733 2013-09-30  Petr Machata  <pmachata@redhat.com>
55735         * elf/elf.h (R_AARCH64_ABS16): New macro.
55736         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
55737         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
55738         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
55739         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
55740         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
55741         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
55742         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
55743         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
55744         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
55745         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
55746         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
55747         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
55748         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
55749         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
55750         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
55751         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
55752         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
55753         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
55754         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
55755         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
55756         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
55757         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
55758         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
55759         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
55760         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
55761         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
55762         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
55763         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
55764         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
55765         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
55766         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
55767         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
55768         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
55769         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
55770         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
55771         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
55772         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
55773         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
55774         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
55775         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
55776         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
55777         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
55778         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
55779         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
55780         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
55781         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
55782         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
55783         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
55784         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
55785         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
55786         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
55787         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
55788         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
55789         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
55790         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
55791         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
55792         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
55793         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
55794         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
55795         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
55796         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
55797         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
55798         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
55799         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
55800         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
55801         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
55802         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
55803         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
55804         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
55805         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
55806         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
55807         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
55808         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
55809         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
55810         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
55811         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
55812         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
55813         (R_AARCH64_TLSDESC_LDR): Likewise.
55814         (R_AARCH64_TLSDESC_ADD): Likewise.
55815         (R_AARCH64_TLSDESC_CALL): Likewise.
55817 2013-09-30  Andreas Schwab  <schwab@suse.de>
55819         [BZ #15048]
55820         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
55821         the nss database lookup.
55822         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55823         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55825 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
55827         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
55829 2013-09-28  P. J. McDermott  <pj@pehjota.net>
55831         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
55832         ${Bash-specific parameter/pattern/string} parameter expansion.
55833         * sysdeps/unix/make-syscalls.sh: Likewise.
55835 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55837         * sysdeps/sh/stackguard-macros.h: New file.
55839 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
55841         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55842         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
55843         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
55844         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
55845         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55846         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
55848 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55850         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
55851         Fix thread ID register.
55853 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
55855         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
55856         [POSIX || UNIX98]: Require rather than permitting all symbols from
55857         <time.h>.
55858         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
55859         element of struct sched_param.
55860         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
55861         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
55862         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
55863         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
55864         constant.
55866 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
55868         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
55869         argument calculation.
55871 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55873         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
55874         Expect macro.
55875         [POSIX] (pthread_attr_t): Do not require type.
55876         [POSIX] (pthread_cond_t): Likewise.
55877         [POSIX] (pthread_condattr_t): Likewise.
55878         [POSIX] (pthread_key_t): Likewise.
55879         [POSIX] (pthread_mutex_t): Likewise.
55880         [POSIX] (pthread_mutexattr_t): Likewise.
55881         [POSIX] (pthread_once_t): Likewise.
55882         [POSIX] (pthread_t): Likewise.
55883         [POSIX-based standards] (pthread_atfork): Expect function.
55885 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55886             Richard Sandiford  <richard@codesourcery.com>
55888         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
55889         (swap_endianness_p): New extern variable.
55890         (set_big_endian): New inline function.
55891         (maybe_swap_uint32): Likewise.
55892         (maybe_swap_uint32_array): Likewise.
55893         (maybe_swap_uint32_obstack): Likewise.
55894         * locale/programs/locfile.c: Include <stdbool.h>.
55895         (swap_endianness_p): New variable.
55896         (add_locale_uint32): Call maybe_swap_uint32.
55897         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
55898         (write_locale_data): Call maybe_swap_uint32_array.
55899         * locale/programs/ld-collate.c (obstack_int32_grow): Call
55900         maybe_swap_uint32.
55901         (obstack_int32_grow_fast): Likewise.
55902         (output_weightwc): Call maybe_swap_uint32_obstack.
55903         (collate_output): Likewise.
55904         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
55905         (OPT_LITTLE_ENDIAN): Likewise.
55906         (options): Add --little-endian and --big-endian options.
55907         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
55908         * locale/programs/locarchive.c: Include "locfile.h".
55909         (GET): New macro.
55910         (SET): Likewise.
55911         (INC): Likewise.
55912         (create_archive): Use the new macros to access fields of
55913         structures directly mapped from or written to locale archives.
55914         (oldlocrecentcmp): Likewise.
55915         (enlarge_archive): Likewise.
55916         (insert_name): Likewise.
55917         (add_alias): Likewise.
55918         (add_locale): Likewise.
55919         (delete_locales_from_archive): Likewise.
55920         (show_archive_content): Likewise.
55921         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
55922         locale data.
55924 2013-09-24  Roland McGrath  <roland@hack.frob.com>
55926         * manual/freemanuals.texi: Updated from (newly) canonical copy at
55927         http://www.gnu.org/doc/freemanuals.texi.
55928         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
55930 2013-09-24  Will Newton  <will.newton@linaro.org>
55932         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
55933         macro.
55935 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
55937         * locale/hashval.h (compute_hashval): Interpret bytes of key as
55938         unsigned char.
55940 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
55942         * manual/threads.texi (POSIX Threads): Fix a typo.
55944 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55946         [BZ #14547]
55947         * string/tst-strcoll-overflow.c: New test case.
55948         * string/Makefile (xtests): Add tst-strcoll-overflow.
55949         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
55950         cache if string sizes may cause integer overflow.
55952         [BZ #14547]
55953         * string/strcoll_l.c (coll_seq): New members rule, idx,
55954         save_idx and back_us.
55955         (get_next_seq_nocache): New function.
55956         (do_compare_nocache): New function.
55957         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
55958         when malloc fails.
55960 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
55962         [BZ #15754]
55963         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
55964         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
55965         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
55967         [BZ #15754]
55968         * elf/Makefile (tests): Add tst-ptrguard1.
55969         (tests-static): Add tst-ptrguard1-static.
55970         (tst-ptrguard1-ARGS): Define.
55971         (tst-ptrguard1-static-ARGS): Define.
55972         * elf/tst-ptrguard1.c: New file.
55973         * elf/tst-ptrguard1-static.c: New file.
55974         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
55975         * sysdeps/i386/stackguard-macros.h: Likewise.
55976         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55977         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55978         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55979         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55980         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55981         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55983 2013-09-23  Hector Marco  <hecmargi@upv.es>
55984             Ismael Ripoll  <iripoll@disca.upv.es>
55985             Carlos O'Donell  <carlos@redhat.com>
55987         [BZ #15754]
55988         * sysdeps/generic/stackguard-macros.h: Define
55989         __pointer_chk_guard_local and POINTER_CHK_GUARD.
55990         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
55991         Define __pointer_chk_guard_local.
55992         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
55993         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
55995 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
55997         [BZ #15859]
55998         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
56000 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
56002         * include/string.h (__ffs): Declare as hidden.
56003         * string/ffs.c (__ffs): Define as hidden.
56004         * sysdeps/i386/ffs.c (__ffs): Likewise.
56005         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
56006         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
56007         * sysdeps/s390/ffs.c (__ffs): Likewise.
56008         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
56010 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
56012         * NEWS: Mention malloc probes.
56014         * malloc/arena.c (new_heap): New memory_heap_new probe.
56015         (grow_heap): New memory_heap_more probe.
56016         (shrink_heap): New memory_heap_less probe.
56017         (heap_trim): New memory_heap_free probe.
56018         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
56019         (systrim): New memory_sbrk_less probe.
56020         * manual/probes.texi: Document them.
56022         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
56023         * manual/probes.texi: Document it.
56025         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
56026         (__libc_realloc): Add memory_realloc_retry probe.
56027         (__libc_memalign): Add memory_memalign_retry probe.
56028         (__libc_valloc): Add memory_valloc_retry probe.
56029         (__libc_pvalloc): Add memory_pvalloc_retry probe.
56030         (__libc_calloc): Add memory_calloc_retry probe.
56031         * manual/probes.texi: Document them.
56033         * malloc/arena.c (get_free_list): Add probe
56034         memory_arena_reuse_free_list.
56035         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
56036         and memory_arena_reuse.
56037         (arena_get2) [!PER_THREAD]: Likewise.
56038         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
56039         memory_arena_reuse_realloc.
56040         * manual/probes.texi: Document them.
56042         * malloc/malloc.c (__libc_free): Add
56043         memory_mallopt_free_dyn_thresholds probe.
56044         (__libc_mallopt): Add multiple memory_mallopt probes.
56045         * manual/probes.texi: Document them.
56047         * malloc/malloc.c: Include stap-probe.h.
56048         (__libc_mallopt): Add memory_mallopt probe.
56049         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
56050         * manual/probes.texi: New.
56051         * manual/Makefile (chapters): Add probes.
56052         * manual/threads.texi: Set next node.
56054 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
56056         [BZ #15963, #13985]
56057         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
56058         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
56059         Add `Chinese' to `nan' entry name.
56061 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56063         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
56064         (POLYNOMIAL): Likewise.
56065         (TAYLOR_SINCOS): Likewise.
56066         (TAYLOR_SLOW): Likewise.
56067         (__sin): Use TAYLOR_SINCOS.
56068         (__cos): Likewise.
56069         (slow): Use TAYLOR_SLOW.
56070         (sloww): Likewise.
56071         (bsloww): Likewise.
56072         (csloww): Likewise.
56074 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56076         * stdlib/strtod_l.c: Fix buffer overrun.
56078 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56080         * benchtests/Makefile (bench): Add sincos.
56081         * benchtests/bench-sincos.c: New file.
56083         * math/libm-test.inc (cos_test_data): New test inputs.
56084         (sin_test_data): Likewise.
56086         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
56087         macro.
56088         (__sin): Use it.
56089         (__cos): Likewise.
56090         (slow1): Likewise.
56091         (slow2): Likewise.
56092         (sloww1): Likewise.
56093         (sloww2): Likewise.
56094         (bsloww1): Likewise.
56095         (bsloww2): Likewise.
56096         (cslow2): Likewise.
56097         (csloww1): Likewise.
56098         (csloww2): Likewise.
56100         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
56101         function.
56102         (__sin): Use it.
56103         (__cos): Likewise.
56105         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
56106         gotos.
56107         (__cos): Likewise.
56109 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
56111         * config.h.in (HAVE_MIPS_NAN2008): New macro.
56112         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
56113         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
56114         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
56115         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
56116         * elf/cache.c (print_entry): Handle the new cache flags.
56118 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56119             Aldy Hernandez  <aldyh@redhat.com>
56121         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
56122         Change condition to [_SOFT_FLOAT].
56123         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
56124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
56125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
56126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
56127         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
56128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
56129         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
56130         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
56131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
56132         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
56133         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
56134         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
56135         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56136         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
56137         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
56138         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
56139         declaration.
56141 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56143         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
56144         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56145         (__longjmp): Use LOAD_GP to load saved GPRs.
56146         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
56147         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56148         (__sigsetjmp): Use SAVE_GP to save GPRs.
56150         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
56151         Do not append -msoft-float.
56152         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
56154 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56156         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
56158 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
56160         [BZ #15966]
56161         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
56162         (_FPU_GETCW): Use initial "__" on variable and field names but not
56163         on macro parameter name.
56164         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
56165         parentheses around reference to macro parameter.
56167 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
56169         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
56170         prototype.
56171         (ctype_startup): Use uint32_t in cast and sizeof for
56172         ctype->charnames.
56174 2013-09-11  Jia Liu  <proljc@gmail.com>
56176         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
56177         __daddr_t_defined.
56178         [__FreeBSD__]: Likewise.
56180 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
56182         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
56183         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
56184         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
56185         (strchr): Remove __strchr_sse42 ifunc selection.
56186         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
56187         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
56189 2013-09-11  Will Newton  <will.newton@linaro.org>
56191         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
56192         parameter to RES. Remove hardcoded 1000 value.
56193         * benchtests/bench-skeleton.c (main): Pass RES parameter
56194         to TIMING_INIT and multiply result by 1000.
56196 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56200 2013-09-11  Andreas Schwab  <schwab@suse.de>
56202         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
56203         if not defined.
56204         (O_TMPFILE) [__USE_GNU]: Define.
56205         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
56206         Define.
56208 2013-09-11  Will Newton  <will.newton@linaro.org>
56210         [BZ #15857]
56211         * malloc/malloc.c (__libc_memalign): Check the value of bytes
56212         does not overflow.
56214 2013-09-11  Will Newton  <will.newton@linaro.org>
56216         [BZ #15856]
56217         * malloc/malloc.c (__libc_valloc): Check the value of bytes
56218         does not overflow.
56220 2013-09-11  Will Newton  <will.newton@linaro.org>
56222         [BZ #15855]
56223         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
56224         does not overflow.
56226 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
56228         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
56229         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56230         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56231         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56232         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56234 2013-09-10  Allan McRae  <allan@archlinux.org>
56236         [BZ #15748]
56237         * manual/arith.texi (Parsing of Floats): Clarify
56238         cross-reference.
56240         [BZ #15849]
56241         * manual/install.texi (Running make install): Mention
56242         --enable-pt-chown.
56243         * INSTALL: Regenerated.
56245 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
56247         * csu/init-first.c (_init): Remove the !SHARED condition around
56248         FPU control word initialization.
56249         * elf/dl-support.c (_dl_fpu_control): New variable.
56250         (_dl_aux_init) <AT_FPUCW>: Initialize it.
56251         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
56252         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
56253         * math/test-fpucw-static.c: New file.
56254         * math/test-fpucw-ieee.c: New file.
56255         * math/test-fpucw-ieee-static.c: New file.
56256         * math/Makefile (tests): Add `test-fpucw-ieee' and
56257         `$(tests-static)'.
56258         (tests-static): New variable.
56259         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
56260         dependency to...
56261         [($(build-shared),yes)]
56262         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
56263         ... this.
56264         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
56265         New dependency.
56267 2013-09-09  Allan McRae  <allan@archlinux.org>
56269         [BZ #15939]
56270         * manual/string.texi (Collation Functions): Fix typo in
56271         strcoll example.
56272         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
56274         [BZ #15893]
56275         * stdlib/isomac.c (get_null_defines): Fix memory leak.
56277         [BZ #15892]
56278         * libio/memstream.c (open_memstream): Fix memory leak.
56279         * libio/wmemstream.c (open_wmemstream): Likewise.
56281         [BZ #15895]
56282         * nscd/netgroupcache.c: Fix nesting of ifdefs.
56284 2013-09-09  Will Newton  <will.newton@linaro.org>
56286         * malloc/Makefile: Add tst-realloc to tests.
56287         * malloc/tst-realloc.c: New file.
56289 2013-09-09  Allan McRae  <allan@archlinux.org>
56291         [BZ #15844]
56292         * COPYING: Update from GNU website to fix FSF address.
56293         * COPYING.LIB: Likewise.
56295 2013-09-06  David S. Miller  <davem@davemloft.net>
56297         * po/zh_TW.po: Update Chinese (traditional) translation from
56298         translation project.
56300 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
56301             Joseph Myers  <joseph@codesourcery.com>
56303         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
56304         "localeinfo.h".
56305         (obstack_chunk_alloc): New macro.
56306         (obstack_chunk_free): Likewise.
56307         (record_offset): New function.
56308         (init_locale_data): Likewise.
56309         (align_locale_data): Likewise.
56310         (add_locale_empty): Likewise.
56311         (add_locale_raw_data): Likewise.
56312         (add_locale_raw_obstack): Likewise.
56313         (add_locale_string): Likewise.
56314         (add_locale_wstring): Likewise.
56315         (add_locale_uint32): Likewise.
56316         (add_locale_uint32_array): Likewise.
56317         (add_locale_char): Likewise.
56318         (start_locale_structure): Likewise.
56319         (end_locale_structure): Likewise.
56320         (start_locale_prelude): Likewise.
56321         (end_locale_prelude): Likewise.
56322         (write_locale_data): Take locale_file structure rather than an
56323         iovec.
56324         * locale/programs/locfile.h: Include "obstack.h".
56325         (struct locale_file): Change to store locale file contents instead
56326         of header.
56327         (init_locale_data): New prototype.
56328         (align_locale_data): Likewise.
56329         (add_locale_empty): Likewise.
56330         (add_locale_raw_data): Likewise.
56331         (add_locale_raw_obstack): Likewise.
56332         (add_locale_string): Likewise.
56333         (add_locale_wstring): Likewise.
56334         (add_locale_uint32): Likewise.
56335         (add_locale_uint32_array): Likewise.
56336         (add_locale_char): Likewise.
56337         (start_locale_structure): Likewise.
56338         (end_locale_structure): Likewise.
56339         (start_locale_prelude): Likewise.
56340         (end_locale_prelude): Likewise.
56341         (write_locale_data): Update prototype.
56342         * locale/programs/3level.h (struct TABLE): Remove result field.
56343         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
56344         Use new locale_file interface.
56345         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
56346         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
56347         * locale/programs/ld-address.c (address_output): Use new
56348         locale_file interface.
56349         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
56350         NO_ADD_LOCALE.
56351         (collate_finish): Don't call collseq_table_finalize.
56352         (collate_output): Use new locale_file interface.
56353         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
56354         in file.
56355         (NO_FINALIZE): Change to NO_ADD_LOCALE.
56356         (TABLE): Move defines earlier in file.
56357         (ELEMENT): Likewise.
56358         (DEFAULT): Likewise.
56359         (wctrans_table_add): Move macro and inline function earlier in
56360         file.
56361         (struct wctype_table): Move type earlier in file.
56362         (add_locale_wctype_table): New static prototype.
56363         (struct locale_ctype_t): Use logical types instead of struct iovec
56364         pointers for members.
56365         (ctype_output): Use new locale_file interface.
56366         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
56367         new locale_file interface.
56368         (allocate_arrays): Update for use of new locale_file interface.
56369         * locale/programs/ld-identification.c (identification_output): Use
56370         new locale_file interface.
56371         * locale/programs/ld-measurement.c (measurement_output): Likewise.
56372         * locale/programs/ld-messages.c (messages_output): Likewise.
56373         * locale/programs/ld-monetary.c (monetary_output): Likewise.
56374         * locale/programs/ld-name.c (name_output): Likewise.
56375         * locale/programs/ld-numeric.c (numeric_output): Likewise.
56376         * locale/programs/ld-paper.c (paper_output): Likewise.
56377         * locale/programs/ld-telephone.c (telephone_output): Likewise.
56378         * locale/programs/ld-time.c (time_output): Likewise.
56380 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56382         * benchtests/Makefile: Add memrchr benchmark.
56383         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
56384         benchmark as memrchr.
56385         * benchtests/bench-memrchr-ifunc.c: New file.
56386         * benchtests/bench-memrchr.c: New file.
56388 2013-09-06   Will Newton  <will.newton@linaro.org>
56390         * benchtests/Makefile (string-bench): Add memcpy.
56392 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
56393             Cong Wang  <amwang@redhat.com>
56395         [BZ #15850]
56396         * sysdeps/unix/sysv/linux/bits/in.h
56397         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
56398         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
56399         before __USE_KERNEL_IPV6_DEFS uses.
56400         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
56401         IPPROTO_BEETPH.
56402         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
56403         sockaddr_in6, or ipv6_mreq.
56405 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56407         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
56408         memory access for final bytes in some large inputs.
56409         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
56411 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56413         * string/test-memrchr.c: New file.
56414         * string/test-memrchr-ifunc.c: New file.
56415         * string/Makefile: Add new memrchr testcase.
56417 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
56419         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
56420         fanotify_init returns EPERM.
56422 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56424         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
56425         errors.
56426         (top level): Treat second token from macro or constant entries for
56427         allowed headers as allowed.
56428         * include/complex.h: Condition internal declarations on
56429         [!_ISOMAC].
56430         * include/fenv.h: Condition include of <stdbool.h> and internal
56431         declarations on [!_ISOMAC].
56433 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
56435         [BZ #15923]
56436         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
56438 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56440         * configure.in (--enable-versioning): Remove configure option.
56441         (libc_cv_asm_symver_directive): Remove configure test.
56442         (libc_cv_ld_version_script_option): Likewise.
56443         (VERSIONING): Remove variable and AC_SUBST.
56444         (DO_VERSIONING): Remove AC_DEFINE.
56445         * configure: Regenerated.
56446         * config.h.in (DO_VERSIONING): Remove macro.
56447         * Makerules [$(versioning) = yes]: Change conditionals to
56448         [$(build-shared) = yes].
56449         * config.make.in (versioning): Remove variable.
56450         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
56451         [$(build-shared) = yes].
56452         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
56453         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
56454         * elf/Makefile [$(versioning) = yes]: Change conditionals to
56455         [$(build-shared) = yes].
56456         * extra-lib.mk [$(versioning) = yes]: Likewise.
56457         * hurd/Makefile [$(versioning) = yes]: Likewise.
56458         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
56459         [SHARED].
56460         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
56461         [SHARED].
56462         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56463         [SHARED && !NO_HIDDEN].
56464         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
56465         [SHARED].
56466         [SHARED && DO_VERSIONING]: Likewise..
56467         * libio/Makefile [$(versioning) = yes]: Change conditionals to
56468         [$(build-shared) = yes].
56469         * manual/install.texi (--disable-versioning): Remove
56470         documentation.
56471         * INSTALL: Regenerated.
56472         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
56473         to [SHARED].
56474         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
56475         [$(build-shared) = yes].
56476         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
56477         * sysdeps/i386/i686/multiarch/strstr-c.c
56478         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56479         [SHARED && !NO_HIDDEN].
56480         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
56481         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
56482         * sysdeps/powerpc/powerpc32/dl-machine.c
56483         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
56484         * sysdeps/powerpc/powerpc32/sysdep.h
56485         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
56486         to [SHARED && PIC && !NO_HIDDEN].
56487         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
56488         conditional to [SHARED].
56490 2013-09-04   Will Newton  <will.newton@linaro.org>
56492         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
56493         * benchtests/bench-string.h: Include bench-timing.h instead
56494         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
56495         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
56496         call to HP_TIMING_DIFF_INIT.
56497         * benchtests/bench-memccpy.c: Use bench-timing.h macros
56498         instead of hp-timing.h macros.
56499         * benchtests/bench-memchr.c: Likewise.
56500         * benchtests/bench-memcmp.c: Likewise.
56501         * benchtests/bench-memcpy.c: Likewise.
56502         * benchtests/bench-memmem.c: Likewise.
56503         * benchtests/bench-memmove.c: Likewise.
56504         * benchtests/bench-memset.c: Likewise.
56505         * benchtests/bench-rawmemchr.c: Likewise.
56506         * benchtests/bench-strcasecmp.c: Likewise.
56507         * benchtests/bench-strcasestr.c: Likewise.
56508         * benchtests/bench-strcat.c: Likewise.
56509         * benchtests/bench-strchr.c: Likewise.
56510         * benchtests/bench-strcmp.c: Likewise.
56511         * benchtests/bench-strcpy.c: Likewise.
56512         * benchtests/bench-strcpy_chk.c: Likewise.
56513         * benchtests/bench-strlen.c: Likewise.
56514         * benchtests/bench-strncasecmp.c: Likewise.
56515         * benchtests/bench-strncat.c: Likewise.
56516         * benchtests/bench-strncmp.c: Likewise.
56517         * benchtests/bench-strncpy.c: Likewise.
56518         * benchtests/bench-strnlen.c: Likewise.
56519         * benchtests/bench-strpbrk.c: Likewise.
56520         * benchtests/bench-strrchr.c: Likewise.
56521         * benchtests/bench-strspn.c: Likewise.
56522         * benchtests/bench-strstr.c: Likewise.
56524 2013-09-04  Will Newton  <will.newton@linaro.org>
56526         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
56528 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
56530         [BZ #15427]
56531         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
56532         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
56533         * math/libm-test.inc (lgamma_test_data): Add more tests.
56534         * sysdeps/i386/fpu/libm-test-ulps: Update.
56535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56537 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
56539         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
56540         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56541         Add ifunc.
56542         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56543         Add strcmp-sse2-unaligned
56544         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
56546 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56548         * Versions.def (libc): Add GLIBC_2.19.
56550 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56552         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
56553         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
56555 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
56557         [BZ #14155]
56558         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
56559         intermediate calculations in recurrence.
56560         (__ieee754_ynf): Likewise.
56561         * math/libm-test.inc (jn_test_data): Do not allow spurious
56562         underflow exception.  Add more tests.
56563         (yn_test_data): Add more tests.
56564         * sysdeps/i386/fpu/libm-test-ulps: Update.
56565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56567 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
56569         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
56571 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56573         * csu/init-first.c: Fix then/than typos.
56574         * locale/programs/ld-collate.c: Likewise.
56575         * locale/programs/linereader.h: Likewise.
56576         * manual/charset.texi: Likewise.
56577         * manual/filesys.texi: Likewise.
56578         * manual/stdio.texi: Likewise.
56579         * manual/string.texi: Likewise.
56580         * stdlib/fmtmsg.c: Likewise.
56581         * sysdeps/i386/stpncpy.S: Likewise.
56582         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56583         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56584         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56585         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56587 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56589         * elf/dl-open.c: Fix typos.
56590         * iconvdata/gbbig5.c: Likewise.
56591         * iconvdata/iso-2022-jp.c: Likewise.
56592         * iconv/gconv_int.h: Likewise.
56593         * iconv/loop.c: Likewise.
56594         * nis/rpcsvc/nis.h: Likewise.
56595         * resolv/ns_name.c: Likewise.
56596         * stdio-common/vfscanf.c: Likewise.
56597         * streams/stropts.h: Likewise.
56598         * sunrpc/rpc_thread.c: Likewise.
56599         * sysdeps/i386/strpbrk.S: Likewise.
56600         * sysdeps/ieee754/k_standard.c: Likewise.
56601         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56602         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56603         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
56604         * sysdeps/mach/hurd/profil.c: Likewise.
56605         * sysdeps/s390/dl-procinfo.h: Likewise.
56606         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
56607         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
56608         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
56609         * sysdeps/x86_64/dl-trampoline.S: Likewise.
56610         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56612 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
56614         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
56615         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
56617 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
56619         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
56620         aix specific files.
56621         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
56622         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
56623         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
56624         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
56625         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
56626         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
56627         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
56628         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
56630 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56631             Roland McGrath  <roland@hack.frob.com>
56633         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
56634         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
56636 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56638         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
56639         __executable_start symbol instead of _start.
56641 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56643         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
56644         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
56645         Move macros to...
56646         * sysdeps/gnu/ldsodefs.h: ... this new file.
56648         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
56649         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
56650         instead of ELFOSABI_LINUX.
56652         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
56653         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
56654         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
56655         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
56656         Likewise.
56657         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
56658         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
56659         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
56660         Likewise.
56661         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56662         (ibm_extended_long_double): Add ieee_nan member.
56663         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
56664         (do_test): New function.
56666         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
56667         TEST_TRUNC.
56668         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
56669         functions, renamed from truncdfsf_test, trunctfsf_test,
56670         trunctfdf_test.
56671         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
56672         functions.
56673         (do_test): Run all these.
56675 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
56677         * argp/argp-help.c: Fix typos.
56678         * argp/argp-parse.c: Likewise.
56679         * debug/backtracesyms.c: Likewise.
56680         * elf/elf.h: Likewise.
56681         * malloc/malloc.c: Likewise.
56682         * nis/nis_print.c: Likewise.
56683         * resolv/res_comp.c: Likewise.
56684         * stdlib/stdlib.h: Likewise.
56685         * sunrpc/clnt_tcp.c: Likewise.
56686         * sunrpc/clnt_udp.c: Likewise.
56687         * sunrpc/clnt_unix.c: Likewise.
56688         * sysdeps/unix/bsd/ptsname.c: Likewise.
56689         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
56690         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
56691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
56692         Likewise.
56693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
56694         Likewise.
56695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
56696         Likewise.
56697         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56699 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56701         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
56702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56704 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
56706         [BZ #15897]
56707         * dlfcn/Makefile (tests): Add bug-dl-leaf.
56708         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
56709         ($(objpfx)bug-dl-leaf): New rule.
56710         ($(objpfx)bug-dl-leaf.so): Likewise.
56711         ($(objpfx)bug-dl-leaf.out): Likewise.
56712         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
56713         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
56714         * dlfcn/bug-dl-leaf.c: New test.
56715         * dlfcn/bug-dl-leaf-lib.c: Likewise.
56716         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
56717         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
56718         (dlclose): Likewise.
56719         (dlmopen): Likewise.
56721 2013-08-27  Roland McGrath  <roland@hack.frob.com>
56723         * include/netdb.h [!_ISOMAC]:
56724         Don't include <tls.h>.
56725         (h_errno, __libc_h_errno): Move declaration and macros out of
56726         [_LIBC_REENTRANT].
56728         * include/resolv.h [_RESOLV_H_]:
56729         Don't include <tls.h>.
56730         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
56731         * resolv/res_libc.c: Don't include <tls.h>.
56732         (_res): Use __attribute__ ((nocommon)) in place of
56733         __attribute__ ((section (".bss"))).
56735         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
56736         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
56738         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
56740         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
56741         only under [SIOCGIFCONF && SIOCGIFNETMASK].
56743         * resolv/res_mkquery.c: Include <sys/time.h>.
56745         * inet/ifreq.c: Moved to ...
56746         * sysdeps/unix/ifreq.c: ... here.
56747         * inet/ifreq.c: New file, true stub version.
56749         * socket/sa_len.c: New file.
56750         * socket/Makefile (aux): Add it.
56751         * sysdeps/unix/sysv/linux/Makefile
56752         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
56753         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
56754         and #include <socket/sa_len.c>.
56755         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
56756         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
56758         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
56759         * bits/socket.h: ... here.
56761         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
56762         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
56763         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
56765 2013-08-27  Andreas Schwab  <schwab@suse.de>
56767         [BZ #15736]
56768         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
56769         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
56770         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
56771         * string/test-strcasecmp.c (test_main): Run tests in several
56772         locales.
56773         * string/test-strncasecmp.c (test_main): Likewise.
56775         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
56776         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
56777         to __strcasecmp_nonascii and __strncasecmp_nonascii.
56778         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
56779         (__strncasecmp_ssse3) [PIC]: Likewise.
56781 2013-08-26  Roland McGrath  <roland@hack.frob.com>
56783         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
56785         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
56786         instead of explicitly declaring xdecrypt.
56787         * nis/nss_nis/nis-publickey.c: Likewise.
56789 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56791         [BZ #15890]
56792         * nscd/aicache.c: Include res_hconf.h.
56793         (addhstaiX): Initialize res_hconf.
56795 2013-08-26  Andreas Schwab  <schwab@suse.de>
56797         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
56798         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
56800 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56802         * nscd/aicache.c (addhstaiX): Fix indentation.
56804 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
56806         * configure.ac: Quote $build_pt_chown test.
56807         * configure: Regenerated.
56809 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
56811         [BZ #15532]
56812         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
56813         * math/s_cexpf.c (__cexpf): Likewise.
56814         * math/s_cexpl.c (__cexpl): Likewise.
56815         * math/libm-test.inc (cexp_test_data): Correct expected return
56816         value for NaN + i0.  Add another test.
56818 2013-08-22  David S. Miller  <davem@davemloft.net>
56820         * po/ca.po: Update Catalan translation from translation project.
56821         * po/uk.po: Add Ukrainian translations from translation project.
56823 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
56825         [BZ #15797]
56826         * math/s_fdim.c (__fdim): Check for infinite arguments if result
56827         is infinite, not alongside NaN test.
56828         * math/s_fdimf.c (__fdimf): Likewise.
56829         * math/s_fdiml.c (__fdiml): Likewise.
56830         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
56831         errno is unchanged.
56833 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
56835         * argp/argp-help.c: Fix typos.
56836         * crypt/speeds.c: Likewise.
56837         * csu/check_fds.c: Likewise.
56838         * elf/dl-load.c: Likewise.
56839         * elf/dl-open.c: Likewise.
56840         * elf/reldep3.c: Likewise.
56841         * elf/reldep.c: Likewise.
56842         * elf/sprof.c: Likewise.
56843         * iconv/iconv_charmap.c: Likewise.
56844         * iconv/skeleton.c: Likewise.
56845         * iconv/strtab.c: Likewise.
56846         * io/lockf64.c: Likewise.
56847         * libio/libioP.h: Likewise.
56848         * resolv/gai_notify.c: Likewise.
56849         * resolv/ns_name.c: Likewise.
56850         * resolv/ns_samedomain.c: Likewise.
56851         * resolv/res_send.c: Likewise.
56852         * stdlib/random.c: Likewise.
56853         * sunrpc/rpc/xdr.h: Likewise.
56854         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
56855         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56856         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56857         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56858         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56859         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56860         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56861         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56862         * sysdeps/mach/hurd/check_fds.c: Likewise.
56863         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56864         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56865         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56866         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56867         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56868         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56869         * sysdeps/pthread/aio_notify.c: Likewise.
56870         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
56871         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
56872         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
56873         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56874         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56876 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56878         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
56879         version if bit_Slow_SSE4_2 is set.
56880         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56881         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56883 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56885         [BZ #15867]
56886         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
56887         trampoline stack frame information.
56888         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
56889         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
56890         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
56891         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
56892         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
56893         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56894         (_libc_vdso_platform_setup): Initialize the signal trampolines.
56895         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
56896         sa_flags value.
56897         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
56898         interrupting a syscall and set with option SA_SIGINFO.
56900 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56902         [BZ #15531]
56903         * math/s_cproj.c (__cproj): Only return an infinity if one part of
56904         argument is infinite.
56905         * math/s_cprojf.c (__cprojf): Likewise.
56906         * math/s_cprojl.c (__cprojl): Likewise.
56907         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
56908         * math/libm-test.inc (cproj_test_data): Add more tests.
56910         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
56912         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
56913         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
56914         size.  Use __ffs to determine corresponding shift.
56916 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56917             Roland McGrath  <roland@hack.frob.com>
56919         * Makefile (INSTALL): Remove trailing blank lines from output of
56920         makeinfo.
56922 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56924         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
56925         Align 32 bit compat elf_greg to 8 bytes.
56927 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
56929         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
56931 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56933         * string/strcoll_l.c (coll_seq): New structure.
56934         (get_next_seq_cached): New function.
56935         (get_next_seq): New function.
56936         (do_compare): New function.
56937         (STRCOLL): Use GNU style definition.  Simplify implementation
56938         by using get_next_seq, get_next_seq_cached and do_compare.
56940 2013-08-16  Florian Weimer  <fweimer@redhat.com>
56942         [BZ #14699]
56943         CVE-2013-4237
56944         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
56945         member.
56946         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
56947         member.
56948         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
56949         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
56950         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
56951         conditional.
56952         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
56953         GETDENTS_64BIT_ALIGNED.
56954         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56955         * manual/filesys.texi (Reading/Closing Directory): Document
56956         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
56957         strongly.
56958         * manual/conf.texi (Limits for Files): Add portability note to
56959         NAME_MAX, PATH_MAX.
56960         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
56962 2013-08-13  Andreas Schwab  <schwab@suse.de>
56964         [BZ #15749]
56965         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
56966         of fabs.
56967         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
56968         LDBL_MAX_EXP >= 16384]: Add tests for it.
56970 2013-08-12  David S. Miller  <davem@davemloft.net>
56972         * version.h (RELEASE): Set to "development".
56973         (VERSION): Set to "2.18.90".
56974         * NEWS: Add 2.19 section.
56976 2013-08-03  David S. Miller  <davem@davemloft.net>
56978         * po/ko.po: Update Korean translation from translation project.
56980 2013-08-01  David S. Miller  <davem@davemloft.net>
56982         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
56983         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
56984         Bilka.
56986 2013-07-30  David S. Miller  <davem@davemloft.net>
56988         * po/fr.po: Update French translation from translation project.
56990 2013-07-28  David S. Miller  <davem@davemloft.net>
56992         * po/cs.po: Update Czech translation from translation project.
56994         * po/sv.po: Update Swedish translation from translation project.
56996 2013-07-27  David S. Miller  <davem@davemloft.net>
56998         * po/eo.po: Update Esperanto translation from translation project.
57000         * po/vi.po: Update Vietnamese translation from translation project.
57002         * po/de.po: Update German translation from translation project.
57004 2013-07-26  David S. Miller  <davem@davemloft.net>
57006         * po/bg.po: Update Bulgarian translation from translation project.
57008         * po/nl.po: Update Dutch translation from translation project.
57009         * po/pl.po: Update Polish translation from translation project.
57010         * po/ru.po: Update Russian translation from translation project.
57012 2013-07-24  David S. Miller  <davem@davemloft.net>
57014         * po/libc.pot: Update.
57016 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57018         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
57019         variable page size.
57020         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
57021         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
57022         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
57024 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57026         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
57028 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57029             Andreas Schwab  <schwab@suse.de>
57030             Roland McGrath  <roland@hack.frob.com>
57031             Joseph Myers  <joseph@codesourcery.com>
57032             Carlos O'Donell  <carlos@redhat.com>
57034         [BZ #15755]
57035         * config.h.in: Define HAVE_PT_CHOWN.
57036         * config.make.in (build-pt-chown): New variable.
57037         * configure.in (--enable-pt_chown): New configure option.
57038         * configure: Regenerate.
57039         * login/Makefile: Include Makeconfig.  Build pt_chown only if
57040         build-pt-chown is enabled.
57041         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
57042         pt_chown to fix pty ownership.
57043         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
57044         CLOSE_ALL_FDS.
57045         * manual/install.texi (Configuring and compiling): Mention
57046         --enable-pt_chown. Add @findex for grantpt.
57047         * INSTALL: Regenerate.
57049 2013-07-20  David S. Miller  <davem@davemloft.net>
57051         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
57052         difference between 32-bit and 64-bit.
57054 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
57056         [BZ #15711]
57057         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
57058         Avoid system header dependency with -ffreestanding.
57059         ($(objpfx)bits/syscall%d): Likewise.
57061 2013-07-13  David S. Miller  <davem@davemloft.net>
57063         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
57064         underflows from atanl/atan2l due to bug 15319.
57065         (casinh_test_data): Likewise.
57067 2013-07-07  David S. Miller  <davem@davemloft.net>
57069         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
57071 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
57073         * sysdeps/i386/fpu/libm-test-ulps: Update.
57074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57076 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57078         * configure.in (--enable-lock-elision): Fix message text.
57079         * INSTALL: Regenerate.
57080         * configure: Regenerate.
57082 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57086 2013-07-03  Andreas Jaeger  <aj@suse.de>
57088         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
57089         define.
57090         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
57091         (ptrace_peeksiginfo_args): Add.
57092         (__ptrace_peeksiginfo_flags): Add.
57093         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57094         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57095         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57097 2013-07-03  Allan McRae  <allan@archlinux.org>
57099         * sysdeps/i386/fpu/libm-test-ulps: Update.
57101 2013-07-02  David S. Miller  <davem@davemloft.net>
57103         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57105 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
57107         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57109 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57111         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57114 2013-07-02  Andi Kleen <ak@linux.intel.com>
57116         * config.h.in (ENABLE_LOCK_ELISION): Add.
57117         * configure.in (--enable-lock-elision): Add option.
57118         * manual/install.texi: Document --enable lock elision.
57119         * configure: Regenerate
57120         * INSTALL: Regenerate.
57122 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
57124         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
57125         SSE4.2 strcasecmp for libc.a.
57126         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
57128 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57130         [BZ #13304]
57131         * soft-fp/op-common.h (_FP_FMA): New macro.
57132         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
57133         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
57134         (_FP_MUL_MEAT_1_imm): ... here.
57135         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
57136         (_FP_MUL_MEAT_1_wide): ... here.
57137         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
57138         (_FP_MUL_MEAT_1_hard): ... here.
57139         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
57140         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
57141         (_FP_MUL_MEAT_2_wide): ... here.
57142         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
57143         (_FP_MUL_MEAT_2_wide_3mul): ... here.
57144         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
57145         (_FP_MUL_MEAT_2_gmp): ... here.
57146         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
57147         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
57148         (_FP_MUL_MEAT_4_wide): ... here.
57149         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
57150         (_FP_MUL_MEAT_4_gmp): ... here.
57151         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
57152         (_FP_WFRACBITS_DW_S): Likewise.
57153         (_FP_WFRACXBITS_DW_S): Likewise.
57154         (_FP_HIGHBIT_DW_S): Likewise.
57155         (FP_FMA_S): Likewise.
57156         (_FP_FRAC_HIGH_DW_S): Likewise.
57157         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
57158         (_FP_WFRACBITS_DW_D): Likewise.
57159         (_FP_WFRACXBITS_DW_D): Likewise.
57160         (_FP_HIGHBIT_DW_D): Likewise.
57161         (FP_FMA_D): Likewise.
57162         (_FP_FRAC_HIGH_DW_D): Likewise.
57163         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
57164         (_FP_WFRACBITS_DW_E): Likewise.
57165         (_FP_WFRACXBITS_DW_E): Likewise.
57166         (_FP_HIGHBIT_DW_E): Likewise.
57167         (FP_FMA_E): Likewise.
57168         (_FP_FRAC_HIGH_DW_E): Likewise.
57169         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
57170         (_FP_WFRACBITS_DW_Q): Likewise.
57171         (_FP_WFRACXBITS_DW_Q): Likewise.
57172         (_FP_HIGHBIT_DW_Q): Likewise.
57173         (FP_FMA_Q): Likewise.
57174         (_FP_FRAC_HIGH_DW_Q): Likewise.
57175         * soft-fp/fmasf4.c: New file.
57176         * soft-fp/fmadf4.c: Likewise.
57177         * soft-fp/fmatf4.c: Likewise.
57179 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57181         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57182         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
57183         Silvermont.
57184         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
57185         macro.
57186         (index_Slow_SSE4_2): Likewise.
57187         (index_Prefer_PMINUB_for_stringop): Likewise.
57188         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
57189         bit_Slow_SSE4_2 is set.
57190         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57191         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57193 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57195         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
57196         rtld_global._dl_hwcap2.
57197         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
57198         POWER8.
57199         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
57200         POWER8 feature descriptions defined in _dl_hwcap2.
57201         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
57202         string handling for POWER8 feature bits.
57203         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
57204         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
57205         _dl_powerpc_cap_flags.
57206         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
57207         * sysdeps/powerpc/rtld-global-offsets.sym
57208         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
57209         _dl_hwcap2 in the rtld_global_ro structure.
57211 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57213         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
57214         hardware capabilities in support of AT_HWCAP2.
57215         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
57216         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
57217         GLRO(dl_hwcap2).
57218         (_dl_show_auxv): Add support for calling _dl_procinfo to display
57219         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
57220         explicitly the unknown a_type display mechanism is used.
57221         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
57222         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
57223         struct member.
57224         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
57225         to macro prototype for AT_HWCAP2 support.
57226         * sysdeps/i386/dl-procinfo.h: Likewise.
57227         * sysdeps/s390/dl-procinfo.h: Likewise.
57228         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
57229         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
57230         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
57231         return -1 for unknown a_type display fallback.
57232         * sysdeps/sparc/dl-procinfo.h: Likewise.
57233         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
57234         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
57236 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
57238         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
57239         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
57241 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
57243         [BZ #12492]
57244         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
57245         mprotect making __stack_prot writable.
57247 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
57248             Joseph Myers  <joseph@codesourcery.com>
57250         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
57251         as being properly aligned.
57253 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
57255         * dlfcn/modstatic5.c: New file.
57256         * dlfcn/tststatic5.c: New file.
57257         * dlfcn/Makefile (tests): Add tststatic5.
57258         (tests-static): Likewise.
57259         (modules-names): Add modstatic5.
57260         (tststatic5-ENV): New variable.
57261         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
57263         [BZ #15022]
57264         * elf/dl-support.c (_dl_main_map): New variable.
57265         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
57266         (_dl_nns, _dl_load_adds): Set to 1.
57267         (_dl_initial_searchlist): Refer to _dl_main_map.
57268         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
57269         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
57270         call to _dl_get_origin.
57271         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
57272         around call_map.
57273         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
57274         * dlfcn/modstatic3.c: New file.
57275         * dlfcn/tststatic3.c: New file.
57276         * dlfcn/tststatic4.c: New file.
57277         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
57278         (tests-static): Likewise.
57279         (modules-names): Add modstatic3.
57280         (tststatic3-ENV, tststatic4-ENV): New variables.
57281         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
57282         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
57284 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
57286         * configure.in (CC): Require GCC version 4.4 or later.
57287         * configure: Regenerated.
57288         * manual/install.texi (Tools for Compilation): Update GCC version
57289         requirement.
57290         * INSTALL: Regenerated.
57292 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57294         [BZ #15674]
57295         * string/test-memcmp.c (check2): New.
57296         (main): Call check2.
57298         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
57300 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
57302         [BZ #15022]
57303         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
57304         over to...
57305         (dl_open_worker) [!SHARED]: ... here.
57307 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57309         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
57311 2013-06-25  Richard Henderson  <rth@redhat.com>
57313         * locale/programs/locarchive.c: Include <libc-internal.h>
57315 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
57317         * manual/texinfo.tex: Update to version 2013-06-21.17, with
57318         trailing whitespace removed.
57320 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57322         [BZ #10283]
57323         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
57324         * locale/programs/locarchive.c: Include libc-mmap.h.
57325         (prepare_address_space): Take two new outputs (the mmap base and len).
57326         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
57327         values.
57328         (create_archive): Declare new mmap base and len values for
57329         prepare_address_space, and store the result in ah.
57330         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
57331         (enlarge_archive): If ah->mmap_base is not NULL, use that and
57332         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57333         Declare new mmap base and len values for
57334         prepare_address_space, and store the result in new_ah.
57335         (open_archive): Declare new mmap base and len values for
57336         prepare_address_space, and store the result in ah.
57337         (close_archive): If ah->mmap_base is not NULL, use that and
57338         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57339         * sysdeps/generic/libc-mmap.h: New file.
57341 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57343         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
57344         (ALIGN_UP): Likewise.
57345         (PTR_ALIGN_DOWN): Likewise.
57346         (PTR_ALIGN_UP): Likewise.
57348 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57350         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
57351         entry mapped to PPC_PLATFORM_POWER8.
57352         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
57353         POWER8.
57354         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
57355         (_dl_string_platform): Add case for exporting platform position for
57356         POWER8.
57357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
57358         search path to sysdeps/powerpc/powerpc32/power8 directory.
57359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
57360         search path to sysdeps/powerpc/powerpc64/power8 directory.
57361         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
57362         power7 directories.
57363         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
57364         power7 directories.
57366 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57368         * INSTALL: Regenerate.
57370         * nscd/connections.c (nscd_init): Fix comment.
57372 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
57374         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
57376         [BZ #15667]
57377         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
57378         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
57380 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57382         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
57383         DL_DST_REQ_STATIC.
57384         (DL_DST_REQ_STATIC): Remove macro.
57386 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
57388         [BZ #7006]
57389         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
57390         with a shift of 0 bits.
57392 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57394         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
57395         $(tststatic-ENV).
57397 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57399         [BZ #15655]
57400         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
57402 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57404         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
57405         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
57406         accepts -fno-tree-loop-distribute-patterns.
57407         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
57408         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
57409         recursive call.
57410         * string/memset.c (memset): Likewise.
57411         * string/test-memmove.c (simple_memmove): Disable loop transformation
57412         to library calls.
57413         * string/test-memset.c (simple_memset): Likewise.
57414         * benchtests/bench-memmove.c (simple_memmove): Likewise.
57415         * benchtests/bench-memset.c (simple_memset): Likewise.
57416         * configure: Regenerated.
57418 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
57420         * math/test-misc.c (main): Ignore fesetround failure when failures
57421         of subsequent rounding tests would be ignored.
57423         [BZ #15654]
57424         * math/fedisblxcpt.c (fedisableexcept): Return 0.
57425         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
57426         * math/fegetenv.c (__fegetenv): Return 0.
57427         * math/fegetexcept.c (fegetexcept): Return 0.
57428         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
57429         FE_TONEAREST.
57430         * math/feholdexcpt.c (feholdexcept): Return 0.
57431         * math/fesetenv.c (__fesetenv): Return 0.
57432         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
57433         argument FE_TONEAREST.
57434         * math/feupdateenv.c (__feupdateenv): Return 0.
57435         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
57437 2013-06-18  Roland McGrath  <roland@hack.frob.com>
57439         * elf/rtld-Rules (rtld-compile-command.S): New variable.
57440         (rtld-compile-command.s, rtld-compile-command.c): New variables.
57441         ($(objpfx)rtld-%.os rules): Use them.
57443 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57445         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
57446         fields.
57448 2013-06-17  Roland McGrath  <roland@hack.frob.com>
57450         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
57451         length of target pattern, then descending length of dependency pattern.
57452         * configure.in (AWK): Require gawk 3.1.2 or newer.
57453         * manual/install.texi (Tools for Compilation): Say that we do.
57454         * configure: Regenerated.
57456         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
57457         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
57458         * scripts/sysd-rules.awk: ... this new script.
57459         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
57460         than a glob-style pattern.
57462 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
57464         * math/test-misc.c (main): Do not treat incorrectly rounded
57465         conversions as failure unless ROUNDING_TESTS passes.
57467 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
57469         [BZ #15631]
57470         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
57471         restore exception state around main square root computation, then
57472         check for inexactness explicitly.
57474         * math/libm-test.inc (fma_test_data): Add another test.
57476 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57478         * manual/threads.texi (Non-POSIX Extensions): New document
57479         node.  Document pthread_getattr_default_np and
57480         pthread_setattr_default_np.
57482         * Versions.def (libpthread): Add GLIBC_2.18.
57483         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
57484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57485         Likewise.
57486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57487         Likewise.
57488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57489         Likewise.
57490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57491         Likewise.
57492         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
57493         Likewise.
57494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57495         Likewise.
57496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57497         Likewise.
57498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57499         Likewise.
57500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57501         Likewise.
57503 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57505         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57506         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
57508 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57509             H.J. Lu  <hjl.tools@gmail.com>
57511         [BZ #15627]
57512         * sysdeps/x86_64/rtld-memset.c: Remove file.
57513         * sysdeps/x86_64/rtld-memset.S: New file.
57515 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
57517         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
57518         (test_in_one_mode): Take arguments for whether the rounding mode
57519         is supported for each floating-point type.
57520         (do_test): Pass new arguments to test_in_one_mode using
57521         ROUNDING_TESTS.
57523 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57525         * posix/tst-waitid.c (do_test): Distinguish different instances of
57526         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
57527         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
57528         before entering the kernel for waitpid.
57530 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57532         * NEWS: Fix note on clock function precision.  Text by Roland
57533         McGrath.
57535 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57537         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
57538         it into place only when and if the sanity check passes.
57540 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
57542         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
57543         output for whether conversion result is exact.  Take argument
57544         indicating whether type is IBM long double.
57545         (round_for_all): Change need_exact field to ibm_ld.
57546         * stdlib/tst-strtod-round.c (struct exactness): New type.
57547         (struct test): Change bool ld_ok field to struct exactness exact.
57548         (TEST): Update all definitions for change to field.
57549         (tests): Regenerate array contents.
57550         (test_in_one_mode): Take pointer to new field instead of old ld_ok
57551         field value.  Check for IBM long double here.
57552         (do_test): Update calls to test_in_one_mode.
57554 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57556         [BZ #12515]
57557         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
57558         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
57560 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57562         [BZ #15605]
57563         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
57564         generated by the compiler on loop optimizations.
57565         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
57566         general definitions.
57568 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
57570         * math/bug-nextafter.c: Include <math-tests.h>.
57571         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57572         the relevant type.
57573         * math/bug-nexttoward.c: Include <math-tests.h>.
57574         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57575         the relevant type.
57576         * math/test-misc.c: Include <math-tests.h>.
57577         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57578         the relevant type.
57580 2013-06-12  Andreas Jaeger  <aj@suse.de>
57582         * po/ia.po: Update Interlingua translation from translation
57583         project.
57585 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57587         * include/fenv.h: Include stdbool.h.
57588         (struct rm_ctx): New structure.
57589         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
57590         Define macro.
57591         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
57592         (SET_RESTORE_ROUNDF): Likewise.
57593         (SET_RESTORE_ROUNDL): Likewise.
57594         (SET_RESTORE_ROUND_NOEX): Likewise.
57595         (SET_RESTORE_ROUND_NOEXF): Likewise.
57596         (SET_RESTORE_ROUND_NOEXL): Likewise.
57597         (SET_RESTORE_ROUND_53BIT): Likewise.
57598         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
57599         (libc_feresetround_noexf_ctx): Likewise.
57600         (libc_feresetround_noexl_ctx): Likewise.
57601         (libc_feholdsetround_53bit_ctx): Likewise.
57602         (libc_feresetround_53bit_ctx): Likewise.
57603         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
57604         (libc_feholdexcept_setround_sse_ctx): New function.
57605         (libc_fesetenv_sse_ctx): Likewise.
57606         (libc_feupdateenv_sse_ctx): Likewise.
57607         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
57608         (libc_feholdexcept_setround_387_ctx): Likewise.
57609         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
57610         (libc_feholdsetround_387_prec_ctx): Likewise.
57611         (libc_feholdsetround_387_ctx): Likewise.
57612         (libc_feholdsetround_387_53bit_ctx): Likewise.
57613         (libc_feholdsetround_sse_ctx): Likewise.
57614         (libc_feresetround_sse_ctx): Likewise.
57615         (libc_feresetround_387_ctx): Likewise.
57616         (libc_feupdateenv_387_ctx): Likewise.
57617         (libc_feholdexcept_setroundf_ctx): Define macro.
57618         (libc_fesetenvf_ctx): Likewise.
57619         (libc_feupdateenvf_ctx): Likewise.
57620         (libc_feholdsetroundf_ctx): Likewise.
57621         (libc_feresetroundf_ctx): Likewise.
57622         (libc_feholdexcept_setround_ctx): Likewise.
57623         (libc_fesetenv_ctx): Likewise.
57624         (libc_feupdateenv_ctx): Likewise.
57625         (libc_feholdsetround_ctx): Likewise.
57626         (libc_feresetround_ctx): Likewise.
57627         (libc_feholdexcept_setroundl_ctx): Likewise.
57628         (libc_feupdateenvl_ctx): Likewise.
57629         (libc_feholdsetroundl_ctx): Likewise.
57630         (libc_feresetroundl_ctx): Likewise.
57631         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
57632         (libc_feresetround_53bit_ctx): Likewise.
57634 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57636         * locale/iso-639.def: Convert to UTF-8.
57638 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
57640         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
57641         (EXCEPTION_TESTS_double): Likewise.
57642         (EXCEPTION_TESTS_long_double): Likewise.
57643         (EXCEPTION_TESTS): Likewise.
57644         * math/libm-test.inc (test_exceptions): Only test exceptions if
57645         EXCEPTION_TESTS (FLOAT).
57647 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57649         * benchtests/Makefile (string-bench): Add strcpy_chk and
57650         stpcpy_chk.
57651         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
57652         * benchtests/bench-stpcpy_chk.c: New file.
57653         * benchtests/bench-strcpy_chk-ifunc.c: New file.
57654         * benchtests/bench-strcpy_chk.c: New file.
57655         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
57656         code.
57657         (do_test): Likewise.
57659 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57661         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
57662         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
57663         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
57664         with tabs where appropriate.
57665         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
57666         dl-procinfo.h.
57667         [PPC_PLATFORM_PPC440]: Likewise.
57668         [PPC_PLATFORM_PPC464]: Likewise.
57669         [PPC_PLATFORM_PPC476]: Likewise.
57670         (_dl_string_platform): Add support for detecting ppc405, ppc440,
57671         ppc464, and ppc476 platform strings merging from ports/
57672         dl-procinfo.h.
57674 2013-06-11  Andreas Schwab  <schwab@suse.de>
57676         [BZ #14991]
57677         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
57678         (from_ucs4_idx): Regenerate.
57679         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
57680         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
57681         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
57682         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
57683         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
57684         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
57685         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
57686         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
57687         from FROM_LOOP and TO_LOOP specific macros.
57688         (BODY): Handle combining characters.
57689         * iconvdata/BIG5HKSCS.irreversible: Update.
57690         * iconvdata/BIG5HKSCS.precomposed: New file.
57691         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
57692         characters.
57693         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
57695 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57697         * include/sys/time.h: Fix indentation and add copyright header.
57699         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
57700         (do_test): Likewise.
57701         * string/test-memchr.c (do_one_test): Likewise.
57702         (do_test): Likewise.
57703         * string/test-memcmp.c (do_one_test): Likewise.
57704         (do_test): Likewise.
57705         * string/test-memcpy.c (do_one_test): Likewise.
57706         (do_test): Likewise.
57707         * string/test-memmem.c (do_one_test): Likewise.
57708         (do_test): Likewise.
57709         (do_random_tests): Likewise.
57710         * string/test-memmove.c (do_one_test): Likewise.
57711         (do_test): Likewise.
57712         * string/test-memset.c (do_one_test): Likewise.
57713         (do_test): Likewise.
57714         * string/test-rawmemchr.c (do_one_test): Likewise.
57715         (do_test): Likewise.
57716         * string/test-strcasecmp.c (do_one_test): Likewise.
57717         (do_test): Likewise.
57718         * string/test-strcasestr.c (do_one_test): Likewise.
57719         (do_test): Likewise.
57720         * string/test-strcat.c (do_one_test): Likewise.
57721         (do_test): Likewise.
57722         * string/test-strchr.c (do_one_test): Likewise.
57723         (do_test): Likewise.
57724         * string/test-strcmp.c (do_one_test): Likewise.
57725         (do_test): Likewise.
57726         * string/test-strcpy.c (do_one_test): Likewise.
57727         (do_test): Likewise.
57728         * string/test-string.h: Likewise.
57729         (test_init): Likewise.
57730         * string/test-strlen.c (do_one_test): Likewise.
57731         (do_test): Likewise.
57732         * string/test-strncasecmp.c (do_one_test): Likewise.
57733         (do_test): Likewise.
57734         * string/test-strncat.c (do_one_test): Likewise.
57735         (do_test): Likewise.
57736         * string/test-strncmp.c (do_one_test): Likewise.
57737         (do_test_limit): Likewise.
57738         (do_test): Likewise.
57739         * string/test-strncpy.c (do_one_test): Likewise.
57740         (do_test): Likewise.
57741         * string/test-strnlen.c (do_one_test): Likewise.
57742         (do_test): Likewise.
57743         * string/test-strpbrk.c (do_one_test): Likewise.
57744         (do_test): Likewise.
57745         * string/test-strrchr.c (do_one_test): Likewise.
57746         (do_test): Likewise.
57747         * string/test-strspn.c (do_one_test): Likewise.
57748         (do_test): Likewise.
57749         * string/test-strstr.c (do_one_test): Likewise.
57750         (do_test): Likewise.
57752         * benchtests/Makefile (string-bench): Add string benchmarks.
57753         * benchtests/bench-bcopy-ifunc.c: New file.
57754         * benchtests/bench-bcopy.c: New file.
57755         * benchtests/bench-bzero-ifunc.c: New file.
57756         * benchtests/bench-bzero.c: New file.
57757         * benchtests/bench-memccpy-ifunc.c: New file.
57758         * benchtests/bench-memccpy.c: New file.
57759         * benchtests/bench-memchr-ifunc.c: New file.
57760         * benchtests/bench-memchr.c: New file.
57761         * benchtests/bench-memcmp-ifunc.c: New file.
57762         * benchtests/bench-memcmp.c: New file.
57763         * benchtests/bench-memmem-ifunc.c: New file.
57764         * benchtests/bench-memmem.c: New file.
57765         * benchtests/bench-memmove-ifunc.c: New file.
57766         * benchtests/bench-memmove.c: New file.
57767         * benchtests/bench-mempcpy-ifunc.c: New file.
57768         * benchtests/bench-mempcpy.c: New file.
57769         * benchtests/bench-memset-ifunc.c: New file.
57770         * benchtests/bench-memset.c: New file.
57771         * benchtests/bench-rawmemchr-ifunc.c: New file.
57772         * benchtests/bench-rawmemchr.c: New file.
57773         * benchtests/bench-stpcpy-ifunc.c: New file.
57774         * benchtests/bench-stpcpy.c: New file.
57775         * benchtests/bench-stpncpy-ifunc.c: New file.
57776         * benchtests/bench-stpncpy.c: New file.
57777         * benchtests/bench-strcasecmp-ifunc.c: New file.
57778         * benchtests/bench-strcasecmp.c: New file.
57779         * benchtests/bench-strcasestr-ifunc.c: New file.
57780         * benchtests/bench-strcasestr.c: New file.
57781         * benchtests/bench-strcat-ifunc.c: New file.
57782         * benchtests/bench-strcat.c: New file.
57783         * benchtests/bench-strchr-ifunc.c: New file.
57784         * benchtests/bench-strchr.c: New file.
57785         * benchtests/bench-strchrnul-ifunc.c: New file.
57786         * benchtests/bench-strchrnul.c: New file.
57787         * benchtests/bench-strcmp-ifunc.c: New file.
57788         * benchtests/bench-strcmp.c: New file.
57789         * benchtests/bench-strcpy-ifunc.c: New file.
57790         * benchtests/bench-strcpy.c: New file.
57791         * benchtests/bench-strcspn-ifunc.c: New file.
57792         * benchtests/bench-strcspn.c: New file.
57793         * benchtests/bench-strlen-ifunc.c: New file.
57794         * benchtests/bench-strlen.c: New file.
57795         * benchtests/bench-strncasecmp-ifunc.c: New file.
57796         * benchtests/bench-strncasecmp.c: New file.
57797         * benchtests/bench-strncat-ifunc.c: New file.
57798         * benchtests/bench-strncat.c: New file.
57799         * benchtests/bench-strncmp-ifunc.c: New file.
57800         * benchtests/bench-strncmp.c: New file.
57801         * benchtests/bench-strncpy-ifunc.c: New file.
57802         * benchtests/bench-strncpy.c: New file.
57803         * benchtests/bench-strnlen-ifunc.c: New file.
57804         * benchtests/bench-strnlen.c: New file.
57805         * benchtests/bench-strpbrk-ifunc.c: New file.
57806         * benchtests/bench-strpbrk.c: New file.
57807         * benchtests/bench-strrchr-ifunc.c: New file.
57808         * benchtests/bench-strrchr.c: New file.
57809         * benchtests/bench-strspn-ifunc.c: New file.
57810         * benchtests/bench-strspn.c: New file.
57811         * benchtests/bench-strstr-ifunc.c: New file.
57812         * benchtests/bench-strstr.c: New file.
57814         * benchtests/Makefile: Disable parallel execution of targets.
57815         (string-bench): Add memcpy.
57816         (benchset): New variable to store a list of benchmark sets.
57817         (bench-func): Renamed from bench.
57818         (bench-set): New target.
57819         (bench): Depend on bench-func and bench-set.
57820         * benchtests/README: Add section on benchmark sets.
57821         * benchtests/bench-memcpy-ifunc.c: New file.
57822         * benchtests/bench-memcpy.c: New file.
57823         * benchtests/bench-string.h: New file.
57825 2013-06-11  Andreas Schwab  <schwab@suse.de>
57827         [BZ #15577]
57828         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
57829         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
57830         values in the triple.
57831         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
57832         terminator in the group key.
57834 2013-06-11  Andreas Jaeger  <aj@suse.de>
57836         * po/zh_TW.po: Update Chinese (traditional) translation from
57837         translation project.
57839 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57841         * include/time.h (__clock_gettime): Add libc_hidden_proto.
57842         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
57843         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
57844         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57845         (clock_getcpuclockid): Likewise.
57846         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
57847         Add weak_alias and libc_hidden_def.
57848         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
57849         * rt/clock_gettime.c (clock_gettime): Rename to
57850         __clock_gettime.  Add weak_alias and libc_hidden_def.
57851         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
57852         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
57853         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
57854         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
57855         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
57856         Likewise.
57857         * rt/clock_settime.c (clock_settime): Rename to
57858         __clock_settime.  Add weak_alias and libc_hidden_def.
57859         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
57861 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
57863         * mach/err_boot.sub: Remove trailing whitespace.
57864         * mach/err_ipc.sub: Likewise.
57865         * mach/err_mach.sub: Likewise.
57867         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
57868         (ROUNDING_TESTS_double): Likewise.
57869         (ROUNDING_TESTS_long_double): Likewise.
57870         (ROUNDING_TESTS): Likewise.
57871         * math/libm-test.inc: Include <math-tests.h>.
57872         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
57873         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57874         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57875         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57877 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57879         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
57880         of assigning.
57882 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
57884         * sysdeps/gnu/errlist.awk: Do not generate space at end of
57885         otherwise empty TRANS lines.
57886         * sysdeps/gnu/errlist.c: Regenerated.
57888         * catgets/gencat.c (error_print): Use (void) in function
57889         definition.
57890         * crypt/crypt_util.c (__init_des): Likewise.
57891         * crypt/speeds.c (Stop): Likewise.
57892         (main): Likewise.
57893         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
57894         * inet/ruserpass.c (token): Likewise.
57895         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
57896         * intl/localealias.c (extend_alias_table): Likewise.
57897         * intl/plural-exp.c (init_germanic_plural): Likewise.
57898         * libio/fcloseall.c (__fcloseall): Likewise.
57899         * libio/genops.c (_IO_flush_all): Likewise.
57900         (_IO_flush_all_linebuffered): Likewise.
57901         (_IO_cleanup): Likewise.
57902         (_IO_iter_begin): Likewise.
57903         (_IO_iter_end): Likewise.
57904         (_IO_list_lock): Likewise.
57905         (_IO_list_unlock): Likewise.
57906         (_IO_list_resetlock): Likewise.
57907         * libio/getchar.c (getchar): Likewise.
57908         * libio/getchar_u.c (getchar_unlocked): Likewise.
57909         * libio/getwchar.c (getwchar): Likewise.
57910         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
57911         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
57912         * login/getpt.c (__getpt): Likewise.
57913         * login/tst-utmp.c (main): Likewise.
57914         * malloc/hooks.c (__malloc_check_init): Likewise.
57915         * malloc/malloc.c (__malloc_stats): Likewise.
57916         * malloc/mtrace.c (tr_break): Likewise.
57917         (mtrace): Likewise.
57918         (muntrace): Likewise.
57919         * misc/fstab.c (endfsent): Likewise.
57920         * misc/getclktck.c (__getclktck): Likewise.
57921         * misc/getdtsz.c (__getdtablesize): Likewise.
57922         * misc/gethostid.c (gethostid): Likewise.
57923         * misc/getpagesize.c (__getpagesize): Likewise.
57924         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
57925         (__get_nprocs): Likewise.
57926         (__get_phys_pages): Likewise.
57927         (__get_avphys_pages): Likewise.
57928         * misc/getttyent.c (getttyent): Likewise.
57929         (setttyent): Likewise.
57930         (endttyent): Likewise.
57931         * misc/getusershell.c (getusershell): Likewise.
57932         (endusershell): Likewise.
57933         (setusershell): Likewise.
57934         (initshells): Likewise.
57935         * misc/hsearch.c (__hdestroy): Likewise.
57936         * misc/sync.c (sync): Likewise.
57937         * misc/syslog.c (closelog_internal): Likewise.
57938         (closelog): Likewise.
57939         * misc/ttyslot.c (ttyslot): Likewise.
57940         * misc/vhangup.c (vhangup): Likewise.
57941         * posix/fork.c (__fork): Likewise.
57942         * posix/getegid.c (__getegid): Likewise.
57943         * posix/geteuid.c (__geteuid): Likewise.
57944         * posix/getgid.c (__getgid): Likewise.
57945         * posix/getpid.c (__getpid): Likewise.
57946         * posix/getppid.c (__getppid): Likewise.
57947         * posix/getuid.c (__getuid): Likewise.
57948         * posix/pause.c (pause): Likewise.
57949         * posix/setpgrp.c (setpgrp): Likewise.
57950         * posix/setsid.c (__setsid): Likewise.
57951         * posix/test-vfork.c (noop): Likewise.
57952         * resolv/gethnamaddr.c (_endhtent): Likewise.
57953         (_gethtent): Likewise.
57954         (ht_endhostent): Likewise.
57955         (gethostent): Likewise.
57956         (dns_service): Likewise.
57957         * stdlib/drand48.c (drand48): Likewise.
57958         * stdlib/lrand48.c (lrand48): Likewise.
57959         * stdlib/mrand48.c (mrand48): Likewise.
57960         * stdlib/rand.c (rand): Likewise.
57961         * stdlib/random.c (__random): Likewise.
57962         * stdlib/setenv.c (clearenv): Likewise.
57963         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
57964         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
57965         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
57966         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
57967         (__get_nprocs): Likewise.
57968         (__get_phys_pages): Likewise.
57969         (__get_avphys_pages): Likewise.
57970         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
57971         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
57972         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
57973         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
57974         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
57975         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
57976         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
57977         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
57978         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
57979         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
57980         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
57981         * sysdeps/mach/hurd/sync.c (sync): Likewise.
57982         * sysdeps/posix/clock.c (clock): Likewise.
57983         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
57984         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
57985         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
57986         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
57987         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
57988         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
57989         (__get_nprocs_conf): Likewise.
57990         (__get_phys_pages): Likewise.
57991         (__get_avphys_pages): Likewise.
57992         * time/clock.c (clock): Likewise.
57993         * time/tzset.c (__tzname_max): Likewise.
57995 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
57997         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
57998         (__bswap_32): Do not use "register".
57999         * crypt/crypt.c (_ufc_doit_r): Likewise.
58000         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
58001         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
58002         * gmon/gmon.c (__monstartup): Likewise.
58003         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
58004         * hurd/hurdmalloc.c (more_memory): Likewise.
58005         (malloc): Likewise.
58006         (free): Likewise.
58007         (realloc): Likewise.
58008         (malloc_fork_prepare): Likewise.
58009         (malloc_fork_parent): Likewise.
58010         (malloc_fork_child): Likewise.
58011         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
58012         (_svcauth_des): Likewise.
58013         * inet/inet_lnaof.c (inet_lnaof): Likewise.
58014         * inet/inet_net.c (inet_network): Likewise.
58015         * inet/inet_netof.c (inet_netof): Likewise.
58016         * inet/rcmd.c (__validuser2_sa): Likewise.
58017         * io/fts.c (fts_open): Likewise.
58018         (fts_load): Likewise.
58019         (fts_close): Likewise.
58020         (fts_read): Likewise.
58021         (fts_children): Likewise.
58022         (fts_build): Likewise.
58023         (fts_stat): Likewise.
58024         (fts_sort): Likewise.
58025         (fts_alloc): Likewise.
58026         (fts_lfree): Likewise.
58027         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
58028         (_IO_file_xsgetn): Likewise.
58029         (_IO_file_xsgetn_mmap): Likewise.
58030         * libio/iofopncook.c (_IO_cookie_read): Likewise.
58031         (_IO_cookie_write): Likewise.
58032         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
58033         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
58034         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
58035         * malloc/obstack.c (_obstack_begin): Likewise.
58036         (_obstack_begin_1): Likewise.
58037         (_obstack_newchunk): Likewise.
58038         (_obstack_allocated_p): Likewise.
58039         (obstack_free): Likewise.
58040         (_obstack_memory_used): Likewise.
58041         * misc/getttyent.c (getttynam): Likewise.
58042         (getttyent): Likewise.
58043         (skip): Likewise.
58044         (value): Likewise.
58045         * misc/getusershell.c (initshells): Likewise.
58046         * misc/syslog.c (__vsyslog_chk): Likewise.
58047         * misc/ttyslot.c (ttyslot): Likewise.
58048         * nis/nis_hash.c (__nis_hash): Likewise.
58049         * posix/fnmatch_loop.c (FCT): Likewise.
58050         * posix/getconf.c (print_all): Likewise.
58051         (main): Likewise.
58052         * posix/getopt.c (exchange): Likewise.
58053         * posix/glob.c (globfree): Likewise.
58054         (prefix_array): Likewise.
58055         (__glob_pattern_type): Likewise.
58056         * resolv/arpa/nameser.h (NS_GET16): Likewise.
58057         (NS_GET32): Likewise.
58058         (NS_PUT16): Likewise.
58059         (NS_PUT32): Likewise.
58060         * resolv/gethnamaddr.c (getanswer): Likewise.
58061         (gethostbyname2): Likewise.
58062         (gethostbyaddr): Likewise.
58063         (_gethtent): Likewise.
58064         (_gethtbyname2): Likewise.
58065         (_gethtbyaddr): Likewise.
58066         * resolv/ns_print.c (dst_s_get_int16): Likewise.
58067         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
58068         * resolv/res_init.c (__res_vinit): Likewise.
58069         (net_mask): Likewise.
58070         * resolv/res_mkquery.c (outchar): Likewise.
58071         (PRINT): Likewise.
58072         * stdio-common/printf_fp.c (outchar): Likewise.
58073         (PRINT): Likewise.
58074         * stdio-common/printf_fphex.c (outchar): Likewise.
58075         (PRINT): Likewise.
58076         * stdio-common/printf_size.c (outchar): Likewise.
58077         (PRINT): Likewise.
58078         * stdio-common/test_rdwr.c (main): Likewise.
58079         * stdio-common/tfformat.c (matches): Likewise.
58080         * stdio-common/vfprintf.c (outchar): Likewise.
58081         (printf_unknown): Likewise.
58082         (buffered_vfprintf): Likewise.
58083         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
58084         * stdio-common/xbug.c (AppendToBuffer): Likewise.
58085         (ReadFile): Likewise.
58086         * stdlib/qsort.c (SWAP): Likewise.
58087         (_quicksort): Likewise.
58088         * stdlib/setenv.c (__add_to_environ): Likewise.
58089         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
58090         * stdlib/strtol_l.c (__strtol_l): Likewise.
58091         * stdlib/tst-strtod.c (main): Likewise.
58092         * stdlib/tst-strtol.c (main): Likewise.
58093         * stdlib/tst-strtoll.c (main): Likewise.
58094         * string/bits/string2.h (__strcmp_cc): Likewise.
58095         (__strcmp_cg): Likewise.
58096         (__strcspn_c1): Likewise.
58097         (__strcspn_c2): Likewise.
58098         (__strcspn_c3): Likewise.
58099         (__strspn_c1): Likewise.
58100         (__strspn_c2): Likewise.
58101         (__strspn_c3): Likewise.
58102         (__strsep_1c): Likewise.
58103         (__strsep_2c): Likewise.
58104         (__strsep_3c): Likewise.
58105         * string/memccpy.c (__memccpy): Likewise.
58106         * string/stpcpy.c (__stpcpy): Likewise.
58107         * string/strcmp.c (strcmp): Likewise.
58108         * string/strrchr.c (strrchr): Likewise.
58109         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
58110         Likewise.
58111         * sysdeps/mach/hurd/getcwd.c
58112         (_hurd_canonicalize_directory_name_internal): Likewise.
58113         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
58114         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
58115         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
58116         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
58117         Likewise, in both definitions.
58118         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
58119         definitions.
58120         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
58121         64] (__bswap_64): Likewise.
58122         * time/test_time.c (main): Likewise.
58123         * time/tzfile.c (__tzfile_read): Likewise.
58124         (__tzfile_compute): Likewise.
58125         * time/tzset.c (__tzset_parse_tz): Likewise.
58126         (tzset_internal): Likewise.
58127         (compute_change): Likewise.
58128         * wcsmbs/wcscat.c (__wcscat): Likewise.
58129         * wcsmbs/wcschr.c (wcschr): Likewise.
58130         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
58131         * wcsmbs/wcscspn.c (wcscspn): Likewise.
58132         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
58133         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
58134         * wcsmbs/wcsspn.c (wcsspn): Likewise.
58135         * wcsmbs/wcsstr.c (wcsstr): Likewise.
58136         * wcsmbs/wmemchr.c (wmemchr): Likewise.
58137         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58138         * wcsmbs/wmemset.c (wmemset): Likewise.
58140 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
58142         * scripts/config.guess: Update to version 2013-05-16.
58143         * scripts/config.sub: Update to version 2013-04-24.
58144         * scripts/install-sh: Update to version 2011-11-20.07.
58145         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
58146         * scripts/move-if-change: Update to version 2012-01-06 07:23.
58148 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
58150         * debug/fgetws_u_chk.c: Fix leading whitespaces.
58151         * elf/sln.c: Likewise.
58152         * hurd/hurd/ioctl.h: Likewise.
58153         * hurd/hurdmalloc.c: Likewise.
58154         * hurd/xattr.c: Likewise.
58155         * include/shlib-compat.h: Likewise.
58156         * inet/ruserpass.c: Likewise.
58157         * libio/iofgets_u.c: Likewise.
58158         * libio/iofgetws_u.c: Likewise.
58159         * locale/programs/ld-identification.c: Likewise.
58160         * locale/programs/ld-time.c: Likewise.
58161         * mach/msg-destroy.c: Likewise.
58162         * nss/nss_files/files-netgrp.c: Likewise.
58163         * resolv/res_data.c: Likewise.
58164         * soft-fp/op-1.h: Likewise.
58165         * soft-fp/op-2.h: Likewise.
58166         * soft-fp/op-4.h: Likewise.
58167         * soft-fp/op-common.h: Likewise.
58168         * stdio-common/printf_fphex.c: Likewise.
58169         * stdlib/strtod_l.c: Likewise.
58170         * sunrpc/rpc/clnt.h: Likewise.
58171         * sysdeps/generic/framestate.c: Likewise.
58172         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58173         * sysdeps/i386/bsd-setjmp.S: Likewise.
58174         * sysdeps/i386/__longjmp.S: Likewise.
58175         * sysdeps/i386/setjmp.S: Likewise.
58176         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58177         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58178         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58179         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58180         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58181         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58182         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58183         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58184         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58185         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58186         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
58187         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
58188         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
58189         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
58190         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
58191         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58192         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
58193         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
58194         * sysdeps/ieee754/support.c: Likewise.
58195         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58196         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
58197         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
58198         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
58199         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
58200         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
58201         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
58202         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
58203         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
58204         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
58205         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
58206         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
58207         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
58208         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
58209         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
58210         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
58211         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
58214 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
58216         * posix/transbug.c: Remove executable mode.
58218 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
58220         * crypt/speeds.c: Remove trailing whitespace.
58221         * dlfcn/default.c: Likewise.
58222         * elf/ifuncdep2.c: Likewise.
58223         * elf/ifuncmain1.c: Likewise.
58224         * elf/ifuncmain1vis.c: Likewise.
58225         * elf/testobj.h: Likewise.
58226         * elf/tst-stackguard1.c: Likewise.
58227         * gmon/sys/gmon.h: Likewise.
58228         * hurd/hurdmsg.c: Likewise.
58229         * hurd/new-fd.c: Likewise.
58230         * hurd/ports-get.c: Likewise.
58231         * iconvdata/ibm1008_420.c: Likewise.
58232         * inet/tst-getni1.c: Likewise.
58233         * inet/tst-getni2.c: Likewise.
58234         * libio/ioungetc.c: Likewise.
58235         * libio/wfiledoalloc.c: Likewise.
58236         * manual/libm-err-tab.pl: Likewise.
58237         * math/w_dremf.c: Likewise.
58238         * misc/ftruncate.c: Likewise.
58239         * posix/bug-glob2.c: Likewise.
58240         * posix/tst-pcre.c: Likewise.
58241         * posix/wait4.c: Likewise.
58242         * resolv/README: Likewise.
58243         * resolv/res_debug.h: Likewise.
58244         * resolv/tst-inet_ntop.c: Likewise.
58245         * setjmp/bug269-setjmp.c: Likewise.
58246         * soft-fp/extended.h: Likewise.
58247         * soft-fp/op-1.h: Likewise.
58248         * soft-fp/op-2.h: Likewise.
58249         * soft-fp/op-4.h: Likewise.
58250         * soft-fp/op-8.h: Likewise.
58251         * soft-fp/testit.c: Likewise.
58252         * stdio-common/bug16.c: Likewise.
58253         * stdlib/random.c: Likewise.
58254         * sunrpc/rpcsvc/rquota.x: Likewise.
58255         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
58256         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58257         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58258         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58259         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58260         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58261         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58262         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58263         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58264         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58265         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58266         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
58267         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58268         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
58269         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58270         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
58271         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
58272         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58273         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
58274         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58275         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58276         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58277         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
58278         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
58279         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
58280         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
58281         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58282         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58283         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58284         * sysdeps/ieee754/s_lib_version.c: Likewise.
58285         * sysdeps/mach/hurd/check_fds.c: Likewise.
58286         * sysdeps/mach/hurd/getsockname.c: Likewise.
58287         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
58288         * sysdeps/mach/hurd/recvfrom.c: Likewise.
58289         * sysdeps/powerpc/bits/link.h: Likewise.
58290         * sysdeps/powerpc/dl-procinfo.c: Likewise.
58291         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
58292         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
58293         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
58294         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58295         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
58296         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
58297         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58298         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
58299         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58300         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
58301         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58302         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
58303         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58304         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58305         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58306         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58307         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58308         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58309         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58310         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58311         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
58312         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58313         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58314         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
58315         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58316         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58317         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58318         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58319         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58320         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58321         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58322         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58323         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58324         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
58325         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58326         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
58327         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58328         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
58329         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
58330         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
58331         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
58332         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
58333         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
58334         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58335         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
58336         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
58337         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58338         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
58339         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
58340         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58341         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58342         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58343         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58344         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
58345         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
58346         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
58347         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58348         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
58349         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
58350         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
58351         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
58352         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
58353         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58354         * sysdeps/powerpc/sysdep.h: Likewise.
58355         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58356         * sysdeps/s390/s390-64/sub_n.S: Likewise.
58357         * sysdeps/sh/dl-trampoline.S: Likewise.
58358         * sysdeps/sh/memset.S: Likewise.
58359         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
58360         * sysdeps/sh/strlen.S: Likewise.
58361         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
58362         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
58363         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
58364         * sysdeps/sparc/sparc32/rem.S: Likewise.
58365         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
58366         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
58367         * sysdeps/sparc/sparc32/strchr.S: Likewise.
58368         * sysdeps/sparc/sparc32/udiv.S: Likewise.
58369         * sysdeps/sparc/sparc32/urem.S: Likewise.
58370         * sysdeps/sparc/sparc64/add_n.S: Likewise.
58371         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58372         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
58373         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
58374         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
58375         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
58376         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
58377         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
58378         * sysdeps/unix/bsd/times.c: Likewise.
58379         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
58380         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
58381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
58382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
58383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
58384         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
58385         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58386         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
58387         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
58388         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
58389         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
58390         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58391         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
58392         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58393         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58394         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
58395         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58396         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
58397         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
58398         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
58399         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
58400         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
58401         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58402         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
58403         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
58404         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
58405         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
58406         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58407         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
58408         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
58409         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
58410         * sysdeps/x86_64/strcspn.S: Likewise.
58412 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58414         * locale/C-translit.h: Revert #include <stdint.h> because this is a
58415         generated file.  Regenerate properly from gen-translit.pl.
58416         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
58417         locale/C-translit.h.
58419 2013-06-05  Andreas Schwab  <schwab@suse.de>
58421         [BZ #15100]
58422         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
58423         week as 6 instead of -1.
58424         * time/tst-strptime.c (day_tests): Add test case.
58426 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58428         * sysdeps/generic/math_private.h
58429         (libc_feholdexcept_setround_53bit): Replace with
58430         libc_feholdsetround_53bit.
58431         (libc_feupdateenv_53bit): Replace with
58432         libc_feresetround_53bit.
58433         (SET_RESTORE_ROUND_53BIT): Adjust.
58435 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58437         * string/test-strchrnul.c: Add copyright header.
58439         * posix/tst-getaddrinfo4.c: Increase test timeout.
58441 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
58443         [BZ #15536]
58444         * math/libm-test.inc (MAX_EXP): Remove
58445         (MIN_EXP): Define.
58446         (ulp): Use MIN_EXP - MANT_DIG.
58447         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
58449 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
58451         * po/be.po: Revert last change.
58452         * po/zh_CN.po: Likewise.
58453         * po/header.pot: Likewise.
58455 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
58457         * Makefile ($(common-objpfx)linkobj/libc.so): Define
58458         link-libc-deps to empty as target-specific variable.
58459         * Makerules (link-libc-args): New variable.
58460         (libc-for-link): Likewise.
58461         (link-libc-deps): Likewise.
58462         (lib%.so): Depend on $(link-libc-deps).  Link with
58463         $(link-libc-args).
58464         (build-module): Link with $(link-libc-args).
58465         (build-module-asneeded): Likewise.
58466         (build-module-helper-objlist): Filter out $(link-libc-deps) from
58467         list of objects.
58468         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
58469         target-specific variable.
58470         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
58471         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
58472         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
58473         libc.
58474         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
58475         libc and ld.so.
58476         ($(objpfx)libpcprofile.so): Likewise.
58477         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
58478         libc_nonshared.a.
58479         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
58480         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
58481         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
58482         $(link-libc-deps).
58483         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
58484         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
58485         * login/Makefile ($(objpfx)libutil.so): Likewise.
58486         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
58487         * math/Makefile ($(objpfx)libm.so): Likewise.
58488         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
58489         $(objpfx)libnsl.so): Define libc-for-link as target-specific
58490         variable instead of depending directly on libc.
58491         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
58492         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
58493         $(link-libc-deps).
58494         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
58495         libc.
58496         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
58497         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
58498         ($(objpfx)libanl.so): Likewise.
58499         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
58500         ld.so.
58501         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
58502         $(link-libc-deps).
58503         * sysdeps/i386/fpu/Makefile: Remove file.
58504         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
58505         ($(objpfx)libm.so): Remove dependency on ld.so.
58507 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
58509         [BZ # 15553]
58510         * nis/yp_xdr.c (XDRMAXNAME): Define.
58511         (XDRMAXRECORD): Define.
58512         (xdr_domainname): Use XDRMAXNAME.
58513         (xdr_mapname): Likewise.
58514         (xdr_peername): Likewise.
58515         (xdr_keydat): Use XDRMAXRECORD.
58516         (xdr_valdat): Likewise.
58518 2013-05-30  Jeff Law  <law@redhat.com>
58520         [BZ #14256]
58521         * manual/errno.texi (ESTALE): Update to account for more than
58522         just NFS file systems.
58523         * sysdeps/gnu/errlist.c: Regenerated.
58525 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58527         [BZ #15465]
58528         * elf/Makefile (tests): Add tst-null-argv.
58529         (modules-names):  Add tst-null-argv-lib.
58530         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
58531         (tst-null-argv-ENV): Set environment for tst-null-argv.
58532         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
58533         (RTLD_PROGNAME): New macro.
58534         * elf/tst-null-argv.c: New test case.
58535         * elf/tst-null-argv-lib.c: Library for test case.
58536         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
58537         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
58538         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
58539         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
58540         * elf/dl-init.c (call_init): Likewise.
58541         (_dl_init): Likewise.
58542         * elf/dl-load.c (print_search_path): Likewise.
58543         (_dl_map_object): Likewise.
58544         * elf/dl-lookup.c (do_lookup_x): Likewise.
58545         (add_dependency): Likewise.
58546         (_dl_lookup_symbol_x): Likewise.
58547         (_dl_debug_bindings): Likewise.
58548         * elf/dl-open.c (_dl_show_scope): Likewise.
58549         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
58550         * elf/dl-version.c (match_symbol): Likewise.
58551         (_dl_check_map_versions): Likewise.
58552         * elf/rtld.c (dl_main): Likewise.
58553         (print_unresolved): Use RTLD_PROGNAME.
58554         (print_missing_version): Likewise.
58555         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
58556         (elf_machine_rela): Likewise.
58557         * sysdeps/powerpc/powerpc32/dl-machine.c
58558         (__process_machine_rela): Likewise.
58559         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58560         Likewise.
58561         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58562         Likewise.
58563         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
58564         Likewise.
58565         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58566         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
58567         Likewise.
58568         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
58569         Likewise.
58570         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58572 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
58574         * po/be.po: Add descriptive title.
58575         * po/zh_CN.po: Likewise.
58576         * po/header.pot: Likewise.
58578 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
58580         * locale/programs/locarchive.c (create_archive): Inlucde fname in
58581         error message.
58582         (enlarge_archive): Likewise.
58584 2013-05-28  Ben North  <ben@redfrontdoor.org>
58586         * manual/arith.texi (frexp): It is the magnitude of the return
58587         value which lies in [0.5, 1), not the return value itself.
58589 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58593 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
58595         * stdio-common/bug26.c (main): Correct fscanf template.
58597         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
58598         declare _dl_skip_args.
58600         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
58601         Don't declare.
58603         * manual/platform.texi: Add missing @end deftypefun.
58605 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58607         [BZ #15529]
58608         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
58609         bit of mantissa of 2^16382.
58610         * math/libm-test.inc (hypot_test_data): Add more tests.
58612         * math/libm-test.inc: Add drem and pow10 to list of tested
58613         functions.
58614         (pow10_test): New function.
58615         (drem_test): Likewise.
58616         (drem_test_tonearest): Likewise.
58617         (drem_test_towardzero): Likewise.
58618         (drem_test_downward): Likewise.
58619         (drem_test_upward): Likewise.
58620         (main): Call the new functions.
58622         * math/libm-test.inc (finite_test_data): Remove.
58623         (finite_test): Run tests from isfinite_test_data.
58624         (gamma_test_data): Remove.
58625         (gamma_test): Run tests from lgamma_test_data.
58626         * sysdeps/i386/fpu/libm-test-ulps: Update.
58627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58629 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58631         * manual/platform.texi: Add PowerPC PPR function set documentation.
58632         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
58633         implementation.
58635 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
58637         * math/libm-test.inc (MAX_EXP): Define.
58638         (ULPDIFF): Define.
58639         (ulp): New function.
58640         (check_float_internal): Use ULPDIFF.
58641         (cpow_test): Disable failing test.
58642         (check_ulp): Test ulp() implementation.
58643         (main): Call check_ulp before starting tests.
58645 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58647         * math/gen-libm-test.pl (generate_testfile): Do not handle
58648         START_DATA and END_DATA.
58649         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
58650         END_DATA.
58651         (acos_tonearest_test_data): Likewise.
58652         (acos_towardzero_test_data): Likewise.
58653         (acos_downward_test_data): Likewise.
58654         (acos_upward_test_data): Likewise.
58655         (acosh_test_data): Likewise.
58656         (asin_test_data): Likewise.
58657         (asin_tonearest_test_data): Likewise.
58658         (asin_towardzero_test_data): Likewise.
58659         (asin_downward_test_data): Likewise.
58660         (asin_upward_test_data): Likewise.
58661         (asinh_test_data): Likewise.
58662         (atan_test_data): Likewise.
58663         (atanh_test_data): Likewise.
58664         (atan2_test_data): Likewise.
58665         (cabs_test_data): Likewise.
58666         (cacos_test_data): Likewise.
58667         (cacosh_test_data): Likewise.
58668         (carg_test_data): Likewise.
58669         (casin_test_data): Likewise.
58670         (casinh_test_data): Likewise.
58671         (catan_test_data): Likewise.
58672         (catanh_test_data): Likewise.
58673         (cbrt_test_data): Likewise.
58674         (ccos_test_data): Likewise.
58675         (ccosh_test_data): Likewise.
58676         (ceil_test_data): Likewise.
58677         (cexp_test_data): Likewise.
58678         (cimag_test_data): Likewise.
58679         (clog_test_data): Likewise.
58680         (clog10_test_data): Likewise.
58681         (conj_test_data): Likewise.
58682         (copysign_test_data): Likewise.
58683         (cos_test_data): Likewise.
58684         (cos_tonearest_test_data): Likewise.
58685         (cos_towardzero_test_data): Likewise.
58686         (cos_downward_test_data): Likewise.
58687         (cos_upward_test_data): Likewise.
58688         (cosh_test_data): Likewise.
58689         (cosh_tonearest_test_data): Likewise.
58690         (cosh_towardzero_test_data): Likewise.
58691         (cosh_downward_test_data): Likewise.
58692         (cosh_upward_test_data): Likewise.
58693         (cpow_test_data): Likewise.
58694         (cproj_test_data): Likewise.
58695         (creal_test_data): Likewise.
58696         (csin_test_data): Likewise.
58697         (csinh_test_data): Likewise.
58698         (csqrt_test_data): Likewise.
58699         (ctan_test_data): Likewise.
58700         (ctan_tonearest_test_data): Likewise.
58701         (ctan_towardzero_test_data): Likewise.
58702         (ctan_downward_test_data): Likewise.
58703         (ctan_upward_test_data): Likewise.
58704         (ctanh_test_data): Likewise.
58705         (ctanh_tonearest_test_data): Likewise.
58706         (ctanh_towardzero_test_data): Likewise.
58707         (ctanh_downward_test_data): Likewise.
58708         (ctanh_upward_test_data): Likewise.
58709         (erf_test_data): Likewise.
58710         (erfc_test_data): Likewise.
58711         (exp_test_data): Likewise.
58712         (exp_tonearest_test_data): Likewise.
58713         (exp_towardzero_test_data): Likewise.
58714         (exp_downward_test_data): Likewise.
58715         (exp_upward_test_data): Likewise.
58716         (exp10_test_data): Likewise.
58717         (exp2_test_data): Likewise.
58718         (expm1_test_data): Likewise.
58719         (fabs_test_data): Likewise.
58720         (fdim_test_data): Likewise.
58721         (finite_test_data): Likewise.
58722         (floor_test_data): Likewise.
58723         (fma_test_data): Likewise.
58724         (fma_towardzero_test_data): Likewise.
58725         (fma_downward_test_data): Likewise.
58726         (fma_upward_test_data): Likewise.
58727         (fmax_test_data): Likewise.
58728         (fmin_test_data): Likewise.
58729         (fmod_test_data): Likewise.
58730         (fpclassify_test_data): Likewise.
58731         (frexp_test_data): Likewise.
58732         (gamma_test_data): Likewise.
58733         (hypot_test_data): Likewise.
58734         (ilogb_test_data): Likewise.
58735         (isfinite_test_data): Likewise.
58736         (isgreater_test_data): Likewise.
58737         (isgreaterequal_test_data): Likewise.
58738         (isinf_test_data): Likewise.
58739         (isless_test_data): Likewise.
58740         (islessequal_test_data): Likewise.
58741         (islessgreater_test_data): Likewise.
58742         (isnan_test_data): Likewise.
58743         (isnormal_test_data): Likewise.
58744         (issignaling_test_data): Likewise.
58745         (isunordered_test_data): Likewise.
58746         (j0_test_data): Likewise.
58747         (j1_test_data): Likewise.
58748         (jn_test_data): Likewise.
58749         (ldexp_test_data): Likewise.
58750         (lgamma_test_data): Likewise.
58751         (lrint_test_data): Likewise.
58752         (lrint_tonearest_test_data): Likewise.
58753         (lrint_towardzero_test_data): Likewise.
58754         (lrint_downward_test_data): Likewise.
58755         (lrint_upward_test_data): Likewise.
58756         (llrint_test_data): Likewise.
58757         (llrint_tonearest_test_data): Likewise.
58758         (llrint_towardzero_test_data): Likewise.
58759         (llrint_downward_test_data): Likewise.
58760         (llrint_upward_test_data): Likewise.
58761         (log_test_data): Likewise.
58762         (log10_test_data): Likewise.
58763         (log1p_test_data): Likewise.
58764         (log2_test_data): Likewise.
58765         (logb_test_data): Likewise.
58766         (logb_downward_test_data): Likewise.
58767         (lround_test_data): Likewise.
58768         (llround_test_data): Likewise.
58769         (modf_test_data): Likewise.
58770         (nearbyint_test_data): Likewise.
58771         (nextafter_test_data): Likewise.
58772         (nexttoward_test_data): Likewise.
58773         (pow_test_data): Likewise.
58774         (pow_tonearest_test_data): Likewise.
58775         (pow_towardzero_test_data): Likewise.
58776         (pow_downward_test_data): Likewise.
58777         (pow_upward_test_data): Likewise.
58778         (remainder_test_data): Likewise.
58779         (remainder_tonearest_test_data): Likewise.
58780         (remainder_towardzero_test_data): Likewise.
58781         (remainder_downward_test_data): Likewise.
58782         (remainder_upward_test_data): Likewise.
58783         (remquo_test_data): Likewise.
58784         (rint_test_data): Likewise.
58785         (rint_tonearest_test_data): Likewise.
58786         (rint_towardzero_test_data): Likewise.
58787         (rint_downward_test_data): Likewise.
58788         (rint_upward_test_data): Likewise.
58789         (round_test_data): Likewise.
58790         (scalb_test_data): Likewise.
58791         (scalbn_test_data): Likewise.
58792         (scalbln_test_data): Likewise.
58793         (signbit_test_data): Likewise.
58794         (sin_test_data): Likewise.
58795         (sin_tonearest_test_data): Likewise.
58796         (sin_towardzero_test_data): Likewise.
58797         (sin_downward_test_data): Likewise.
58798         (sin_upward_test_data): Likewise.
58799         (sincos_test_data): Likewise.
58800         (sinh_test_data): Likewise.
58801         (sinh_tonearest_test_data): Likewise.
58802         (sinh_towardzero_test_data): Likewise.
58803         (sinh_downward_test_data): Likewise.
58804         (sinh_upward_test_data): Likewise.
58805         (sqrt_test_data): Likewise.
58806         (tan_test_data): Likewise.
58807         (tan_tonearest_test_data): Likewise.
58808         (tan_towardzero_test_data): Likewise.
58809         (tan_downward_test_data): Likewise.
58810         (tan_upward_test_data): Likewise.
58811         (tanh_test_data): Likewise.
58812         (tgamma_test_data): Likewise.
58813         (trunc_test_data): Likewise.
58814         (y0_test_data): Likewise.
58815         (y1_test_data): Likewise.
58816         (yn_test_data): Likewise.
58817         (significand_test_data): Likewise.
58819         * math/gen-libm-test.pl (@functions): Remove variable.
58820         (generate_testfile): Don't handle START and END lines.
58821         * math/libm-test.inc (START): New macro.
58822         (END): Likewise.
58823         (END_COMPLEX): Likewise.
58824         (acos_test): Use END macro without arguments.
58825         (acos_test_tonearest): Likewise.
58826         (acos_test_towardzero): Likewise.
58827         (acos_test_downward): Likewise.
58828         (acos_test_upward): Likewise.
58829         (acosh_test): Likewise.
58830         (asin_test): Likewise.
58831         (asin_test_tonearest): Likewise.
58832         (asin_test_towardzero): Likewise.
58833         (asin_test_downward): Likewise.
58834         (asin_test_upward): Likewise.
58835         (asinh_test): Likewise.
58836         (atan_test): Likewise.
58837         (atanh_test): Likewise.
58838         (atan2_test): Likewise.
58839         (cabs_test): Likewise.
58840         (cacos_test): Use END_COMPLEX macro without arguments.
58841         (cacosh_test): Likewise.
58842         (carg_test): Use END macro without arguments.
58843         (casin_test): Use END_COMPLEX macro without arguments.
58844         (casinh_test): Likewise.
58845         (catan_test): Likewise.
58846         (catanh_test): Likewise.
58847         (cbrt_test): Use END macro without arguments.
58848         (ccos_test): Use END_COMPLEX macro without arguments.
58849         (ccosh_test): Likewise.
58850         (ceil_test): Use END macro without arguments.
58851         (cexp_test): Use END_COMPLEX macro without arguments.
58852         (cimag_test): Use END macro without arguments.
58853         (clog_test): Use END_COMPLEX macro without arguments.
58854         (clog10_test): Likewise.
58855         (conj_test): Likewise.
58856         (copysign_test): Use END macro without arguments.
58857         (cos_test): Likewise.
58858         (cos_test_tonearest): Likewise.
58859         (cos_test_towardzero): Likewise.
58860         (cos_test_downward): Likewise.
58861         (cos_test_upward): Likewise.
58862         (cosh_test): Likewise.
58863         (cosh_test_tonearest): Likewise.
58864         (cosh_test_towardzero): Likewise.
58865         (cosh_test_downward): Likewise.
58866         (cosh_test_upward): Likewise.
58867         (cpow_test): Use END_COMPLEX macro without arguments.
58868         (cproj_test): Likewise.
58869         (creal_test): Use END macro without arguments.
58870         (csin_test): Use END_COMPLEX macro without arguments.
58871         (csinh_test): Likewise.
58872         (csqrt_test): Likewise.
58873         (ctan_test): Likewise.
58874         (ctan_test_tonearest): Likewise.
58875         (ctan_test_towardzero): Likewise.
58876         (ctan_test_downward): Likewise.
58877         (ctan_test_upward): Likewise.
58878         (ctanh_test): Likewise.
58879         (ctanh_test_tonearest): Likewise.
58880         (ctanh_test_towardzero): Likewise.
58881         (ctanh_test_downward): Likewise.
58882         (ctanh_test_upward): Likewise.
58883         (erf_test): Use END macro without arguments.
58884         (erfc_test): Likewise.
58885         (exp_test): Likewise.
58886         (exp_test_tonearest): Likewise.
58887         (exp_test_towardzero): Likewise.
58888         (exp_test_downward): Likewise.
58889         (exp_test_upward): Likewise.
58890         (exp10_test): Likewise.
58891         (exp2_test): Likewise.
58892         (expm1_test): Likewise.
58893         (fabs_test): Likewise.
58894         (fdim_test): Likewise.
58895         (finite_test): Likewise.
58896         (floor_test): Likewise.
58897         (fma_test): Likewise.
58898         (fma_test_towardzero): Likewise.
58899         (fma_test_downward): Likewise.
58900         (fma_test_upward): Likewise.
58901         (fmax_test): Likewise.
58902         (fmin_test): Likewise.
58903         (fmod_test): Likewise.
58904         (fpclassify_test): Likewise.
58905         (frexp_test): Likewise.
58906         (gamma_test): Likewise.
58907         (hypot_test): Likewise.
58908         (ilogb_test): Likewise.
58909         (isfinite_test): Likewise.
58910         (isgreater_test): Likewise.
58911         (isgreaterequal_test): Likewise.
58912         (isinf_test): Likewise.
58913         (isless_test): Likewise.
58914         (islessequal_test): Likewise.
58915         (islessgreater_test): Likewise.
58916         (isnan_test): Likewise.
58917         (isnormal_test): Likewise.
58918         (issignaling_test): Likewise.
58919         (isunordered_test): Likewise.
58920         (j0_test): Likewise.
58921         (j1_test): Likewise.
58922         (jn_test): Likewise.
58923         (ldexp_test): Likewise.
58924         (lgamma_test): Likewise.
58925         (lrint_test): Likewise.
58926         (lrint_test_tonearest): Likewise.
58927         (lrint_test_towardzero): Likewise.
58928         (lrint_test_downward): Likewise.
58929         (lrint_test_upward): Likewise.
58930         (llrint_test): Likewise.
58931         (llrint_test_tonearest): Likewise.
58932         (llrint_test_towardzero): Likewise.
58933         (llrint_test_downward): Likewise.
58934         (llrint_test_upward): Likewise.
58935         (log_test): Likewise.
58936         (log10_test): Likewise.
58937         (log1p_test): Likewise.
58938         (log2_test): Likewise.
58939         (logb_test): Likewise.
58940         (logb_test_downward): Likewise.
58941         (lround_test): Likewise.
58942         (llround_test): Likewise.
58943         (modf_test): Likewise.
58944         (nearbyint_test): Likewise.
58945         (nextafter_test): Likewise.
58946         (nexttoward_test): Likewise.
58947         (pow_test): Likewise.
58948         (pow_test_tonearest): Likewise.
58949         (pow_test_towardzero): Likewise.
58950         (pow_test_downward): Likewise.
58951         (pow_test_upward): Likewise.
58952         (remainder_test): Likewise.
58953         (remainder_test_tonearest): Likewise.
58954         (remainder_test_towardzero): Likewise.
58955         (remainder_test_downward): Likewise.
58956         (remainder_test_upward): Likewise.
58957         (remquo_test): Likewise.
58958         (rint_test): Likewise.
58959         (rint_test_tonearest): Likewise.
58960         (rint_test_towardzero): Likewise.
58961         (rint_test_downward): Likewise.
58962         (rint_test_upward): Likewise.
58963         (round_test): Likewise.
58964         (scalb_test): Likewise.
58965         (scalbn_test): Likewise.
58966         (scalbln_test): Likewise.
58967         (signbit_test): Likewise.
58968         (sin_test): Likewise.
58969         (sin_test_tonearest): Likewise.
58970         (sin_test_towardzero): Likewise.
58971         (sin_test_downward): Likewise.
58972         (sin_test_upward): Likewise.
58973         (sincos_test): Likewise.
58974         (sinh_test): Likewise.
58975         (sinh_test_tonearest): Likewise.
58976         (sinh_test_towardzero): Likewise.
58977         (sinh_test_downward): Likewise.
58978         (sinh_test_upward): Likewise.
58979         (sqrt_test): Likewise.
58980         (tan_test): Likewise.
58981         (tan_test_tonearest): Likewise.
58982         (tan_test_towardzero): Likewise.
58983         (tan_test_downward): Likewise.
58984         (tan_test_upward): Likewise.
58985         (tanh_test): Likewise.
58986         (tgamma_test): Likewise.
58987         (trunc_test): Likewise.
58988         (y0_test): Likewise.
58989         (y1_test): Likewise.
58990         (yn_test): Likewise.
58991         (significand_test): Likewise.
58993 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
58995         [BZ #15381]
58996         * libio/genops.c (_IO_no_init): Initialize wide struct info.
58998 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59000         [BZ #14894]
59001         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
59002         __ppc_mdoio and __ppc_mdoom.
59003         * manual/platform.texi: Document new functions __ppc_yield,
59004         __ppc_mdoio and __ppc_mdoom.
59006 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
59008         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
59009         (main): Mention "tls" pseudo-hwcap is legacy.
59010         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
59012 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59014         * math/gen-libm-test.pl (parse_args): Output only string of
59015         arguments as text for test name, not full call or descriptions of
59016         tests for extra outputs.
59017         (generate_testfile): Do not pass function name to parse_args.
59018         Generate this_func variable from START.
59019         * math/libm-test.inc (struct test_f_f_data): Rename test_name
59020         field to arg_str.
59021         (struct test_ff_f_data): Likewise.
59022         (test_ff_f_data_nexttoward): Likewise.
59023         (struct test_fi_f_data): Likewise.
59024         (struct test_fl_f_data): Likewise.
59025         (struct test_if_f_data): Likewise.
59026         (struct test_fff_f_data): Likewise.
59027         (struct test_c_f_data): Likewise.
59028         (struct test_f_f1_data): Likewise.  Remove field extra_name.
59029         (struct test_fF_f1_data): Likewise.
59030         (struct test_ffI_f1_data): Likewise.
59031         (struct test_c_c_data): Rename test_name field to arg_str.
59032         (struct test_cc_c_data): Likewise.
59033         (struct test_f_i_data): Likewise.
59034         (struct test_ff_i_data): Likewise.
59035         (struct test_f_l_data): Likewise.
59036         (struct test_f_L_data): Likewise.
59037         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
59038         and extra2_name.
59039         (COMMON_TEST_SETUP): New macro.
59040         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
59041         (COMMON_TEST_CLEANUP): Likewise.
59042         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
59043         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
59044         macros.
59045         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
59046         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
59047         macros.
59048         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
59049         (RUN_TEST_fff_f): Take argument string.  Call new setup and
59050         cleanup macros.
59051         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
59052         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
59053         macros.
59054         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
59055         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
59056         macros.
59057         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59058         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
59059         cleanup macros.
59060         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59061         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
59062         cleanup macros.
59063         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59064         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
59065         cleanup macros.
59066         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59067         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
59068         macros.
59069         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
59070         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
59071         macros.
59072         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
59073         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
59074         macros.
59075         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
59076         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
59077         cleanup macros.
59078         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
59079         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
59080         cleanup macros.
59081         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
59082         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
59083         macros.
59084         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
59085         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
59086         cleanup macros.
59087         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
59088         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
59089         macros.
59090         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
59091         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
59092         macros.
59093         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
59094         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
59095         cleanup macros.
59096         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
59098 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
59100         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
59101         to _sifields.sigfault.
59102         (si_addr_lsb): Define new macro.
59103         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59104         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59105         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
59107 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
59109         [BZ #15441]
59110         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
59111         returns -1.
59112         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
59113         null return -1.
59114         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
59115         loading the domain.
59117 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59119         * math/gen-libm-test.pl (parse_args): Do not include expected
59120         result in test name.
59121         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
59122         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59123         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59124         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59125         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59128 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59130         * benchtests/Makefile: Sort function entries.
59132         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
59133         tanh, asinh, acosh, atanh.
59134         * benchtests/acos-inputs: New file.
59135         * benchtests/acosh-inputs: New file.
59136         * benchtests/asin-inputs: New file.
59137         * benchtests/asinh-inputs: New file.
59138         * benchtests/atanh-inputs: New file.
59139         * benchtests/cosh-inputs: New file.
59140         * benchtests/log-inputs: New file.
59141         * benchtests/sinh-inputs: New file.
59142         * benchtests/tanh-inputs: New file.
59144 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
59146         [BZ #15339]
59147         * posix/tst-getaddrinfo4.c: New test.
59148         * posix/Makefile (tests): Add it.
59150 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59152         [BZ #15339]
59153         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
59154         when no services were used.
59155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
59156         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
59158 2013-05-21  Andreas Schwab  <schwab@suse.de>
59160         [BZ #15014]
59161         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
59162         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
59163         successful.
59164         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
59165         redundant variable declarations and reallocation of buffer when
59166         parsing as IPv6 address.  Always set NSS status when called from
59167         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
59168         buffer too small.  Correct computation of needed size.
59169         * nss/Makefile (tests): Add test-digits-dots.
59170         * nss/test-digits-dots.c: New test.
59172 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59174         * benchtests/Makefile: Remove instructions for adding
59175         benchmark tests.
59176         * benchtests/README: New file to explain how to execute and
59177         enhance the benchmark tests.
59179 2013-05-21  Andreas Schwab  <schwab@suse.de>
59181         [BZ #15493]
59182         * setjmp/Makefile (tests): Add tst-sigsetjmp.
59183         * setjmp/tst-sigsetjmp.c: New test.
59185 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59187         * sysdeps/x86_64/memset.S (memset): New implementation.
59188         (__bzero): Likewise.
59189         (__memset_tail): New function.
59191 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59193         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
59194         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
59195         __memcpy_sse2_unaligned ifunc selection.
59196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59197         Add memcpy-sse2-unaligned.S.
59198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59199         Add: __memcpy_sse2_unaligned.
59201 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
59203         [BZ #15490]
59204         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59205         math_force_eval before restoring floating-point envrionment.
59206         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
59207         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
59208         Likewise.
59209         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
59210         <math_private.h>.
59211         (__nearbyintl): Use math_force_eval before restoring
59212         floating-point environment.
59213         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
59215         * math/gen-libm-test.pl (special_functions): Remove.
59216         (parse_args): Don't handle TEST_extra.  Handle functions with no
59217         return value.
59218         * math/libm-test.inc (struct test_sincos_data): Replace with
59219         struct test_fFF_11_data.
59220         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
59221         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
59222         (sincos_test_data): Change element type to struct
59223         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
59224         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
59225         RUN_TEST_LOOP_sincos.
59226         * math/README.libm-test: Don't mention special handling of
59227         individual functions.
59228         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
59229         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59230         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59231         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59232         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59235         * math/gen-libm-test.pl (get_variable): Remove function.
59236         (parse_args): Don't show pointer parameters to call in test
59237         names.  Use "extra output N" in test names for extra outputs
59238         rather than naming variables.
59240 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
59242         [BZ #15488]
59243         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
59244         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
59245         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
59246         double tests.
59247         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
59248         disable.
59249         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
59250         check_long_double.
59252         * math/gen-libm-test.pl (@tests): Remove variable.
59253         ($count): Likewise.
59254         (new_test): Remove function.
59255         (show_exceptions): New function.
59256         (special_functions): Use show_exceptions instead of new_test.
59257         (parse_args): Likewise.
59258         (generate_testfile): Pass only function name in generated call to
59259         print_max_error or print_complex_max_error.
59260         (get_ulps): Do not handle complex tests specially.
59261         (output_test): Rename to ...
59262         (get_all_ulps_for_test): ... this.  Return a string rather than
59263         printing to a file.  Require ulps to be present.
59264         (output_ulps): Generate arrays rather than #defines.
59265         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
59266         (struct ulp_data): New type.
59267         (BUILD_COMPLEX_ULP): Remove macro.
59268         (compare_ulp_data): New function.
59269         (find_ulps): Likewise.
59270         (find_test_ulps): Likewise.
59271         (find_function_ulps): Likewise.
59272         (find_complex_function_ulps): Likewise.
59273         (print_max_error): Determine allowed ulps using
59274         find_function_ulps.
59275         (print_complex_max_error): Determine allowed ulps using
59276         find_complex_function_ulps.
59277         (check_float_internal): Determine max ulps using find_test_ulps.
59278         (check_float): Do not take max_ulp parameter.  Update call to
59279         check_float_internal.
59280         (check_complex): Likewise.
59281         (check_int): Do not take max_ulp parameter.
59282         (check_long): Likewise.
59283         (check_bool): Likewise.
59284         (check_longlong): Likewise.
59285         (struct test_f_f_data): Remove max_ulp field.
59286         (struct test_ff_f_data): Likewise.
59287         (struct test_ff_f_data_nexttoward): Likewise.
59288         (struct test_fi_f_data): Likewise.
59289         (struct test_fl_f_data): Likewise.
59290         (struct test_if_f_data): Likewise.
59291         (struct test_fff_f_data): Likewise.
59292         (struct test_c_f_data): Likewise.
59293         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
59294         (struct test_fF_f1_data): Likewise.
59295         (struct test_ffI_f1_data): Likewise.
59296         (struct test_c_c_data): Remove max_ulp field.
59297         (struct test_cc_c_data): Likewise.
59298         (struct test_f_i_data): Likewise.
59299         (struct test_ff_i_data): Likewise.
59300         (struct test_f_l_data): Likewise.
59301         (struct test_f_L_data): Likewise.
59302         (struct test_sincos_data): Likewise.
59303         (RUN_TEST_f_f): Do not handle ulps.
59304         (RUN_TEST_LOOP_f_f): Likewise.
59305         (RUN_TEST_2_f): Likewise.
59306         (RUN_TEST_LOOP_2_f): Likewise.
59307         (RUN_TEST_fff_f): Likewise.
59308         (RUN_TEST_LOOP_fff_f): Likewise.
59309         (RUN_TEST_c_f): Likewise.
59310         (RUN_TEST_LOOP_c_f): Likewise.
59311         (RUN_TEST_f_f1): Likewise.
59312         (RUN_TEST_LOOP_f_f1): Likewise.
59313         (RUN_TEST_fF_f1): Likewise.
59314         (RUN_TEST_LOOP_fF_f1): Likewise.
59315         (RUN_TEST_fI_f1): Likewise.
59316         (RUN_TEST_LOOP_fI_f1): Likewise.
59317         (RUN_TEST_ffI_f1): Likewise.
59318         (RUN_TEST_LOOP_ffI_f1): Likewise.
59319         (RUN_TEST_c_c): Likewise.
59320         (RUN_TEST_LOOP_c_c): Likewise.
59321         (RUN_TEST_cc_c): Likewise.
59322         (RUN_TEST_LOOP_cc_c): Likewise.
59323         (RUN_TEST_f_i): Likewise.
59324         (RUN_TEST_LOOP_f_i): Likewise.
59325         (RUN_TEST_f_i_tg): Likewise.
59326         (RUN_TEST_LOOP_f_i_tg): Likewise.
59327         (RUN_TEST_ff_i_tg): Likewise.
59328         (RUN_TEST_LOOP_ff_i_tg): Likewise.
59329         (RUN_TEST_f_b): Likewise.
59330         (RUN_TEST_LOOP_f_b): Likewise.
59331         (RUN_TEST_f_b_tg): Likewise.
59332         (RUN_TEST_LOOP_f_b_tg): Likewise.
59333         (RUN_TEST_f_l): Likewise.
59334         (RUN_TEST_LOOP_f_l): Likewise.
59335         (RUN_TEST_f_L): Likewise.
59336         (RUN_TEST_LOOP_f_L): Likewise.
59337         (RUN_TEST_sincos): Likewise.
59338         (RUN_TEST_LOOP_sincos): Likewise.
59340 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
59342         [BZ #15480]
59343         [BZ #15485]
59344         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
59345         main case of finite arguments, set rounding mode to FE_TONEAREST
59346         and discard exceptions.
59347         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
59348         exceptions.
59349         (remainder_tonearest_test_data): New variable.
59350         (remainder_test_tonearest): New function.
59351         (remainder_towardzero_test_data): New variable.
59352         (remainder_test_towardzero): New function.
59353         (remainder_downward_test_data): New variable.
59354         (remainder_test_downward): New function.
59355         (remainder_upward_test_data): New variable.
59356         (remainder_test_upward): New function.
59357         (main): Call the new test functions.
59359         * math/libm-test.inc (struct test_f_f1_data): Remove field
59360         extra_init.
59361         (struct test_fF_f1_data): Likewise.
59362         (struct test_ffI_f1_data): Likewise.
59363         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
59364         based on value of EXTRA_EXPECTED.
59365         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59366         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
59367         EXTRA_VAR based on value of EXTRA_EXPECTED.
59368         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59369         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
59370         EXTRA_VAR based on value of EXTRA_EXPECTED.
59371         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59372         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
59373         EXTRA_VAR based on value of EXTRA_EXPECTED.
59374         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59375         * math/gen-libm-test.pl (parse_args): Don't output initializers
59376         for extra output values.
59378         * math/libm-test.inc (check_int): Expect result to be exactly
59379         equal to expected value and do not handle ulps.
59380         (check_long): Likewise.
59381         (check_longlong): Likewise.
59383         * math/libm-test.inc (ceil_test_data): Test for "inexact"
59384         exceptions.
59385         (cimag_test_data): Likewise.
59386         (conj_test_data): Likewise.
59387         (copysign_test_data): Likewise.
59388         (cproj_test_data): Likewise.
59389         (creal_test_data): Likewise.
59390         (fabs_test_data): Likewise.
59391         (fdim_test_data): Likewise.
59392         (finite_test_data): Likewise.
59393         (floor_test_data): Likewise.
59394         (fmax_test_data): Likewise.
59395         (fmin_test_data): Likewise.
59396         (fmod_test_data): Likewise.
59397         (fpclassify_test_data): Likewise.
59398         (frexp_test_data): Likewise.
59399         (ilogb_test_data): Likewise.
59400         (isfinite_test_data): Likewise.
59401         (isgreater_test_data): Likewise.
59402         (isgreaterequal_test_data): Likewise.
59403         (isinf_test_data): Likewise.
59404         (isless_test_data): Likewise.
59405         (islessequal_test_data): Likewise.
59406         (islessgreater_test_data): Likewise.
59407         (isnan_test_data): Likewise.
59408         (isnormal_test_data): Likewise.
59409         (issignaling_test_data): Likewise.
59410         (isunordered_test_data): Likewise.
59411         (ldexp_test_data): Likewise.
59412         (lrint_test_data): Likewise.
59413         (lrint_test_data) [TEST_FLOAT]: Disable one test.
59414         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
59415         (lrint_tonearest_test_data): Test for "inexact" exceptions.
59416         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59417         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
59418         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59419         test input.
59420         (lrint_towardzero_test_data): Test for "inexact" exceptions.
59421         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59422         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
59423         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
59424         that test input.
59425         (lrint_downward_test_data): Test for "inexact" exceptions.
59426         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59427         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
59428         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59429         test input.
59430         (lrint_upward_test_data): Test for "inexact" exceptions.
59431         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
59432         test input.
59433         (llrint_test_data): Test for "inexact" exceptions.
59434         (llrint_test_data) [TEST_FLOAT]: Disable one test.
59435         (llrint_tonearest_test_data): Test for "inexact" exceptions.
59436         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59437         (llrint_towardzero_test_data): Test for "inexact" exceptions.
59438         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59439         (llrint_downward_test_data): Test for "inexact" exceptions.
59440         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59441         (llrint_upward_test_data): Test for "inexact" exceptions.
59442         (logb_test_data): Likewise.
59443         (logb_downward_test_data): Likewise.
59444         (nextafter_test_data): Likewise.
59445         (nexttoward_test_data): Likewise.
59446         (remainder_test_data): Likewise.
59447         (remquo_test_data): Likewise.
59448         (scalbn_test_data): Likewise.
59449         (scalbln_test_data): Likewise.
59450         (signbit_test_data): Likewise.
59451         (sqrt_test_data): Likewise.
59452         (significand_test_data): Likewise.
59454 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59456         [BZ #15424]
59457         * benchtests/bench-modf.c (struct args): Mark arg0 as
59458         volatile.
59459         * scripts/bench.pl: Mark members of struct args as volatile.
59461 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59463         [BZ # 15497]
59464         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
59465         negative infinity on POWER6 or lower.
59466         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
59468 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
59470         [BZ #15442]
59471         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
59472         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
59473         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
59474         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
59475         (_FP_SETQNAN): New macro.
59476         (_FP_SETQNAN_SEMIRAW): Likewise.
59477         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
59478         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
59479         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
59480         (FP_EXTEND): Use _FP_FRAC_SNANP.
59481         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
59482         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
59483         into account.
59484         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59485         New macro.
59486         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59487         Likewise.
59489 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59491         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
59492         with DIVIDE_BY_ZERO_EXCEPTION.
59493         (gamma_test_data): Likewise.
59494         (lgamma_test_data): Likewise.
59495         (log_test_data): Likewise.
59496         (log10_test_data): Likewise.
59497         (log2_test_data): Likewise.
59498         (tgamma_test_data): Likewise.
59500         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
59501         (acos_test_tonearest): Likewise.
59502         (acos_test_towardzero): Likewise.
59503         (acos_test_downward): Likewise.
59504         (acos_test_upward): Likewise.
59505         (acosh_test): Likewise.
59506         (asin_test): Likewise.
59507         (asin_test_tonearest): Likewise.
59508         (asin_test_towardzero): Likewise.
59509         (asin_test_downward): Likewise.
59510         (asin_test_upward): Likewise.
59511         (asinh_test): Likewise.
59512         (atan_test): Likewise.
59513         (atanh_test): Likewise.
59514         (atan2_test): Likewise.
59515         (cabs_test): Likewise.
59516         (cacos_test): Likewise.
59517         (cacosh_test): Likewise.
59518         (casin_test): Likewise.
59519         (casinh_test): Likewise.
59520         (catan_test): Likewise.
59521         (catanh_test): Likewise.
59522         (cbrt_test): Likewise.
59523         (ccos_test): Likewise.
59524         (ccosh_test): Likewise.
59525         (cexp_test): Likewise.
59526         (clog_test): Likewise.
59527         (clog10_test): Likewise.
59528         (cos_test): Likewise.
59529         (cos_test_tonearest): Likewise.
59530         (cos_test_towardzero): Likewise.
59531         (cos_test_downward): Likewise.
59532         (cos_test_upward): Likewise.
59533         (cosh_test): Likewise.
59534         (cosh_test_tonearest): Likewise.
59535         (cosh_test_towardzero): Likewise.
59536         (cosh_test_downward): Likewise.
59537         (cosh_test_upward): Likewise.
59538         (cpow_test): Likewise.
59539         (csin_test): Likewise.
59540         (csinh_test): Likewise.
59541         (csqrt_test): Likewise.
59542         (ctan_test): Likewise.
59543         (ctan_test_tonearest): Likewise.
59544         (ctan_test_towardzero): Likewise.
59545         (ctan_test_downward): Likewise.
59546         (ctan_test_upward): Likewise.
59547         (ctanh_test): Likewise.
59548         (ctanh_test_tonearest): Likewise.
59549         (ctanh_test_towardzero): Likewise.
59550         (ctanh_test_downward): Likewise.
59551         (ctanh_test_upward): Likewise.
59552         (erf_test): Likewise.
59553         (erfc_test): Likewise.
59554         (exp_test): Likewise.
59555         (exp_test_tonearest): Likewise.
59556         (exp_test_towardzero): Likewise.
59557         (exp_test_downward): Likewise.
59558         (exp_test_upward): Likewise.
59559         (exp10_test): Likewise.
59560         (exp2_test): Likewise.
59561         (expm1_test): Likewise.
59562         (fmod_test): Likewise.
59563         (gamma_test): Likewise.
59564         (hypot_test): Likewise.
59565         (j0_test): Likewise.
59566         (j1_test): Likewise.
59567         (jn_test): Likewise.
59568         (lgamma_test): Likewise.
59569         (log_test): Likewise.
59570         (log10_test): Likewise.
59571         (log1p_test): Likewise.
59572         (log2_test): Likewise.
59573         (logb_test_downward): Likewise.
59574         (pow_test): Likewise.
59575         (pow_test_tonearest): Likewise.
59576         (pow_test_towardzero): Likewise.
59577         (pow_test_downward): Likewise.
59578         (pow_test_upward): Likewise.
59579         (remainder_test): Likewise.
59580         (remquo_test): Likewise.
59581         (sin_test): Likewise.
59582         (sin_test_tonearest): Likewise.
59583         (sin_test_towardzero): Likewise.
59584         (sin_test_downward): Likewise.
59585         (sin_test_upward): Likewise.
59586         (sincos_test): Likewise.
59587         (sinh_test): Likewise.
59588         (sinh_test_tonearest): Likewise.
59589         (sinh_test_towardzero): Likewise.
59590         (sinh_test_downward): Likewise.
59591         (sinh_test_upward): Likewise.
59592         (sqrt_test): Likewise.
59593         (tan_test): Likewise.
59594         (tan_test_tonearest): Likewise.
59595         (tan_test_towardzero): Likewise.
59596         (tan_test_downward): Likewise.
59597         (tan_test_upward): Likewise.
59598         (tanh_test): Likewise.
59599         (tgamma_test): Likewise.
59600         (y0_test): Likewise.
59601         (y1_test): Likewise.
59602         (yn_test): Likewise.
59604         * math/gen-libm-test.pl (adjust_arg): Remove function.
59605         (special_function): Remove argument $in_func.  Only handle
59606         generating output for tables of tests, not inside functions.
59607         (parse_args): Likewise.
59608         (generate_testfile): Remove variable $in_func.  Update call to
59609         parse_args.
59610         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
59611         (MINUS_ZERO_INIT): Rename macro to minus_zero.
59612         (PLUS_INFTY_INIT): Rename macro to plus_infty.
59613         (MINUS_INFTY_INIT): Rename macro to minus_infty.
59614         (QNAN_VALUE_INIT): Rename macro to qnan_value.
59615         (MAX_VALUE_INIT): Rename macro to max_value.
59616         (MIN_VALUE_INIT): Rename macro to min_value.
59617         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
59618         (plus_zero): Remove variable.
59619         (minus_zero): Likewise.
59620         (plus_infty): Likewise.
59621         (minus_infty): Likewise.
59622         (qnan_value): Likewise.
59623         (max_value): Likewise.
59624         (min_value): Likewise.
59625         (min_subnorm_value): Likewise.
59627 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59629         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
59630         uint64_t or uint32_t usage.
59631         * crypt/sha256-block.c: Likewise.
59632         * crypt/sha256-crypt.c: Likewise.
59633         * crypt/sha256.c: Likewise.
59634         * crypt/sha512-block.c: Likewise.
59635         * crypt/sha512-crypt.c: Likewise.
59636         * crypt/sha512.c: Likewise.
59637         * debug/backtrace-tst.c: Likewise.
59638         * debug/pcprofiledump.c: Likewise.
59639         * elf/cache.c: Likewise.
59640         * elf/dl-cache.c: Likewise.
59641         * elf/dl-misc.c: Likewise.
59642         * elf/dl-profile.c: Likewise.
59643         * elf/dl-support.c: Likewise.
59644         * elf/ldconfig.c: Likewise.
59645         * elf/sprof.c: Likewise.
59646         * iconv/dummy-repertoire.c: Likewise.
59647         * iconv/iconv_charmap.c: Likewise.
59648         * iconv/skeleton.c: Likewise.
59649         * iconvdata/8bit-generic.c: Likewise.
59650         * iconvdata/cp737.h: Likewise.
59651         * iconvdata/cp775.h: Likewise.
59652         * iconvdata/ibm1008.h: Likewise.
59653         * iconvdata/ibm1025.h: Likewise.
59654         * iconvdata/ibm1046.h: Likewise.
59655         * iconvdata/ibm1097.h: Likewise.
59656         * iconvdata/ibm1112.h: Likewise.
59657         * iconvdata/ibm1122.h: Likewise.
59658         * iconvdata/ibm1123.h: Likewise.
59659         * iconvdata/ibm1124.h: Likewise.
59660         * iconvdata/ibm1129.h: Likewise.
59661         * iconvdata/ibm1130.h: Likewise.
59662         * iconvdata/ibm1132.h: Likewise.
59663         * iconvdata/ibm1133.h: Likewise.
59664         * iconvdata/ibm1137.h: Likewise.
59665         * iconvdata/ibm1140.h: Likewise.
59666         * iconvdata/ibm1141.h: Likewise.
59667         * iconvdata/ibm1142.h: Likewise.
59668         * iconvdata/ibm1143.h: Likewise.
59669         * iconvdata/ibm1144.h: Likewise.
59670         * iconvdata/ibm1145.h: Likewise.
59671         * iconvdata/ibm1146.h: Likewise.
59672         * iconvdata/ibm1147.h: Likewise.
59673         * iconvdata/ibm1148.h: Likewise.
59674         * iconvdata/ibm1149.h: Likewise.
59675         * iconvdata/ibm1153.h: Likewise.
59676         * iconvdata/ibm1154.h: Likewise.
59677         * iconvdata/ibm1155.h: Likewise.
59678         * iconvdata/ibm1156.h: Likewise.
59679         * iconvdata/ibm1157.h: Likewise.
59680         * iconvdata/ibm1158.h: Likewise.
59681         * iconvdata/ibm1160.h: Likewise.
59682         * iconvdata/ibm1161.h: Likewise.
59683         * iconvdata/ibm1162.h: Likewise.
59684         * iconvdata/ibm1163.h: Likewise.
59685         * iconvdata/ibm1164.h: Likewise.
59686         * iconvdata/ibm1166.h: Likewise.
59687         * iconvdata/ibm1167.h: Likewise.
59688         * iconvdata/ibm12712.h: Likewise.
59689         * iconvdata/ibm1390.h: Likewise.
59690         * iconvdata/ibm1399.h: Likewise.
59691         * iconvdata/ibm16804.h: Likewise.
59692         * iconvdata/ibm4517.h: Likewise.
59693         * iconvdata/ibm4899.h: Likewise.
59694         * iconvdata/ibm4909.h: Likewise.
59695         * iconvdata/ibm4971.h: Likewise.
59696         * iconvdata/ibm5347.h: Likewise.
59697         * iconvdata/ibm803.h: Likewise.
59698         * iconvdata/ibm856.h: Likewise.
59699         * iconvdata/ibm901.h: Likewise.
59700         * iconvdata/ibm902.h: Likewise.
59701         * iconvdata/ibm9030.h: Likewise.
59702         * iconvdata/ibm9066.h: Likewise.
59703         * iconvdata/ibm921.h: Likewise.
59704         * iconvdata/ibm922.h: Likewise.
59705         * iconvdata/ibm9448.h: Likewise.
59706         * iconvdata/isiri-3342.h: Likewise.
59707         * iconvdata/jis0201.h: Likewise.
59708         * include/link.h: Likewise.
59709         * include/netdb.h: Likewise.
59710         * inet/check_native.c: Likewise.
59711         * inet/check_pf.c: Likewise.
59712         * inet/getipv4sourcefilter.c: Likewise.
59713         * inet/getnameinfo.c: Likewise.
59714         * inet/getsourcefilter.c: Likewise.
59715         * inet/htonl.c: Likewise.
59716         * inet/setipv4sourcefilter.c: Likewise.
59717         * inet/setsourcefilter.c: Likewise.
59718         * inet/test-inet6_opt.c: Likewise.
59719         * inet/tst-network.c: Likewise.
59720         * locale/C-collate.c: Likewise.
59721         * locale/C-ctype.c: Likewise.
59722         * locale/C-time.c: Likewise.
59723         * locale/C-translit.h: Likewise.
59724         * locale/loadarchive.c: Likewise.
59725         * locale/programs/3level.h: Likewise.
59726         * locale/programs/charmap.c: Likewise.
59727         * locale/programs/charmap.h: Likewise.
59728         * locale/programs/ld-address.c: Likewise.
59729         * locale/programs/ld-collate.c: Likewise.
59730         * locale/programs/ld-ctype.c: Likewise.
59731         * locale/programs/ld-identification.c: Likewise.
59732         * locale/programs/ld-measurement.c: Likewise.
59733         * locale/programs/ld-messages.c: Likewise.
59734         * locale/programs/ld-monetary.c: Likewise.
59735         * locale/programs/ld-name.c: Likewise.
59736         * locale/programs/ld-numeric.c: Likewise.
59737         * locale/programs/ld-paper.c: Likewise.
59738         * locale/programs/ld-telephone.c: Likewise.
59739         * locale/programs/ld-time.c: Likewise.
59740         * locale/programs/linereader.c: Likewise.
59741         * locale/programs/locale.c: Likewise.
59742         * locale/programs/locarchive.c: Likewise.
59743         * locale/programs/locfile.h: Likewise.
59744         * locale/programs/repertoire.c: Likewise.
59745         * locale/programs/simple-hash.c: Likewise.
59746         * locale/programs/simple-hash.h: Likewise.
59747         * malloc/memusage.c: Likewise.
59748         * malloc/memusagestat.c: Likewise.
59749         * nis/nis_defaults.c: Likewise.
59750         * nis/nis_hash.c: Likewise.
59751         * nis/nis_print.c: Likewise.
59752         * nis/nis_xdr.c: Likewise.
59753         * nscd/connections.c: Likewise.
59754         * nscd/hstcache.c: Likewise.
59755         * nscd/nscd_gethst_r.c: Likewise.
59756         * nscd/nscd_getserv_r.c: Likewise.
59757         * nscd/nscd_helper.c: Likewise.
59758         * nscd/servicescache.c: Likewise.
59759         * nss/makedb.c: Likewise.
59760         * nss/nss_db/db-XXX.c: Likewise.
59761         * nss/nss_db/db-initgroups.c: Likewise.
59762         * nss/nss_db/db-netgrp.c: Likewise.
59763         * nss/nss_files/files-network.c: Likewise.
59764         * nss/nss_files/files-parse.c: Likewise.
59765         * posix/bug-regex5.c: Likewise.
59766         * posix/fnmatch_loop.c: Likewise.
59767         * posix/regcomp.c: Likewise.
59768         * posix/regexec.c: Likewise.
59769         * posix/tst-rfc3484-2.c: Likewise.
59770         * posix/tst-rfc3484-3.c: Likewise.
59771         * posix/tst-rfc3484.c: Likewise.
59772         * resolv/nss_dns/dns-canon.c: Likewise.
59773         * resolv/nss_dns/dns-network.c: Likewise.
59774         * resolv/res_init.c: Likewise.
59775         * resolv/res_mkquery.c: Likewise.
59776         * resolv/tst-aton.c: Likewise.
59777         * stdlib/cxa_atexit.c: Likewise.
59778         * stdlib/cxa_finalize.c: Likewise.
59779         * stdlib/gen-fpioconst.c: Likewise.
59780         * stdlib/strtol_l.c: Likewise.
59781         * string/tst-endian.c: Likewise.
59782         * sunrpc/auth_des.c: Likewise.
59783         * sunrpc/clnt_udp.c: Likewise.
59784         * sunrpc/rtime.c: Likewise.
59785         * sunrpc/svcauth_des.c: Likewise.
59786         * sunrpc/xdr.c: Likewise.
59787         * sunrpc/xdr_intXX_t.c: Likewise.
59788         * sunrpc/xdr_rec.c: Likewise.
59789         * sysdeps/generic/ldconfig.h: Likewise.
59790         * sysdeps/generic/ldsodefs.h: Likewise.
59791         * sysdeps/generic/memusage.h: Likewise.
59792         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59793         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
59794         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
59795         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59796         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59797         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59798         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59799         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59800         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59801         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59802         * sysdeps/posix/getaddrinfo.c: Likewise.
59803         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59804         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59805         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59806         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59807         * sysdeps/powerpc/test-gettimebase.c: Likewise.
59808         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
59809         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
59810         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
59811         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
59812         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
59813         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59814         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59815         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
59816         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
59817         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
59818         * sysdeps/x86_64/dl-tls.h: Likewise.
59819         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
59820         * time/alt_digit.c: Likewise.
59821         * time/era.c: Likewise.
59822         * wcsmbs/tst-c16c32-1.c: Likewise.
59824 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59826         * math/libm-test.inc (struct test_sincos_data): New type.
59827         (RUN_TEST_LOOP_sincos): New macro.
59828         (sincos_test_data): New variable.
59829         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
59831 2013-05-16  Richard Henderson  <rth@redhat.com>
59833         * math/atest-exp2.c (LIMB64): New macro.
59834         (CONSTSZ): New macro.
59835         (mp_exp1, mp_exp_m1, mp_log2): New variables.
59836         (hexdig): Move ...
59837         (print_mpn_fp): ... to function scope.
59838         (read_mpn_hex): Remove.
59839         (get_log2): Remove.
59840         (exp2_mpn): Use mp_log2.
59841         (main): Use mp_exp1.
59843 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59845         * math/libm-test.inc: Remove comment about not testing "inexact"
59846         exceptions.
59847         (INEXACT_EXCEPTION): New macro.
59848         (NO_INEXACT_EXCEPTION): Likewise.
59849         (INVALID_EXCEPTION_OK): Update value.
59850         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59851         (OVERFLOW_EXCEPTION_OK): Likewise.
59852         (UNDERFLOW_EXCEPTION_OK): Likewise.
59853         (IGNORE_ZERO_INF_SIGN): Likewise.
59854         (ERRNO_UNCHANGED): Likewise.
59855         (ERRNO_EDOM): Likewise.
59856         (ERRNO_ERANGE): Likewise.
59857         (test_exceptions): Handle testing "inexact" exceptions.
59858         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
59859         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
59860         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
59861         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
59862         INEXACT_EXCEPTION.
59863         (rint_towardzero_test_data): Likewise.
59864         (rint_downward_test_data): Likewise.
59865         (rint_upward_test_data): Likewise.
59867         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
59868         with OVERFLOW_EXCEPTION.
59869         (exp10_test_data): Likewise.
59870         (exp2_test_data): Likewise.
59871         (expm1_test_data): Likewise.
59872         (lgamma_test_data): Likewise.
59873         (pow_test_data): Likewise.
59874         (tgamma_test_data): Likewise.
59875         (yn_test_data): Remove duplicate test of overflow.
59877         * math/libm-test.inc (struct test_cc_c_data): New type.
59878         (RUN_TEST_LOOP_cc_c): New macro.
59879         (cpow_test_data): New variable.
59880         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
59882         * math/libm-test.inc (struct test_f_L_data): New type.
59883         (RUN_TEST_LOOP_f_L): New macro.
59884         (llrint_test_data): New variable.
59885         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
59886         (llrint_tonearest_test_data): New variable.
59887         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
59888         (llrint_towardzero_test_data): New variable.
59889         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
59890         (llrint_downward_test_data): New variable.
59891         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
59892         (llrint_upward_test_data): New variable.
59893         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
59894         (llround_test_data): New variable.
59895         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
59897 2013-05-13  Peter Collingbourne  <pcc@google.com>
59899         * math/atest-exp2.c (get_log2): Remove const attribute.
59901 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59903         * math/libm-test.inc (struct test_f_l_data): New type.
59904         (RUN_TEST_LOOP_f_l): New macro.
59905         (lrint_test_data): New variable.
59906         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
59907         (lrint_tonearest_test_data): New variable.
59908         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
59909         (lrint_towardzero_test_data): New variable.
59910         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
59911         (lrint_downward_test_data): New variable.
59912         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
59913         (lrint_upward_test_data): New variable.
59914         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
59915         (lround_test_data): New variable.
59916         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
59918 2013-05-15  Peter Collingbourne  <pcc@google.com>
59920         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
59921         (EXTRACT_WORDS64) Use where appropriate.
59922         (INSERT_WORDS64) Likewise.
59924         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
59925         constraints with x constraints.
59926         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
59928         * malloc/obstack.c (_obstack_compat): Add initializer.
59930 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59932         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
59933         si_trapno and add si_addr_lsb to _sifields.sigfault.
59934         (si_trapno): Remove macro.
59935         (si_addr_lsb): Define new macro.
59936         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59938 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59940         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
59941         instead of TEST_f_l.
59942         (llrint_test_tonearest): Likewise.
59943         (llrint_test_towardzero): Likewise.
59944         (llrint_test_downward): Likewise.
59945         (llrint_test_upward): Likewise.
59946         (llround_test): Likewise.
59948         * math/libm-test.inc (struct test_f_i_data): Add comment.
59949         (RUN_TEST_LOOP_f_b): New macro.
59950         (RUN_TEST_LOOP_f_b_tg): Likewise.
59951         (finite_test_data): New variable.
59952         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
59953         (isfinite_test_data): New variable.
59954         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59955         (isinf_test_data): New variable.
59956         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59957         (isnan_test_data): New variable.
59958         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59959         (isnormal_test_data): New variable.
59960         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59961         (issignaling_test_data): New variable.
59962         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59963         (signbit_test_data): New variable.
59964         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59966         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
59967         with INVALID_EXCEPTION.
59968         (acosh_test_data): Likewise.
59969         (asin_test_data): Likewise.
59970         (atanh_test_data): Likewise.
59971         (fmod_test_data): Likewise.
59972         (log_test_data): Likewise.
59973         (log10_test_data): Likewise.
59974         (log2_test_data): Likewise.
59975         (pow_test_data): Likewise.
59976         (sqrt_test_data): Likewise.
59977         (y0_test_data): Likewise.
59978         (y1_test_data): Likewise.
59979         (yn_test_data): Likewise.
59981         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
59982         function contents.
59984         * math/libm-test.inc (struct test_ff_i_data): New type.
59985         (RUN_TEST_LOOP_ff_i_tg): New macro.
59986         (isgreater_test_data): New variable.
59987         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59988         (isgreaterequal_test_data): New variable.
59989         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59990         (isless_test_data): New variable.
59991         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59992         (islessequal_test_data): New variable.
59993         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59994         (islessgreater_test_data): New variable.
59995         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59996         (isunordered_test_data): New variable.
59997         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59999 2013-05-14  David S. Miller  <davem@davemloft.net>
60001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60003 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
60005         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
60007         * math/libm-test.inc (struct test_fF_f1_data): Change type of
60008         extra_test to int.
60009         (struct test_f_i_data): Change type of max_ulp to int.
60011         * math/libm-test.inc (test_ffI_f1_data): New type.
60012         (RUN_TEST_LOOP_ffI_f1): New macro.
60013         (remquo_test_data): New variable.
60014         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
60016         * setjmp/tst-setjmp-fp.c: New file.
60017         * setjmp/Makefile (tests): Add tst-setjmp-fp.
60018         (link-libm): New variable.
60019         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
60021         * math/libm-test.inc (struct test_f_i_data): New type.
60022         (RUN_TEST_LOOP_f_i): New macro.
60023         (RUN_TEST_LOOP_f_i_tg): Likewise.
60024         (fpclassify_test_data): New variable.
60025         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
60026         (ilogb_test_data): New variable.
60027         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
60029         * math/libm-test.inc (scalbln_test): Correct function name in END
60030         call.
60032         * math/libm-test.inc (struct test_f_f1_data): Add comment.
60033         (RUN_TEST_LOOP_fI_f1): New macro.
60034         (frexp_test_data): New variable.
60035         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
60037         * math/libm-test.inc (struct test_fF_f1_data): New type.
60038         (RUN_TEST_LOOP_fF_f1): New macro.
60039         (modf_test_data): New variable.
60040         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
60042         * math/libm-test.inc (struct test_f_f1_data): New type.
60043         (RUN_TEST_LOOP_f_f1): New macro.
60044         (gamma_test_data): New variable.
60045         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60046         (lgamma_test_data): New variable.
60047         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60049 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
60051         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
60052         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
60053         (main): Comment "tls" pseudo-hwcap.
60055 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
60057         * math/libm-test.inc (struct test_fl_f_data): New type.
60058         (RUN_TEST_LOOP_fl_f): New variable.
60059         (scalbln_test_data): New variable.
60060         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
60062         * math/libm-test.inc (struct test_fi_f_data): New type.
60063         (RUN_TEST_LOOP_fi_f): New macro.
60064         (ldexp_test_data): New variable.
60065         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
60066         (scalbn_test_data): New variable.
60067         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
60069         * math/libm-test.inc (struct test_c_f_data): New type.
60070         (RUN_TEST_LOOP_c_f): New macro.
60071         (cabs_test_data): New variable.
60072         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
60073         (carg_test_data): New variable.
60074         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
60075         (cimag_test_data): New variable.
60076         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
60077         (creal_test_data): New variable.
60078         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
60080         * math/libm-test.inc (struct test_if_f_data): New type.
60081         (RUN_TEST_LOOP_if_f): New macro.
60082         (jn_test_data): New variable.
60083         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
60084         (yn_test_data): New variable.
60085         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
60087         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
60089 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60091         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
60092         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
60094 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60096         * benchtests/Makefile (CPPFLAGS-nonlib): Add
60097         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
60098         (bench-deps): Add bench-timing.h.
60099         * benchtests-bench-skeleton.c: Include bench-timing.h.
60100         (main): Use TIMING_* macros instead of clock_gettime.
60101         * benchtests/bench-timing.h: New file.
60103         [BZ #14582]
60104         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
60105         Renamed from _LIB_VERSION.
60106         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
60108 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
60110         * math/libm-test.inc (struct test_fff_f_data): New type.
60111         (RUN_TEST_LOOP_fff_f): New macro.
60112         (fma_test_data): New variable.
60113         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
60114         (fma_towardzero_test_data): New variable.
60115         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
60116         (fma_downward_test_data): New variable.
60117         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
60118         (fma_upward_test_data): New variable.
60119         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
60121         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
60122         (struct test_c_c_data): New type.
60123         (RUN_TEST_LOOP_c_c): New macro.
60124         (cacos_test_data): New variable.
60125         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
60126         (cacosh_test_data): New variable.
60127         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
60128         (casin_test_data): New variable.
60129         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
60130         (casinh_test_data): New variable.
60131         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
60132         (catan_test_data): New variable.
60133         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
60134         (catanh_test_data): New variable.
60135         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
60136         (ccos_test_data): New variable.
60137         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
60138         (ccosh_test_data): New variable.
60139         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
60140         (cexp_test_data): New variable.
60141         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
60142         (clog_test_data): New variable.
60143         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
60144         (clog10_test_data): New variable.
60145         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
60146         (conj_test_data): New variable.
60147         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
60148         (cproj_test_data): New variable.
60149         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
60150         (csin_test_data): New variable.
60151         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
60152         (csinh_test_data): New variable.
60153         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
60154         (csqrt_test_data): New variable.
60155         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
60156         (ctan_test_data): New variable.
60157         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
60158         (ctan_tonearest_test_data): New variable.
60159         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60160         (ctan_towardzero_test_data): New variable.
60161         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60162         (ctan_downward_test_data): New variable.
60163         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60164         (ctan_upward_test_data): New variable.
60165         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60166         (ctanh_test_data): New variable.
60167         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
60168         (ctanh_tonearest_test_data): New variable.
60169         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60170         (ctanh_towardzero_test_data): New variable.
60171         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60172         (ctanh_downward_test_data): New variable.
60173         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60174         (ctanh_upward_test_data): New variable.
60175         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60176         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
60177         of BUILD_COMPLEX.
60179         * math/libm-test.inc (struct test_ff_f_data): New type.
60180         (struct test_ff_f_data_nexttoward): Likewise.
60181         (RUN_TEST_LOOP_2_f): New macro.
60182         (RUN_TEST_LOOP_ff_f): Likewise.
60183         (atan2_test_data): New variable.
60184         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
60185         (copysign_test_data): New variable.
60186         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
60187         (fdim_test_data): New variable.
60188         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
60189         (fmax_test_data): New variable.
60190         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
60191         (fmin_test_data): New variable.
60192         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
60193         (fmod_test_data): New variable.
60194         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
60195         (hypot_test_data): New variable.
60196         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
60197         (nextafter_test_data): New variable.
60198         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
60199         (nexttoward_test_data): New variable.
60200         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
60201         (pow_test_data): New variable.
60202         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
60203         (pow_tonearest_test_data): New variable.
60204         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
60205         (pow_towardzero_test_data): New variable.
60206         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
60207         (pow_downward_test_data): New variable.
60208         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
60209         (pow_upward_test_data): New variable.
60210         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
60211         (remainder_test_data): New variable.
60212         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
60213         (scalb_test_data): New variable.
60214         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
60215         * sysdeps/i386/fpu/libm-test-ulps: Update.
60217 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
60219         * math/libm-test.inc (fma_test): Use max_value instead of local
60220         variable fltmax.
60221         (nextafter_test): Likewise.
60223         * math/libm-test.inc (acos_towardzero_test_data): New variable.
60224         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60225         (acos_downward_test_data): New variable.
60226         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60227         (acos_upward_test_data): New variable.
60228         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60229         (acosh_test_data): New variable.
60230         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
60231         (asin_test_data): New variable.
60232         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
60233         (asin_tonearest_test_data): New variable.
60234         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60235         (asin_towardzero_test_data): New variable.
60236         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60237         (asin_downward_test_data): New variable.
60238         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60239         (asin_upward_test_data): New variable.
60240         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60241         (asinh_test_data): New variable.
60242         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
60243         (atan_test_data): New variable.
60244         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
60245         (atanh_test_data): New variable.
60246         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
60247         (cbrt_test_data): New variable.
60248         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
60249         (ceil_test_data): New variable.
60250         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
60251         (cos_test_data): New variable.
60252         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
60253         (cos_tonearest_test_data): New variable.
60254         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60255         (cos_towardzero_test_data): New variable.
60256         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60257         (cos_downward_test_data): New variable.
60258         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60259         (cos_upward_test_data): New variable.
60260         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60261         (cosh_test_data): New variable.
60262         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
60263         (cosh_tonearest_test_data): New variable.
60264         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60265         (cosh_towardzero_test_data): New variable.
60266         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60267         (cosh_downward_test_data): New variable.
60268         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60269         (cosh_upward_test_data): New variable.
60270         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60271         (erf_test_data): New variable.
60272         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
60273         (erfc_test_data): New variable.
60274         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
60275         (exp_test_data): New variable.
60276         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
60277         (exp_tonearest_test_data): New variable.
60278         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60279         (exp_towardzero_test_data): New variable.
60280         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60281         (exp_downward_test_data): New variable.
60282         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60283         (exp_upward_test_data): New variable.
60284         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60285         (exp10_test_data): New variable.
60286         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
60287         (exp2_test_data): New variable.
60288         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
60289         (expm1_test_data): New variable.
60290         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
60291         (fabs_test_data): New variable.
60292         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
60293         (floor_test_data): New variable.
60294         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
60295         (j0_test_data): New variable.
60296         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
60297         (j1_test_data): New variable.
60298         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
60299         (log_test_data): New variable.
60300         (log_test): Run tests with RUN_TEST_LOOP_f_f.
60301         (log10_test_data): New variable.
60302         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
60303         (log1p_test_data): New variable.
60304         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
60305         (log2_test_data): New variable.
60306         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
60307         (logb_test_data): New variable.
60308         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
60309         (logb_downward_test_data): New variable.
60310         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60311         (nearbyint_test_data): New variable.
60312         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
60313         (rint_test_data): New variable.
60314         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
60315         (rint_tonearest_test_data): New variable.
60316         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60317         (rint_towardzero_test_data): New variable.
60318         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60319         (rint_downward_test_data): New variable.
60320         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60321         (rint_upward_test_data): New variable.
60322         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60323         (round_test_data): New variable.
60324         (round_test): Run tests with RUN_TEST_LOOP_f_f.
60325         (sin_test_data): New variable.
60326         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
60327         (sin_tonearest_test_data): New variable.
60328         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60329         (sin_towardzero_test_data): New variable.
60330         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60331         (sin_downward_test_data): New variable.
60332         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60333         (sin_upward_test_data): New variable.
60334         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60335         (sinh_test_data): New variable.
60336         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
60337         (sinh_tonearest_test_data): New variable.
60338         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60339         (sinh_towardzero_test_data): New variable.
60340         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60341         (sinh_downward_test_data): New variable.
60342         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60343         (sinh_upward_test_data): New variable.
60344         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60345         (sqrt_test_data): New variable.
60346         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
60347         (tan_test_data): New variable.
60348         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
60349         (tan_tonearest_test_data): New variable.
60350         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60351         (tan_towardzero_test_data): New variable.
60352         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60353         (tan_downward_test_data): New variable.
60354         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60355         (tan_upward_test_data): New variable.
60356         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60357         (tanh_test_data): New variable.
60358         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
60359         (tgamma_test_data): New variable.
60360         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
60361         (trunc_test_data): New variable.
60362         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
60363         (y0_test_data): New variable.
60364         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
60365         (y1_test_data): New variable.
60366         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
60367         (significand_test_data): New variable.
60368         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
60370 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
60372         [BZ #12387]
60373         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
60375 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60377         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
60379 2013-05-10  Andreas Jaeger  <aj@suse.de>
60381         [BZ #15448]
60382         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
60383         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
60385 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60387         * math/gen-libm-test.pl (adjust_arg): New function.
60388         (special_functions): Handle generating output in both functions
60389         and arrays.
60390         (parse_args): Likewise.
60391         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
60392         $in_func argument to parse_args.
60393         * math/libm-test.inc (struct test_f_f_data): New type.
60394         (IF_ROUND_INIT_): New macro.
60395         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
60396         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60397         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60398         (IF_ROUND_INIT_FE_UPWARD): Likewise.
60399         (ROUND_RESTORE_): Likewise.
60400         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
60401         (ROUND_RESTORE_FE_TONEAREST): Likewise.
60402         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
60403         (ROUND_RESTORE_FE_UPWARD): Likewise.
60404         (RUN_TEST_LOOP_f_f): New macro.
60405         (acos_test_data): New variable.
60406         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
60407         (acos_tonearest_test_data): New variable.
60408         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60410 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60412         * benchtests/bench-skeleton.c (startup): Fix coding style.
60414 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60416         [BZ #6809]
60417         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
60418         negative infinity argument.
60419         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
60420         negative infinity argument.
60421         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
60422         negative infinity argument.
60423         * math/libm-test.inc (tgamma_test): Expect errno to be set for
60424         domain errors.
60426 2013-05-10  Florian Weimer  <fweimer@redhat.com>
60428         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
60429         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
60430         * iconv/iconv_prog.c (main): Likewise.
60431         * locale/programs/charmap-dir.c (charmap_readdir)
60432         (fopen_uncompressed): Likewise.
60433         * locale/programs/locfile.c (siblings_uncached)
60434         (write_locale_data): Use lstat64 instead of lstat.
60435         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
60436         stat.
60438 2013-05-10  Andreas Jaeger  <aj@suse.de>
60440         [BZ #15395]
60441         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
60442         localization.
60443         Include <locale.h>.
60445 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
60447         * elf/dl-close.c (_dl_close_worker): Add comments.
60449 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
60451         [BZ #15359]
60452         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
60453         high part of pi/2.
60454         (__ieee754_rem_pio2l): Update comments.
60456         [BZ #15429]
60457         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
60458         high part of pi/2.
60459         (__ieee754_rem_pio2l): Update comments.
60461         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
60462         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
60464         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
60465         M_PI_4l.
60467         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
60468         (M_PI_34_LOG10El): Likewise.
60469         (M_PI2_LOG10El): Likewise.
60470         (M_PI4_LOG10El): Likewise.
60471         (M_PI_LOG10El): Likewise.
60473 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60477 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
60479         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
60480         (MINUS_ZERO_INIT): Likewise.
60481         (PLUS_INFTY_INIT): Likewise.
60482         (MINUS_INFTY_INIT): Likewise.
60483         (QNAN_VALUE_INIT): Likewise.
60484         (MAX_VALUE_INIT): Likewise.
60485         (MIN_VALUE_INIT): Likewise.
60486         (MIN_SUBNORM_VALUE_INIT): Likewise.
60487         (plus_zero): Initialize with PLUS_ZERO_INIT.
60488         (minus_zero): Initialize with MINUS_ZERO_INIT.
60489         (plus_infty): Initialize with PLUS_INFTY_INIT.
60490         (minus_infty): Initialize with MINUS_INFTY_INIT.
60491         (qnan_value): Initialize with QNAN_VALUE_INIT.
60492         (max_value): Initialize with MAX_VALUE_INIT.
60493         (min_value): Initialize with MIN_VALUE_INIT.
60494         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
60496         * math/libm-test.inc (RUN_TEST_if_f): New macro.
60497         (jn_test): Use TEST_if_f instead of TEST_ff_f.
60498         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
60499         (yn_test): Use TEST_if_f instead of TEST_ff_f.
60501         * math/libm-test.inc (RUN_TEST_f_f): New macro.
60502         (RUN_TEST_2_f): Likewise.
60503         (RUN_TEST_ff_f): Likewise.
60504         (RUN_TEST_fi_f): Likewise.
60505         (RUN_TEST_fl_f): Likewise.
60506         (RUN_TEST_fff_f): Likewise.
60507         (RUN_TEST_c_f): Likewise.
60508         (RUN_TEST_f_f1): Likewise.
60509         (RUN_TEST_fF_f1): Likewise.
60510         (RUN_TEST_fI_f1): Likewise.
60511         (RUN_TEST_ffI_f1): Likewise.
60512         (RUN_TEST_c_c): Likewise.
60513         (RUN_TEST_cc_c): Likewise.
60514         (RUN_TEST_f_i): Likewise.
60515         (RUN_TEST_f_i_tg): Likewise.
60516         (RUN_TEST_ff_i_tg): Likewise.
60517         (RUN_TEST_f_b): Likewise.
60518         (RUN_TEST_f_b_tg): Likewise.
60519         (RUN_TEST_f_l): Likewise.
60520         (RUN_TEST_f_L): Likewise.
60521         (RUN_TEST_sincos): Likewise.
60522         * math/gen-libm-test.pl (new_test): Take new argument to indicate
60523         whether to show exceptions.  Do not include ");\n" in return
60524         value.
60525         (special_functions): Output call to RUN_TEST_sincos instead of
60526         check_float calls.  Update calls to new_test.
60527         (parse_args): Output call to single RUN_TEST_* macro instead of
60528         check_* calls and other assignments.  Update calls to new_test.
60530         [BZ #2546]
60531         [BZ #2560]
60532         [BZ #5159]
60533         [BZ #15426]
60534         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
60535         input to result for tgamma overflow.
60536         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
60537         (gamma_coeff): New variable.
60538         (NCOEFF): New macro.
60539         (gamma_positive): New function.
60540         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
60541         underflow here.  Use gamma_positive instead of exp (lgamma) for
60542         other arguments.
60543         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
60544         (gamma_coeff): New variable.
60545         (NCOEFF): New macro.
60546         (gammaf_positive): New function.
60547         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
60548         underflow here.  Use gamma_positive instead of exp (lgamma) for
60549         other arguments.
60550         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
60551         (gamma_coeff): New variable.
60552         (NCOEFF): New macro.
60553         (gammal_positive): New function.
60554         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
60555         underflow here.  Use gamma_positive instead of exp (lgamma) for
60556         other arguments.
60557         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
60558         (gamma_coeff): New variable.
60559         (NCOEFF): New macro.
60560         (gammal_positive): New function.
60561         (__ieee754_gammal_r): Handle positive infinity, overflow and
60562         underflow here.  Handle NaN the same as positive infinity.  Remove
60563         check x < 0xffffffff for negative integers.  Use gamma_positive
60564         instead of exp (lgamma) for other arguments.
60565         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
60566         (gamma_coeff): New variable.
60567         (NCOEFF): New macro.
60568         (gammal_positive): New function.
60569         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
60570         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
60571         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
60572         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
60573         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
60574         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
60575         * sysdeps/generic/math_private.h (__gamma_productf): New
60576         prototype.
60577         (__gamma_product): Likewise.
60578         (__gamma_productl): Likewise.
60579         * math/Makefile (libm-calls): Add gamma_product.
60580         * math/libm-test.inc (tgamma_test): Add more tests.
60581         * sysdeps/i386/fpu/libm-test-ulps: Update.
60582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60584 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
60586         * benchtests/bench-skeleton.c (main): Preheat CPU.
60588 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
60590         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
60592 2013-05-07  Roland McGrath  <roland@hack.frob.com>
60594         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
60595         and _dl_skip_args_internal.
60597 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
60599         * manual/message.texi (Message Translation): Talk about users.
60600         Message to key mapping impacts design.
60602 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60604         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
60606         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
60608         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
60609         * sysdeps/wordsize-64/glob64.c: ... here.
60611         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
60612         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
60613         New macros.
60615         * debug/getlogin_r_chk.c: Moved to ...
60616         * login/getlogin_r_chk.c: ... here.
60617         * debug/Makefile (routines): Move getlogin_r_chk to ...
60618         * login/Makefile (routines): ... here.
60619         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
60620         * login/Versions (libc: GLIBC_2.4): ... here.
60622         * io/poll.c (__poll): Renamed from poll.
60623         Add libc_hidden_def.
60624         (poll): Define as weak alias.
60626         * debug/ptsname_r_chk.c: Moved to ...
60627         * login/ptsname_r_chk.c: ... here.
60628         * debug/Makefile (routines): Move ptsname_r_chk to ...
60629         * login/Makefile (routines): ... here.
60630         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
60631         * login/Versions (libc: GLIBC_2.4): ... here.
60633         * posix/getlogin.c: Moved to ...
60634         * login/getlogin.c: ... here.
60635         * posix/getlogin_r.c: Moved to ...
60636         * login/getlogin_r.c: ... here.
60637         * posix/getlogin_r.c: Moved to ...
60638         * login/getlogin_r.c: ... here.
60639         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
60640         * login/Makefile (routines): ... here.
60641         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
60642         * login/Versions (libc: GLIBC_2.0): ... here.
60644         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
60645         (setrlimit): Define as weak alias.
60647         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
60648         Call __ names for open, ftruncate, and close.
60649         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
60650         (truncate): Define as weak alias.
60652 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
60654         * math/gen-libm-test.pl (parse_args): Initialize x before each
60655         test of frexp, modf and remquo.
60657         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
60658         test signgam value.
60660 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60662         [BZ #15418]
60663         [BZ #15419]
60664         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
60665         internal tests.
60666         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60668 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60670         * elf/dl-writev.h: New file.
60671         * elf/dl-misc.c: Include it.
60672         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
60673         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
60675 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
60677         * math/libm-test.inc (noXFails): Remove variable.
60678         (noXPasses): Likewise.
60679         (BUILD_COMPLEX_INT): Remove macro.
60680         (print_screen): Remove xfail argument.
60681         (print_screen_max_error): Likewise.
60682         (update_stats): Likewise.
60683         (print_max_error): Likewise.  Update calls to other affected
60684         functions.
60685         (print_complex_max_error): Likewise.
60686         (test_single_exception): Update calls to print_screen.
60687         (test_single_errno): Likewise.
60688         (check_float_internal): Remove xfail argument.  Update calls to
60689         other affected functions.
60690         (check_float): Likewise.
60691         (check_complex): Likewise.
60692         (check_int): Likewise.
60693         (check_long): Likewise.
60694         (check_bool): Likewise.
60695         (check_longlong): Likewise.
60696         (main): Don't print noXFails and noXPasses.
60697         * math/gen-libm-test.pl (top level): Don't mention expected
60698         failure handling in comment.
60699         (new_test): Don't handle expected failures.
60700         (parse_args): Don't mention expected failure handling in comment.
60701         (generate_testfile): Don't handle expected failures.
60702         (parse_ulps): Likewise.
60703         (print_ulps_file): Likewise.
60704         (get_failure): Remove function.
60705         (output_test): Don't handle expected failures.
60706         * make/README.libm-test: Don't mention expected failure handling.
60708         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
60709         (minus_zero): Likewise.
60710         (plus_infty): Likewise.
60711         (minus_infty): Likewise.
60712         (qnan_value): Likewise.
60713         (max_value): Likewise.
60714         (min_value): Likewise.
60715         (min_subnorm_value): Likewise.
60716         (initialize): Do not initialize those variables dynamically.
60718 2013-05-03  Roland McGrath  <roland@hack.frob.com>
60720         * io/open.c (__open_2): Moved to ...
60721         * io/open_2.c: ... this new file.
60722         * io/open64.c (__open64_2): Moved to ...
60723         * io/open64_2.c: ... this new file.
60724         * io/openat.c (__openat_2): Moved to ...
60725         * io/openat_2.c: ... this new file.
60726         * io/openat64.c (__openat64_2): Moved to ...
60727         * io/openat64_2.c: ... this new file.
60728         * io/Makefile (routines): Add them.
60729         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
60730         * sysdeps/unix/sysv/linux/open_2.c: File removed.
60731         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
60732         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
60733         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
60734         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
60735         (__openat64): Add hidden_ver.
60736         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
60737         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
60739         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
60740         Separately conditionalize setting of GLRO(dl_sysinfo) so
60741         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
60742         as well, but the actual setting is only under [NEED_DL_SYSINFO].
60744 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60746         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
60747         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
60748         definition.
60749         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
60750         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60751         (_libc_vdso_platform_setup): Add __vdso_time initialization.
60752         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
60753         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
60755 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
60757         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
60758         test signgam value.
60760         * math/libm-test.inc (hypot_test): Do not use
60761         IGNORE_ZERO_INF_SIGN.
60763 2013-05-03  Andreas Jaeger  <aj@suse.de>
60765         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
60766         Linux 3.9.
60767         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
60768         (PF_MAX): Adjust for VSOCK change.
60770 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60774 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
60776         [BZ #15264]
60777         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
60778         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
60779         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
60781 2013-05-02  David S. Miller  <davem@davemloft.net>
60783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60785 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
60787         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
60789 2013-05-01  Roland McGrath  <roland@hack.frob.com>
60791         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
60793 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
60795         [BZ #14952]
60796         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
60797         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60798         Use __attribute__ ((__gnu_inline__)).
60799         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60800         Don't use __attribute__ ((__gnu_inline__)).
60802 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
60804         [BZ #15423]
60805         * math/s_catan.c (__catan): Handle small real or imaginary part of
60806         input specially to avoid spurious underflow.
60807         * math/s_catanf.c (__catanf): Likewise.
60808         * math/s_catanh.c (__catanh): Likewise.
60809         * math/s_catanhf.c (__catanhf): Likewise.
60810         * math/s_catanhl.c (__catanhl): Likewise.
60811         * math/s_catanl.c (__catanl): Likewise.
60812         * math/libm-test.inc (catan_test): Add more tests.
60813         (catanh_test): Likewise.
60814         * sysdeps/i386/fpu/libm-test-ulps: Update.
60815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60817 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60821 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
60823         [BZ #15416]
60824         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
60825         accurately for denominator in atan2.
60826         * math/s_catanf.c (__catanf): Likewise.
60827         * math/s_catanh.c (__catanh): Likewise.
60828         * math/s_catanhf.c (__catanhf): Likewise.
60829         * math/s_catanhl.c (__catanhl): Likewise.
60830         * math/s_catanl.c (__catanl): Likewise.
60831         * math/libm-test.inc (catan_test): Add more tests.
60832         (catanh_test): Likewise.
60833         * sysdeps/i386/fpu/libm-test-ulps: Update.
60834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60836 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60838         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
60840         * benchtests/Makefile (bench): Remove slow benchmarks.
60841         * benchtests/atan-inputs: Add slow benchmark inputs.
60842         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
60843         (BENCH_FUNC): Accept variant offset.
60844         (VARIANT): Define.
60845         * benchtests/bench-skeleton.c (main): Run benchmark for each
60846         variant.
60847         * benchtests/cos-inputs: Add slow benchmark inputs.
60848         * benchtests/exp-inputs: Likewise.
60849         * benchtests/pow-inputs: Likewise.
60850         * benchtests/sin-inputs: Likewise.
60851         * benchtests/slowatan-inputs: Remove.
60852         * benchtests/slowatan.c: Remove.
60853         * benchtests/slowcos-inputs: Remove.
60854         * benchtests/slowcos.c: Remove.
60855         * benchtests/slowexp-inputs: Remove.
60856         * benchtests/slowexp.c: Remove.
60857         * benchtests/slowpow-inputs: Remove.
60858         * benchtests/slowpow.c: Remove.
60859         * benchtests/slowsin-inputs: Remove.
60860         * benchtests/slowsin.c: Remove.
60861         * benchtests/slowtan-inputs: Remove.
60862         * benchtests/slowtan.c: Remove.
60863         * benchtests/tan-inputs: Add slow benchmark inputs.
60864         * scripts/bench.pl: Parse comments and directives.
60866         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
60867         in CPPFLAGS.
60868         ($(objpfx)bench-%.c): Remove *-ITER.
60869         * benchtests/bench-modf.c: Remove definition of ITER.
60870         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
60871         (main): Loop for DURATION seconds instead of fixed number of
60872         iterations.
60873         * scripts/bench.pl: Don't expect iterations in parameters.
60875 2013-04-29  Roland McGrath  <roland@hack.frob.com>
60877         * io/fchdir.c (__fchdir): Renamed from fchdir.
60878         (fchdir): Define as weak alias.
60880 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60882         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
60883         (ERRNO_EDOM): Likewise.
60884         (ERRNO_ERANGE): Likewise.
60885         (noErrnoTests): New variable.
60886         (init_max_error): Set errno to 0.
60887         (test_single_errno): New function.
60888         (test_errno): Likewise.
60889         (check_float_internal): Call test_errno.  Set errno to 0.
60890         (check_complex): Refer to errno tests in comment.
60891         (check_int): Call test_errno.  Set errno to 0.
60892         (check_long): Likewise.
60893         (check_bool): Likewise.
60894         (check_longlong): Likewise.
60895         (cos_test): Use ERRNO_* flags for errno tests instead of
60896         check_int.
60897         (expm1_test): Likewise.
60898         (fmod_test): Likewise.
60899         (ilogb_test): Likewise.
60900         (lgamma_test): Likewise.
60901         (pow_test): Likewise.
60902         (remainder_test): Likewise.
60903         (sin_test): Likewise.
60904         (tan_test): Likewise.
60905         (yn_test): Likewise.
60906         (initialize): Set errno to 0.
60907         (main): Print number of errno tests.
60908         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
60910 2013-04-29  Andreas Jaeger  <aj@suse.de>
60912         [BZ #15084]
60913         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
60914         and RES_USEVC.
60916         [BZ #15085]
60917         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
60918         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
60919         unimplemented.
60921         [BZ #15380]
60922         * stdlib/random.c (__initstate): Return NULL if
60923         __initstate fails.
60925         [BZ #15086]
60926         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
60927         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
60928         RES_SNGLKUPREOP.
60930 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60934 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60936         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
60937         of individual tests.
60938         (casin_test): Likewise.
60939         (casinh_test): Likewise.
60941 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
60943         [BZ #15409]
60944         * math/s_catan.c (__catan): Handle arguments with large real or
60945         imaginary part separately without squaring.
60946         * math/s_catanf.c (__catanf): Likewise.
60947         * math/s_catanh.c (__catanh): Likewise.
60948         * math/s_catanhf.c (__catanhf): Likewise.
60949         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60950         and redefine.
60951         (__catanhl): Handle arguments with large real or imaginary part
60952         separately without squaring.
60953         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60954         and redefine.
60955         (__catanl): Handle arguments with large real or imaginary part
60956         separately without squaring.
60957         * math/libm-test.inc (catan_test): Add more tests.
60958         (catanh_test): Likewise.
60959         * sysdeps/i386/fpu/libm-test-ulps: Update.
60960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60962 2013-04-27  Andreas Jaeger  <aj@suse.de>
60964         [BZ #15007]
60965         * stdlib/stdlib.h: Update guards for qecvt.
60966         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
60967         <stdlib.h>.
60969 2013-04-27  Allan McRae  <allan@archlinux.org>
60971         * sysdeps/i386/fpu/libm-test-ulps: Update.
60973 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
60975         [BZ #15406]
60976         * math/s_catan.c: Include <float.h>.
60977         (__catan): Ensure underflow exception occurs for underflowed
60978         result.
60979         * math/s_catanf.c: Include <float.h>.
60980         (__catanf): Ensure underflow exception occurs for underflowed
60981         result.
60982         * math/s_catanh.c: Include <float.h>.
60983         (__catanh): Ensure underflow exception occurs for underflowed
60984         result.
60985         * math/s_catanhf.c: Include <float.h>.
60986         (__catanhf): Ensure underflow exception occurs for underflowed
60987         result.
60988         * math/s_catanhl.c: Include <float.h>.
60989         (__catanhl): Ensure underflow exception occurs for underflowed
60990         result.
60991         * math/s_catanl.c: Include <float.h>.
60992         (__catanl): Ensure underflow exception occurs for underflowed
60993         result.
60994         * math/libm-test.inc (catan_test): Add more tests.
60995         (catanh_test): Likewise.
60997         [BZ #15405]
60998         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
60999         underflowed result.
61000         * math/s_ccoshf.c (__ccoshf): Likewise.
61001         * math/s_ccoshl.c (__ccoshl): Likewise.
61002         * math/s_csin.c (__csin): Likewise.
61003         * math/s_csinf.c (__csinf): Likewise.
61004         * math/s_csinh.c (__csinh): Likewise.
61005         * math/s_csinhf.c (__csinhf): Likewise.
61006         * math/s_csinhl.c (__csinhl): Likewise.
61007         * math/s_csinl.c (__csinl): Likewise.
61008         * math/libm-test.inc (ccos_test): Add more tests.
61009         (ccosh_test): Likewise.
61010         (csin_test): Likewise.
61011         (csinh_test): Likewise.
61013 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61015         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
61016         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
61017         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
61018         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
61019         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
61020         powerpc/power5+/fpu folders.
61021         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
61024 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61026         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61028 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
61030         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
61031         additions to variable.
61032         [$(config-machine) = x86_64] (modules-names): Likewise.
61033         ($(objpfx)tst-audit3): Remove dependency.
61034         ($(objpfx)tst-audit3.out): Likewise.
61035         ($(objpfx)tst-audit4): Likewise.
61036         ($(objpfx)tst-audit4.out): Likewise.
61037         ($(objpfx)tst-audit5): Likewise.
61038         ($(objpfx)tst-audit5.out): Likewise.
61039         ($(objpfx)tst-audit6): Likewise.
61040         ($(objpfx)tst-audit6.out): Likewise.
61041         ($(objpfx)tst-audit7): Likewise.
61042         ($(objpfx)tst-audit7.out): Likewise.
61043         (tst-audit3-ENV): Remove variable.
61044         (tst-audit4-ENV): Likewise.
61045         (tst-audit5-ENV): Likewise.
61046         (tst-audit6-ENV): Likewise.
61047         (tst-audit7-ENV): Likewise.
61048         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
61049         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
61050         addition to variable.
61051         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
61052         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
61053         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
61054         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
61055         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
61056         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
61057         tst-audit3, tst-audit4 and tst-audit5.
61058         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
61059         tst-audit6 and tst-audit7.
61060         [$(subdir) = elf] (modules-names): Add audit modules for those
61061         tests.
61062         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
61063         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
61064         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
61065         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
61066         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
61067         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
61068         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
61069         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
61070         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
61071         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
61072         [$(subdir) = elf] (tst-audit3-ENV): New variable.
61073         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
61074         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
61075         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
61076         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
61077         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
61078         Likewise.
61079         [$(subdir) = elf && $(config-cflags-avx) = yes]
61080         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
61081         [$(subdir) = elf && $(config-cflags-avx) = yes]
61082         (CFLAGS-tst-auditmod4a.c): Likewise.
61083         [$(subdir) = elf && $(config-cflags-avx) = yes]
61084         (CFLAGS-tst-auditmod4b.c): Likewise.
61085         [$(subdir) = elf && $(config-cflags-avx) = yes]
61086         (CFLAGS-tst-auditmod6b.c): Likewise.
61087         [$(subdir) = elf && $(config-cflags-avx) = yes]
61088         (CFLAGS-tst-auditmod6c.c): Likewise.
61089         [$(subdir) = elf && $(config-cflags-avx) = yes]
61090         (CFLAGS-tst-auditmod7b.c): Likewise.
61091         * elf/tst-audit3.c: Move to ...
61092         * sysdeps/x86_64/tst-audit3.c: ... here.
61093         * elf/tst-audit4.c: Move to ...
61094         * sysdeps/x86_64/tst-audit4.c: ... here.
61095         * elf/tst-audit5.c: Move to ...
61096         * sysdeps/x86_64/tst-audit5.c: ... here.
61097         * elf/tst-audit6.c: Move to ...
61098         * sysdeps/x86_64/tst-audit6.c: ... here.
61099         * elf/tst-audit7.c: Move to ...
61100         * sysdeps/x86_64/tst-audit7.c: ... here.
61101         * elf/tst-auditmod3a.c: Move to ...
61102         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
61103         * elf/tst-auditmod3b.c: Move to ...
61104         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
61105         * elf/tst-auditmod4a.c: Move to ...
61106         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
61107         * elf/tst-auditmod4b.c: Move to ...
61108         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
61109         * elf/tst-auditmod5a.c: Move to ...
61110         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
61111         * elf/tst-auditmod5b.c: Move to ...
61112         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
61113         * elf/tst-auditmod6a.c: Move to ...
61114         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
61115         * elf/tst-auditmod6b.c: Move to ...
61116         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
61117         * elf/tst-auditmod6c.c: Move to ...
61118         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
61119         * elf/tst-auditmod7a.c: Move to ...
61120         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
61121         * elf/tst-auditmod7b.c: Move to ...
61122         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
61124 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
61126         [BZ #15366]
61127         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
61128         define unconditionally.
61129         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
61130         define unconditionally.
61131         (INT8_C, INT16_C, etc.): Likewise.
61133 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
61135         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
61136         __ehdr_start with hidden visibility.
61138         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
61140 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
61142         * math/libm-test.inc (cos_test): Use accurate hex constants.
61143         (sincost_test): Likewise.
61145 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
61147         * math/libm-test.inc (catan_test): Add more tests.
61148         (catanh_test): Likewise.
61150         * math/s_catanf.c (__catanf): Use suffixed floating-point
61151         constants.
61152         * math/s_catanhf.c (__catanhf): Likewise.
61153         * math/s_catanhl.c (__catanhl): Likewise.
61154         * math/s_catanl.c (__catanl): Likewise.
61156         [BZ #15394]
61157         * math/s_catan.c (__catan): Calculate imaginary part of result
61158         with log1p not log unless computing log of number close to 0.
61159         * math/s_catanf.c (__catanf): Likewise.
61160         * math/s_catanl.c (__catanl): Likewise.
61161         * math/s_catanh.c (__catanh): Calculate real part of result with
61162         log1p not log unless computing log of number close to 0.
61163         * math/s_catanhf.c (__catanhf): Likewise.
61164         * math/s_catanhl.c (__catanhl): Likewise.
61165         * math/libm-test.inc (catan_test): Add more tests.
61166         (catanh_test): Likewise.
61167         * sysdeps/i386/fpu/libm-test-ulps: Update.
61168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61170 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61172         * benchtests/Makefile: Mention files in which fast and slow
61173         paths of math functions are implemented.
61175 2013-04-23  Roland McGrath  <roland@hack.frob.com>
61177         * sysdeps/posix/timespec_get.c: New file.
61179 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61181         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
61182         POWER.
61183         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
61184         for POWER.
61185         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
61186         powerpc/power5/fpu folders.
61187         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
61188         * benchtests/Makefile: Add modf testcase.
61189         * benchtests/bench-modf.c: New file: Benchmark test for mo
61191 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61193         [BZ #14888]
61194         * time/Makefile (tests): Add tst-strptime-whitespace.
61195         * time/strptime_l.c (get_number): Use ISSPACE.
61196         (__strptime_internal): Likewise.
61197         * time/tst-strptime-whitespace.c: New test case.
61199 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
61201         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
61202         member.
61203         (_nss_files_init): Set it here.
61205 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
61207         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
61208         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
61209         unsigned.
61211 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
61213         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
61215 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61217         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
61218         size just once.
61220 2013-04-21  David S. Miller  <davem@davemloft.net>
61222         * po/ru.po: Update Russion translation from translation project.
61224 2013-04-17  Adam Conrad  <adconrad@0c3.net>
61226         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
61227         and setfsgid.
61229 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
61231         * configure.in: Remove i386 configure warning. Remove i386 case.
61232         * configure: Regenerate.
61233         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
61234         Add example to error message.
61235         * sysdeps/i386/configure: Regenerate.
61237 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61239         * benchtests/Makefile (bench): Add cos, tan, slowcos and
61240         slowtan.
61241         * benchtests/cos-inputs: New file.
61242         * benchtests/slowcos-inputs: New file.
61243         * benchtests/slowcos.c: New file.
61244         * benchtests/slowtan-inputs: New file.
61245         * benchtests/slowtan.c: New file.
61246         * benchtests/tan-inputs: New file.
61248 2013-04-16  Roland McGrath  <roland@hack.frob.com>
61250         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
61251         considered kosher.
61253 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61255         * benchtests/Makefile: Include cppflags-iterator.mk to add
61256         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
61258         * Makefile.in (bench-clean): New target.
61259         * benchtests/Makefile (bench-clean): Likewise.
61261 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
61263         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
61265 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
61267         * stdio-common/tstdiomisc.c: Fix coding-style violation.
61269 2013-04-15  Andreas Schwab  <schwab@suse.de>
61271         * nscd/grpcache.c (cache_addgr): Properly check for short write.
61272         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61273         * nscd/pwdcache.c (cache_addpw): Likewise.
61274         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
61275         more than recsize.
61277 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61279         * benchtests/Makefile (bench): Write all output to
61280         bench-out.tmp together.
61282 2013-04-15  Andreas Schwab  <schwab@suse.de>
61284         * nscd/nscd.c (main): Don't fork again after closing files.
61286 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61288         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
61290         * benchtests/Rules (bench-deps): Collect dependencies into a
61291         single variable.  Add Makefile to dependencies.
61292         ($(objpfx)bench-%.c): Depend on bench-deps.
61294 2013-04-12  Roland McGrath  <roland@hack.frob.com>
61295             Xavier Roche  <roche+kml2@exalead.com>
61297         [BZ #15361]
61298         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
61299         just that it's a file descriptor.
61300         * manual/llio.texi (Synchronizing AIO Operations): Update description
61301         for EBADF error from aio_fsync.
61303 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61305         * Rules (bench): Move target definition...
61306         * benchtests/Makefile: ... here.
61308 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
61310         * math/libm-test.inc (cos_test): Fix PI/2 test.
61311         (sincos_test): Likewise.
61312         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
61313         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
61315 2013-04-11  Andreas Schwab  <schwab@suse.de>
61317         [BZ #13988]
61318         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
61319         accept exponent character only when digits were seen.
61320         * stdio-common/Makefile (tests): Add bug26.
61321         * stdio-common/bug26.c: New file.
61323         [BZ #14293]
61324         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
61325         non-freeable.
61327 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61329         * Makeconfig (rtld-prefix): Define built linker prefix.
61330         * Rules (run-bench): Use it.
61331         * math/Makefile (run-regen-ulps): Likewise.
61333         * Rules (bench): Remove eval.
61335 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61336             Roland McGrath  <roland@hack.frob.com>
61337             Ondrej Bilka  <neleai@seznam.cz>
61339         [BZ #15346]
61340         * time/getdate.c: Include ctype.h and alloca.h.
61341         (__getdate_r): Trim leading and trailing spaces of input.
61342         * time/tst-getdate.c (tests): Add tests with leading and
61343         trailing spaces.
61345 2013-04-08  Roland McGrath  <roland@hack.frob.com>
61347         [BZ #14280]
61348         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
61349         when computing value.
61351 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61353         * math/README.libm-test (How can I generate "libm-test-ulps"?):
61354         Use testrun.sh to run libm tests.
61356         [BZ #15309]
61357         * elf/dl-open.c (dl_open_worker): memset all of seen array.
61359 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
61361         [BZ #15264]
61362         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
61364 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61366         * Makefile.in (regen-ulps): New target.
61367         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
61368         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
61369         [ifneq (no,$(PERL)] (regen-ulps): New target.
61370         [ifeq (no,$(PERL)] (regen-ulps): New target.
61371         * math/libm-test.inc (ulps_file_name): Define.
61372         (output_dir): New variable.
61373         (options): Add "output-dir" option.
61374         (parse_opt): Handle 'o' case.
61375         (main): If output_dir is non-NULL use it as a prefix
61376         otherwise use "".
61377         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
61379 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61381         [BZ #10060, #10062]
61382         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
61383         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
61384         fail configure if __sync_val_compare_and_swap is not inlined.
61385         * sysdeps/i386/configure: Regenerate.
61386         * configure.in: Build for i686 when configured for i386.
61387         * configure: Regenerate.
61388         * README: Remove i386 reference.
61390 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61392         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
61393         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61395 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61397         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
61398         (lmsnanval): New variables.
61399         (F): Add conversion tests.
61400         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
61401         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
61403         * stdio-common/tstdiomisc.c (F): Properly collect individual
61404         tests' results.
61406         [BZ #14686, #15336]
61407         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
61408         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
61409         Instead, use input NaN values or generate a qNaN by arithmetic
61410         operation.  Also fix bugs to comply with the standard.
61411         * math/libm-test.inc (remainder_test): Add more tests.
61413         [BZ #15335, #15342]
61414         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
61415         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
61416         input NaN values or generate a qNaN by arithmetic operation.
61418         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
61419         unreachable code.
61421         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
61422         definitions.
61424 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
61426         [BZ #14478]
61427         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
61428         underflowed result.
61429         * math/s_cexpf.c (__cexpf): Likewise.
61430         * math/s_cexpl.c (__cexpl): Likewise.
61431         * math/libm-test.inc (cexp_test): Add more tests.
61433 2013-04-03  Andreas Schwab  <schwab@suse.de>
61435         [BZ #15330]
61436         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
61437         order arrays from heap if bigger than alloca cutoff.
61439 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
61441         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
61442         (SNAN_TESTS_double): Refer to GCC PR56831.
61443         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
61444         GCC PR56828.
61446 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61448         * Rules (bench): Move bench.out after the run is complete.
61450         * Rules (bench): Echo currently running benchmark.
61452         * benchtests/Makefile (bench): Add atan and slowatan.
61453         * benchtests/atan-inputs: New file.
61454         * benchtests/slowatan-inputs: New file.
61455         * benchtests/slowatan.c: New file.
61457         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
61458         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
61459         its value.
61461         [BZ #15305]
61462         * sysdeps/unix/sysv/linux/kernel-features.h
61463         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
61464         __ASSUME_XFS_RESTRICTED_CHOWN.
61465         * sysdeps/unix/sysv/linux/pathconf.c
61466         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
61467         Save and restore errno.
61469 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
61471         [BZ #15327]
61472         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
61473         arguments using __kernel_casinh.
61474         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
61475         arguments using __kernel_casinhf.
61476         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
61477         arguments using __kernel_casinhl.
61478         * math/libm-test.inc (cacosh_test): Add more tests.
61479         * sysdeps/i386/fpu/libm-test-ulps: Update.
61480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61482 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61484         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
61485         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
61487         * bench/Makefile (bench): Add sin and slowsin.
61488         * benchtests/sin-inputs: New file.
61489         * benchtests/slowsin-inputs: New file.
61490         * benchtests/slowsin.c: New file.
61492         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
61493         (bench): Add slowexp and slowpow.
61494         (exp-ITER): Increase iterations.
61495         (pow-ITER): Likewise.
61496         * benchtests/exp-inputs: Change input.
61497         * benchtests/pow-inputs: Likewise.
61498         * benchtests/slowexp-inputs: New file.
61499         * benchtests/slowexp.c: New file.
61500         * benchtests/slowpow-inputs: New file.
61501         * benchtests/slowpow.c: New file.
61503 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61505         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
61506         instructions.
61507         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
61508         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
61509         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61510         * benchtests/Makefile: Add rint benchtest.
61511         * benchtests/rint-inputs: Input for rint benchtest.
61513 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61515         * Versions.def (libm): Add GLIBC_2.18.
61516         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
61517         hidden libm prototypes.
61518         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
61519         * math/Makefile (libm-calls): Add s_issignaling.
61520         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
61521         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
61522         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
61523         declaration.
61524         * math/math.h [__USE_GNU] (issignaling): New macro.
61525         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
61526         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
61527         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
61528         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
61529         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
61530         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
61531         * manual/arith.texi (issignaling): New section.
61532         * manual/libm-err-tab.pl (@all_functions): Update comment.
61533         * math/gen-libm-test.pl (parse_args): Apply special handling for
61534         issignaling.
61535         * math/libm-test.inc (print_float, issignaling_test): New
61536         functions.
61537         (check_float_internal): Add issignaling checks.
61538         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
61539         default definition.
61540         * sysdeps/powerpc/math-tests.h: New file.
61541         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
61542         tests.
61543         * math/test-snan.c (TEST_FUNC): Likewise.
61545 2013-03-30  David S. Miller  <davem@davemloft.net>
61547         * po/de.po: Update from translation team.
61549 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
61551         [BZ #10357]
61552         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61553         imaginary part less than 1.0 and real part less than 0.5
61554         specially.
61555         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61556         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61557         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
61558         (cacos_test): Add more tests.
61559         (casin_test): Likewise.
61560         (casinh_test): Likewise.
61561         * sysdeps/i386/fpu/libm-test-ulps: Update.
61562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61564 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61566         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
61567         ONE with its value.
61569         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
61570         (__pow_mp): Replace ONE and MONE with their values.
61571         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61572         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
61573         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61574         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
61575         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61576         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61578         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
61580         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
61581         (__pow_mp): Replace ZERO and MZERO with their values.
61582         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61583         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61584         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61585         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61586         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61587         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
61588         (__sqr): Likewise.
61590         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
61592         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
61594 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61596         * include/stdlib.h [!SHARED] (__call_tls_dtors):
61597         Declare with __attribute__ ((weak)).
61598         * stdlib/exit.c (__libc_atexit) [!SHARED]:
61599         Call __call_tls_dtors only if it's not NULL.
61601 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61603         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
61604         didn't do it already, then set _dl_phdr and _dl_phnum based on the
61605         magic __ehdr_start linker symbol if it's defined.
61606         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
61607         them up here if it was already done.
61609         * elf/dl-support.c (_dl_phdr): Make pointer to const.
61610         (_dl_aux_init): Use const in cast when setting it.
61611         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
61612         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
61613         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
61615         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
61616         Declare them here.
61617         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
61618         * csu/libc-tls.c: Nor here.
61619         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
61621         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
61622         (__libc_message): Never call vsyslog.
61624 2013-03-28  Alan Modra  <amodra@gmail.com>
61626         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
61627         Define as empty.
61628         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
61629         Likewise.
61631 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61633         [BZ #15214]
61634         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
61635         underflow.
61636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61638 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61640         [BZ #15304]
61641         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
61642         Don't add gid passed as argument.
61644         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
61646 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
61648         [BZ #15307]
61649         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61650         imaginary part between 1.0 and 1.5 and real part less than 0.5
61651         specially.
61652         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61653         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61654         * math/libm-test.inc (cacos_test): Add more tests.
61655         (casin_test): Likewise.
61656         (casinh_test): Likewise.
61657         * sysdeps/i386/fpu/libm-test-ulps: Update.
61658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61660 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61662         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
61663         constants.
61664         (norm): Likewise.
61665         (denorm): Likewise.
61666         (__dbl_mp): Likewise.
61667         (add_magnitudes): Likewise.
61668         (sub_magnitudes): Likewise.
61669         (__add): Likewise.
61670         (__sub): Likewise.
61671         (__mul): Likewise.
61672         (__sqr): Likewise.
61673         (__inv): Likewise.
61674         (__dvd): Likewise.
61676         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
61677         commented code.
61678         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
61679         (__dubcos): Likewise.
61680         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
61681         (__ieee754_acos): Likewise.
61682         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61683         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
61684         (__exp1): Likewise.
61685         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61686         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61687         (log1): Likewise.
61688         (my_log2): Likewise.
61689         (checkint): Likewise.
61690         * sysdeps/ieee754/dbl-64/e_remainder.c
61691         (__ieee754_remainder): Likewise.
61692         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61693         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
61694         (bsloww): Likewise.
61695         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61697         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61698         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
61699         MANTISSA_STORE_T to store computations on mantissa.  Use
61700         macros for rounding and division.
61701         (denorm): Likewise.
61702         (__dbl_mp): Likewise.
61703         (add_magnitudes): Likewise.
61704         (sub_magnitudes): Likewise.
61705         (__mul): Likewise.
61706         (__sqr): Likewise.
61707         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61708         powers of two in terms of TWOPOW macro.
61709         (mp_no): Make type of mantissa as MANTISSA_T.
61710         [!RADIXI]: Define RADIXI.
61711         [!TWO52]: Define TWO52.
61712         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61714 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61716         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
61717         llroundl symbol when building for PPC32.
61719 2013-03-24  Mark H Weaver  <mhw@netris.org>
61721         * manual/arith.texi (Normalization Functions): Fix prototypes for
61722         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
61724 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61726         [BZ #13889]
61727         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
61728         high value to check if expl overflow.
61729         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
61730         to check for underflow and overflow.
61731         * math/libm-test.inc: Add exp test.
61733 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
61735         [BZ #11120]
61736         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
61737         with NOT_IN_libc.
61739 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61741         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
61742         symbol.
61744 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61746         * math/gen-libm-test.pl (parse_args, special_functions): Properly
61747         wrap blocks consisting of several statements.
61749         * sysdeps/generic/math-tests.h: New file.
61750         * sysdeps/i386/fpu/math-tests.h: Likewise.
61751         * math/test-snan.c: Include it.
61752         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
61754 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61756         [BZ #15285]
61757         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
61758         (__ieee754_j0l): Do not improve calculations using cos of twice
61759         input for inputs above LDBL_MAX / 2.0L.
61760         (__ieee754_y0l): Likewise.
61761         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
61762         (__ieee754_j1l): Do not improve calculations using cos of twice
61763         input for inputs above LDBL_MAX / 2.0L.
61764         (__ieee754_y1l): Likewise.
61765         * math/libm-test.inc (j0_test): Add another test.
61766         (j1_test): Likewise.
61767         (y0_test): Likewise.
61768         (y1_test): Likewise.
61769         * sysdeps/i386/fpu/libm-test-ulps: Update.
61771 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61773         * Rules ($(objpfx)bench-%.c): Include code from a C source
61774         file.
61776 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61778         [BZ #15287]
61779         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61780         imaginary part 1.0 and real part less than 0.5 specially.
61781         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61782         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61783         * math/libm-test.inc (cacos_test): Add more tests.
61784         (casin_test): Likewise.
61785         (casinh_test): Likewise.
61786         * sysdeps/i386/fpu/libm-test-ulps: Update.
61787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61789 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61791         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
61792         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
61794 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
61796         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
61797         * config.make.in (config-cflags-sse4): Remove variable.
61798         (config-cflags-avx): Likewise.
61799         (config-cflags-sse2avx): Likewise.
61800         (config-cflags-novzeroupper): Likewise.
61801         (config-asflags-i686): Likewise.
61802         (have-mfma4): Likewise.
61803         (have-as-vis3): Likewise.
61804         (MIG): Likewise.
61805         * configure.in (MIG): Do not AC_SUBST.
61806         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
61807         (libc_cv_cc_sse4): Do not AC_SUBST.
61808         (libc_cv_cc_avx): Likewise.
61809         (libc_cv_cc_sse2avx): Likewise.
61810         (libc_cv_cc_novzeroupper): Likewise.
61811         (libc_cv_cc_fma4): Likewise.
61812         (libc_cv_as_i686): Likewise.
61813         (libc_cv_sparc_as_vis3): Likewise.
61814         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
61815         LIBC_CONFIG_VAR.
61816         (config-asflags-i686): Likewise.
61817         (config-cflags-avx): Likewise.
61818         (config-cflags-sse2avx): Likewise.
61819         (have-mfma4): Likewise.
61820         (config-cflags-novzeroupper): Likewise.
61821         * sysdeps/mach/configure.in (MIG): Likewise.
61822         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
61823         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
61824         LIBC_CONFIG_VAR.
61825         (config-cflags-avx): Likewise.
61826         (config-cflags-sse2avx): Likewise.
61827         (have-mfma4): Likewise.
61828         (config-cflags-novzeroupper): Likewise.
61829         * configure: Regenerated.
61830         * sysdeps/i386/configure: Likewise.
61831         * sysdeps/mach/configure: Likewise.
61832         * sysdeps/sparc/configure: Likewise.
61833         * sysdeps/x86_64/configure: Likewise.
61835 2013-03-20  Roland McGrath  <roland@hack.frob.com>
61837         [BZ #14812]
61838         * locale/programs/localedef.c (options): Put N_ translation marker
61839         on argument names, not just descriptions.
61841 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61843         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
61845 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
61847         [BZ #14176]
61848         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
61850 2013-03-19  Roland McGrath  <roland@hack.frob.com>
61852         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
61853         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
61854         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
61855         [!BEFORE_ABORT] (before_abort): New function.
61856         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
61857         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
61858         (writev_for_fatal): New function.
61859         (WRITEV_FOR_FATAL): New macro; call that.
61860         (backtrace_and_maps): New function.
61861         (BEFORE_ABORT): New macro; call that.
61862         (struct str_list): Type removed.
61863         (__libc_message, __libc_fatal): Functions removed.
61864         Include <sysdeps/posix/libc_fatal.c> instead.
61866 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
61868         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
61869         constants.
61870         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
61871         double constants.
61873 2013-03-19  Andreas Schwab  <schwab@suse.de>
61875         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
61876         * sysdeps/gnu/configure: Regenerate.
61878         * configure.in: Substitute libc_cv_rtlddir.
61879         * configure: Regenerate.
61880         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
61881         * Makeconfig (rtlddir, inst_rtlddir): New variables.
61882         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
61883         * elf/Makefile (install-others, CFLAGS-interp.c)
61884         (ldso_install, common-ldd-rewrite): Likewise.
61885         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
61886         $(inst_slibdir)/$(rtld-installed-name).
61887         * scripts/rellns-sh: Add -p option.
61888         * Makerules (make-shlib-link): Use rellns-sh to get relative name
61889         for source.
61891 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61893         * manual/nptl.texi: Renamed to ...
61894         * manual/threads.texi: ... this.
61895         * manual/Makefile (chapters): Update.
61897 2013-03-18  Roland McGrath  <roland@hack.frob.com>
61899         [BZ #14812]
61900         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
61901         on argument names, not just descriptions.
61902         * malloc/memusagestat.c (options): Likewise.
61903         * nss/getent.c (options): Likewise.
61905 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
61907         [BZ #14812]
61908         * iconv/iconv_prog.c (options): Put N_ translation marker
61909         on argument names, not just descriptions.
61910         * iconv/iconvconfig.c (options): Likewise.
61912 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
61914         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
61915         implementation which is faster on all x86_64 architectures.
61916         Tested on AMD, Intel Nehalem, SNB, IVB.
61917         * sysdeps/x86_64/strnlen.S: Likewise.
61919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61920         Remove all multiarch strlen and strnlen versions.
61921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
61922         Remove strlen and strnlen related parts.
61924         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
61925         Inline strlen part.
61926         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
61928         * sysdeps/x86_64/multiarch/strlen.S: Remove.
61929         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
61930         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
61931         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
61932         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61933         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
61935 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
61937         * manual/memory.texi (Malloc Tunable Parameters):
61938         Sort parameters alphabetically. Add comments for missing entries.
61940 2013-03-17  David S. Miller  <davem@davemloft.net>
61942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61944 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
61946         [BZ #15283]
61947         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
61948         for arguments at most half maximum finite value.
61949         * math/libm-test.inc (j0_test): Add more tests.
61950         (j1_test): Likewise.
61951         (y0_test): Likewise.
61952         (y1_test): Likewise.
61953         * sysdeps/i386/fpu/libm-test-ulps: Update.
61954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61956         [BZ #14155]
61957         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
61958         1 / x and functions P and Q for arguments above 0x1p256L.
61959         (__ieee754_y0l): Likewise.
61960         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
61961         (__ieee754_y1l): Likewise.
61962         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
61963         (j1_test): Likewise.
61964         (y0_test): Likewise.
61965         (y1_test): Likewise.
61967 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
61969         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
61970         variable.
61972 2013-03-15  Roland McGrath  <roland@hack.frob.com>
61974         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
61975         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
61976         zero since it's initialized to EXEC_PAGESIZE.
61978         * sysdeps/unix/sysv/linux/ldsodefs.h
61979         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
61980         * sysdeps/generic/ldsodefs.h: ... here.
61982 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
61984         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
61986         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
61987         math/test-snan.c.
61988         * math/test-snan.c: Renamed from
61989         sysdeps/powerpc/fpu/test-powerpc-snan.c.
61990         * math/Makefile (tests): Add test-snan.
61991         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
61992         test-powerpc-snan.
61994         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
61995         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
61996         functions.
61997         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
61998         __builtin_nan family of functions.
61999         * math/libm-test.inc (initialize): Initialize qnan_value with
62000         __builtin_nan family of functions.
62001         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
62002         Remove variables.
62003         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
62004         Remove functions.
62005         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
62006         storage class.  Initialize qNaN_var and sNaN_var with
62007         __builtin_nan and __builtin_nans families of functions,
62008         respectively.
62010         * math/libm-test.inc (acosh_test): Also test with qNaN input.
62011         (sqrt_test): Remove duplicate test with qNaN input.
62012         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
62013         (round_test, signbit_test, significand_test): Note missing +/-Inf
62014         as well as qNaN tests.
62016         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
62017         qNaN_var.  Fix a few strings, too.
62018         * math/libm-test.inc (nan_value): Rename to qnan_value.
62019         * math/gen-libm-test.pl (%beautify): Adjust to that.
62020         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
62021         * math/test-misc.c (main): Likewise.
62022         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
62023         to __qnan_bytes, and __qnan_union, respectively.
62024         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
62025         Likewise.
62026         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
62027         and lqnanval, respectively.
62028         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
62029         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
62030         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
62031         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
62033         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
62034         * math/test-misc.c (main) [__x86_64__]: Enable test for long
62035         doubles.
62037         * math/test-misc.c (main): Fix copy'n'pastos.
62038         * misc/tst-efgcvt.c (special): Likewise.
62040         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
62041         Remove declarations.
62043 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62045         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
62046         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
62047         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
62048         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
62050 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62052         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
62053         macro to return vdso values correctly in IFUNC implementations.
62054         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
62055         Optimization by using IFUNC.
62057 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62058             Richard Henderson  <rth@redhat.com>
62059             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62061         * Makefile.in (bench): New target.
62062         * NEWS: Mention the benchmark framework.
62063         * Rules (bench): Likewise.
62064         (binaries-bench): Generate binaries for functions to
62065         benchmark.
62066         * benchtests/Makefile: New makefile for benchmark tests.
62067         * benchtests/bench-skeleton.c: New skeleton file for benchmark
62068         programs.
62069         * benchtests/exp-inputs: New input file for EXP function.
62070         * benchtests/pow-inputs: New input file for POW function.
62071         * scripts/bench.pl: New script to generate source files for
62072         benchmark programs.
62074 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62076         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62077         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
62078         computations on mantissa.  Use macros for rounding and
62079         division.
62080         (denorm): Likewise.
62081         (__dbl_mp): Likewise.
62082         (add_magnitudes): Likewise.
62083         (sub_magnitudes): Likewise.
62084         (__mul): Likewise.
62085         (__sqr): Likewise.
62086         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62087         powers of two in terms of TWOPOW macro.
62088         (mp_no): Make type of mantissa as MANTISSA_T.
62089         [!RADIXI]: Define RADIXI.
62090         [!TWO52]: Define TWO52.
62091         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62093         * manual/nptl.texi (cindex): Modify threads to pthreads.
62095 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
62097         * sysdeps/x86_64/preconfigure: Regenerated.
62099 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
62101         [BZ #14155]
62102         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
62103         0x1p28 and above.
62104         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
62105         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
62106         0x1p28 and above.
62107         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
62108         * math/libm-test.inc (j0_test): Do not allow one spurious
62109         underflow exception.
62110         (y1_test): Likewise.
62112 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62114         * manual/Makefile (chapters): Add nptl.
62115         * manual/debug.texi (Debugging Support): Add link to Threads
62116         chapter.
62117         * manual/nptl.texi: New file.
62119         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
62121 2013-03-14  Petr Baudis  <pasky@ucw.cz>
62123         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
62124         for non-NULL pointer before the memory validity test. Pointed
62125         out by Holger Brunck <holger.brunck@keymile.com>.
62127 2013-03-13  Andreas Schwab  <schwab@suse.de>
62129         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
62130         instead of .os.
62132 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
62134         * timezone/zic.c: Update from tzcode 2013b.
62136 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
62138         * manual/install.texi (Configuring and compiling):
62139         Mention i686 and i586.
62140         * INSTALL: Regenerate.
62142 2013-03-12  Roland McGrath  <roland@hack.frob.com>
62144         * sysdeps/init_array/elf-init.c: New file.
62145         * csu/elf-init.c
62146         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
62147         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
62149         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
62150         __gmon_start__ as global, but as static with a .preinit_array pointer.
62151         * sysdeps/init_array/gmon-start.c: New file.  Use that.
62152         * sysdeps/init_array/crti.S: New file, empty except for comments.
62153         * sysdeps/init_array/crtn.S: Likewise.
62155 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
62157         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
62158         definining bcopy.
62159         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62160         Remove Prefer_SSE_for_memop.
62161         * sysdeps/x86_64/multiarch/init-arch.h: Remove
62162         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
62163         HAS_PREFER_SSE_FOR_MEMOP.
62164         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
62165         memset-x86-64.
62166         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62167         Remove bzero, memset ifunc support.
62168         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
62169         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
62170         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62171         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62173 2013-03-11  Andreas Schwab  <schwab@suse.de>
62175         [BZ #15234]
62176         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
62177         by SHLIB_COMPAT.
62178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
62179         (GLIBC_2.16): Remove pthread_atfork.
62181 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
62183         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
62184         (ptestcases.h): Likewise.
62186 2013-03-08  Roland McGrath  <roland@hack.frob.com>
62188         * Makeconfig ($(common-objpfx)config.status): Depend on
62189         sysdeps/*/preconfigure{,.in} too.
62191 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
62193         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
62194         (__free_hook): Use void * instead of __malloc_ptr_t.
62195         (__malloc_hook): Likewise.
62196         (__realloc_hook): Likewise.
62197         (__memalign_hook): Likewise.
62198         (__after_morecore_hook): Likewise.
62199         * malloc/arena.c (save_malloc_hook): Likewise.
62200         (save_free_hook): Likewise.
62201         * malloc/hooks.c (malloc_hook_ini): Likewise.
62202         (realloc_hook_ini): Likewise.
62203         (memalign_hook_ini): Likewise.
62204         * malloc/malloc.c (malloc_hook_ini): Likewise.
62205         (realloc_hook_ini): Likewise.
62206         (memalign_hook_ini): Likewise.
62207         (__free_hook): Likewise.
62208         (__malloc_hook): Likewise.
62209         (__realloc_hook): Likewise.
62210         (__memalign_hook): Likewise.
62211         (__libc_malloc): Likewise.
62212         (__libc_free): Likewise.
62213         (__libc_realloc): Likewise.
62214         (__libc_memalign): Likewise.
62215         (__libc_valloc): Likewise.
62216         (__libc_pvalloc): Likewise.
62217         (__libc_calloc): Likewise.
62218         (__posix_memalign): Likewise.
62219         * malloc/morecore.c (__sbrk): Likewise.
62220         (__default_morecore): Likewise.
62222         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
62224         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
62225         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
62226         __malloc_ptrdiff_t.
62228         * malloc/malloc.h (__malloc_size_t): Remove macro.
62229         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
62230         __malloc_size_t.
62231         (old_memalign_hook): Likewise.
62232         (old_realloc_hook): Likewise.
62233         (struct hdr): Likewise.
62234         (flood): Likewise.
62235         (mallochook): Likewise.
62236         (memalignhook): Likewise.
62237         (reallochook): Likewise.
62238         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
62239         (tr_old_realloc_hook): Likewise.
62240         (tr_old_memalign_hook): Likewise.
62241         (tr_mallochook): Likewise.
62242         (tr_reallochook): Likewise.
62243         (tr_memalignhook): Likewise.
62245 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62247         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
62248         default_ldbl_pack and using as default implementation.
62249         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
62250         implementation.
62251         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
62252         redundant definition.
62253         (ldbl_insert_mantissa): Likewise.
62254         (ldbl_canonicalize): Likewise.
62255         (ldbl_nearbyint): Likewise.
62256         (ldbl_pack): Rename to ldbl_pack_ppc.
62257         (ldbl_unpack): Rename to ldbl_unpack_ppc.
62258         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
62259         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
62261 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62263         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
62264         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
62265         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
62266         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
62267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
62268         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
62269         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
62270         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
62272 2013-03-07  Andreas Jaeger  <aj@suse.de>
62274         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62275         bits/mman-linux.h.
62277 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62279         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
62280         Include mpa.h and declare __MPEXP.
62281         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
62282         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62283         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62284         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
62285         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62286         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62287         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
62289         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
62290         (__slowpow): Use long double EXPL and LOGL functions to
62291         compute POW.
62292         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62293         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62294         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
62295         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62296         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62297         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
62299         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
62300         intermediate variable to calculate exponent.
62301         (__sqr): Likewise.
62302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62303         Likewise.
62304         (__sqr): Likewise.
62306         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
62307         [!NO__SQR]: Define __sqr.
62308         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
62309         and NO__SQR.  Remove all code except __mul and __sqr.  Include
62310         sysdeps/ieee754/dbl-64/mpa.c.
62311         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62313         [BZ #12723]
62314         * posix/Makefile (tests): Add tst-pathconf.
62315         * posix/tst-pathconf.c: New test case.
62316         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
62317         _PC_PIPE_BUF.
62318         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
62320 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
62322         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
62324 2013-03-06  Andreas Jaeger  <aj@suse.de>
62326         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
62327         definition via __MAP_ANONYMOUS.
62329         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
62330         it's not part of Linux headers.
62332         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
62333         (MAP_HUGE_MASK): Define.
62335         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62336         Define.
62337         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62338         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62339         Define.
62340         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62341         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62342         Define.
62343         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62344         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
62345         Define.
62346         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62348         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
62349         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
62350         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
62351         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
62352         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
62353         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
62355         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62356         Handle f2fs.
62358         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62359         Handle f2fs and efivarfs.
62361         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
62362         f2fs.
62364         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
62365         (EFIVARFS_MAGIC): Add.
62366         (F2FS_LINK_MAX): Add.
62368 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62370         * stdio-common/vfprintf.c: Replace __builtin_expect with
62371         __glibc_unlikely.
62373 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
62375         [BZ #13550]
62376         * sysdeps/generic/bp-sym.h: Remove file.
62377         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
62378         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
62379         <bp-sym.h> and <bp-asm.h>.
62380         (__longjmp): Don't use BP_SYM.
62381         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
62382         and <bp-asm.h>.
62383         (memcpy): Don't use BP_SYM.
62384         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
62385         <bp-sym.h> and <bp-asm.h>.
62386         (memcpy): Don't use BP_SYM.
62387         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
62388         <bp-asm.h>.
62389         (memcpy): Don't use BP_SYM.
62390         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
62391         <bp-asm.h>.
62392         (memset): Don't use BP_SYM.
62393         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62394         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62395         (__bzero): Don't use BP_SYM.
62396         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62397         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62398         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
62399         <bp-sym.h> and <bp-asm.h>.
62400         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62401         pointers.
62402         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
62403         <bp-sym.h> and <bp-asm.h>.
62404         (memcpy): Don't use BP_SYM.
62405         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
62406         <bp-sym.h> and <bp-asm.h>.
62407         (memset): Don't use BP_SYM.
62408         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62409         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62410         (__bzero): Don't use BP_SYM.
62411         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62412         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62413         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
62414         <bp-sym.h> and <bp-asm.h>.
62415         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62416         pointers.
62417         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
62418         <bp-sym.h> and <bp-asm.h>.
62419         (memcpy): Don't use BP_SYM.
62420         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
62421         <bp-sym.h> and <bp-asm.h>.
62422         (memset): Don't use BP_SYM.
62423         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62424         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62425         (__bzero): Don't use BP_SYM.
62426         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62427         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62428         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
62429         <bp-sym.h> and <bp-asm.h>.
62430         (__memchr): Don't use BP_SYM.
62431         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
62432         <bp-sym.h> and <bp-asm.h>.
62433         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62434         pointers.
62435         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
62436         <bp-sym.h> and <bp-asm.h>.
62437         (memcpy): Don't use BP_SYM.
62438         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
62439         <bp-sym.h> and <bp-asm.h>.
62440         (__mempcpy): Don't use BP_SYM.
62441         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
62442         <bp-sym.h> and <bp-asm.h>.
62443         (__memrchr): Don't use BP_SYM.
62444         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
62445         <bp-sym.h> and <bp-asm.h>.
62446         (memset): Don't use BP_SYM.
62447         (__bzero): Likewise.
62448         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
62449         <bp-sym.h> and <bp-asm.h>.
62450         (__rawmemchr): Don't use BP_SYM.
62451         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
62452         <bp-sym.h> and <bp-asm.h>.
62453         (__STRCMP): Don't use BP_SYM.
62454         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
62455         <bp-sym.h> and <bp-asm.h>.
62456         (strchr): Don't use BP_SYM.
62457         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
62458         <bp-sym.h> and <bp-asm.h>.
62459         (__strchrnul): Don't use BP_SYM.
62460         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
62461         <bp-sym.h> and <bp-asm.h>.
62462         (strlen): Don't use BP_SYM.
62463         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
62464         <bp-sym.h> and <bp-asm.h>.
62465         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62466         pointers.
62467         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
62468         <bp-sym.h> and <bp-asm.h>.
62469         (__strnlen): Don't use BP_SYM.
62470         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
62471         <bp-sym.h> and <bp-asm.h>.
62472         (__GI__setjmp): Don't use BP_SYM.
62473         (_setjmp): Likewise.
62474         (__sigsetjmp): Likewise.
62475         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
62476         (L(start_addresses)): Don't use BP_SYM.
62477         (_start): Likewise.
62478         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
62479         <bp-asm.h>.
62480         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
62481         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
62482         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62483         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62484         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
62485         <bp-asm.h>.
62486         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
62487         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
62488         about bounded pointers.
62489         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62490         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62491         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
62492         <bp-asm.h>.
62493         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62494         about bounded pointers.  Remove GKM FIXME comments.
62495         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62496         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
62497         <bp-asm.h>.
62498         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
62499         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
62500         Remove GKM FIXME comments.
62501         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62502         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62503         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
62504         <bp-asm.h>.
62505         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62506         about bounded pointers.  Remove GKM FIXME comment.
62507         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
62508         and <bp-asm.h>.
62509         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62510         pointers.
62511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
62512         <bp-sym.h> and <bp-asm.h>.
62513         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
62515         <bp-sym.h> and <bp-asm.h>.
62516         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62517         comment.
62519 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62521         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
62522         call free(NULL).
62524 2013-03-05  David S. Miller  <davem@davemloft.net>
62526         * po/es.po: Update from translation team.
62528 2013-03-05  Andreas Jaeger  <aj@suse.de>
62530         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
62531         <bits/mman-linux.h>.
62532         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62533         is fine.
62534         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
62535         <bits/mman-linux.h> to end of file.
62536         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62537         is fine.
62538         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
62539         <bits/mman-linux.h> to end of file.
62540         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62541         is fine.
62542         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
62543         <bits/mman-linux.h> to end of file.
62545         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
62546         (MCL_CURRENT, MCL_FUTURE): Define here.
62548 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62550         [BZ #15232]
62551         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
62552         attribute_hidden.
62553         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62555 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62557         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
62558         fourth parameter needed for rt_sigprocmask syscall.
62559         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
62560         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62561         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
62562         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62563         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62564         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
62566 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
62568         [BZ #13550]
62569         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
62570         comment about bounded pointers.
62571         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
62572         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
62574 2013-03-04  Andreas Jaeger  <aj@suse.de>
62576         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
62577         common definitions.
62579         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
62580         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
62581         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
62582         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62583         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62584         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62586 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62588         [BZ #15055]
62589         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
62590         __ieee754_sqrl instead of __sqrl.
62592 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
62594         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
62595         * sysdeps/powerpc/fpu_control.h: ... here.
62596         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
62597         * sysdeps/powerpc/bits/fenvinline.h: ... here.
62598         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
62599         * sysdeps/powerpc/bits/mathinline.h: ... here.
62601 2013-03-01  Roland McGrath  <roland@hack.frob.com>
62603         * elf/dl-hwcaps.c (_dl_important_hwcaps):
62604         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
62605         to just [NEED_DL_SYSINFO_DSO].
62606         * elf/dl-support.c: Likewise.
62607         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
62608         * elf/rtld.c (dl_main): Likewise.
62609         * elf/setup-vdso.h (setup_vdso): Likewise.
62610         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
62611         * sysdeps/unix/sysv/linux/dl-sysdep.c
62612         (_dl_discover_osversion): Likewise.
62614 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
62616         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
62617         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62619 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
62621         * NEWS: Mention libm performance improvements and non-x86 PI
62622         futex support.
62624         * csu/libc-start.c (__pthread_initialize_minimal): Change
62625         function arguments.
62626         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62628 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
62630         [BZ #13550]
62631         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
62632         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
62633         <bp-sym.h> and <bp-asm.h>.
62634         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62635         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
62636         and <bp-asm.h>.
62637         (memcpy): Don't use BP_SYM.
62638         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
62639         <bp-asm.h>.
62640         (__mpn_add_n): Don't use BP_SYM.
62641         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
62642         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
62643         and <bp-asm.h>.
62644         (__mpn_addmul_1): Don't use BP_SYM.
62645         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62646         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
62647         <bp-sym.h>.
62648         (_setjmp): Don't use BP_SYM.
62649         (__novmx_setjmp): Likewise.
62650         (__GI__setjmp): Likewise.
62651         (__vmx_setjmp): Likewise.
62652         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
62653         <bp-sym.h>.
62654         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
62655         (__bzero): Don't use BP_SYM.
62656         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62657         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62658         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
62659         <bp-sym.h> and <bp-asm.h>.
62660         (memcpy): Don't use BP_SYM.
62661         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
62662         <bp-sym.h> and <bp-asm.h>.
62663         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62664         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
62665         <bp-sym.h> and <bp-asm.h>.
62666         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62667         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
62668         <bp-asm.h>.
62669         (__mpn_lshift): Don't use BP_SYM.
62670         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62671         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
62672         <bp-asm.h>.
62673         (memset): Don't use BP_SYM.
62674         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62675         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62676         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
62677         <bp-asm.h>.
62678         (__mpn_mul_1): Don't use BP_SYM.
62679         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62680         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
62681         <bp-sym.h> and <bp-asm.h>.
62682         (memcmp): Don't use BP_SYM.
62683         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
62684         <bp-sym.h> and <bp-asm.h>.
62685         (memcpy): Don't use BP_SYM.
62686         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
62687         <bp-sym.h> and <bp-asm.h>.
62688         (memset): Don't use BP_SYM.
62689         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
62690         <bp-sym.h> and <bp-asm.h>.
62691         (strncmp): Don't use BP_SYM.
62692         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
62693         <bp-sym.h> and <bp-asm.h>.
62694         (memcpy): Don't use BP_SYM.
62695         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
62696         <bp-sym.h> and <bp-asm.h>.
62697         (memset): Don't use BP_SYM.
62698         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
62699         <bp-sym.h> and <bp-asm.h>.
62700         (__memchr): Don't use BP_SYM.
62701         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
62702         <bp-sym.h> and <bp-asm.h>.
62703         (memcmp): Don't use BP_SYM.
62704         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
62705         <bp-sym.h> and <bp-asm.h>.
62706         (memcpy): Don't use BP_SYM.
62707         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
62708         <bp-sym.h> and <bp-asm.h>.
62709         (__mempcpy): Don't use BP_SYM.
62710         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
62711         <bp-sym.h> and <bp-asm.h>.
62712         (__memrchr): Don't use BP_SYM.
62713         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
62714         <bp-sym.h> and <bp-asm.h>.
62715         (memset): Don't use BP_SYM.
62716         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
62717         <bp-sym.h> and <bp-asm.h>.
62718         (__rawmemchr): Don't use BP_SYM.
62719         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
62720         <bp-sym.h> and <bp-asm.h>.
62721         (__STRCMP): Don't use BP_SYM.
62722         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
62723         <bp-sym.h> and <bp-asm.h>.
62724         (strchr): Don't use BP_SYM.
62725         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
62726         <bp-sym.h> and <bp-asm.h>.
62727         (__strchrnul): Don't use BP_SYM.
62728         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
62729         <bp-sym.h> and <bp-asm.h>.
62730         (strlen): Don't use BP_SYM.
62731         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
62732         <bp-sym.h> and <bp-asm.h>.
62733         (strncmp): Don't use BP_SYM.
62734         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
62735         <bp-sym.h> and <bp-asm.h>.
62736         (__strnlen): Don't use BP_SYM.
62737         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
62738         <bp-asm.h>.
62739         (__mpn_rshift): Don't use BP_SYM.
62740         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62741         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
62742         <bp-sym.h> and <bp-asm.h>.
62743         (__sigsetjmp): Don't use BP_SYM.
62744         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
62745         (L(start_addresses)): Don't use BP_SYM.
62746         (_start): Likewise.
62747         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
62748         <bp-asm.h>.
62749         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
62750         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62751         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62752         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
62753         <bp-asm.h>.
62754         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
62755         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62756         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62757         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
62758         <bp-asm.h>.
62759         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62760         comments.
62761         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62762         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
62763         <bp-asm.h>.
62764         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
62765         FIXME comments.
62766         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62767         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62768         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
62769         <bp-asm.h>.
62770         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62771         comment.
62772         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
62773         and <bp-asm.h>.
62774         (strncmp): Don't use BP_SYM,
62775         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
62776         <bp-asm.h>.
62777         (__mpn_sub_n): Don't use BP_SYM.
62778         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62779         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
62780         and <bp-asm.h>.
62781         (__mpn_submul_1): Don't use BP_SYM.
62782         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
62784         <bp-sym.h> and <bp-asm.h>.
62785         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
62787         <bp-sym.h> and <bp-asm.h>.
62788         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62789         comment.
62791 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
62794         Use ZK to minimize writes to Z.
62795         (sub_magnitudes): Simplify code a bit.
62796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
62797         Use ZK to minimize writes to Z.
62798         (sub_magnitudes): Simplify code a bit.
62800 2013-02-27  Roland McGrath  <roland@hack.frob.com>
62802         * csu/gmon-start.c: Add special exception to license text.
62804 2013-02-27  Richard Henderson  <rth@redhat.com>
62806         * scripts/config.guess: Update from config.git.
62807         * scripts/config.sub: Likewise.
62809 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62811         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
62813         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
62815         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
62817         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
62819         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
62821 2013-02-26  Roland McGrath  <roland@hack.frob.com>
62823         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
62824         [$(build-shared = yes].
62826 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62828         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
62829         (__mul): Reduce iterations for calculating mantissa.
62831         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
62832         MPTWO.
62833         (__mpranred): Likewise.
62835         [BZ #15160]
62836         * malloc/memusagestat.c (main): Draw graphs for heap and stack
62837         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
62839 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
62841         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
62842         Define __attribute__.
62844 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62846         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
62847         unused.
62848         * posix/regex_internal.h (__attribute): Remove.
62849         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
62850         (re_string_context_at): Likewise.
62851         (bitset_not): Use __attribute__ and mark function as possibly
62852         unused.
62853         (bitset_merge): Likewise.
62854         (bitset_mask): Likewise.
62855         (re_string_char_size_at): Likewise.
62856         (re_string_wchar_at): Likewise.
62857         (re_string_elem_size_at): Likewise.
62859 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62861         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
62862         code.
62863         (cc32): Likewise.
62865         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
62866         (__acr): Likewise.
62867         (__cpy): Likewise.
62868         (norm): Likewise.
62869         (denorm): Likewise.
62870         (__dbl_mp): Likewise.
62871         (add_magnitudes): Likewise.
62872         (sub_magnitudes): Likewise.
62873         (__mul): Likewise.
62874         (__inv): Likewise.
62876         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
62877         style.
62879         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
62880         style.
62882         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
62883         code.
62885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
62886         up changes with default code.
62887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
62888         Likewise.
62890 2013-02-24  Allan McRae  <allan@archlinux.org>
62892         * manual/socket.texi (The Internet Namespace): Order menu items
62893         to match that in the file.
62895         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
62896         node listing of the info page menu.
62898 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
62900         [BZ #13550]
62901         * sysdeps/i386/bp-asm.h: Remove file.
62902         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62903         (PARMS): Do not use macros from bp-asm.h.
62904         (S1): Likewise.
62905         (S2): Likewise.
62906         (SIZE): Likewise.
62907         (__mpn_add_n): Do not use BP_SYM
62908         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
62909         "bp-asm.h".
62910         (PARMS): Do not use macros from bp-asm.h.
62911         (S1): Likewise.
62912         (SIZE): Likewise.
62913         (__mpn_addmul_1): Do not use BP_SYM
62914         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
62915         "bp-asm.h".
62916         (PARMS): Do not use macros from bp-asm.h.
62917         (SIGMSK): Likewise.
62918         (_setjmp): Likewise.  Do not use BP_SYM.
62919         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
62920         "bp-asm.h".
62921         (PARMS): Do not use macros from bp-asm.h.
62922         (SIGMSK): Likewise.
62923         (setjmp): Likewise.  Do not use BP_SYM.
62924         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
62925         "bp-asm.h".
62926         (PARMS): Do not use macros from bp-asm.h.
62927         (__frexp): Do not use BP_SYM.
62928         (frexp): Likewise.
62929         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
62930         "bp-asm.h".
62931         (PARMS): Do not use macros from bp-asm.h.
62932         (__frexpf): Do not use BP_SYM.
62933         (frexpf): Likewise.
62934         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
62935         "bp-asm.h".
62936         (PARMS): Do not use macros from bp-asm.h.
62937         (__frexpl): Do not use BP_SYM.
62938         (frexpl): Likewise.
62939         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
62940         "bp-asm.h".
62941         (PARMS): Do not use macros from bp-asm.h.
62942         (__remquo): Do not use BP_SYM.
62943         (remquo): Likewise.
62944         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
62945         "bp-asm.h".
62946         (PARMS): Do not use macros from bp-asm.h.
62947         (__remquof): Do not use BP_SYM.
62948         (remquof): Likewise.
62949         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
62950         "bp-asm.h".
62951         (PARMS): Do not use macros from bp-asm.h.
62952         (__remquol): Do not use BP_SYM.
62953         (remquol): Likewise.
62954         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
62955         "bp-asm.h".
62956         (PARMS): Do not use macros from bp-asm.h.
62957         (DEST): Likewise.
62958         (SRC): Likewise.
62959         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
62960         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
62961         "bp-asm.h".
62962         (PARMS): Do not use macros from bp-asm.h.
62963         (strlen): Do not use BP_SYM.
62964         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
62965         "bp-asm.h".
62966         (PARMS): Do not use macros from bp-asm.h.
62967         (S1): Likewise.
62968         (S2): Likewise.
62969         (SIZE): Likewise.
62970         (__mpn_add_n): Do not use BP_SYM.
62971         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
62972         "bp-asm.h".
62973         (PARMS): Do not use macros from bp-asm.h.
62974         (S1): Likewise.
62975         (SIZE): Likewise.
62976         (__mpn_addmul_1): Do not use BP_SYM.
62977         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
62978         weak_alias.
62979         (bzero): Likewise.
62980         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
62981         "bp-asm.h".
62982         (PARMS): Do not use macros from bp-asm.h.
62983         (S): Likewise.
62984         (SIZE): Likewise.
62985         (__mpn_lshift): Do not use BP_SYM.
62986         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
62987         "bp-asm.h".
62988         (PARMS): Do not use macros from bp-asm.h.
62989         (DEST): Likewise.
62990         (SRC): Likewise.
62991         (LEN): Likewise.
62992         (memcpy): Likewise.  Do not use BP_SYM.
62993         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
62994         libc_hidden_def and weak_alias.
62995         (mempcpy): Do not use BP_SYM in weak_alias.
62996         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
62997         "bp-asm.h".
62998         (PARMS): Do not use macros from bp-asm.h.
62999         (DEST): Likewise.
63000         (LEN): Likewise.
63001         [!BZERO_P] (CHR): Likewise.
63002         (memset): Likewise.  Do not use BP_SYM.
63003         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
63004         "bp-asm.h".
63005         (PARMS): Do not use macros from bp-asm.h.
63006         (S1): Likewise.
63007         (SIZE): Likewise.
63008         (__mpn_mul_1): Do not use BP_SYM.
63009         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
63010         "bp-asm.h".
63011         (PARMS): Do not use macros from bp-asm.h.
63012         (S): Likewise.
63013         (SIZE): Likewise.
63014         (__mpn_rshift): Do not use BP_SYM.
63015         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
63016         "bp-asm.h".
63017         (PARMS): Do not use macros from bp-asm.h.
63018         (STR): Likewise.
63019         (CHR): Likewise.
63020         (strchr): Likewise.  Do not use BP_SYM.
63021         (index): Do not use BP_SYM in weak_alias.
63022         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
63023         "bp-asm.h".
63024         (PARMS): Do not use macros from bp-asm.h.
63025         (DEST): Likewise.
63026         (SRC): Likewise.
63027         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
63028         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
63029         "bp-asm.h".
63030         (PARMS): Do not use macros from bp-asm.h.
63031         (strlen): Do not use BP_SYM.
63032         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
63033         "bp-asm.h".
63034         (PARMS): Do not use macros from bp-asm.h.
63035         (S1): Likewise.
63036         (S2): Likewise.
63037         (SIZE): Likewise.
63038         (__mpn_sub_n): Do not use BP_SYM.
63039         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
63040         "bp-asm.h".
63041         (PARMS): Do not use macros from bp-asm.h.
63042         (S1): Likewise.
63043         (SIZE): Likewise.
63044         (__mpn_submul_1): Do not use BP_SYM.
63045         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
63046         "bp-asm.h".
63047         (PARMS): Do not use macros from bp-asm.h.
63048         (S1): Likewise.
63049         (S2): Likewise.
63050         (SIZE): Likewise.
63051         (__mpn_add_n): Do not use BP_SYM.
63052         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
63053         weak_alias.
63054         (bzero): Likewise.
63055         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
63056         "bp-asm.h".
63057         (PARMS): Do not use macros from bp-asm.h.
63058         (BLK2): Likewise.
63059         (LEN): Likewise.
63060         (memcmp): Do not use BP_SYM.
63061         (bcmp): Do not use BP_SYM in weak_alias.
63062         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
63063         "bp-asm.h".
63064         (PARMS): Do not use macros from bp-asm.h.
63065         (DEST): Likewise.
63066         (SRC): Likewise.
63067         (LEN): Likewise.
63068         (memcpy): Likewise.  Do not use BP_SYM.
63069         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
63070         "bp-asm.h".
63071         (PARMS): Do not use macros from bp-asm.h.
63072         (DEST): Likewise.
63073         (SRC): Likewise.
63074         (LEN): Likewise.
63075         (memmove): Likewise.  Do not use BP_SYM.
63076         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
63077         "bp-asm.h".
63078         (PARMS): Do not use macros from bp-asm.h.
63079         (DEST): Likewise.
63080         (SRC): Likewise.
63081         (LEN): Likewise.
63082         (__mempcpy): Likewise.  Do not use BP_SYM.
63083         (mempcpy): Do not use BP_SYM in weak_alias.
63084         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
63085         "bp-asm.h".
63086         (PARMS): Do not use macros from bp-asm.h.
63087         (DEST): Likewise.
63088         (LEN): Likewise.
63089         [!BZERO_P] (CHR): Likewise.
63090         (memset): Likewise.  Do not use BP_SYM.
63091         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
63092         "bp-asm.h".
63093         (PARMS): Do not use macros from bp-asm.h.
63094         (STR2): Likewise.
63095         (strcmp): Do not use BP_SYM.
63096         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
63097         "bp-asm.h".
63098         (PARMS): Do not use macros from bp-asm.h.
63099         (STR): Likewise.
63100         (DELIM): Likewise.
63101         [USE_AS_STRTOK_R] (SAVE): Likewise.
63102         (FUNCTION): Likewise.  Do not use BP_SYM.
63103         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
63104         aliases.
63105         (strtok_r): Likewise.
63106         (__GI___strtok_r): Likewise.
63107         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63108         (PARMS): Do not use macros from bp-asm.h.
63109         (S): Likewise.
63110         (SIZE): Likewise.
63111         (__mpn_lshift): Do not use BP_SYM.
63112         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63113         (PARMS): Do not use macros from bp-asm.h.
63114         (STR): Likewise.
63115         (CHR): Likewise.
63116         (__memchr): Do not use BP_SYM.
63117         (memchr): Do not use BP_SYM in weak_alias.
63118         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63119         (PARMS): Do not use macros from bp-asm.h.
63120         (BLK2): Likewise.
63121         (LEN): Likewise.
63122         (memcmp): Do not use BP_SYM.
63123         (bcmp): Do not use BP_SYM in weak_alias.
63124         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
63125         (PARMS): Do not use macros from bp-asm.h.
63126         (S1): Likewise.
63127         (SIZE): Likewise.
63128         (__mpn_mul_1): Do not use BP_SYM.
63129         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
63130         "bp-asm.h".
63131         (PARMS): Do not use macros from bp-asm.h.
63132         (STR): Likewise.
63133         (CHR): Likewise.
63134         (__rawmemchr): Do not use BP_SYM.
63135         (rawmemchr): Do not use BP_SYM in weak_alias.
63136         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63137         (PARMS): Do not use macros from bp-asm.h.
63138         (S): Likewise.
63139         (SIZE): Likewise.
63140         (__mpn_rshift): Do not use BP_SYM.
63141         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63142         (PARMS): Do not use macros from bp-asm.h.
63143         (SIGMSK): Likewise.
63144         (__sigsetjmp): Likewise.  Do not use BP_SYM.
63145         * sysdeps/i386/start.S: Do not include "bp-sym.h".
63146         (_start): Do not use BP_SYM.
63147         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
63148         (PARMS): Do not use macros from bp-asm.h.
63149         (DEST): Likewise.
63150         (SRC): Likewise.
63151         (__stpcpy): Likewise.  Do not use BP_SYM.
63152         (stpcpy): Do not use BP_SYM in weak_alias.
63153         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
63154         "bp-asm.h".
63155         (PARMS): Do not use macros from bp-asm.h.
63156         (DEST): Likewise.
63157         (SRC): Likewise.
63158         (LEN): Likewise.
63159         (__stpncpy): Likewise.  Do not use BP_SYM.
63160         (stpncpy): Do not use BP_SYM in weak_alias.
63161         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63162         (PARMS): Do not use macros from bp-asm.h.
63163         (STR): Likewise.
63164         (CHR): Likewise.
63165         (strchr): Likewise.  Do not use BP_SYM.
63166         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
63167         "bp-asm.h".
63168         (PARMS): Do not use macros from bp-asm.h.
63169         (STR): Likewise.
63170         (CHR): Likewise.
63171         (__strchrnul): Likewise.  Do not use BP_SYM.
63172         (strchrnul): Do not use BP_SYM in weak_alias.
63173         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
63174         "bp-asm.h".
63175         (PARMS): Do not use macros from bp-asm.h.
63176         (STOP): Likewise.
63177         (strcspn): Do not use BP_SYM.
63178         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
63179         "bp-asm.h".
63180         (PARMS): Do not use macros from bp-asm.h.
63181         (STR): Likewise.
63182         (STOP): Likewise.
63183         (strpbrk): Likewise.  Do not use BP_SYM.
63184         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
63185         "bp-asm.h".
63186         (PARMS): Do not use macros from bp-asm.h.
63187         (STR): Likewise.
63188         (CHR): Likewise.
63189         (strrchr): Likewise.  Do not use BP_SYM.
63190         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
63191         (PARMS): Do not use macros from bp-asm.h.
63192         (SKIP): Likewise.
63193         (strspn): Do not use BP_SYM.
63194         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
63195         (PARMS): Do not use macros from bp-asm.h.
63196         (STR): Likewise.
63197         (DELIM): Likewise.
63198         (SAVE): Likewise.
63199         (FUNCTION): Likewise.  Do not use BP_SYM.
63200         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
63201         aliases.
63202         (strtok_r): Likewise.
63203         (__GI___strtok_r): Likewise.
63204         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63205         (PARMS): Do not use macros from bp-asm.h.
63206         (S1): Likewise.
63207         (S2): Likewise.
63208         (SIZE): Likewise.
63209         (__mpn_sub_n): Do not use BP_SYM.
63210         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
63211         "bp-asm.h".
63212         (PARMS): Do not use macros from bp-asm.h.
63213         (S1): Likewise.
63214         (SIZE): Likewise.
63215         (__mpn_submul_1): Do not use BP_SYM.
63216         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
63217         <bp-sym.h>.
63218         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
63219         and <bp-asm.h>.
63220         (PARMS): Do not use macros from bp-asm.h.
63221         (FLAGS): Likewise.
63222         (PTID): Likewise.
63223         (TLS): Likewise.
63224         (CTID): Likewise.
63225         (__clone): Do not use BP_SYM.
63226         (clone): Do not use BP_SYM in weak_alias.
63227         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
63228         and <bp-asm.h>.
63229         (PARMS): Do not use macros from bp-asm.h.
63230         (LEN): Likewise.
63231         (__mmap64): Do not use BP_SYM.
63232         (mmap64): Do not use BP_SYM in weak_alias.
63233         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63234         <bp-sym.h> and <bp-asm.h>.
63235         (PARMS): Do not use macros from bp-asm.h.
63236         (__posix_fadvise64_l64): Do not use BP_SYM.
63237         * sysdeps/unix/sysv/linux/i386/semtimedop.S
63238         (PARMS): Do not use macros from bp-asm.h.
63239         (NSOPS): Likewise.
63240         (semtimedop): Do not use BP_SYM.
63241         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
63242         and <bp-asm.h>.
63244 2013-02-21  Allan McRae  <allan@archlinux.org>
63246         * manual/message.texi (Charset conversion in gettext):
63247         Move @end statement to beginning of line.
63249 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
63252         static.
63253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63254         Likewise.
63256         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
63257         (denorm): Likewise.
63258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
63259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
63261 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63263         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
63264         tail-call to the resolved function if pltexit isn't needed.
63266 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
63269         or Y being zero as being unlikely.
63270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63271         Likewise.
63273 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
63275         * manual/nss.texi (System Databases and Name Service Switch):
63276         Remove frobnicate @pxref.
63278 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63280         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63281         __attribute__ ((unused)) to __attribute__ ((__unused__)).
63283 2013-02-20  Petr Machata  <pmachata@redhat.com>
63285         * elf/elf.h (R_ARM_TARGET1): New macro.
63286         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
63287         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
63288         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
63289         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
63290         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
63291         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
63292         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
63293         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
63294         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
63295         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
63296         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
63297         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
63298         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
63299         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
63300         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
63301         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
63302         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
63303         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
63304         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
63305         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
63306         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
63307         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
63308         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
63309         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
63310         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
63311         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
63312         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
63313         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
63314         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
63315         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
63316         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
63317         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
63318         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
63319         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
63320         (R_ARM_THM_GOT_BREL12): Likewise.
63321         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
63322         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
63323         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
63324         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
63325         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
63326         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
63327         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
63328         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
63329         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
63331 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63333         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63334         __attribute_used__ to __attribute__ ((unused)).
63336 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63338         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
63339         powerpc mpa.c.
63340         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
63341         comment formatting.
63342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
63344 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
63346         [BZ #13550]
63347         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
63348         Remove macro.
63349         (ENTER): Remove both macro definitions.
63350         (LEAVE): Likewise.
63351         (CHECK_BOUNDS_LOW): Likewise.
63352         (CHECK_BOUNDS_HIGH): Likewise.
63353         (CHECK_BOUNDS_BOTH): Likewise.
63354         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
63355         (RETURN_BOUNDED_POINTER): Likewise.
63356         (RETURN_NULL_BOUNDED_POINTER): Likewise.
63357         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
63358         (POP_ERRNO_LOCATION_RETURN): Likewise.
63359         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
63360         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63361         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
63362         macros.
63363         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63364         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
63365         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
63366         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
63367         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
63368         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
63369         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
63370         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
63371         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
63372         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
63373         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
63374         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
63375         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63376         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
63377         removed macros.
63378         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63379         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
63380         macros.
63381         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63382         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
63383         * sysdeps/i386/i586/memset.S (memset): Likewise.
63384         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
63385         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63386         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
63387         macros.
63388         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63389         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
63390         Change uses of L(2) to L(out).
63391         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
63392         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
63393         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
63394         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63395         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
63396         removed macros.
63397         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63398         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
63399         macros.
63400         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63401         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
63402         (RETURN): Do not use macro LEAVE.
63403         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
63404         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
63405         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
63406         * sysdeps/i386/i686/memset.S (memset): Likewise.
63407         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
63408         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
63409         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63410         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
63411         Likewise.
63412         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63413         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
63414         L(1_2) and L(1_3) into L(1).
63415         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63416         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
63417         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63418         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
63419         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63420         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
63421         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
63422         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63423         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
63424         macros.
63425         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
63426         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63427         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
63428         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
63429         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
63430         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63431         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
63432         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
63433         * sysdeps/i386/strcspn.S (strcspn): Likewise.
63434         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
63435         * sysdeps/i386/strrchr.S (strrchr): Likewise.
63436         * sysdeps/i386/strspn.S (strspn): Likewise.
63437         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
63438         conditional code.
63439         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63440         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
63441         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63442         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
63443         L(1_3) into L(1_1).
63444         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
63445         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63446         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
63447         macros.
63448         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63450 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
63452         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
63453         macro.
63455 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63457         * math/atest-exp.c (exp_mpn): Remove ROUND.
63458         * math/atest-exp2.c (exp_mpn): Likewise.
63459         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
63461         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
63462         * stdlib/tst-tls-atexit-lib.c: Likewise.
63463         * stdlib/tst-tls-atexit.c: Likewise.
63465 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63467         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
63468         and __attribute_alloc_size__.
63470 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63472         * include/programs/xmalloc.h: Change __attribute_alloc_size to
63473         __attribute_alloc_size__.
63474         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
63475         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
63477 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63479         * include/programs/xmalloc.h: New file.
63480         * catgets/gencat.c: Include it.
63481         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
63482         * elf/pldd.c: Likewise.
63483         * iconv/iconv_charmap.c: Likewise.
63484         * iconv/iconvconfig.c: Likewise.
63485         * iconv/strtab.c: Likewise.
63486         * locale/programs/locale.c: Likewise.
63487         * locale/programs/localedef.h: Likewise.
63488         * locale/programs/simple-hash.c: Likewise.
63489         * nscd/nscd.h: Likewise.
63490         * nss/makedb.c: Likewise.
63491         * sysdeps/generic/ldconfig.h: Likewise.
63493 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63495         * Versions.def: Add GLIBC_2.18.
63496         * include/link.h (struct link_map): New member l_tls_dtor_count.
63497         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
63498         (__call_tls_dtors): Likewise.
63499         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
63500         __cxa_thread_atexit_impl.
63501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63502         Likewise.
63503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63504         Likewise.
63505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
63506         Likewise.
63507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
63508         Likewise.
63509         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
63511         Likewise.
63512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
63513         Likewise.
63514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63515         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63516         Likewise.
63517         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
63518         (tests): Add test case tst-tls-atexit.
63519         (modules-names): Add shared library for tst-tls-atexit.
63520         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
63521         (GLIBC_PRIVATE): Add __call_tls_dtors.
63522         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
63523         for libstdc++.
63524         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
63525         * stdlib/tst-tls-atexit.c: New test case.
63526         * stdlib/tst-tls-atexit-lib.c: New test case.
63528         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
63530         * elf/Versions (ld): Add _dl_find_dso_for_object.
63531         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
63532         * elf/dl-open.c (_dl_find_dso_for_object): New function.
63533         (dl_open_worker): Use _dl_find_dso_for_object.
63534         * elf/dl-sym.c (do_sym): Likewise.
63535         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
63537 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63539         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
63540         Syntactic changes only.
63541         (_dl_runtime_profile): Do a tail-call to the resolved function.
63543 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
63545         [BZ #13550]
63546         * sysdeps/x86_64/bp-asm.h: Remove file.
63547         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
63548         <bp-sym.h> and <bp-asm.h>.
63549         (__clone): Do not use BP_SYM.
63550         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
63551         <bp-sym.h> and <bp-asm.h>.
63552         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63553         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
63554         "bp-asm.h".
63555         (_setjmp): Do not use BP_SYM.
63556         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
63557         "bp-asm.h".
63558         (setjmp): Do not use BP_SYM.
63559         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
63560         libc_hidden_def.
63561         (mempcpy): Do not use BP_SYM in weak_alias.
63562         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
63563         "bp-asm.h".
63564         (strchr): Do not use BP_SYM.
63565         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
63566         "bp-asm.h".
63567         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
63568         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
63569         (_start): Do not use BP_SYM.
63570         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
63571         "bp-asm.h".
63572         (strcat): Do not use BP_SYM.
63573         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
63574         "bp-asm.h".
63575         (STRCMP): Do not use BP_SYM.
63576         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
63577         "bp-asm.h".
63578         (STRCPY): Do not use BP_SYM.
63579         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
63580         "bp-asm.h".
63581         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
63582         "bp-asm.h".
63583         (FUNCTION): Do not use BP_SYM.
63584         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
63585         weak_alias.
63586         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
63588 2013-02-17  Andreas Jaeger  <aj@suse.de>
63590         * time/Versions: Sort entries.
63591         * string/Versions: Likewise.
63592         * resolv/Versions: Likewise.
63593         * posix/Versions: Likewise.
63594         * iconv/Versions: Likewise.
63595         * elf/Versions: Likewise.
63596         * wcsmbs/Versions: Likewise.
63598 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63600         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
63601         loop termination condition.
63603         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
63604         variable to calculate EZ.
63605         (__sqr): Likewise.
63607         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
63608         the lower precision input.
63610 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
63612         [BZ #13550]
63613         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
63614         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
63615         (run-via-rtld-prefix): Do not handle %-bp tests.
63616         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
63617         (all-object-suffixes): Remove .ob.
63618         (bppfx): Remove variable.
63619         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
63620         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
63621         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
63622         [$(build-bounded) = yes] (libtype.ob): Likewise.
63623         * Makerules (elide-routines.ob): Remove variable.
63624         (do-tests-clean): Do not handle *-bp.out.
63625         (common-mostlyclean): Do not handle *-bp and *-bp.out.
63626         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
63627         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
63628         (tests): Do not include $(tests-bp.out).
63629         (xtests): Do not include $(xtests-bp.out).
63630         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
63631         [$(build-bounded) = yes] ($(addprefix
63632         $(objpfx),$(binaries-bounded))): Remove rule.
63633         ($(objpfx)%-bp.out): Remove rule.
63634         * config.make.in (build-bounded): Remove variable.
63635         * crypt/Makefile [$(build-bounded) = yes]
63636         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
63637         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
63638         append to variable.
63639         [$(build-bounded) = yes] (install-lib): Likewise.
63640         [$(build-bounded) = yes] (generated): Likewise.
63641         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
63642         Remove rule.
63643         * intl/Makefile [$(build-bounded) = yes]
63644         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
63645         * math/Makefile [$(build-bounded) = yes]
63646         ($(tests:%=$(objpfx)%-bp): Likewise.
63647         * misc/Makefile [$(build-bounded) = yes]
63648         ($(objpfx)tst-tsearch-bp): Likewise.
63649         * nptl/Makeconfig (bounded-thread-library): Remove variable.
63650         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
63651         Remove dependency.
63652         * string/Makefile (o-objects.ob): Remove variable.
63653         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
63654         (CFLAGS-.ob): Remove variable.
63655         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
63656         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
63657         both definitions of variable.
63658         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
63659         (ASFLAGS-.ob): Remove variable.
63661 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
63663         [BZ #13550]
63664         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
63665         Remove __BOUNDED_POINTERS__ from condition.
63666         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
63667         * string/bits/string2.h [!__NO_STRING_INLINES &&
63668         !__BOUNDED_POINTERS__]: Likewise.
63669         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
63670         Likewise.
63671         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
63672         Remove conditional code.
63673         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
63674         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
63675         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
63676         condition.
63678         [BZ #13550]
63679         * csu/libc-start.c: Do not include <bp-sym.h>.
63680         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
63681         * elf/dl-open.c: Do not include <bp-sym.h>.
63682         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
63683         * math/fegetenv.c: Do not include <bp-sym.h>.
63684         (fegetenv): Do not use BP_SYM in versioned symbols.
63685         * nptl/sysdeps/pthread/bits/libc-lockP.h
63686         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
63687         <bp-sym.h>.
63688         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63689         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
63690         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63691         (__pthread_mutex_destroy): Likewise.
63692         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63693         (__pthread_mutex_lock): Likewise.
63694         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63695         (__pthread_mutex_trylock): Likewise.
63696         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63697         (__pthread_mutex_unlock): Likewise.
63698         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63699         (__pthread_mutexattr_init): Likewise.
63700         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63701         (__pthread_mutexattr_destroy): Likewise.
63702         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63703         (__pthread_mutexattr_settype): Likewise.
63704         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63705         (__pthread_rwlock_init): Likewise.
63706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63707         (__pthread_rwlock_destroy): Likewise.
63708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63709         (__pthread_rwlock_rdlock): Likewise.
63710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63711         (__pthread_rwlock_tryrdlock): Likewise.
63712         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63713         (__pthread_rwlock_wrlock): Likewise.
63714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63715         (__pthread_rwlock_trywrlock): Likewise.
63716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63717         (__pthread_rwlock_unlock): Likewise.
63718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63719         (__pthread_key_create): Likewise.
63720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63721         (__pthread_setspecific): Likewise.
63722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63723         (__pthread_getspecific): Likewise.
63724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
63725         Likewise.
63726         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63727         (_pthread_cleanup_push_defer): Likewise.
63728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63729         (_pthread_cleanup_pop_restore): Likewise.
63730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63731         (pthread_setcancelstate): Likewise.
63732         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
63733         <bp-sym.h>.
63734         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
63735         (memchr): Do not use BP_SYM in weak_alias.
63736         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
63737         (fegetenv): Do not use BP_SYM in versioned symbols.
63738         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
63739         (fesetenv): Do not use BP_SYM in versioned symbols.
63740         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63741         (feupdateenv): Do not use BP_SYM in versioned symbols.
63742         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63743         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63744         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
63745         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
63746         (open64): Do not use BP_SYM in weak_alias.
63747         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
63748         (fegetenv): Do not use BP_SYM in versioned symbols.
63749         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
63750         (fesetenv): Do not use BP_SYM in versioned symbols.
63751         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63752         (feupdateenv): Do not use BP_SYM in versioned symbols.
63753         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
63754         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
63755         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
63756         (feraiseexcept): Do not use BP_SYM in versioned symbols.
63757         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63758         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63759         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
63760         <bp-sym.h>.
63761         (__libc_start_main): Do not use BP_SYM.
63763 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63765         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
63766         redundant return line.
63767         (norm): Likewise.
63768         (denorm): Likewise.
63769         (dbl_mp): Likewise.
63770         (sub_magnitudes): Likewise.
63771         (__add): Likewise.
63772         (__sub): Likewise.
63773         (__mul): Likewise.
63774         (__inv): Likewise.
63775         (__dvd): Likewise.
63776         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
63777         (norm): Likewise.
63778         (denorm): Likewise.
63779         (dbl_mp): Likewise.
63780         (sub_magnitudes): Likewise.
63781         (__add): Likewise.
63782         (__sub): Likewise.
63783         (__mul): Likewise.
63784         (__inv): Likewise.
63785         (__dvd): Likewise.
63787         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
63788         instead of __mul.
63789         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63790         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
63791         (cc32): Likewise.
63793         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
63794         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
63795         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
63796         of __mul for squares.
63797         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
63798         function
63799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
63800         Likewise.
63801         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
63802         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63804 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
63806         [BZ #13550]
63807         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
63808         code.
63809         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
63810         prototype or function definition.  Rename ubp_* variables and
63811         parameters.  Remove argv definitions conditional on
63812         [__BOUNDED_POINTERS__].
63813         * debug/backtrace.c (__backtrace): Do not use __unbounded.
63814         * elf/dl-runtime.c (_dl_fixup): Likewise.
63815         * include/set-hooks.h (RUN_HOOK): Likewise.
63816         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
63817         definition.
63818         * string/strcpy.c (strcpy): Do not use __unbounded.
63819         * sysdeps/generic/frame.h (struct layout): Likewise.
63820         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
63821         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
63822         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
63823         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
63824         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
63825         (__backtrace): Likewise.
63826         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
63827         use __ptrvalue.
63828         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
63829         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
63830         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
63831         Likewise.
63832         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
63833         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
63834         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
63835         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63836         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
63837         Do not use __unbounded.
63838         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
63839         Rename __unboundedrlimits parameter to rlimits in prototype.
63840         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
63841         Do not use __unbounded.
63842         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
63843         not use __ptrvalue.
63844         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63845         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
63846         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63847         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
63848         __ptrvalue or __unbounded.
63849         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
63850         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
63851         use __unbounded.
63852         (__new_msgctl): Do not use __ptrvalue.
63853         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
63854         __unbounded.
63855         (__libc_msgrcv): Do not use __ptrvalue.
63856         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
63857         startup_info): Do not use __unbounded.
63858         (__libc_start_main): Likewise.  Rename ubp_* variables and
63859         parameters.  Remove argv definitions conditional on
63860         [__BOUNDED_POINTERS__].
63861         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
63862         __ptrvalue.
63863         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
63864         use __unbounded.
63865         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
63866         or __ptrvalue.
63867         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
63868         use __unbounded.
63869         (__new_shmctl): Do not use __ptrvalue.
63870         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
63871         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
63872         Likewise.
63873         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
63874         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
63875         (__libc_sigaction): Likewise.
63876         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
63877         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
63878         Likewise.
63879         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63881 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
63883         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
63885         * string/mempcpy.c: Implement by calling memcpy.
63887 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63889         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
63891         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
63892         evaluation.
63894         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
63895         values in the mantissa.
63897         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
63898         minimize writes to Z.
63899         (sub_magnitudes): Simplify code a bit.
63901 2013-02-12  Roland McGrath  <roland@hack.frob.com>
63903         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
63904         from the message.  The linker prefixes all warnings with that already.
63906 2013-02-12  Andreas Schwab  <schwab@suse.de>
63908         [BZ #15078]
63909         * posix/regexec.c (extend_buffers): Add parameter min_len.
63910         (check_matching): Pass minimum needed length.
63911         (clean_state_log_if_needed): Likewise.
63912         (get_subexp): Likewise.
63913         * posix/Makefile (tests): Add bug-regex34.
63914         (bug-regex34-ENV): Define.
63915         * posix/bug-regex34.c: New file.
63917         [BZ #11561]
63918         * posix/regcomp.c (parse_bracket_exp): When looking up collating
63919         elements compare against the byte sequence of it, not its name.
63920         * posix/Makefile (tests): Add bug-regex35.
63921         (bug-regex35-ENV): Define.
63922         * posix/bug-regex35.c: New file.
63924 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63926         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
63927         comment.
63928         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
63929         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
63930         (CHECK_EOL): Add undef.
63932 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
63934         * bits/stdlib-bsearch.h: New file.
63935         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
63936         * stdlib/stdlib.h: Likewise.
63938 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63940         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
63941         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
63942         declaration.
63943         * manual/search.texi (Array Search Function): Add missing const in
63944         lfind prototype.
63945         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
63946         declaration to use rlim_t.
63947         (Basic Scheduling Functions): Remove erroneous const from
63948         sched_getparam prototype.  Remove erroneous * from
63949         sched_get_priority_max and sched_get_priority_min prototypes.
63950         (Resource Usage): Fix summary @comment on vtimes to refer to
63951         sys/vtimes.h rather than vtimes.h.
63952         Add missing *s in vtimes prototype.
63953         (Limits on Resources): Fix ulimit prototype to return long int.
63954         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
63955         prototypes to use long int rather than double.
63956         (BSD Random): Fix initstate and setstate to use char *, not void *.
63957         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
63958         prototype to make second argument 'struct aiocb64 *const[]'.
63959         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
63960         (Status of AIO Operations): Remove erroneous const in aio_return and
63961         aio_return64 prototypes.
63962         (Synchronizing I/O): Fix sync prototype to return void.
63963         * manual/startup.texi (Suboptions): Remove an erroneous const in
63964         getsubopt prototype.
63965         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
63966         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
63967         use size_t rather than int.
63968         (Scanning All Users): Likewise for getpwent_r.
63969         (Setting Groups): Add missing const to setgroups prototype.
63970         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
63971         * manual/socket.texi (Host Names): Fix gethostbyaddr and
63972         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
63973         'const void *' rather than 'const char *'.
63974         (Host Address Functions): Likewise for inet_ntop.
63975         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
63976         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
63977         ssize_t for return value.
63978         (Sending Data): Likewise for send, sendto, sendmsg.
63979         (Socket Option Functions): Add a missing const in setsockopt prototype.
63980         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
63981         use wchar_t for the argument.
63982         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
63983         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
63984         take no arguments.
63985         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
63986         double/float/long double for second argument.
63987         Fix return types of significand, significandf, significandl.
63988         * manual/filesys.texi (Setting Permissions): Use mode_t for second
63989         argument in fchmod prototype.
63990         (File Owner): Use uid_t and gid_t in fchown prototype.
63991         (File Times): Add const to utimes, futimes, and lutimes prototypes.
63992         (Making Special Files): Use mode_t and dev_t in mknod prototype.
63993         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
63994         use 'const struct dirent **' as argument types to CMP function pointer
63995         argument.
63996         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
63997         (File Times): Fix summary magic @comment for struct utimbuf and utime
63998         to refer to utime.h, not time.h.
63999         * manual/string.texi (Argz Functions): Add missing const in
64000         argz_extract and argz_next prototypes.
64001         (Finding Tokens in a String): Likewise for basename.
64002         (String/Array Comparison): Fix typo in wcscasecmp prototype.
64003         (Copying and Concatenation): Fix typo in wmemmove prototype.
64004         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
64005         (Signal Stack): Remove erroneous const in sigstack prototype.
64006         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
64007         prototype.
64008         (Simple Calendar Time): Likewise for stime.
64009         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
64010         prototype.
64011         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
64012         say sys/sysctl.h instead.
64013         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
64014         and vsyslog prototypes.
64016 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64018         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
64019         Remove.
64021 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64023         * misc/sys/mman.h: Fix typo in mremap comment.
64025 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64027         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
64028         the '\0' terminator.
64030 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64032         [BZ #13550]
64033         * debug/segfault.c: Don't include <bp-checks.h>.
64034         * sysdeps/generic/bp-checks.h: Remove file.
64035         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
64036         (__GETDENTS): Don't use CHECK_N.
64037         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
64038         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
64039         (__getgroups): Don't use CHECK_N.
64040         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
64041         (setgroups): Don't use CHECK_N.
64042         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
64043         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
64044         (__libc_msgrcv): Don't use CHECK_N.
64045         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
64046         (__libc_msgsnd): Don't use CHECK_N.
64047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
64048         <bp-checks.h>.
64049         (__libc_pread): Don't use CHECK_N.
64050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
64051         include <bp-checks.h>.
64052         (__libc_pread64): Don't use CHECK_N.
64053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
64054         include <bp-checks.h>.
64055         (__libc_pwrite): Don't use CHECK_N.
64056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
64057         include <bp-checks.h>.
64058         (__libc_pwrite64): Don't use CHECK_N.
64059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
64060         <bp-checks.h>.
64061         (__libc_pread): Don't use CHECK_N.
64062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
64063         include <bp-checks.h>.
64064         (__libc_pread64): Don't use CHECK_N.
64065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
64066         include <bp-checks.h>.
64067         (__libc_pwrite): Don't use CHECK_N.
64068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
64069         include <bp-checks.h>.
64070         (__libc_pwrite64): Don't use CHECK_N.
64071         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
64072         (do_pread): Don't use CHECK_N.
64073         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
64074         (do_pread64): Don't use CHECK_N.
64075         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
64076         (do_pwrite): Don't use CHECK_N.
64077         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
64078         (do_pwrite64): Don't use CHECK_N.
64079         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
64080         (__libc_readv): Don't use CHECK_N.
64081         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
64082         (semop): Don't use CHECK_N.
64083         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64084         <bp-checks.h>.
64085         (semtimedop): Don't use CHECK_N.
64086         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
64087         (__libc_pread): Don't use CHECK_N.
64088         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
64089         <bp-checks.h>.
64090         (__libc_pread64): Don't use CHECK_N.
64091         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
64092         <bp-checks.h>.
64093         (__libc_pwrite): Don't use CHECK_N.
64094         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
64095         <bp-checks.h>.
64096         (__libc_pwrite64): Don't use CHECK_N.
64097         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
64098         <bp-checks.h>.
64099         (__libc_msgrcv): Don't use CHECK_N.
64100         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
64101         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
64102         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
64103         (__libc_writev): Don't use CHECK_N.
64105 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64107         * string/strcpy.c: Removed unused variable.
64109         * Makeconfig (+sysdep-includes): Define with := rather than =.
64110         Use an existing include/ subdir of each sysdeps dir before it.
64112 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64114         * nscd/connection.c (register_traced_file): Comment function.
64115         [HAVE_INOTIFY] (union __inev): Define.
64116         [HAVE_INOTIFY] (inotify_check_files): New function.
64117         [HAVE_INOTIFY] (clear_db_cache): Likewise.
64118         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
64119         clear_db_cache.
64120         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
64122 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64124         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
64125         loaded if not already and that a failure is permanent.
64127 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64129         [BZ #15006]
64130         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
64131         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
64133 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64135         [BZ #13550]
64136         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
64137         (CHECK_1_NULL_OK): Likewise.
64138         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
64139         (__fxstat): Do not use CHECK_1.
64140         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
64141         <bp-checks.h>.
64142         (___fxstat64): Do not use CHECK_1.
64143         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
64144         <bp-checks.h>.
64145         (__fxstatat): Do not use CHECK_1.
64146         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
64147         <bp-checks.h>.
64148         (__fxstatat64): Do not use CHECK_1.
64149         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
64150         <bp-checks.h>.
64151         (__fxstat): Do not use CHECK_1.
64152         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
64153         <bp-checks.h>.
64154         (__fxstatat): Do not use CHECK_1.
64155         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64156         <bp-checks.h>.
64157         (__getresgid): Do not use CHECK_1.
64158         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64159         <bp-checks.h>.
64160         (__getresuid): Do not use CHECK_1.
64161         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
64162         <bp-checks.h>.
64163         (__lxstat): Do not use CHECK_1.
64164         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64165         <bp-checks.h>.
64166         (__old_msgctl): Do not use CHECK_1.
64167         (__new_msgctl): Likewise.
64168         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
64169         <bp-checks.h>.
64170         (__new_setrlimit): Do not use CHECK_1.
64171         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64172         <bp-checks.h>.
64173         (__old_shmctl): Do not use CHECK_1.
64174         (__new_shmctl): Likewise.
64175         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
64176         <bp-checks.h>.
64177         (__xstat): Do not use CHECK_1.
64178         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
64179         (__lxstat): Do not use CHECK_1.
64180         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
64181         <bp-checks.h>.
64182         (___lxstat64): Do not use CHECK_1.
64183         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
64184         (__old_msgctl): Do not use CHECK_1.
64185         (__new_msgctl): Likewise.
64186         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
64187         <bp-checks.h>.
64188         (__gettimeofday): Do not use CHECK_1.
64189         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
64190         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
64191         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
64192         <bp-checks.h>.
64193         (__gettimeofday): Do not use CHECK_1.
64194         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
64195         (__old_shmctl): Do not use CHECK_1_NULL_OK.
64196         (__new_shmctl): Do not use CHECK_1.
64197         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
64198         <bp-checks.h>.
64199         (do_sigtimedwait): Do not use CHECK_1.
64200         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
64201         <bp-checks.h>.
64202         (do_sigwaitinfo): Do not use CHECK_1.
64203         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
64204         <bp-checks.h>.
64205         (msgctl): Do not use CHECK_1.
64206         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
64207         <bp-checks.h>.
64208         (shmctl): Do not use CHECK_1.
64209         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
64210         (ustat): Do not use CHECK_1.
64211         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
64212         <bp-checks.h>.
64213         (__fxstat): Do not use CHECK_1.
64214         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
64215         <bp-checks.h>.
64216         (__fxstatat): Do not use CHECK_1.
64217         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
64218         <bp-checks.h>.
64219         (__lxstat): Do not use CHECK_1.
64220         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
64221         <bp-checks.h>.
64222         (__xstat): Do not use CHECK_1.
64223         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
64224         (__xstat): Do not use CHECK_1.
64225         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
64226         (___xstat64): Do not use CHECK_1.
64228         [BZ #13550]
64229         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
64230         definitions.
64231         (CHECK_BOUNDS_HIGH): Likewise.
64232         * string/strcpy.c: Do not include <bp-checks.h>.
64233         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
64235 2013-02-07  Roland McGrath  <roland@hack.frob.com>
64237         * nscd/nscd-client.h (__nscd_drop_map_ref):
64238         Add __attribute__ ((unused)).
64239         * nis/nss-nisplus.h (niserr2nss): Likewise.
64241         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
64242         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
64244         * csu/libc-tls.c (init_static_tls, init_slotinfo):
64245         Remove inline keyword.
64246         * include/rounding-mode.h (round_away): Likewise.
64247         * libio/wfileops.c (adjust_wide_data): Likewise.
64248         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
64249         (__m128i_strloadu_tolower): Likewise.
64250         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
64251         (__m128i_strloadu_tolower): Likewise.
64252         * time/mktime.c (ydhms_diff): Likewise.
64253         * locale/elem-hash.h (elem_hash): Likewise.
64254         * locale/setlocale.c (setdata): Likewise.
64255         * posix/regex_internal.h (re_string_char_size_at): Likewise.
64256         (re_string_wchar_at): Likewise.
64257         (bitset_not, bitset_merge, bitset_mask): Likewise.
64258         [!(__GNUC__ > 3)] (inline): Remove macro.
64259         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
64260         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
64261         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
64262         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
64263         * string/memcmp.c (memcmp_bytes): Likewise.
64264         * locale/programs/locarchive.c (compute_hashval): Likewise.
64265         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
64266         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
64267         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
64268         * nss/getent.c (print_rpc, print_protocols): Likewise.
64269         (print_passwd, print_group, print_aliases): Likewise.
64270         * nis/nss-nisplus.h (niserr2nss): Likewise.
64271         * nscd/connections.c (restart_p): Likewise.
64272         Change return type to bool.
64274 2013-02-05  Roland McGrath  <roland@hack.frob.com>
64276         * Makeconfig (all-Depend-files): Add existing
64277         $(sorted-subdirs:=/Depend) files.
64278         (all-subdirs): Remove nss.
64279         * sysdeps/unix/inet/Subdirs: Add it here instead.
64280         * hesiod/Depend: New file.
64282         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
64283         instead of calling alloca.
64285         * io/lseek.c (__lseek): Rename to __libc_lseek.
64286         Define __lseek as an alias.
64288         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
64290 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
64292         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
64293         else clause and remove check for non-standard endianness.
64295 2013-02-04  David S. Miller  <davem@davemloft.net>
64297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64299 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
64301         [BZ #13550]
64302         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
64303         (__ubp_memchr): Remove prototype.
64304         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
64305         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64306         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
64307         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64308         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
64309         Remove alias.
64310         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
64311         (__ubp_memchr): Likewise.
64312         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
64313         (__ubp_memchr): Likewise.
64314         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
64315         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
64316         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
64317         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
64318         CHECK_STRING.
64319         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
64320         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
64321         (__getcwd): Do not use CHECK_STRING.
64322         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64323         <bp-checks.h>.
64324         (__real_chown): Do not use CHECK_STRING.
64325         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
64326         <bp-checks.h>.
64327         (fchownat): Do not use CHECK_STRING.
64328         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
64329         CHECK_STRING.
64330         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64331         <bp-checks.h>.
64332         (__lchown): Do not use CHECK_STRING.
64333         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64334         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64335         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64336         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
64337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64338         include <bp-checks.h>.
64339         (truncate64): Do not use CHECK_STRING.
64340         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64341         <bp-checks.h>.
64342         (__real_chown): Do not use CHECK_STRING.
64343         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64344         <bp-checks.h>.
64345         (__lchown): Do not use CHECK_STRING.
64346         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64347         <bp-checks.h>.
64348         (__chown): Do not use CHECK_STRING.
64349         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
64350         <bp-checks.h>.
64351         (truncate64): Do not use CHECK_STRING.
64352         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
64353         Likewise.
64354         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
64355         (__xmknod): Do not use CHECK_STRING.
64356         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
64357         <bp-checks.h>.
64358         (__xmknodat): Do not use CHECK_STRING.
64359         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64360         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
64362 2013-02-04  Andreas Schwab  <schwab@suse.de>
64364         [BZ #14142]
64365         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
64366         * include/netdb.h: Likewise for h_errno.
64367         * elf/tst-stackguard1.c: Include <tls.h>.
64369 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
64371         * elf/link.h (struct link_map): Extend the l_addr comment.
64372         * include/link.h (struct link_map): Likewise.
64374 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
64376         [BZ #13550]
64377         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
64378         (BOUNDED_1): Remove macro.
64379         * debug/backtrace.c: Don't include <bp-checks.h>.
64380         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
64381         (__backtrace): Likewise.
64382         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
64383         <bp-checks.h>.
64384         (__backtrace): Don't use BOUNDED_1.
64385         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
64386         <bp-checks.h>.
64387         (__backtrace): Don't use BOUNDED_1.
64388         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
64389         (__backtrace): Don't use BOUNDED_1.
64390         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
64391         (shmat): Don't use BOUNDED_N.
64393 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
64395         [BZ #13550]
64396         * sysdeps/generic/bp-start.h: Remove file.
64397         * csu/libc-start.c: Don't include <bp-start.h>.
64398         (LIBC_START_MAIN): Set up __environ directly instead of using
64399         INIT_ARGV_and_ENVIRON.
64400         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
64401         <bp-start.h>.
64403         [BZ #13550]
64404         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
64405         definitions.
64406         (CHECK_FCNTL): Likewise.
64407         (CHECK_N_PAGES): Likewise.
64409         [BZ #13550]
64410         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
64411         definitions.
64412         (CHECK_SIGSET_NULL_OK): Likewise.
64413         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
64414         <bp-checks.h>.
64415         (sigpending): Don't use CHECK_SIGSET.
64416         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
64417         <bp-checks.h>.
64418         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64419         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
64420         <bp-checks.h>.
64421         (do_sigsuspend): Don't use CHECK_SIGSET.
64422         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
64423         use CHECK_SIGSET.
64424         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
64425         (do_sigwait): Don't use CHECK_SIGSET.
64426         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
64427         use CHECK_SIGSET.
64428         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
64429         include <bp-checks.h>.
64430         (sigpending): Don't use CHECK_SIGSET.
64431         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
64432         include <bp-checks.h>.
64433         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64434         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
64435         <bp-checks.h>.
64436         (sigpending): Don't use CHECK_SIGSET.
64437         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
64438         <bp-checks.h>.
64439         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64441         [BZ #13550]
64442         * sysdeps/generic/bp-semctl.h: Remove file.
64443         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
64444         <bp-checks.h> and <bp-semctl.h>.
64445         (__old_semctl): Don't use CHECK_SEMCTL.
64446         (__new_semctl): Likewise.
64447         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
64448         and <bp-semctl.h>.
64449         (__old_semctl): Don't use CHECK_SEMCTL.
64450         (__new_semctl): Likewise.
64451         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
64452         <bp-checks.h> and <bp-semctl.h>.
64453         (__old_semctl): Don't use CHECK_SEMCTL.
64454         (__new_semctl): Likewise.
64455         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
64456         <bp-checks.h> and <bp-semctl.h>.
64457         (semctl): Don't use CHECK_SEMCTL.
64459         [BZ #13550]
64460         * Makerules (elide-bp-thunks): Remove variable.
64461         (elide-routines.oS): Don't use $(elide-bp-thunks).
64462         (elide-routines.os): Likewise.
64463         (elide-routines.o): Likewise.
64464         (elide-routines.op): Likewise.
64465         (elide-routines.og): Likewise.
64466         (objects): Don't use $(bp-thunks).
64467         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
64468         include.
64469         (common-generated): Do not add s-proto-bp.d.
64470         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
64471         (int): Likewise.
64472         (typ): Likewise.
64473         Do not generate makefile rules for bounded-pointer thunks.
64474         * sysdeps/generic/bp-thunks.h: Remove file.
64475         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
64476         * sysdeps/unix/s-proto-bp.S: Likewise.
64478         [BZ #15062]
64479         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
64480         parts of result separately when argument is not close to line from
64481         -i to i and one part of argument is small.
64482         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64483         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64484         * math/libm-test.inc (cacos_test): Add more tests.
64485         (casin_test): Likewise.
64486         (casinh_test): Likewise.
64487         * sysdeps/i386/fpu/libm-test-ulps: Update.
64488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64490 2013-01-31  David S. Miller  <davem@davemloft.net>
64492         * po/de.po: Update from translation team.
64494 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
64496         * time/tzfile.c: Include stdint.h for SIZE_MAX.
64498 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
64500         * configure.in (_AC_PROG_CC_C89): New definition.
64501         * configure: Regenerate.
64503         * configure.in (AC_PROG_CPP): New definition.
64504         * configure: Regenerate.
64506 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64508         * debug/tst-backtrace.h: New file.
64509         * debug/tst-backtrace2.c: Include tst-backtrace.h.
64510         (ret): Remove variable.
64511         (x): Likewise.
64512         (FAIL): Remove macro.
64513         (NO_INLINE): Likewise.
64514         (fn1): Use match function instead of strstr.
64515         * debug/tst-backtrace3.c: Include tst-backtrace.h.
64516         (ret): Remove variable.
64517         (x): Likewise.
64518         (FAIL): Remove macro.
64519         (NO_INLINE): Likewise.
64520         (fn): Use match function instead of strstr.
64521         * debug/tst-backtrace4.c: Include tst-backtrace.h.
64522         (ret): Remove variable.
64523         (x): Likewise.
64524         (FAIL): Remove macro.
64525         (NO_INLINE): Likewise.
64526         (handle_signal): Use match function instead of strstr.
64527         * debug/tst-backtrace5.c: Include tst-backtrace.h.
64528         (ret): Remove variable.
64529         (x): Likewise.
64530         (FAIL): Remove macro.
64531         (NO_INLINE): Likewise.
64532         (handle_signal): Use match function instead of strstr.
64534 2013-01-23  Roland McGrath  <roland@hack.frob.com>
64536         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
64538 2013-01-23  David S. Miller  <davem@davemloft.net>
64540         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
64541         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
64542         argument of CAS if possible.
64543         * sysdeps/sparc/sparc64/bits/atomic.h
64544         (__arch_compare_and_exchange_val_32_acq): Likewise.
64545         (__arch_compare_and_exchange_val_64_acq): Likewise.
64547 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
64549         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
64550         * sysdeps/posix/ulimit.c: ... this.
64551         Include <limits.h>.
64552         * sysdeps/unix/bsd/ulimit.c: Remove file.
64554 2013-01-23  Adam Conrad  <adconrad@0c3.net>
64556         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
64557         (LDFLAGS-tst-array5): Likewise.
64559 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64561         [BZ #15036]
64562         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
64563         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
64564         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
64565         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
64567 2013-01-21  David S. Miller  <davem@davemloft.net>
64569         * sysdeps/sparc/backtrace.c: New file.
64570         * sysdeps/sparc/sparc32/backtrace.h: New file.
64571         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
64572         * sysdeps/sparc/sparc64/backtrace.h: New file.
64573         * sysdeps/sparc/sparc64/backtrace.c: Delete.
64574         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
64575         -funwind-tables.
64577 2013-01-21  Andreas Schwab  <schwab@suse.de>
64579         [BZ #15020]
64580         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
64581         closed its stdout.
64583 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
64585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
64586         "mpa2.h".
64587         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64589 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
64590             Mark Mitchell  <mark@codesourcery.com>
64591             Tom de Vries  <tom@codesourcery.com>
64592             Paul Pluzhnikov  <ppluzhnikov@google.com>
64594         * debug/tst-backtrace2.c: New file.
64595         * debug/tst-backtrace3.c: Likewise.
64596         * debug/tst-backtrace4.c: Likewise.
64597         * debug/tst-backtrace5.c: Likewise.
64598         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
64599         (CFLAGS-tst-backtrace3.c): Likewise.
64600         (CFLAGS-tst-backtrace4.c): Likewise.
64601         (CFLAGS-tst-backtrace5.c): Likewise.
64602         (LDFLAGS-tst-backtrace2): Likewise.
64603         (LDFLAGS-tst-backtrace3): Likewise.
64604         (LDFLAGS-tst-backtrace4): Likewise.
64605         (LDFLAGS-tst-backtrace5): Likewise.
64606         (tests): Add new tests tst-backtrace2, tst-backtrace3,
64607         tst-backtrace4 and tst-backtrace5.
64609 2013-01-18  Anton Blanchard  <anton@samba.org>
64610             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64612         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
64613         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
64614         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
64615         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
64616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64617         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
64618         "+r" and remove output regs list as redundant.  Add explicit inline
64619         asm to specify register of return val to work around compiler codegen
64620         bug.  Remove (int) cast on return value.  Add return type parameter to
64621         use in macro so that this macro does not truncate return value for
64622         64-bit values.
64623         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
64624         pass to INTERNAL_VSYSCALL_NCS.
64625         (INLINE_VSYSCALL): Add 'long int' as return type to
64626         INTERNAL_VSYSCALL_NCS macro invocation.
64627         (INTERNAL_VSYSCALL): Add 'long int' as return type to
64628         INTERNAL_VSYSCALL_NCS macro invocation.
64629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64631 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64633         [BZ #14496]
64634         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
64635         Fix application of SIMD FP exception mask.
64637         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
64638         mp_no from a power of two.
64639         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
64640         __mpexp_twomm1.  Use __pow_mp.
64642         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
64643         multiplication.
64645 2013-01-17  David S. Miller  <davem@davemloft.net>
64647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64649 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64651         [BZ #15023]
64652         * include/complex.h: Condition contents on [!_COMPLEX_H].
64653         (__kernel_casinhf): New prototype.
64654         (__kernel_casinh): Likewise.
64655         (__kernel_casinhl): Likewise.
64656         * math/Makefile (libm_calls): Add k_casinh.
64657         * math/k_casinh.c: New file.
64658         * math/k_casinhf.c: Likewise.
64659         * math/k_casinhl.c: Likewise.
64660         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
64661         finite nonzero arguments.
64662         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
64663         finite nonzero arguments.
64664         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
64665         finite nonzero arguments.
64666         * math/s_casinh.c: Do not include <float.h>.
64667         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
64668         * math/s_casinhf.c: Do not include <float.h>.
64669         (__casinhf): Move code for finite nonzero arguments to
64670         k_casinhf.c.
64671         * math/s_casinhl.c: Do not include <float.h>.
64672         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
64673         redefine.
64674         (__casinhl): Move code for finite nonzero arguments to
64675         k_casinhl.c.
64676         * math/libm-test.inc (cacos_test): Add more tests.
64677         * sysdeps/i386/fpu/libm-test-ulps: Update.
64678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64680 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
64682         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
64683         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
64684         [!HAVE_MREMAP]: Remove [defined linux] case.
64685         * malloc/arena.c: Do not include <malloc-sysdep.h>.
64687 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64689         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
64691 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
64693         * elf/elf.h (R_386_SIZE32): New relocation.
64694         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
64695         R_386_SIZE32.
64696         (elf_machine_rela): Likewise.
64697         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64698         R_X86_64_SIZE64 and R_X86_64_SIZE32.
64700 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64702         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
64703         (FP_FAST_FMA): Do not define.
64704         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
64705         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
64706         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
64707         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
64708         !_SOFT_FLOAT]: Likewise.
64709         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
64710         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
64711         value.
64712         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
64713         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
64714         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
64715         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
64716         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
64717         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
64718         file.
64720 2013-01-16  Andreas Schwab  <schwab@suse.de>
64722         [BZ #14327]
64723         * include/stdlib.h (__mktemp): Add declaration.
64724         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
64725         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
64727 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64729         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
64730         definitions.
64731         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64732         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
64733         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
64734         definitions here.
64735         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
64736         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
64737         definitions.
64738         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
64739         and ONE.
64740         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
64741         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
64742         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
64743         definitions.
64744         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
64745         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
64746         definitions.
64747         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64749         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
64751 2013-01-15  David S. Miller  <davem@davemloft.net>
64753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64754         trunc{,f} to libm-sysdep_routes.
64755         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
64757         file.
64758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
64759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
64760         file.
64761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
64762         file.
64763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
64764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
64765         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
64766         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
64767         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
64768         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
64769         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
64770         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
64772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64773         nearbyint{,f} to libm-sysdep_routes.
64774         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
64776         New file.
64777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
64778         file.
64779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
64780         New file.
64781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
64782         file.
64783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
64784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
64785         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
64786         file.
64787         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
64788         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
64789         file.
64790         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
64791         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
64792         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
64794         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64795         libc_feholdexcept and libc_fesetenv.
64797 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
64799         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
64801 2013-01-14  David S. Miller  <davem@davemloft.net>
64803         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
64804         (SPARC_ASM_VIS2_IFUNC): Likewise.
64805         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
64806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
64807         use of 'siam' instruction.
64808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
64809         Likewise.
64810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
64811         Likewise.
64812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
64813         Likewise.
64814         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
64815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
64816         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
64817         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
64818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
64819         file.
64820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
64821         file.
64822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
64823         file.
64824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
64825         file.
64826         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
64827         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
64828         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
64829         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
64830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
64831         new VIS2 routines.
64832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64835         Likewise.
64836         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64837         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64838         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64839         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
64841         routines to libm-sysdep_routines.
64842         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64845         fdim/fdimf to libm-sysdep_routines.
64846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
64847         file.
64848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
64849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
64850         file.
64851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
64852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
64853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
64854         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
64855         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
64856         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
64857         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
64859 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64861         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
64862         to optimize copies.
64864         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
64865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64866         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64868         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
64869         local variable MPTWO.
64870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64871         Likewise.
64873 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64875         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
64876         GLOB_NOESCAPE.
64878 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64880         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
64882 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64884         * manual/pattern.texi (glob_t): Document gl_flags.
64885         (glob64_t): Likewise.
64887 2013-01-11  David S. Miller  <davem@davemloft.net>
64889         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
64890         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
64891         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
64892         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
64893         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
64894         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
64895         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
64896         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
64897         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
64898         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
64899         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
64900         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
64901         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
64903         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64904         sparc V9 rather than using V8 code.
64905         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64906         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64908         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64909         Move to...
64910         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
64911         Here.
64913 2013-01-11  Roland McGrath  <roland@hack.frob.com>
64915         [BZ #14941]
64916         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
64917         not in the main loop.
64918         * configure: Regenerated.
64920 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
64922         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
64923         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
64924         to just #else.
64925         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
64926         [!__GLIBC_HAVE_LONG_LONG] case.
64927         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
64928         condition to just #else.
64929         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
64930         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
64931         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
64932         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
64933         unconditional.
64934         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
64935         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64936         #elif condition to just #else.
64937         * sysdeps/unix/sysv/linux/sys/sysmacros.h
64938         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
64939         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64940         #elif condition to just #else.
64942 2013-01-11  Steve Ellcey  <sellcey@mips.com>
64944         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
64945         (EF_MIPS_ARCH_64): Fix value.
64946         (EF_MIPS_ARCH_32R2): New.
64947         (EF_MIPS_ARCH_64R2): New.
64949 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
64951         * Makeconfig (+link-pie-before-libc): New.
64952         (+link-pie-after-libc): Likewise.
64953         (+link-pie-tests): Likewise.
64954         (+link-pie): Rewritten.
64955         (link-before-libc): Remove $(config-LDFLAGS).
64956         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
64957         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
64958         (config-LDFLAGS): Renamed to ...
64959         (rtld-LDFLAGS): This.
64960         (rtld-tests-LDFLAGS): New macro.
64961         (link-libc-rpath-link): Likewise.
64962         (link-libc-tests-rpath-link): Likewise.
64963         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
64964         (link-libc): Prepand $(link-libc-rpath-link).
64965         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
64966         (test-program-prefix): New macro.
64967         (test-via-rtld-prefix): Likewise.
64968         (test-program-cmd): Likewise.
64969         (host-test-program-cmd): Likewise.
64970         * Makefile ($(common-objpfx)testrun.sh): Replace
64971         $(run-program-prefix) with $(test-program-prefix).
64972         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
64973         $(rtld-LDFLAGS).
64974         ($(common-objpfx)shlib.lds): Likewise.
64975         (build-module-helper): Likewise.
64976         ($(common-objpfx)format.lds): Likewise.
64977         * Rules (binaries-pie-tests): New.
64978         (binaries-pie-notests): Likewise.
64979         (binaries-pie): Rewritten.
64980         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
64981         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
64982         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
64983         (make-test-out): Replace $(host-built-program-cmd) with
64984         $(host-test-program-cmd).
64985         * config.make.in (build-hardcoded-path-in-tests): New variable.
64986         * configure.in (--enable-hardcoded-path-in-tests): New configure
64987         option.
64988         (hardcoded_path_in_tests): New AC_SUBST.
64989         * configure: Regenerated.
64990         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
64991         $(built-program-cmd) with $(test-program-cmd).
64992         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
64993         (test_program_cmd): This.
64994         * elf/Makefile ($(objpfx)order.out): Run test with
64995         $(test-program-prefix).
64996         ($(objpfx)order2.out): Likewise.
64997         ($(objpfx)tst-initorder.out): Likewise.
64998         ($(objpfx)tst-initorder2.out): Likewise.
64999         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
65000         $(test-program-cmd).
65001         ($(objpfx)tst-array1-static.out): Likewise.
65002         ($(objpfx)tst-array2.out): Likewise.
65003         ($(objpfx)tst-array3.out): Likewise.
65004         ($(objpfx)tst-array4.out): Likewise.
65005         ($(objpfx)tst-array5.out): Likewise.
65006         ($(objpfx)tst-array5-static.out): Likewise.
65007         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
65008         $(test-program-cmd).
65009         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
65010         $(run-program-prefix) with $(test-program-prefix).
65011         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
65012         (test_program_prefix): This.
65013         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
65014         $(run-program-prefix) with $(test-program-prefix).
65015         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
65016         (test_program_prefix): This.
65017         * iconvdata/tst-tables.sh: Likewise.
65018         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
65019         $(run-program-prefix) with $(test-program-prefix).
65020         ($(objpfx)tst-translit.out): Likewise.
65021         ($(objpfx)tst-gettext2.out): Likewise.
65022         ($(objpfx)tst-gettext4.out): Likewise.
65023         ($(objpfx)tst-gettext6.out): Likewise.
65024         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
65025         (test_program_prefix): This.
65026         * intl/tst-gettext2.sh: Likewise.
65027         * intl/tst-gettext4.sh  Likewise.
65028         * intl/tst-gettext6.sh: Likewise.
65029         * intl/tst-translit.sh: Likewise.
65030         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
65031         with $(test-program-cmd).
65032         * libio/Makefile ($(objpfx)test-freopen.out): Replace
65033         $(run-program-prefix) with $(test-program-prefix).
65034         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
65035         (test_program_prefix): This.
65036         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
65037         $(run-program-prefix) with $(test-program-prefix).
65038         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
65039         (test_program_prefix): This.
65040         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
65041         * posix/Makefile ($(objpfx)globtest.out): Replace
65042         $(run-via-rtld-prefix) and $(test-wrapper) with
65043         $(test-program-prefix) and $(test-via-rtld-prefix).
65044         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
65045         $(test-program-prefix).
65046         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
65047         $(host-test-program-cmd).
65048         (tst-spawn-ARGS): Likewise.
65049         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
65050         $(test-program-prefix).
65051         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
65052         (test_via_rtld_prefix): This.
65053         (test_wrapper): Renamed to ...
65054         (test_program_prefix): This.
65055         (run_program_prefix): Replaced by test_program_prefix.
65056         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
65057         (test_program_prefix): This.
65058         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
65059         with $(host-test-program-cmd).
65060         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
65061         $(run-program-prefix) with $(test-program-prefix).
65062         ($(objpfx)tst-printf.out): Likewise.
65063         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
65064         $(test-program-cmd).
65065         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
65066         (test_program_prefix): This.
65067         * stdio-common/tst-unbputc.sh: Likewise.
65068         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
65069         $(run-program-prefix) with $(test-program-prefix).
65070         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
65071         (test_program_prefix): This.
65072         * string/Makefile ($(objpfx)tst-svc.out):  Replace
65073         $(built-program-cmd) with $(test-program-cmd).
65075 2013-01-11  Andreas Jaeger  <aj@suse.de>
65077         [BZ #15003]
65078         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
65079         value. Sync with Linux 3.7.
65081 2013-01-10  David S. Miller  <davem@davemloft.net>
65083         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
65084         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65085         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65087 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65089         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
65090         never set.
65091         * configure: Regenerated.
65093 2013-01-10  David S. Miller  <davem@davemloft.net>
65095         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65096         sparc V9 rather than using V8 code.
65097         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65098         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65100 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65102         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
65103         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
65104         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
65105         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
65106         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
65107         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
65108         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
65109         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
65110         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
65111         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
65112         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
65113         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
65114         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
65115         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
65116         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
65117         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
65118         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
65119         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
65120         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
65121         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
65122         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
65123         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
65124         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
65125         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
65126         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
65127         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
65128         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
65130 2013-01-10  David S. Miller  <davem@davemloft.net>
65132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65134 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65136         * posix/Makefile (tests-static): New variable.
65137         (tests): Add $(tests-static).
65138         (tst-exec-static-ARGS): New variable.
65139         (tst-spawn-static-ARGS): Likewise.
65140         * posix/tst-exec-static.c: New file.
65141         * posix/tst-spawn-static.c: Likewise.
65142         * posix/tst-exec.c: Support run directly.
65143         * posix/tst-spawn.c: Likewise.
65145 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
65147         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
65148         long.
65149         * math/bits/mathcalls.h (llrint): Likewise.
65150         (llround): Likewise.
65151         * stdlib/stdlib.h (struct drand48_data): Likewise.
65152         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
65153         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
65154         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
65155         Likewise.
65156         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
65157         Likewise.
65158         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
65159         (elf_greg_t): Likewise.
65160         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
65161         (__jmp_buf): Likewise.
65162         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
65163         definitions.
65164         (llrint): Likewise, for all definitions.
65165         (llrintl): Likewise.
65167         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
65168         Remove [__GNUC__] condition.
65169         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
65170         condition to just [__USE_ISOC99].
65171         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
65173 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65175         [BZ #14200]
65176         * sysdeps/unix/sysv/linux/x86/bits/environments.h
65177         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
65178         defined.
65179         (_POSIX_V6_ILP32_OFF32): Likewise.
65180         (_XBS5_ILP32_OFF32): Likewise.
65181         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
65182         (__ILP32_OFFBIG_LDFLAGS): Likewise.
65184 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65186         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
65188         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
65189         doubles __mpexp_twomm1.  Adjust usage.
65190         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
65191         Remove.
65193 2013-01-10  Andreas Schwab  <schwab@suse.de>
65195         [BZ #14964]
65196         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
65197         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
65199 2013-01-09  David S. Miller  <davem@davemloft.net>
65201         [BZ #15003]
65202         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
65203         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
65204         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
65205         (TCP_FASTOPEN): Define.
65206         (tcp_repair_opt): New structure.
65207         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
65208         enum values.
65209         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
65210         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
65211         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
65212         (tcp_cookie_transactions): New structure.
65214 2013-01-09  Anton Blanchard  <anton@samba.org>
65216         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
65217         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
65218         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
65219         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
65221 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
65223         * include/features.h (__USE_ANSI): Remove.
65225 2013-01-09  Roland McGrath  <roland@hack.frob.com>
65227         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
65229         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
65231 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
65233         * sysdeps/s390/fpu/libm-test-ulps: Update.
65235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65237         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
65238         (__acr): Likewise.
65239         (__cpy): Likewise.
65240         (norm): Likewise.
65241         (denorm): Likewise.
65242         (__mp_dbl): Likewise.
65243         (__dbl_mp): Likewise.
65244         (add_magnitudes): Likewise.
65245         (sub_magnitudes): Likewise.
65246         (__add): Likewise.
65247         (__sub): Likewise.
65248         (__mul): Likewise.
65249         (__inv): Likewise.
65250         (__dvd): Likewise.
65251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
65252         (__acr): Likewise.
65253         (__cpy): Likewise.
65254         (norm): Likewise.
65255         (denorm): Likewise.
65256         (__mp_dbl): Likewise.
65257         (__dbl_mp): Likewise.
65258         (add_magnitudes): Likewise.
65259         (sub_magnitudes): Likewise.
65260         (__add): Likewise.
65261         (__sub): Likewise.
65262         (__mul): Likewise.
65263         (__inv): Likewise.
65264         (__dvd): Likewise.
65265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
65266         (__acr): Likewise.
65267         (__cpy): Likewise.
65268         (norm): Likewise.
65269         (denorm): Likewise.
65270         (__mp_dbl): Likewise.
65271         (__dbl_mp): Likewise.
65272         (add_magnitudes): Likewise.
65273         (sub_magnitudes): Likewise.
65274         (__add): Likewise.
65275         (__sub): Likewise.
65276         (__mul): Likewise.
65277         (__inv): Likewise.
65278         (__dvd): Likewise.
65280 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
65282         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
65283         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
65284         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
65285         2 && __USE_EXTERN_INLINES]: Likewise.
65287 2013-01-08  Andreas Jaeger  <aj@suse.de>
65289         [BZ# 14985]
65290         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
65291         Remove.
65292         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65293         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65295 2013-01-07  Anton Blanchard  <anton@samba.org>
65297         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
65298         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65299         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
65300         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65301         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
65302         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65303         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
65304         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65305         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65306         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65307         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65308         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65309         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65310         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65311         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
65312         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65313         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65314         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65315         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
65316         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
65317         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
65318         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
65319         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
65320         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
65321         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
65322         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
65323         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65324         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65325         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
65326         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65327         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
65328         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65329         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65330         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65331         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65332         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
65333         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65334         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65335         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
65336         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
65337         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
65338         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65339         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65341 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
65343         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
65344         (__MALLOC_PMT): Likewise.
65345         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
65346         [__GNUC__], only on [_LIBC].
65347         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65348         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
65349         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65350         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
65351         forward declaration.
65352         (realloc_hook_ini): Likewise.
65353         (memalign_hook_ini): Likewise.
65354         (__libc_memalign): Do not use __MALLOC_PMT in variable
65355         declaration.
65356         (__libc_valloc): Likewise.
65357         (__libc_pvalloc): Likewise.
65358         (__libc_calloc): Likewise.
65359         (__posix_memalign): Likewise.
65361         [BZ #14996]
65362         * math/s_casinh.c: Include <float.h>.
65363         (__casinh): Do not do computation with squaring and square root
65364         for large arguments.
65365         * math/s_casinhf.c: Include <float.h>.
65366         (__casinhf): Do not do computation with squaring and square root
65367         for large arguments.
65368         * math/s_casinhl.c: Include <float.h>.
65369         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
65370         (__casinhl): Do not do computation with squaring and square root
65371         for large arguments.
65372         * math/libm-test.inc (casin_test): Add more tests.
65373         (casinh_test): Likewise.
65374         * sysdeps/i386/fpu/libm-test-ulps: Update.
65375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65377 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
65379         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
65380         (__x86_64_raw_data_cache_size): Likewise.
65381         (__x86_64_data_cache_size_half): Likewise.
65382         (__x86_64_raw_data_cache_size_half): Likewise.
65383         (__x86_64_shared_cache_size): Likewise.
65384         (__x86_64_raw_shared_cache_size): Likewise.
65385         (__x86_64_shared_cache_size_half): Likewise.
65386         (__x86_64_raw_shared_cache_size_half): Likewise.
65387         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
65388         to ...
65389         (__x86_data_cache_size): This.
65390         (__x86_64_raw_data_cache_size): Renamed to ...
65391         (__x86_raw_data_cache_size): This.
65392         (__x86_64_data_cache_size_half): Renamed to ...
65393         (__x86_data_cache_size_half): This.
65394         (__x86_64_raw_data_cache_size_half): Renamed to ...
65395         (__x86_raw_data_cache_size_half): This.
65396         (__x86_64_shared_cache_size): Renamed to ...
65397         (__x86_shared_cache_size): This.
65398         (__x86_64_raw_shared_cache_size): Renamed to ...
65399         (__x86_raw_shared_cache_size): This.
65400         (__x86_64_shared_cache_size_half): Renamed to ...
65401         (__x86_shared_cache_size_half): This.
65402         (__x86_64_raw_shared_cache_size_half): Renamed to ...
65403         (__x86_raw_shared_cache_size_half): This.
65404         * sysdeps/x86_64/memcpy.S: Updated.
65405         * sysdeps/x86_64/memset.S: Likewise.
65406         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
65407         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
65408         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
65410 2013-01-04  David S. Miller  <davem@davemloft.net>
65412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65414 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
65416         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
65417         1 to avoid redefinition warning.
65418         (__USE_GNU): Don't define.
65419         (init_signaling_nan): Protoize.
65421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65423 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65425         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
65426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
65427         (__cpymn): Likewise.
65428         (norm): Remove commented code.
65429         (denorm): Likewise.
65430         (__mp_dbl): Likewise.
65431         (__inv): Likewise.
65432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
65433         (__cpymn): Likewise.
65434         (norm): Remove commented code.
65435         (denorm): Likewise.
65436         (__mp_dbl): Likewise.
65437         (__inv): Likewise.
65439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
65440         mp_no value for 1.0 and 2.0.
65441         (norm): Use RADIXI instead of radixi.d.
65442         (denorm): Likewise.
65443         (__mul): Use 0.0 instead of zero.d.
65444         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
65445         mp_no value for 1.0 and 2.0.
65446         (norm): Use RADIXI instead of radixi.d.
65447         (denorm): Likewise.
65448         (__mul): Use 0.0 instead of zero.d.
65450 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
65452         [BZ #14994]
65453         * math/s_casinh.c (__casinh): Reduce finite argument to first
65454         quadrant then set signs of results at the end.
65455         * math/s_casinhf.c (__casinhf): Likewise.
65456         * math/s_casinhl.c (__casinhl): Likewise.
65457         * math/libm-test.inc (casin_test): Add more tests.
65458         (casinh_test): Likewise.
65459         * sysdeps/i386/fpu/libm-test-ulps: Update.
65460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65462 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65464         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
65466         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
65468         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
65469         declarations.
65470         (denorm): Likewise.
65471         (__mp_dbl): Likewise.
65472         (__inv): Likewise.
65474         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
65475         and adjust the header comment.
65477         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
65478         variable name from declaration.
65480 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
65482         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65483         Initialize COMMON_CPUID_INDEX_7 element.
65484         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
65485         (CPUID_RTM): Likewise.
65486         (HAS_RTM): Likewise.
65487         (COMMON_CPUID_INDEX_7): New enum.
65489 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
65491         [BZ #14981]
65492         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
65493         size is zero, record memory as freed.
65495 2013-01-03  Andreas Jaeger  <aj@suse.de>
65497         * po/ia.po: Add new Interlingua translation.
65499 2012-01-03  Allan McRae  <allan@archlinux.org>
65501         * locale/programs/localedef.c: Fix description of '--posix' flag.
65503 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
65505         * NEWS: Update dates in second copyright notice.
65506         * README: Update copyright dates in example.
65507         * manual/libc.texinfo: Update copyright dates.
65508         * scripts/test-installation.pl: Update copyright date in --version
65509         output.
65511         * hurd/ctty-input.c: Fix copyright notice formatting.
65512         * hurd/ctty-output.c: Likewise.
65513         * hurd/dtable.c: Likewise.
65514         * hurd/hurd-raise.c: Likewise.
65515         * hurd/hurdprio.c: Likewise.
65516         * hurd/msgportdemux.c: Likewise.
65517         * misc/sys/file.h: Likewise.
65518         * misc/sys/ioctl.h: Likewise.
65519         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
65520         * sysdeps/mach/hurd/chdir.c: Likewise.
65521         * sysdeps/mach/hurd/fchdir.c: Likewise.
65522         * sysdeps/mach/hurd/rename.c: Likewise.
65523         * sysdeps/mach/hurd/rmdir.c: Likewise.
65524         * sysdeps/mach/hurd/seekdir.c: Likewise.
65525         * sysdeps/mach/hurd/setsid.c: Likewise.
65526         * sysdeps/posix/wait3.c: Likewise.
65528         * All files with FSF copyright notices: Update copyright dates
65529         using scripts/update-copyrights.
65530         * intl/plural.c: Regenerated.
65531         * locale/programs/charmap-kw.h: Likewise.
65532         * locale/programs/locfile-kw.h: Likewise.
65534 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65536         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
65537         four values.
65539         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
65540         calculation loop and add branch prediction.
65542         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
65543         check access beyond bounds of m1np.
65545         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65546         MPTWO.
65547         (__inv): Remove local variable MPTWO to use the global
65548         constant.
65549         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
65550         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65551         variable MPTWO.
65552         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
65553         MP3HALFS static const.
65555 2013-01-01  David S. Miller  <davem@davemloft.net>
65557         * po/ca.po: Update from translation team.
65559 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
65561         * scripts/update-copyrights: New file.
65562         * Makeconfig: Reformat copyright notice.
65563         * ctype/ctype.h: Likewise.
65564         * debug/swprintf_chk.c: Likewise.
65565         * elf/dl-cache.c: Likewise.
65566         * elf/dl-debug.c: Likewise.
65567         * elf/dl-object.c: Likewise.
65568         * grp/initgroups.c: Likewise.
65569         * hurd/Makefile: Likewise.
65570         * hurd/hurd/signal.h: Likewise.
65571         * hurd/hurdfault.c: Likewise.
65572         * hurd/hurdioctl.c: Likewise.
65573         * hurd/hurdlookup.c: Likewise.
65574         * hurd/intr-msg.c: Likewise.
65575         * iconv/gconv_open.c: Likewise.
65576         * libio/swprintf.c: Likewise.
65577         * locale/lc-ctype.c: Likewise.
65578         * locale/nl_langinfo.c: Likewise.
65579         * mach/Machrules: Likewise.
65580         * mach/Makefile: Likewise.
65581         * malloc/obstack.h: Likewise.
65582         * manual/Makefile: Likewise.
65583         * manual/tsort.awk: Likewise.
65584         * misc/bits/stab.def: Likewise.
65585         * nis/nis_print_group_entry.c: Likewise.
65586         * nis/nis_table.c: Likewise.
65587         * nis/nss_compat/compat-pwd.c: Likewise.
65588         * nis/nss_compat/compat-spwd.c: Likewise.
65589         * po/Makefile: Likewise.
65590         * posix/fnmatch.c: Likewise.
65591         * posix/regex.h: Likewise.
65592         * resolv/Makefile: Likewise.
65593         * resolv/nss_dns/dns-network.c: Likewise.
65594         * resolv/res_hconf.c: Likewise.
65595         * scripts/gen-sorted.awk: Likewise.
65596         * soft-fp/soft-fp.h: Likewise.
65597         * stdio-common/printf.h: Likewise.
65598         * stdlib/monetary.h: Likewise.
65599         * stdlib/random.c: Likewise.
65600         * stdlib/random_r.c: Likewise.
65601         * sysdeps/generic/Makefile: Likewise.
65602         * sysdeps/gnu/Makefile: Likewise.
65603         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65604         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65605         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65606         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65607         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65608         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65609         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65610         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65611         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65612         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65613         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65614         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65615         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65616         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65617         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
65618         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65619         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65620         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65621         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65622         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65623         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65624         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65625         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65626         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65627         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
65628         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65629         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
65630         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
65631         * sysdeps/mach/hurd/errnos.awk: Likewise.
65632         * sysdeps/mach/hurd/fork.c: Likewise.
65633         * sysdeps/mach/hurd/getcwd.c: Likewise.
65634         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
65635         * sysdeps/mach/hurd/mmap.c: Likewise.
65636         * sysdeps/mach/hurd/utimes.c: Likewise.
65637         * sysdeps/mach/hurd/xmknod.c: Likewise.
65638         * sysdeps/posix/profil.c: Likewise.
65639         * sysdeps/posix/readdir_r.c: Likewise.
65640         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65641         * sysdeps/powerpc/bits/setjmp.h: Likewise.
65642         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
65643         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65644         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65645         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65646         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65647         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65648         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65649         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65650         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65651         * sysdeps/pthread/lio_listio.c: Likewise.
65652         * sysdeps/sparc/dl-procinfo.h: Likewise.
65653         * sysdeps/unix/i386/sysdep.S: Likewise.
65654         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
65655         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
65656         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
65657         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
65658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65659         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
65660         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
65661         * sysdeps/unix/sysv/linux/speed.c: Likewise.
65662         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
65663         * sysdeps/wordsize-32/divdi3.c: Likewise.
65664         * time/sys/time.h: Likewise.
65665         * wcsmbs/Makefile: Likewise.
65667 2013-01-01  David S. Miller  <davem@davemloft.net>
65669         * po/fr.po: Update from translation team.
65671         * catgets/gencat.c: Update copyright year.
65672         * csu/version.c: Likewise.
65673         * debug/catchsegv.sh: Likewise.
65674         * debug/pcprofiledump.c: Likewise.
65675         * debug/xtrace.sh: Likewise.
65676         * elf/ldconfig.c: Likewise.
65677         * elf/ldd.bash.in: Likewise.
65678         * elf/pldd.c: Likewise.
65679         * elf/sotruss.ksh: Likewise.
65680         * elf/sprof.c: Likewise.
65681         * iconv/iconv_prog.c: Likewise.
65682         * iconv/iconvconfig.c: Likewise.
65683         * locale/programs/locale.c: Likewise.
65684         * locale/programs/localedef.c: Likewise.
65685         * login/programs/pt_chown.c: Likewise.
65686         * malloc/memusage.sh: Likewise.
65687         * malloc/memusagestat.c: Likewise.
65688         * malloc/mtrace.pl: Likewise.
65689         * nscd/nscd.c: Likewise.
65690         * nss/getent.c: Likewise.
65691         * nss/makedb.c: Likewise.
65692         * posix/getconf.c: Likewise.
65694 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65696         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
65697         numbers.
65699 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
65701         * math/bits/mathcalls.h (modf): Use __nonnull.
65703 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65705         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
65706         (split): Use macro CN instead of the bare value.
65707         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
65708         could be used.
65709         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
65710         instead of the bare value.
65711         (power1): Likewise.
65713 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65715         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
65716         __ATAN_TWOM.
65717         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65719         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
65720         their values.
65721         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65722         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65723         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
65724         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65726 2012-12-28  Andreas Jaeger  <aj@suse.de>
65728         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
65729         values are from Linux 3.7.
65731         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
65732         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
65734 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65736         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
65737         TRUE case.
65739         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
65740         (norm): Likewise.
65741         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
65742         variables with preprocessor constants.
65743         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65744         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65745         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65747 2012-12-27  Bruno Haible  <bruno@clisp.org>
65749         [BZ #14317]
65750         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
65751         only if needed.
65753 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65755         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
65756         and use variable directly.
65757         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
65759         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65760         MPONE.
65761         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
65762         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65763         variable MPONE.
65764         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65765         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65766         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
65767         include directive.  Remove local variable MPONE.
65768         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
65769         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
65770         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65772 2012-12-25  David S. Miller  <davem@davemloft.net>
65774         * version.h (RELEASE): Set to "development".
65775         (VERSION): Set to "2.17.90".
65776         * NEWS: Add 2.18 section.
65778 2012-12-21  David S. Miller  <davem@davemloft.net>
65780         * po/hr.po: Update from translation team.
65782 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65784         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
65786 2012-12-19  Steve Ellcey  <sellcey@mips.com>
65788         * NEWS:  Mention new memcpy for MIPS.
65790 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65792         * manual/contrib.texi (Contributors): Spelling correction.
65794 2012-12-15  David S. Miller  <davem@davemloft.net>
65796         * po/ru.po: Update from translation team.
65798 2012-12-13  David S. Miller  <davem@davemloft.net>
65800         * NEWS: Mention IFUNC testsuite enhancements.
65802         * po/pl.po: Update from translation team.
65803         * po/bg.po: Likewise.
65805         * manual/contrib.texi (Contributors): Update entries for Hongjiu
65806         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
65808 2012-12-11  David S. Miller  <davem@davemloft.net>
65810         * po/sv.po: Update from translation team.
65812         * po/vi.po: Update from translation team.
65814         * po/cs.po: Update from translation team.
65816         * po/de.po: Update from translation team.
65817         * po/eo.po: Likewise.
65818         * po/nl.po: Likewise.
65820 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65822         [BZ #14246]
65823         * manual/argp.texi (Argp Helper Functions): Move node to follow
65824         Argp Parsing State.
65826         [BZ #14872]
65827         * manual/conf.texi (Limits on File System Capacity): Mention if
65828         terminating null is included in the max size.
65830 2012-12-10  Andreas Jaeger  <aj@suse.de>
65832         * po/cs.po: Update from translation team.
65834 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65836         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
65837         void pointer and cast to uintptr_t.
65838         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
65839         path.
65840         * sysdeps/s390/s390-64/memcpy.S: Likewise.
65841         * sysdeps/s390/s390-64/memset.S: Likewise.
65843 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
65845         [BZ #14833]
65846         * menual/message.texi (Message Translation): Fix typos.
65847         (Helper programs for gettext): Likewise.
65849 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
65851         [BZ #14898]
65852         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
65853         Change to -1.
65855 2012-12-07  David S. Miller  <davem@davemloft.net>
65857         * po/libc.pot: Update.
65859 2012-12-07  Richard Henderson  <rth@redhat.com>
65861         [BZ #10114]
65862         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
65863         normal/normal case to before the switch.
65864         (_FP_DIV): Likewise.
65866 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
65867             Mike Frysinger  <vapier@gentoo.org>
65869         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
65870         check for __NR_fadvise64_64.
65872 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
65874         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
65875         0, not just to plain "0" as a statement.
65876         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
65877         with cw.
65879 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
65881         * NEWS: Use sourceware.org in Bugzilla URL.
65883 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
65886         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65888         * stdio-common/tst-put-error.c (do_test): Add newline to the
65889         padded test to ensure flush.
65891 2012-12-05  Jeff Law  <law@redhat.com>
65893         * sunrpc/etc.rpc (fedfs_admin): Add entry.
65895 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
65897         * README: Don't refer to ports add-on as distributed separately.
65898         Mention AArch64 in list of systems supported in the ports add-on.
65900         * LICENSES: Add more non-FSF copyright and license notices.
65902         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
65903         ((unused)).
65905         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
65907         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
65908         10000 as width of padded output.
65910 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65912         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
65914         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
65915         variable LX with __attribute__ ((unused)).
65916         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
65917         Likewise.
65918         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
65919         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65920         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
65921         with __attribute__ ((unused)).
65923 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
65925         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
65927 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65929         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
65930         (CFLAGS-nldbl-acos.c): New variable.
65931         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
65932         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
65933         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
65934         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
65935         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
65936         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
65937         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
65938         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
65939         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
65940         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
65941         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
65942         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
65943         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
65944         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
65945         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
65946         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
65947         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
65948         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
65949         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
65950         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
65951         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
65952         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
65953         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
65954         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
65955         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
65956         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
65957         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
65958         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
65959         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
65960         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
65961         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
65962         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
65963         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
65964         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
65965         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
65966         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
65967         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
65968         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
65969         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
65970         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
65971         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
65972         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
65973         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
65974         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
65975         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
65976         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
65977         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
65978         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
65979         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
65980         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
65981         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
65982         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
65983         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
65984         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
65985         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
65986         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
65987         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
65988         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
65989         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
65990         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
65991         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
65992         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
65993         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
65994         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
65995         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
65996         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
65997         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
65998         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
65999         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
66000         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
66001         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
66002         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
66003         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
66004         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
66005         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
66006         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
66007         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
66008         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
66009         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
66010         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
66011         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
66012         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
66013         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
66014         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
66015         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
66016         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
66017         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
66018         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
66019         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
66020         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
66021         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
66022         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
66023         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
66024         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
66025         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
66026         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
66027         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
66029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66030         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66032         [BZ #14914]
66033         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
66034         whole low double instead of just low 47 bits when splitting values
66035         into two parts.
66037 2012-12-03  Allan McRae  <allan@archlinux.org>
66039         * manual/stdio.texi (Predefined Printf Handlers): Remove
66040         @hsep and @vsep usage.
66042 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
66044         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
66045         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
66047 2012-12-03  Jeff Law  <law@redhat.com>
66049         * time/sys/time.h (settimeofday): Do not mark TV argument
66050         as __nonnull.
66052 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
66054         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
66055         when currently writing and seek to current position when not.
66056         * libio/Makefile (tests): Remove bug-fclose1.
66057         * libio/bug-fclose1.c: Delete.
66059 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
66061         * manual/arith.texi (feenableexcept): Fix typo.
66062         (fedisableexcept): Likewise.
66064 2012-11-30  Roland McGrath  <roland@hack.frob.com>
66066         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
66067         second, differently-typed declaration, rather than a cast.
66069 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66071         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
66072         * include/rpc/svc.h: ... here.
66074 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
66076         [BZ #13013]
66077         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
66078         depending n and resplen2 to catch cases where answer
66079         equals answerp2.
66081 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
66083         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
66084         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
66086 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
66088         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
66090 2012-11-29  Roland McGrath  <roland@hack.frob.com>
66092         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
66094 2012-11-28  Jeff Law  <law@redhat.com>
66096         [BZ #13761]
66097         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
66098         dataset_temporary.  Track alloca usage into alloca_used.
66099         If dataset is large allocate and release it via malloc/free.
66101 2012-06-04  Florian Weimer  <fweimer@redhat.com>
66103         [BZ #14197]
66104         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
66106 2012-11-28  David S. Miller  <davem@davemloft.net>
66108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66110 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66112         [BZ #14803]
66113         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
66114         of pi/2 rounded to nearest to 64 bits.
66115         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
66116         nearest to 64 bits.
66117         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
66118         bits.
66120 2012-11-28  Jeff Law <law@redhat.com>
66121             Martin Osvald <mosvald@redhat.com>
66123         [BZ #14889]
66124         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
66125         * sunrpc/svc.c: Include time.h.
66126         (__svc_accept_failed): New function.
66127         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
66128         any reason other than EINTR, call __svc_accept_failed.
66129         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
66130         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
66132 2012-11-28  Andreas Schwab  <schwab@suse.de>
66134         * scripts/abilist.awk: Also handle indirect functions in .opd
66135         section.
66137 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66139         [BZ #13881]
66140         * sysdeps/x86/fpu/powl_helper.c: New file.
66141         * sysdeps/x86/fpu/Makefile: Likewise.
66142         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
66143         (p3): New object.
66144         (__ieee754_powl): Use __powl_helper for finite arguments except
66145         integer exponents below 8.
66146         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
66147         (p3): New object.
66148         (__ieee754_powl): Use __powl_helper for finite arguments except
66149         integer exponents below 8.
66150         * math/libm-test.inc (pow_test): Add more tests and enable some
66151         previously disabled tests.
66152         * sysdeps/i386/fpu/libm-test-ulps: Update.
66153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66155 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66156             Carlos O'Donell  <carlos_odonell@mentor.com>
66158         * nss/makedb.c (is_prime): Assert that input is odd and greater
66159         than 4.  Note that fact in a comment too.
66160         (next_prime): Add 4 to input.
66162 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66164         [BZ #11741]
66165         * libio/Makefile (tests): Add test case tst-fwrite-error.
66166         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
66167         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
66168         * libio/tst-fwrite-error.c: New test case.
66170 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
66172         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
66173         before casting to void *.
66174         * include/libc-internal.h (__pointer_type): New macro.
66175         (__integer_if_pointer_type_sub): Likewise.
66176         (__integer_if_pointer_type): Likewise.
66177         (cast_to_integer): Likewise.
66178         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
66179         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
66180         before casting to atomic64_t.
66181         (atomic_exchange_acq): Likewise.
66182         (__arch_exchange_and_add_body): Likewise.
66183         (__arch_add_body): Likewise.
66184         (atomic_add_negative): Likewise.
66185         (atomic_add_zero): Likewise.
66187 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
66189         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
66190         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
66191         (add_fdes): Likewise.
66192         (linear_search_fdes): Likewise.
66193         (binary_search_unencoded_fdes): Likewise.
66195 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
66197         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
66199 2012-11-24  Adam Conrad  <adconrad@0c3.net>
66201         * configure.in: Autodetect C++ header directories.
66202         * configure: Regenerated.
66204 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
66206         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
66208 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
66210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66212 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
66214         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
66215         LDBL_MANT_DIG == 106]: Disable some tests.
66216         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66217         Likewise.
66218         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66219         Likewise.
66221         [BZ #14871]
66222         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
66223         input for small inputs.  Return +/- pi/2 for large inputs.
66224         * math/libm-test.inc (atan_test): Add more tests.
66226         * sysdeps/generic/unwind-dw2-fde-glibc.c
66227         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
66228         __attribute__ ((unused)).
66230         [BZ #14645]
66231         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
66232         x * y if x and y are nonzero and z is zero.
66234         [BZ #14811]
66235         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
66236         nonzero exponents with absolute value below 0x1p-117 to +/-
66237         0x1p-117.
66239         [BZ #14869]
66240         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
66241         up arguments below 2**-450, not just those below 2**-500.
66242         * math/libm-test.inc (hypot_test): Add another test.
66244         [BZ #14868]
66245         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
66246         Return a+b for ratio over 2**120, not 2**60.
66247         * math/libm-test.inc (hypot_test): Add another test.
66249         * math/libm-test.inc (clog_test): Use
66250         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
66251         (clog10_test): Likewise.
66253         [BZ #6778]
66254         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
66256 2012-11-22  Andreas Schwab  <schwab@suse.de>
66258         * sysdeps/i386/fpu/libm-test-ulps: Update.
66260 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
66262         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
66263         printf output with newline.
66265 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
66267         [BZ #14865]
66268         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
66269         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
66270         -z nodlopen, -z initfirst and -z execstack support.
66271         * configure: Regenerated.
66273         * elf/elf.h (DF_1_NODIRECT): New macro.
66274         (DF_1_IGNMULDEF): Likewise.
66275         (DF_1_NOKSYMS): Likewise.
66276         (DF_1_NOHDR): Likewise.
66277         (DF_1_EDITED): Likewise.
66278         (DF_1_NORELOC): Likewise.
66279         (DF_1_SYMINTPOSE): Likewise.
66280         (DF_1_GLOBAUDIT): Likewise.
66281         (DF_1_SINGLETON): Likewise.
66282         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
66283         DT_1_SUPPORTED_MASK bits.
66284         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
66286 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
66288         * sysdeps/unix/make-syscalls.sh: Document prefixes.
66290 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
66292         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
66293         macro.
66295         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
66296         (sendmmsg): Move declarations...
66297         * socket/sys/socket.h: ... here.
66298         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
66299         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
66300         include it from...
66301         * socket/recvmmsg.c: ... this new file.
66302         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
66303         (sendmmsg): Rename to __sendmmsg, create weak alias and make
66304         definition of __sendmmsg hidden.
66305         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
66306         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
66307         Move ENOSYS stub into and include it from...
66308         * socket/sendmmsg.c: ... this new file.
66309         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
66310         (sysdep_routines): Move recvmmsg and sendmmsg...
66311         * socket/Makefile (routines): ... here.
66312         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
66313         (GLIBC_PRIVATE): Add __sendmmsg.
66314         * include/sys/socket.h (__sendmmsg): Add declarations.
66315         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
66316         sendmmsg.
66318 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
66320         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
66321         variable I1 with __attribute__ ((unused)).
66322         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66324 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66326         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
66327         DUMMY variables with __attribute__ ((unused)).
66329         * bits/byteswap.h: Include <bits/types.h>.
66330         (__bswap_64): Use __uint64_t instead of unsigned long long int.
66332 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66334         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
66335         string_t.  Do not manually set errno.
66336         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
66337         length with __strnlen.  Make sure to both set errno and return it on
66338         failure.
66340 2012-11-19  David S. Miller  <davem@davemloft.net>
66342         With help from Joseph Myers.
66343         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
66344         very large arguments properly.
66345         * math/libm-test.inc (atan_test): New tests.
66346         (atan2_test): New tests.
66347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66350 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66352         [BZ #14856]
66353         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
66354         Define to 3.
66356         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
66357         [POSIX] (EADDRNOTAVAIL): Likewise.
66358         [POSIX] (EAFNOSUPPORT): Likewise.
66359         [POSIX] (EALREADY): Likewise.
66360         [POSIX] (ECONNABORTED): Likewise.
66361         [POSIX] (ECONNREFUSED): Likewise.
66362         [POSIX] (ECONNRESET): Likewise.
66363         [POSIX] (EDESTADDRREQ): Likewise.
66364         [POSIX] (EDQUOT): Likewise.
66365         [POSIX] (EHOSTUNREACH): Likewise.
66366         [POSIX] (EIDRM): Likewise.
66367         [POSIX] (EISCONN): Likewise.
66368         [POSIX] (ELOOP): Likewise.
66369         [POSIX] (EMULTIHOP): Likewise.
66370         [POSIX] (ENETDOWN): Likewise.
66371         [POSIX] (ENETUNREACH): Likewise.
66372         [POSIX] (ENOBUFS): Likewise.
66373         [POSIX] (ENODATA): Likewise.
66374         [POSIX] (ENOLINK): Likewise.
66375         [POSIX] (ENOMSG): Likewise.
66376         [POSIX] (ENOPROTOOPT): Likewise.
66377         [POSIX] (ENOSR): Likewise.
66378         [POSIX] (ENOSTR): Likewise.
66379         [POSIX] (ENOTCONN): Likewise.
66380         [POSIX] (ENOTSOCK): Likewise.
66381         [POSIX] (EOPNOTSUPP): Likewise.
66382         [POSIX] (EOVERFLOW): Likewise.
66383         [POSIX] (EPROTO): Likewise.
66384         [POSIX] (EPROTONOSUPPORT): Likewise.
66385         [POSIX] (EPROTOTYPE): Likewise.
66386         [POSIX] (ESTALE): Likewise.
66387         [POSIX] (ETIME): Likewise.
66388         [POSIX] (ETXTBSY): Likewise.
66389         [POSIX] (EWOULDBLOCK): Likewise.
66390         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
66391         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
66392         [POSIX] (SEEK_CUR): Likewise.
66393         [POSIX] (SEEK_END): Likewise.
66394         [POSIX || UNIX98] (mode_t): Do not require.
66395         [POSIX] (off_t): Likewise.
66396         [POSIX] (pid_t): Likewise.
66397         [POSIX] (sys/stat.h): Do not allow header.
66398         [POSIX] (unistd.h): Likewise.
66399         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
66400         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
66401         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
66402         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
66403         require.
66404         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
66405         sigevent): Specify elements.
66406         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
66407         entry.
66408         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
66409         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
66411         * conform/data/cpio.h-data [POSIX]: Disable whole file.
66412         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
66413         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
66414         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
66415         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
66416         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
66417         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
66418         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
66419         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
66420         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
66421         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
66422         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
66423         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
66424         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
66425         Likewise.
66426         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
66427         Likewise.
66428         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
66429         Likewise.
66430         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
66431         Likewise.
66432         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
66433         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
66434         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
66435         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
66436         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
66437         Specify lower bound on value.
66438         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
66439         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
66440         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
66441         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
66442         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
66443         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
66444         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
66445         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
66446         value.
66447         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
66448         as optional.
66449         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
66450         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
66451         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
66452         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
66453         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
66454         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
66455         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
66456         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
66457         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
66458         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
66459         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
66460         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
66461         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
66462         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
66463         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
66464         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
66465         entry.
66466         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
66467         optional.
66468         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
66469         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
66470         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
66471         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
66472         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
66473         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
66474         Likewise.
66475         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
66476         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
66477         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
66478         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
66479         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
66480         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
66481         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
66482         as optional.
66483         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
66484         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
66485         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
66486         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
66487         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
66488         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
66489         specify as optional.
66490         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
66491         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
66492         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
66493         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
66494         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
66495         [XPG3] (NL_LANGMAX): Likewise.
66496         [POSIX || XPG3] (NL_MSGMAX): Likewise.
66497         [POSIX || XPG3] (NL_NMAX): Likewise.
66498         [POSIX || XPG3] (NL_SETMAX): Likewise.
66499         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
66500         [XPG3] (NZERO): Likewise.
66501         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
66502         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
66503         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
66504         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
66505         (REG_ERANGE): Expect.
66506         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
66507         optional-constant.
66508         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
66509         Use (void) in prototype.
66510         [POSIX] (*_t): Allow.
66511         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
66512         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
66513         (WRDE_BADVAL): Expect.
66515         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
66516         expect.
66517         [XPG3 || XPG4] (O_RSYNC): Likewise.
66518         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
66519         Likewise.
66520         [XPG3 || XPG4] (pthread_sigmask): Likewise.
66521         [XPG3 || XPG4] (sigqueue): Likewise.
66522         [XPG3 || XPG4] (sigtimedwait): Likewise.
66523         [XPG3 || XPG4] (sigwaitinfo): Likewise.
66524         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
66525         [XPG3 || XPG4] (vsnprintf): Likewise.
66526         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
66527         Likewise.
66528         [XPG3 || XPG4] (blksize_t): Likewise.
66529         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
66530         Likewise.
66531         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
66532         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
66533         [XPG3 || XPG4] (struct itimerspec): Likewise.
66534         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
66535         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
66536         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
66537         [XPG3 || XPG4] (clockid_t): Likewise.
66538         [XPG3 || XPG4] (timer_t): Likewise.
66539         [XPG3 || XPG4] (clock_getres): Likewise.
66540         [XPG3 || XPG4] (clock_gettime): Likewise.
66541         [XPG3 || XPG4] (clock_settime): Likewise.
66542         [XPG3 || XPG4] (nanosleep): Likewise.
66543         [XPG3 || XPG4] (timer_create): Likewise.
66544         [XPG3 || XPG4] (timer_delete): Likewise.
66545         [XPG3 || XPG4] (timer_gettime): Likewise.
66546         [XPG3 || XPG4] (timer_getoverrun): Likewise.
66547         [XPG3 || XPG4] (timer_settime): Likewise.
66548         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
66549         [XPG3 || XPG4] (getlogin_r): Likewise.
66550         [XPG3 || XPG4] (pread): Likewise.
66551         [XPG3 || XPG4] (pthread_atfork): Likewise.
66552         [XPG3 || XPG4] (pwrite): Likewise.
66554         [BZ #14835]
66555         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
66556         <bits/siginfo.h>.
66558 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66560         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
66561         finalizing MALLSTREAM.
66563         * sysdeps/mach/hurd/syncfs.c: New file.
66565 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66567         [BZ #14719]
66568         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
66569         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
66570         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
66571         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
66572         (_nss_dns_gethostbyname4_r): Likewise.
66573         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
66574         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
66576 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
66578         [BZ #13763]
66579         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
66581 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
66583         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
66584         * elf/cache.c (print_entry): Print ",AArch64" for
66585         FLAG_AARCH64_LIB64
66587         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
66588         * elf/cache.c (print_entry): Print ",hard-float" for
66589         FLAG_ARM_LIBHF.
66591 2012-11-18  David S. Miller  <davem@davemloft.net>
66593         With help from Joseph Myers.
66594         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
66595         cutoff to 2**-13.
66596         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
66597         cutoff to 2**-25.
66598         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
66599         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
66600         small.
66601         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
66602         * math/libm-test.inc (y0_test): New tests.
66603         (y1_test): New tests.
66604         * sysdeps/i386/fpu/libm-test-ulps: Update.
66605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66608 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
66610         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
66611         64-bit targets.
66612         * configure: Regenerated.
66614 2012-11-17  David S. Miller  <davem@davemloft.net>
66616         [BZ #14811]
66617         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
66618         nonzero exponents with absolute value below 0x1p-128 to +/-
66619         0x1p-128.
66621 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
66623         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
66625         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
66627         * posix/getconf-speclist.c: New file.
66628         * posix/posix-envs.def: Likewise.
66629         * posix/confstr.c (START_ENV_GROUP): New macro.
66630         (END_ENV_GROUP): Likewise.
66631         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66632         (KNOWN_PRESENT_ENV_STRING): Likewise.
66633         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66634         (UNKNOWN_ENVIRONMENT): Likewise.
66635         (confstr): Include posix-envs.def instead of handling
66636         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
66637         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
66638         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
66639         (END_ENV_GROUP): Likewise.
66640         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66641         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66642         (UNKNOWN_ENVIRONMENT): Likewise.
66643         (__sysconf): Include posix-envs.def instead of handling associated
66644         cases directly here.
66645         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
66646         preprocessing getconf-speclist.c rather than running getconf or
66647         generating empty file.
66649 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
66651         * scripts/check-local-headers.sh: Ignore 'mach' headers.
66653 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
66655         [BZ #14672]
66656         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
66658 2012-11-16  David S. Miller  <davem@davemloft.net>
66660         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
66661         smaller than LDBL_EPSILON/2.0L, just return xm1.
66663 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
66665         * elf/tst-array1.c (init): Set constructor priority to 1000.
66666         (fini): Set destructor priority to 1000.
66667         * elf/tst-array2dep.c: Likewise.
66669 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66671         [BZ #11741]
66672         * libio/fileops.c (_IO_new_file_write): Correctly return error.
66673         (_IO_new_file_xsputn): Also return EOF if none of the input
66674         data was written when overflow failed.
66675         * libio/iopadn.c (_IO_padn): Likewise.
66676         * libio/iowpadn.c (_IO_wpadn): Likewise.
66677         * stdio-common/tst-put-error.c: Add copyright notice.
66678         (do_test): Add case for printing padded string.
66679         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
66680         _IO_padn returned error.
66681         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
66682         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
66683         return EOF.
66685 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66687         * libio/libioP.h: Add comment note that the references to C++
66688         bits are now obsolete.
66690 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66692         * math/libm-test.inc (check_complex): Use asprintf.
66694 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
66696         * debug/pcprofiledump.c (print_version): Update copyright year.
66697         * malloc/memusagestat.c (print_version): Likewise.
66699 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
66701         [BZ #14831]
66702         * elf/Makefile (tests): Add tst-audit8.
66703         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
66704         ($(objpfx)tst-audit8.out): New target.
66705         (tst-audit8-ENV): New variable.
66706         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
66707         audit if l_reloc_result is NULL.
66708         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
66709         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
66710         * elf/tst-audit8.c: New file.
66712 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66714         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
66715         * misc/Makefile (CFLAGS-select.c): Define.
66716         * posix/Makefile (CFLAGS-pause.c): Define.
66718 2012-11-13  David S. Miller  <davem@davemloft.net>
66720         * crypt/Makefile: Move test targets after toplevel Rules
66721         inclusion.  Grab any necessary sysdep routines when linking.
66722         * crypt/md5.c (md5_process_block): Remove define, we will always
66723         name it __md5_process_block.
66724         (md5_finish_ctx): Update md5_process_block call.
66725         (md5_stream): Likewise.
66726         (md5_process_bytes): Likewise.
66727         (md5_process_block): Rename to __md5_process_block and move to ...
66728         * crypt/md5-block.c: ... here.
66729         * crypt/sha256.c (sha256_process_block): Move to ...
66730         * crypt/sha256-block.c: ... here.
66731         * crypt/sha512.c (sha512_process_block): Move to ...
66732         * crypt/sha512-block.c: ... here.
66733         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
66734         path.
66735         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
66736         * sysdeps/sparc/sparc64/multiarch/Makefile
66737         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
66738         crypt subdir.
66739         (localedef-aux): Add md5 crypto assembler when in locale subdir.
66740         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
66741         multiarch changes.
66742         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
66743         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
66744         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
66745         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
66746         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
66747         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
66748         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
66749         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
66750         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
66751         file.
66752         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
66753         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
66754         file.
66755         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
66757 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
66759         * timezone/tzselect.ksh: Update from tzcode git revision
66760         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
66761         * timezone/zdump.c: Likewise.
66762         * timezone/zic.c: Likewise.
66763         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
66764         in TZVERSION setting, not $(PKGVERSION).
66765         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
66766         REPORT_BUGS_TO settings.
66768         [BZ #14838]
66769         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
66770         macro.
66772 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66774         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
66775         detection to immediately after _FP_ROUND().
66776         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
66777         bits are 0.
66779 2012-11-11  David S. Miller  <davem@davemloft.net>
66781         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
66782         inttypes.h
66783         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
66784         __close rather than their public counterparts.
66786 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
66788         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
66789         file.
66790         [UNIX98] (sem_timedwait): Do not expect.
66791         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
66792         [XPG4 || UNIX98] (sockatmark): Do not expect.
66793         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
66794         (clock_getcpuclockid): Do not expect.
66795         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
66796         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
66797         Do not expect.
66798         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
66799         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
66800         [UNIX98] (vwscanf): Likewise.
66801         [UNIX98] (vswscanf): Likewise.
66803 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
66805         * timezone/version.h: Remove file.
66806         * timezone/README: Do not refer to version.h.
66807         * timezone/Makefile ($(objpfx)zic.o): New dependency on
66808         $(objpfx)version.h.
66809         ($(objpfx)zdump.o): Likewise.
66810         ($(objpfx)version.h): New target.
66812         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
66813         2012i.
66814         * timezone/README: Don't mention modification to tzselect.ksh.
66815         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
66816         work on unmodified tzselect.ksh.  Substitute version numbers in
66817         tzselect.ksh.
66819         * Makefile (format-me): Remove.
66820         (INSTALL): Adjust indentation.  Use commands directly instead of
66821         using $(format-me).
66823         * aclocal.m4 (ACX_PKGVERSION): New macro.
66824         (ACX_BUGURL): Likewise.
66825         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
66826         (PKGVERSION): New AC_DEFINE_UNQUOTED.
66827         (REPORT_BUGS_TO): Likewise.
66828         * configure: Regenerated.
66829         * config.h.in (PKGVERSION): New macro.
66830         (REPORT_BUGS_TO): Likewise.
66831         * config.make.in (PKGVERSION): New variable.
66832         (PKGVERSION_TEXI): Likewise.
66833         (REPORT_BUGS_TO): Likewise.
66834         (REPORT_BUGS_TEXI): Likewise.
66835         * Makefile (format-me): Use -I$(common-objpfx)manual.
66836         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
66837         ($(common-objpfx)manual/%): New target.
66838         (manual/%): Remove target.
66839         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
66840         (print_version): Use PKGVERSION.
66841         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
66842         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
66843         and REPORT_BUGS_TO.
66844         ($(objpfx)xtrace): Likewise.
66845         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
66846         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
66847         (print_version): Use PKGVERSION.
66848         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
66849         (do_version): Use PKGVERSION.
66850         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
66851         REPORT_BUGS_TO.
66852         (common-ldd-rewrite): Likewise.
66853         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
66854         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
66855         (print_version): Use PKGVERSION.
66856         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
66857         * elf/pldd.c (argp_program_bug_address): Remove variable.
66858         (more_help): New function.
66859         (argp): Use more_help.
66860         (print_version): Use PKGVERSION.
66861         * elf/sln.c (main): Use PKGVERSION.
66862         (usage): Use REPORT_BUGS_TO.
66863         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
66864         (top level): Use PKGVERSION.
66865         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
66866         (print_version): Use PKGVERSION.
66867         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
66868         (print_version): Use PKGVERSION.
66869         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
66870         (print_version): Use PKGVERSION.
66871         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
66872         (print_version): Use PKGVERSION.
66873         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
66874         (print_version): Use PKGVERSION.
66875         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
66876         (print_version): Use PKGVERSION.
66877         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
66878         and BUGURL.
66879         ($(objpfx)memusage): Likewise.
66880         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
66881         (do_version): Use PKGVERSION.
66882         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
66883         (print_version): Use PKGVERSION.
66884         * malloc/mtrace.pl ($PACKAGE): Remove variable.
66885         ($PKGVERSION): New variable.
66886         ($REPORT_BUGS_TO): Likewise.
66887         (usage): Use $REPORT_BUGS_TO.
66888         (top level): Use $PKGVERSION.
66889         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
66890         ($(objpfx)pkgvers.texi): New rule.
66891         ($(objpfx)stamp-pkgvers): Likewise.
66892         * manual/install.texi: Include pkgvers.texi.
66893         (--with-pkgversion): Document new configure option.
66894         (--with-bugurl): Likewise.
66895         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
66896         than necessarily for this particular distribution.  Use
66897         REPORT_BUGS_TO for where to report bugs.
66898         * INSTALL: Regenerated.
66899         * manual/libc.texinfo: Include pkgvers.texi.
66900         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
66901         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
66902         (print_version): Use PKGVERSION.
66903         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
66904         (print_version): Use PKGVERSION.
66905         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
66906         (print_version): Use PKGVERSION.
66907         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
66908         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
66909         macro.
66910         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
66911         (print_version): Use PKGVERSION.
66912         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
66913         (print_version): Use PKGVERSION.
66914         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
66915         and PKGVERSION.
66917         * timezone/checktab.awk: Update from tzcode 2012i.
66918         * timezone/ialloc.c: Likewise.
66919         * timezone/private.h: Likewise.
66920         * timezone/scheck.c: Likewise.
66921         * timezone/tzfile.h: Likewise.
66922         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
66923         (TZVERSION): Hardcode tzcode version number.
66924         * timezone/zdump.c: Update from tzcode 2012i.
66925         * timezone/zic.c: Likewise.
66926         * timezone/version.h: New file.
66927         * timezone/README: Describe version.h.  Update upstream location.
66929         [BZ #14824]
66930         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
66931         (mktemp): Enable declaration.
66932         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
66933         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
66934         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
66935         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
66936         Likewise.
66937         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
66938         Likewise.
66939         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
66940         Likewise.
66941         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
66942         Likewise.
66943         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
66944         Likewise.
66945         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
66946         Likewise.
66948         [BZ #14821]
66949         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
66950         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
66951         for copies of such integer values.
66952         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66953         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66955 2012-11-09  Andreas Jaeger  <aj@suse.de>
66957         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
66958         definitions and declarations that are provided by
66959         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
66961 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66963         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
66964         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
66965         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
66966         definition.
66968 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66970         * elf/elf.h: Update comment before AArch64 relocations.
66972 2012-11-07  David S. Miller  <davem@davemloft.net>
66974         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
66975         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66976         (__start_context): Declare.
66977         (__makecontext_ret): Delete.
66978         (__makecontext): Hook up __start_context instead of
66979         __makecontext_ret.
66980         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
66981         (sysdep_routines): Add __start_context when in stdlib.
66983 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66985         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
66986         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
66987         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
66988         hardcoded "nm".
66989         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
66990         (READELF): New variable.  Use it instead of hardcoded "readelf".
66992 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
66994         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
66995         * sysdeps/x86/Makefile: Here.
66996         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
66997         * sysdeps/x86/tst-xmmymm.sh: This.
66999 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67001         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
67002         expectations.
67003         [UNIX98] (pthread_barrier_t): Do not expect.
67004         [UNIX98] (pthread_barrierattr_t): Likewise.
67005         [UNIX98] (pthread_spinlock_t): Likewise.
67006         [UNIX98] (pthread_barrier_destroy): Likewise.
67007         [UNIX98] (pthread_barrier_init): Likewise.
67008         [UNIX98] (pthread_barrier_wait): Likewise.
67009         [UNIX98] (pthread_barrierattr_destroy): Likewise.
67010         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
67011         [UNIX98] (pthread_barrierattr_init): Likewise.
67012         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
67013         [UNIX98] (pthread_getcpuclockid): Likewise.
67014         [UNIX98] (pthread_mutex_timedlock): Likewise.
67015         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
67016         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
67017         [UNIX98] (pthread_sigmask): Likewise.
67018         [UNIX98] (pthread_spin_destroy): Likewise.
67019         [UNIX98] (pthread_spin_init): Likewise.
67020         [UNIX98] (pthread_spin_lock): Likewise.
67021         [UNIX98] (pthread_spin_trylock): Likewise.
67022         [UNIX98] (pthread_spin_unlock): Likewise.
67023         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
67024         Do not expect.
67025         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
67026         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
67027         [XPG3 || XPG4] (pthread_cond_t): Likewise.
67028         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
67029         [XPG3 || XPG4] (pthread_key_t): Likewise.
67030         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
67031         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
67032         [XPG3 || XPG4] (pthread_once_t): Likewise.
67033         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
67034         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
67035         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
67036         [XPG3 || XPG4] (pthread_t): Likewise.
67038         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
67039         not expect.
67040         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
67042         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
67043         Change function return type to int.
67045         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
67046         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
67047         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
67048         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
67049         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
67050         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
67051         [!POSIX] (posix_madvise): Likewise.
67052         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
67053         && !UNIX98].
67054         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
67055         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
67056         (mode_t): Likewise.
67057         (posix_mem_offset): Likewise.
67058         (posix_typed_mem_get_info): Likewise.
67059         (posix_typed_mem_open): Likewise.
67061         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
67062         Change condition to [XOPEN2K8].
67064         * conform/conformtest.pl: Preprocess allow-header data with -x c
67065         instead of from stdin.
67066         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
67067         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
67068         [C99-based standards] (cerfc): Likewise.
67069         [C99-based standards] (cexp2): Likewise.
67070         [C99-based standards] (cexpm1): Likewise.
67071         [C99-based standards] (clog10): Likewise.
67072         [C99-based standards] (clog1p): Likewise.
67073         [C99-based standards] (clog2): Likewise.
67074         [C99-based standards] (clgamma): Likewise.
67075         [C99-based standards] (ctgamma): Likewise.
67076         [C99-based standards] (cerff): Likewise.
67077         [C99-based standards] (cerfcf): Likewise.
67078         [C99-based standards] (cexp2f): Likewise.
67079         [C99-based standards] (cexpm1f): Likewise.
67080         [C99-based standards] (clog10f): Likewise.
67081         [C99-based standards] (clog1pf): Likewise.
67082         [C99-based standards] (clog2f): Likewise.
67083         [C99-based standards] (clgammaf): Likewise.
67084         [C99-based standards] (ctgammaf): Likewise.
67085         [C99-based standards] (cerfl): Likewise.
67086         [C99-based standards] (cerfcl): Likewise.
67087         [C99-based standards] (cexp2l): Likewise.
67088         [C99-based standards] (cexpm1l): Likewise.
67089         [C99-based standards] (clog10l): Likewise.
67090         [C99-based standards] (clog1pl): Likewise.
67091         [C99-based standards] (clog2l): Likewise.
67092         [C99-based standards] (clgammal): Likewise.
67093         [C99-based standards] (ctgammal): Likewise.
67094         * conform/data/inttypes.h-data [C99-based standards]: Include
67095         stdint.h-data.  Remove all expectations for stdint.h contents.
67096         [C99-based standards] (PRI*): Do not allow.
67097         [C99-based standards] (SCN*): Likewise.
67098         [C99-based standards] (*_t): Likewise.
67099         [C99-based-standards] (PRId8): Expect macro.
67100         [C99-based-standards] (PRIi8): Likewise.
67101         [C99-based-standards] (PRIo8): Likewise.
67102         [C99-based-standards] (PRIu8): Likewise.
67103         [C99-based-standards] (PRIx8): Likewise.
67104         [C99-based-standards] (PRIX8): Likewise.
67105         [C99-based-standards] (SCNd8): Likewise.
67106         [C99-based-standards] (SCNi8): Likewise.
67107         [C99-based-standards] (SCNo8): Likewise.
67108         [C99-based-standards] (SCNu8): Likewise.
67109         [C99-based-standards] (SCNx8): Likewise.
67110         [C99-based-standards] (PRIdLEAST8): Likewise.
67111         [C99-based-standards] (PRIiLEAST8): Likewise.
67112         [C99-based-standards] (PRIoLEAST8): Likewise.
67113         [C99-based-standards] (PRIuLEAST8): Likewise.
67114         [C99-based-standards] (PRIxLEAST8): Likewise.
67115         [C99-based-standards] (PRIXLEAST8): Likewise.
67116         [C99-based-standards] (SCNdLEAST8): Likewise.
67117         [C99-based-standards] (SCNiLEAST8): Likewise.
67118         [C99-based-standards] (SCNoLEAST8): Likewise.
67119         [C99-based-standards] (SCNuLEAST8): Likewise.
67120         [C99-based-standards] (SCNxLEAST8): Likewise.
67121         [C99-based-standards] (PRIdFAST8): Likewise.
67122         [C99-based-standards] (PRIiFAST8): Likewise.
67123         [C99-based-standards] (PRIoFAST8): Likewise.
67124         [C99-based-standards] (PRIuFAST8): Likewise.
67125         [C99-based-standards] (PRIxFAST8): Likewise.
67126         [C99-based-standards] (PRIXFAST8): Likewise.
67127         [C99-based-standards] (SCNdFAST8): Likewise.
67128         [C99-based-standards] (SCNiFAST8): Likewise.
67129         [C99-based-standards] (SCNoFAST8): Likewise.
67130         [C99-based-standards] (SCNuFAST8): Likewise.
67131         [C99-based-standards] (SCNxFAST8): Likewise.
67132         [C99-based-standards] (PRId16): Likewise.
67133         [C99-based-standards] (PRIi16): Likewise.
67134         [C99-based-standards] (PRIo16): Likewise.
67135         [C99-based-standards] (PRIu16): Likewise.
67136         [C99-based-standards] (PRIx16): Likewise.
67137         [C99-based-standards] (PRIX16): Likewise.
67138         [C99-based-standards] (SCNd16): Likewise.
67139         [C99-based-standards] (SCNi16): Likewise.
67140         [C99-based-standards] (SCNo16): Likewise.
67141         [C99-based-standards] (SCNu16): Likewise.
67142         [C99-based-standards] (SCNx16): Likewise.
67143         [C99-based-standards] (PRIdLEAST16): Likewise.
67144         [C99-based-standards] (PRIiLEAST16): Likewise.
67145         [C99-based-standards] (PRIoLEAST16): Likewise.
67146         [C99-based-standards] (PRIuLEAST16): Likewise.
67147         [C99-based-standards] (PRIxLEAST16): Likewise.
67148         [C99-based-standards] (PRIXLEAST16): Likewise.
67149         [C99-based-standards] (SCNdLEAST16): Likewise.
67150         [C99-based-standards] (SCNiLEAST16): Likewise.
67151         [C99-based-standards] (SCNoLEAST16): Likewise.
67152         [C99-based-standards] (SCNuLEAST16): Likewise.
67153         [C99-based-standards] (SCNxLEAST16): Likewise.
67154         [C99-based-standards] (PRIdFAST16): Likewise.
67155         [C99-based-standards] (PRIiFAST16): Likewise.
67156         [C99-based-standards] (PRIoFAST16): Likewise.
67157         [C99-based-standards] (PRIuFAST16): Likewise.
67158         [C99-based-standards] (PRIxFAST16): Likewise.
67159         [C99-based-standards] (PRIXFAST16): Likewise.
67160         [C99-based-standards] (SCNdFAST16): Likewise.
67161         [C99-based-standards] (SCNiFAST16): Likewise.
67162         [C99-based-standards] (SCNoFAST16): Likewise.
67163         [C99-based-standards] (SCNuFAST16): Likewise.
67164         [C99-based-standards] (SCNxFAST16): Likewise.
67165         [C99-based-standards] (PRId32): Likewise.
67166         [C99-based-standards] (PRIi32): Likewise.
67167         [C99-based-standards] (PRIo32): Likewise.
67168         [C99-based-standards] (PRIu32): Likewise.
67169         [C99-based-standards] (PRIx32): Likewise.
67170         [C99-based-standards] (PRIX32): Likewise.
67171         [C99-based-standards] (SCNd32): Likewise.
67172         [C99-based-standards] (SCNi32): Likewise.
67173         [C99-based-standards] (SCNo32): Likewise.
67174         [C99-based-standards] (SCNu32): Likewise.
67175         [C99-based-standards] (SCNx32): Likewise.
67176         [C99-based-standards] (PRIdLEAST32): Likewise.
67177         [C99-based-standards] (PRIiLEAST32): Likewise.
67178         [C99-based-standards] (PRIoLEAST32): Likewise.
67179         [C99-based-standards] (PRIuLEAST32): Likewise.
67180         [C99-based-standards] (PRIxLEAST32): Likewise.
67181         [C99-based-standards] (PRIXLEAST32): Likewise.
67182         [C99-based-standards] (SCNdLEAST32): Likewise.
67183         [C99-based-standards] (SCNiLEAST32): Likewise.
67184         [C99-based-standards] (SCNoLEAST32): Likewise.
67185         [C99-based-standards] (SCNuLEAST32): Likewise.
67186         [C99-based-standards] (SCNxLEAST32): Likewise.
67187         [C99-based-standards] (PRIdFAST32): Likewise.
67188         [C99-based-standards] (PRIiFAST32): Likewise.
67189         [C99-based-standards] (PRIoFAST32): Likewise.
67190         [C99-based-standards] (PRIuFAST32): Likewise.
67191         [C99-based-standards] (PRIxFAST32): Likewise.
67192         [C99-based-standards] (PRIXFAST32): Likewise.
67193         [C99-based-standards] (SCNdFAST32): Likewise.
67194         [C99-based-standards] (SCNiFAST32): Likewise.
67195         [C99-based-standards] (SCNoFAST32): Likewise.
67196         [C99-based-standards] (SCNuFAST32): Likewise.
67197         [C99-based-standards] (SCNxFAST32): Likewise.
67198         [C99-based-standards] (PRId64): Likewise.
67199         [C99-based-standards] (PRIi64): Likewise.
67200         [C99-based-standards] (PRIo64): Likewise.
67201         [C99-based-standards] (PRIu64): Likewise.
67202         [C99-based-standards] (PRIx64): Likewise.
67203         [C99-based-standards] (PRIX64): Likewise.
67204         [C99-based-standards] (SCNd64): Likewise.
67205         [C99-based-standards] (SCNi64): Likewise.
67206         [C99-based-standards] (SCNo64): Likewise.
67207         [C99-based-standards] (SCNu64): Likewise.
67208         [C99-based-standards] (SCNx64): Likewise.
67209         [C99-based-standards] (PRIdLEAST64): Likewise.
67210         [C99-based-standards] (PRIiLEAST64): Likewise.
67211         [C99-based-standards] (PRIoLEAST64): Likewise.
67212         [C99-based-standards] (PRIuLEAST64): Likewise.
67213         [C99-based-standards] (PRIxLEAST64): Likewise.
67214         [C99-based-standards] (PRIXLEAST64): Likewise.
67215         [C99-based-standards] (SCNdLEAST64): Likewise.
67216         [C99-based-standards] (SCNiLEAST64): Likewise.
67217         [C99-based-standards] (SCNoLEAST64): Likewise.
67218         [C99-based-standards] (SCNuLEAST64): Likewise.
67219         [C99-based-standards] (SCNxLEAST64): Likewise.
67220         [C99-based-standards] (PRIdFAST64): Likewise.
67221         [C99-based-standards] (PRIiFAST64): Likewise.
67222         [C99-based-standards] (PRIoFAST64): Likewise.
67223         [C99-based-standards] (PRIuFAST64): Likewise.
67224         [C99-based-standards] (PRIxFAST64): Likewise.
67225         [C99-based-standards] (PRIXFAST64): Likewise.
67226         [C99-based-standards] (SCNdFAST64): Likewise.
67227         [C99-based-standards] (SCNiFAST64): Likewise.
67228         [C99-based-standards] (SCNoFAST64): Likewise.
67229         [C99-based-standards] (SCNuFAST64): Likewise.
67230         [C99-based-standards] (SCNxFAST64): Likewise.
67231         [C99-based-standards] (PRIdMAX): Likewise.
67232         [C99-based-standards] (PRIiMAX): Likewise.
67233         [C99-based-standards] (PRIoMAX): Likewise.
67234         [C99-based-standards] (PRIuMAX): Likewise.
67235         [C99-based-standards] (PRIxMAX): Likewise.
67236         [C99-based-standards] (PRIXMAX): Likewise.
67237         [C99-based-standards] (SCNdMAX): Likewise.
67238         [C99-based-standards] (SCNiMAX): Likewise.
67239         [C99-based-standards] (SCNoMAX): Likewise.
67240         [C99-based-standards] (SCNuMAX): Likewise.
67241         [C99-based-standards] (SCNxMAX): Likewise.
67242         [C99-based-standards] (PRIdPTR): Likewise.
67243         [C99-based-standards] (PRIiPTR): Likewise.
67244         [C99-based-standards] (PRIoPTR): Likewise.
67245         [C99-based-standards] (PRIuPTR): Likewise.
67246         [C99-based-standards] (PRIxPTR): Likewise.
67247         [C99-based-standards] (PRIXPTR): Likewise.
67248         [C99-based-standards] (SCNdPTR): Likewise.
67249         [C99-based-standards] (SCNiPTR): Likewise.
67250         [C99-based-standards] (SCNoPTR): Likewise.
67251         [C99-based-standards] (SCNuPTR): Likewise.
67252         [C99-based-standards] (SCNxPTR): Likewise.
67253         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
67254         allow.
67255         * conform/data/stdint.h-data: Update comments to clarify
67256         requirements.
67257         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
67258         type.
67259         [C99-based standards] (INT8_MAX): Likewise.
67260         [C99-based standards] (INT16_MIN): Likewise.
67261         [C99-based standards] (INT16_MAX): Likewise.
67262         [C99-based standards] (INT32_MIN): Likewise.
67263         [C99-based standards] (INT32_MAX): Likewise.
67264         [C99-based standards] (INT64_MIN): Likewise.
67265         [C99-based standards] (INT64_MAX): Likewise.
67266         [C99-based standards] (UINT8_MAX): Likewise.
67267         [C99-based standards] (UINT16_MAX): Likewise.
67268         [C99-based standards] (UINT32_MAX): Likewise.
67269         [C99-based standards] (UINT64_MAX): Likewise.
67270         [C99-based standards] (INT_LEAST8_MIN): Likewise.
67271         [C99-based standards] (INT_LEAST8_MAX): Likewise.
67272         [C99-based standards] (INT_LEAST16_MIN): Likewise.
67273         [C99-based standards] (INT_LEAST16_MAX): Likewise.
67274         [C99-based standards] (INT_LEAST32_MIN): Likewise.
67275         [C99-based standards] (INT_LEAST32_MAX): Likewise.
67276         [C99-based standards] (INT_LEAST64_MIN): Likewise.
67277         [C99-based standards] (INT_LEAST64_MAX): Likewise.
67278         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
67279         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
67280         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
67281         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
67282         [C99-based standards] (INT_FAST8_MIN): Likewise.
67283         [C99-based standards] (INT_FAST8_MAX): Likewise.
67284         [C99-based standards] (INT_FAST16_MIN): Likewise.
67285         [C99-based standards] (INT_FAST16_MAX): Likewise.
67286         [C99-based standards] (INT_FAST32_MIN): Likewise.
67287         [C99-based standards] (INT_FAST32_MAX): Likewise.
67288         [C99-based standards] (INT_FAST64_MIN): Likewise.
67289         [C99-based standards] (INT_FAST64_MAX): Likewise.
67290         [C99-based standards] (UINT_FAST8_MAX): Likewise.
67291         [C99-based standards] (UINT_FAST16_MAX): Likewise.
67292         [C99-based standards] (UINT_FAST32_MAX): Likewise.
67293         [C99-based standards] (UINT_FAST64_MAX): Likewise.
67294         [C99-based standards] (INTPTR_MIN): Likewise.
67295         [C99-based standards] (INTPTR_MAX): Likewise.
67296         [C99-based standards] (UINTPTR_MAX): Likewise.
67297         [C99-based standards] (INTMAX_MIN): Likewise.
67298         [C99-based standards] (INTMAX_MAX): Likewise.
67299         [C99-based standards] (UINTMAX_MAX): Likewise.
67300         [C99-based standards] (PTRDIFF_MIN): Likewise.
67301         [C99-based standards] (PTRDIFF_MAX): Likewise.
67302         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
67303         [C99-based standards] (SIZE_MAX): Likewise.
67304         [C99-based standards] (WCHAR_MAX): Likewise.
67305         [C99-based standards] (WINT_MAX): Likewise.
67306         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
67307         constraint on value.
67308         [C99-based standards] (WCHAR_MIN): Likewise.
67309         [C99-based standards] (WINT_MIN): Likewise.
67310         [C99-based standards] (*_t): Allow.
67311         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
67312         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
67313         Include math.h-data and complex.h-data.  Remove all expectations
67314         of math.h and complex.h contents.
67315         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
67316         at end of line.
67317         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
67318         (struct tm): Expect tag.
67319         [C99-based-standards] (wcstof): Expect function.
67320         [C99-based-standards] (wcstold): Likewise.
67321         [C99-based-standards] (wcstoll): Likewise.
67322         [C99-based-standards] (wcstoull): Likewise.
67323         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
67324         macro-int-constant.  Specify type.
67325         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
67326         constraint on value.
67327         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67328         Specify type.
67329         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
67330         Specify value.
67331         [ISO C standards]: Do not allow headers.
67332         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
67333         wcs[abcdefghijklmnopqrstuvwxyz]*.
67334         [ISO C standards] (*_t): Do not allow.
67335         * conform/data/wctype.h-data [C99-based standards] (iswblank):
67336         Expect function.
67337         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
67338         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67339         Specify type.
67340         [ISO C standards]: Do not allow headers.
67341         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
67342         is[abcdefghijklmnopqrstuvwxyz]*.
67343         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
67344         to[abcdefghijklmnopqrstuvwxyz]*.
67345         [ISO C standards] (*_t): Do not allow.
67346         * conform/data/stdalign.h-data: New file.
67347         * conform/data/stdbool.h-data: Likewise.
67348         * conform/data/stdnoreturn.h-data: Likewise.
67350 2012-11-07  Roland McGrath  <roland@hack.frob.com>
67352         [BZ #14815]
67353         * manual/filesys.texi (Directory Entries): Typo fix.
67354         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
67356 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67358         * elf/elf.h (EM_AARCH64): New macro.
67359         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
67360         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
67361         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
67362         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
67363         (R_AARCH64_TLSDESC): Likewise.
67364         (NT_ARM_TLS): Likewise.
67365         (NT_ARM_HW_BREAK): Likewise.
67366         (NT_ARM_HW_WATCH): Likewise.
67368 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67370         [BZ #14811]
67371         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
67372         (__ieee754_powl): Saturate nonzero exponents with absolute value
67373         below 0x1p-79 to +/- 0x1p-79.
67374         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
67375         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
67376         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
67377         nonzero exponents with absolute value below 0x1p-32 to +/-
67378         0x1p-32.
67379         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
67380         (__ieee754_powl): Saturate nonzero exponents with absolute value
67381         below 0x1p-79 to +/- 0x1p-79.
67382         * math/libm-test.inc (pow_test): Add more tests.
67384 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67386         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
67387         _dl_s390_cap_flags with kernel. Increase string length.
67388         (_dl_s390_platforms): Add z196 and zEC12.
67390 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67392         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
67393         Change XOPEN21K to XOPEN2K.
67395 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
67397         * string/memmove.c: Use memcpy when possible.
67399 2012-11-06  Andreas Jaeger  <aj@suse.de>
67401         * po/eo.po: Update from translation team.
67403 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
67405         [BZ #14793]
67406         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
67407         exponent and small x and y exponents, scale x or y up.  Increase
67408         by 2 the exponent used in scaling up.
67409         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67410         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67411         * math/libm-test.inc (fma_test): Add more tests.
67412         (fma_test_towardzero): Likewise.
67413         (fma_test_downward): Likewise.
67414         (fma_test_upward): Likewise.
67416 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
67418         [BZ #14805]
67419         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
67420         fenv_t *.
67422         [BZ #14801]
67423         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
67424         namespace for names of struct fields.
67425         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
67426         fenv_t fields.
67427         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
67428         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
67430 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67432         [BZ #3665]
67433         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
67435 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67437         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
67438         PTR_DEMANGLE.
67440         [BZ #5246]
67441         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
67442         PTR_DEMANGLE.
67444 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
67446         [BZ #14797]
67447         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
67448         definitely overflow as x * y not x * y + z.
67449         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67450         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67451         * math/libm-test.inc (fma_test): Add more tests.
67452         (fma_test_towardzero): Likewise.
67453         (fma_test_downward): Likewise.
67454         (fma_test_upward): Likewise.
67456 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67458         [BZ #157]
67460         * include/stub-tag.h: Remove file.
67461         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
67462         '#include' of it.
67463         * manual/maint.texi (Porting): Don't reference it.
67464         * Makerules ($(objpfx)stubs): Likewise.
67465         * dirent/closedir.c: Don't include <stub-tag.h>.
67466         * dirent/dirfd.c: Likewise.
67467         * dirent/fdopendir.c: Likewise.
67468         * dirent/getdents.c: Likewise.
67469         * dirent/getdents64.c: Likewise.
67470         * dirent/opendir.c: Likewise.
67471         * dirent/readdir.c: Likewise.
67472         * dirent/readdir64.c: Likewise.
67473         * dirent/readdir64_r.c: Likewise.
67474         * dirent/readdir_r.c: Likewise.
67475         * dirent/rewinddir.c: Likewise.
67476         * dirent/seekdir.c: Likewise.
67477         * dirent/telldir.c: Likewise.
67478         * gmon/profil.c: Likewise.
67479         * grp/setgroups.c: Likewise.
67480         * inet/if_index.c: Likewise.
67481         * io/access.c: Likewise.
67482         * io/chdir.c: Likewise.
67483         * io/chmod.c: Likewise.
67484         * io/chown.c: Likewise.
67485         * io/close.c: Likewise.
67486         * io/dup.c: Likewise.
67487         * io/dup2.c: Likewise.
67488         * io/dup3.c: Likewise.
67489         * io/euidaccess.c: Likewise.
67490         * io/faccessat.c: Likewise.
67491         * io/fchdir.c: Likewise.
67492         * io/fchmod.c: Likewise.
67493         * io/fchmodat.c: Likewise.
67494         * io/fchown.c: Likewise.
67495         * io/fchownat.c: Likewise.
67496         * io/fcntl.c: Likewise.
67497         * io/flock.c: Likewise.
67498         * io/fstatfs.c: Likewise.
67499         * io/fstatfs64.c: Likewise.
67500         * io/fstatvfs.c: Likewise.
67501         * io/fstatvfs64.c: Likewise.
67502         * io/futimens.c: Likewise.
67503         * io/fxstat.c: Likewise.
67504         * io/fxstat64.c: Likewise.
67505         * io/fxstatat.c: Likewise.
67506         * io/fxstatat64.c: Likewise.
67507         * io/getcwd.c: Likewise.
67508         * io/isatty.c: Likewise.
67509         * io/lchmod.c: Likewise.
67510         * io/lchown.c: Likewise.
67511         * io/link.c: Likewise.
67512         * io/linkat.c: Likewise.
67513         * io/lseek.c: Likewise.
67514         * io/lseek64.c: Likewise.
67515         * io/lxstat64.c: Likewise.
67516         * io/mkdir.c: Likewise.
67517         * io/mkdirat.c: Likewise.
67518         * io/mkfifo.c: Likewise.
67519         * io/mkfifoat.c: Likewise.
67520         * io/open.c: Likewise.
67521         * io/open64.c: Likewise.
67522         * io/openat.c: Likewise.
67523         * io/openat64.c: Likewise.
67524         * io/pipe.c: Likewise.
67525         * io/pipe2.c: Likewise.
67526         * io/poll.c: Likewise.
67527         * io/posix_fadvise.c: Likewise.
67528         * io/posix_fadvise64.c: Likewise.
67529         * io/posix_fallocate.c: Likewise.
67530         * io/posix_fallocate64.c: Likewise.
67531         * io/read.c: Likewise.
67532         * io/readlink.c: Likewise.
67533         * io/readlinkat.c: Likewise.
67534         * io/rmdir.c: Likewise.
67535         * io/sendfile.c: Likewise.
67536         * io/sendfile64.c: Likewise.
67537         * io/statfs.c: Likewise.
67538         * io/statfs64.c: Likewise.
67539         * io/statvfs.c: Likewise.
67540         * io/statvfs64.c: Likewise.
67541         * io/symlink.c: Likewise.
67542         * io/symlinkat.c: Likewise.
67543         * io/ttyname.c: Likewise.
67544         * io/ttyname_r.c: Likewise.
67545         * io/umask.c: Likewise.
67546         * io/unlink.c: Likewise.
67547         * io/unlinkat.c: Likewise.
67548         * io/utime.c: Likewise.
67549         * io/utimensat.c: Likewise.
67550         * io/write.c: Likewise.
67551         * io/xmknod.c: Likewise.
67552         * io/xmknodat.c: Likewise.
67553         * io/xstat.c: Likewise.
67554         * io/xstat64.c: Likewise.
67555         * login/getpt.c: Likewise.
67556         * login/grantpt.c: Likewise.
67557         * login/unlockpt.c: Likewise.
67558         * math/e_acoshl.c: Likewise.
67559         * math/e_acosl.c: Likewise.
67560         * math/e_asinl.c: Likewise.
67561         * math/e_atan2l.c: Likewise.
67562         * math/e_atanhl.c: Likewise.
67563         * math/e_coshl.c: Likewise.
67564         * math/e_expl.c: Likewise.
67565         * math/e_fmodl.c: Likewise.
67566         * math/e_gammal_r.c: Likewise.
67567         * math/e_hypotl.c: Likewise.
67568         * math/e_j0l.c: Likewise.
67569         * math/e_j1l.c: Likewise.
67570         * math/e_jnl.c: Likewise.
67571         * math/e_lgammal_r.c: Likewise.
67572         * math/e_log10l.c: Likewise.
67573         * math/e_log2l.c: Likewise.
67574         * math/e_logl.c: Likewise.
67575         * math/e_powl.c: Likewise.
67576         * math/e_rem_pio2l.c: Likewise.
67577         * math/e_sinhl.c: Likewise.
67578         * math/e_sqrtl.c: Likewise.
67579         * math/fclrexcpt.c: Likewise.
67580         * math/fedisblxcpt.c: Likewise.
67581         * math/feenablxcpt.c: Likewise.
67582         * math/fegetenv.c: Likewise.
67583         * math/fegetexcept.c: Likewise.
67584         * math/fegetround.c: Likewise.
67585         * math/feholdexcpt.c: Likewise.
67586         * math/fesetenv.c: Likewise.
67587         * math/fesetround.c: Likewise.
67588         * math/feupdateenv.c: Likewise.
67589         * math/fgetexcptflg.c: Likewise.
67590         * math/fraiseexcpt.c: Likewise.
67591         * math/fsetexcptflg.c: Likewise.
67592         * math/ftestexcept.c: Likewise.
67593         * math/k_cosl.c: Likewise.
67594         * math/k_rem_pio2l.c: Likewise.
67595         * math/k_sinl.c: Likewise.
67596         * math/k_tanl.c: Likewise.
67597         * math/s_asinhl.c: Likewise.
67598         * math/s_atanl.c: Likewise.
67599         * math/s_cbrtl.c: Likewise.
67600         * math/s_erfl.c: Likewise.
67601         * math/s_expm1l.c: Likewise.
67602         * math/s_log1pl.c: Likewise.
67603         * math/s_tanhl.c: Likewise.
67604         * misc/acct.c: Likewise.
67605         * misc/brk.c: Likewise.
67606         * misc/chflags.c: Likewise.
67607         * misc/chroot.c: Likewise.
67608         * misc/fchflags.c: Likewise.
67609         * misc/fgetxattr.c: Likewise.
67610         * misc/flistxattr.c: Likewise.
67611         * misc/fremovexattr.c: Likewise.
67612         * misc/fsetxattr.c: Likewise.
67613         * misc/fsync.c: Likewise.
67614         * misc/ftruncate.c: Likewise.
67615         * misc/futimes.c: Likewise.
67616         * misc/futimesat.c: Likewise.
67617         * misc/getdomain.c: Likewise.
67618         * misc/getdtsz.c: Likewise.
67619         * misc/gethostid.c: Likewise.
67620         * misc/gethostname.c: Likewise.
67621         * misc/getloadavg.c: Likewise.
67622         * misc/getpagesize.c: Likewise.
67623         * misc/getsysstats.c: Likewise.
67624         * misc/getxattr.c: Likewise.
67625         * misc/gtty.c: Likewise.
67626         * misc/ioctl.c: Likewise.
67627         * misc/lgetxattr.c: Likewise.
67628         * misc/listxattr.c: Likewise.
67629         * misc/llistxattr.c: Likewise.
67630         * misc/lremovexattr.c: Likewise.
67631         * misc/lsetxattr.c: Likewise.
67632         * misc/lutimes.c: Likewise.
67633         * misc/madvise.c: Likewise.
67634         * misc/mincore.c: Likewise.
67635         * misc/mlock.c: Likewise.
67636         * misc/mlockall.c: Likewise.
67637         * misc/mmap.c: Likewise.
67638         * misc/mprotect.c: Likewise.
67639         * misc/msync.c: Likewise.
67640         * misc/munlock.c: Likewise.
67641         * misc/munlockall.c: Likewise.
67642         * misc/munmap.c: Likewise.
67643         * misc/preadv.c: Likewise.
67644         * misc/preadv64.c: Likewise.
67645         * misc/ptrace.c: Likewise.
67646         * misc/pwritev.c: Likewise.
67647         * misc/pwritev64.c: Likewise.
67648         * misc/readv.c: Likewise.
67649         * misc/reboot.c: Likewise.
67650         * misc/remap_file_pages.c: Likewise.
67651         * misc/removexattr.c: Likewise.
67652         * misc/revoke.c: Likewise.
67653         * misc/select.c: Likewise.
67654         * misc/setdomain.c: Likewise.
67655         * misc/setegid.c: Likewise.
67656         * misc/seteuid.c: Likewise.
67657         * misc/sethostid.c: Likewise.
67658         * misc/sethostname.c: Likewise.
67659         * misc/setregid.c: Likewise.
67660         * misc/setreuid.c: Likewise.
67661         * misc/setxattr.c: Likewise.
67662         * misc/sstk.c: Likewise.
67663         * misc/stty.c: Likewise.
67664         * misc/swapoff.c: Likewise.
67665         * misc/swapon.c: Likewise.
67666         * misc/sync.c: Likewise.
67667         * misc/syncfs.c: Likewise.
67668         * misc/syscall.c: Likewise.
67669         * misc/truncate.c: Likewise.
67670         * misc/ualarm.c: Likewise.
67671         * misc/usleep.c: Likewise.
67672         * misc/ustat.c: Likewise.
67673         * misc/utimes.c: Likewise.
67674         * misc/vhangup.c: Likewise.
67675         * misc/writev.c: Likewise.
67676         * posix/_exit.c: Likewise.
67677         * posix/alarm.c: Likewise.
67678         * posix/execve.c: Likewise.
67679         * posix/fexecve.c: Likewise.
67680         * posix/fork.c: Likewise.
67681         * posix/fpathconf.c: Likewise.
67682         * posix/getaddrinfo.c: Likewise.
67683         * posix/getegid.c: Likewise.
67684         * posix/geteuid.c: Likewise.
67685         * posix/getgid.c: Likewise.
67686         * posix/getgroups.c: Likewise.
67687         * posix/getlogin.c: Likewise.
67688         * posix/getlogin_r.c: Likewise.
67689         * posix/getpgid.c: Likewise.
67690         * posix/getpid.c: Likewise.
67691         * posix/getppid.c: Likewise.
67692         * posix/getresgid.c: Likewise.
67693         * posix/getresuid.c: Likewise.
67694         * posix/getsid.c: Likewise.
67695         * posix/getuid.c: Likewise.
67696         * posix/glob64.c: Likewise.
67697         * posix/nanosleep.c: Likewise.
67698         * posix/pathconf.c: Likewise.
67699         * posix/pause.c: Likewise.
67700         * posix/posix_madvise.c: Likewise.
67701         * posix/pread.c: Likewise.
67702         * posix/pread64.c: Likewise.
67703         * posix/pwrite.c: Likewise.
67704         * posix/pwrite64.c: Likewise.
67705         * posix/sched_getaffinity.c: Likewise.
67706         * posix/sched_getp.c: Likewise.
67707         * posix/sched_gets.c: Likewise.
67708         * posix/sched_primax.c: Likewise.
67709         * posix/sched_primin.c: Likewise.
67710         * posix/sched_rr_gi.c: Likewise.
67711         * posix/sched_setaffinity.c: Likewise.
67712         * posix/sched_setp.c: Likewise.
67713         * posix/sched_sets.c: Likewise.
67714         * posix/sched_yield.c: Likewise.
67715         * posix/setgid.c: Likewise.
67716         * posix/setlogin.c: Likewise.
67717         * posix/setpgid.c: Likewise.
67718         * posix/setresgid.c: Likewise.
67719         * posix/setresuid.c: Likewise.
67720         * posix/setsid.c: Likewise.
67721         * posix/setuid.c: Likewise.
67722         * posix/sleep.c: Likewise.
67723         * posix/spawni.c: Likewise.
67724         * posix/sysconf.c: Likewise.
67725         * posix/times.c: Likewise.
67726         * posix/wait.c: Likewise.
67727         * posix/wait3.c: Likewise.
67728         * posix/wait4.c: Likewise.
67729         * posix/waitpid.c: Likewise.
67730         * resolv/gai_sigqueue.c: Likewise.
67731         * resource/getpriority.c: Likewise.
67732         * resource/getrlimit.c: Likewise.
67733         * resource/getrusage.c: Likewise.
67734         * resource/nice.c: Likewise.
67735         * resource/setpriority.c: Likewise.
67736         * resource/setrlimit.c: Likewise.
67737         * resource/ulimit.c: Likewise.
67738         * rt/aio_cancel.c: Likewise.
67739         * rt/aio_fsync.c: Likewise.
67740         * rt/aio_read.c: Likewise.
67741         * rt/aio_sigqueue.c: Likewise.
67742         * rt/aio_suspend.c: Likewise.
67743         * rt/aio_write.c: Likewise.
67744         * rt/clock_getres.c: Likewise.
67745         * rt/clock_gettime.c: Likewise.
67746         * rt/clock_nanosleep.c: Likewise.
67747         * rt/clock_settime.c: Likewise.
67748         * rt/lio_listio.c: Likewise.
67749         * rt/mq_close.c: Likewise.
67750         * rt/mq_getattr.c: Likewise.
67751         * rt/mq_notify.c: Likewise.
67752         * rt/mq_open.c: Likewise.
67753         * rt/mq_receive.c: Likewise.
67754         * rt/mq_send.c: Likewise.
67755         * rt/mq_setattr.c: Likewise.
67756         * rt/mq_timedreceive.c: Likewise.
67757         * rt/mq_timedsend.c: Likewise.
67758         * rt/mq_unlink.c: Likewise.
67759         * rt/shm_open.c: Likewise.
67760         * rt/shm_unlink.c: Likewise.
67761         * rt/timer_create.c: Likewise.
67762         * rt/timer_delete.c: Likewise.
67763         * rt/timer_getoverr.c: Likewise.
67764         * rt/timer_gettime.c: Likewise.
67765         * rt/timer_settime.c: Likewise.
67766         * setjmp/__longjmp.c: Likewise.
67767         * setjmp/setjmp.c: Likewise.
67768         * signal/kill.c: Likewise.
67769         * signal/killpg.c: Likewise.
67770         * signal/raise.c: Likewise.
67771         * signal/sigaction.c: Likewise.
67772         * signal/sigaltstack.c: Likewise.
67773         * signal/sigblock.c: Likewise.
67774         * signal/sigignore.c: Likewise.
67775         * signal/sigintr.c: Likewise.
67776         * signal/signal.c: Likewise.
67777         * signal/sigpause.c: Likewise.
67778         * signal/sigpending.c: Likewise.
67779         * signal/sigqueue.c: Likewise.
67780         * signal/sigreturn.c: Likewise.
67781         * signal/sigset.c: Likewise.
67782         * signal/sigsetmask.c: Likewise.
67783         * signal/sigstack.c: Likewise.
67784         * signal/sigsuspend.c: Likewise.
67785         * signal/sigtimedwait.c: Likewise.
67786         * signal/sigvec.c: Likewise.
67787         * signal/sigwait.c: Likewise.
67788         * signal/sigwaitinfo.c: Likewise.
67789         * signal/sysv_signal.c: Likewise.
67790         * socket/accept.c: Likewise.
67791         * socket/accept4.c: Likewise.
67792         * socket/bind.c: Likewise.
67793         * socket/connect.c: Likewise.
67794         * socket/getpeername.c: Likewise.
67795         * socket/getsockname.c: Likewise.
67796         * socket/getsockopt.c: Likewise.
67797         * socket/isfdtype.c: Likewise.
67798         * socket/listen.c: Likewise.
67799         * socket/recv.c: Likewise.
67800         * socket/recvfrom.c: Likewise.
67801         * socket/recvmsg.c: Likewise.
67802         * socket/send.c: Likewise.
67803         * socket/sendmsg.c: Likewise.
67804         * socket/sendto.c: Likewise.
67805         * socket/setsockopt.c: Likewise.
67806         * socket/shutdown.c: Likewise.
67807         * socket/sockatmark.c: Likewise.
67808         * socket/socket.c: Likewise.
67809         * socket/socketpair.c: Likewise.
67810         * stdio-common/ctermid.c: Likewise.
67811         * stdio-common/cuserid.c: Likewise.
67812         * stdio-common/remove.c: Likewise.
67813         * stdio-common/rename.c: Likewise.
67814         * stdio-common/renameat.c: Likewise.
67815         * stdio-common/tempname.c: Likewise.
67816         * stdlib/getcontext.c: Likewise.
67817         * stdlib/makecontext.c: Likewise.
67818         * stdlib/setcontext.c: Likewise.
67819         * stdlib/swapcontext.c: Likewise.
67820         * stdlib/system.c: Likewise.
67821         * streams/fattach.c: Likewise.
67822         * streams/fdetach.c: Likewise.
67823         * streams/getmsg.c: Likewise.
67824         * streams/getpmsg.c: Likewise.
67825         * streams/putmsg.c: Likewise.
67826         * streams/putpmsg.c: Likewise.
67827         * sysdeps/unix/bsd/getpt.c: Likewise.
67828         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
67829         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
67830         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
67831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67832         Likewise.
67833         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
67834         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67835         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
67836         * sysvipc/msgctl.c: Likewise.
67837         * sysvipc/msgget.c: Likewise.
67838         * sysvipc/msgrcv.c: Likewise.
67839         * sysvipc/msgsnd.c: Likewise.
67840         * sysvipc/semctl.c: Likewise.
67841         * sysvipc/semget.c: Likewise.
67842         * sysvipc/semop.c: Likewise.
67843         * sysvipc/semtimedop.c: Likewise.
67844         * sysvipc/shmat.c: Likewise.
67845         * sysvipc/shmctl.c: Likewise.
67846         * sysvipc/shmdt.c: Likewise.
67847         * sysvipc/shmget.c: Likewise.
67848         * termios/tcdrain.c: Likewise.
67849         * termios/tcflow.c: Likewise.
67850         * termios/tcflush.c: Likewise.
67851         * termios/tcgetattr.c: Likewise.
67852         * termios/tcgetpgrp.c: Likewise.
67853         * termios/tcsendbrk.c: Likewise.
67854         * termios/tcsetattr.c: Likewise.
67855         * termios/tcsetpgrp.c: Likewise.
67856         * time/adjtime.c: Likewise.
67857         * time/clock.c: Likewise.
67858         * time/getitimer.c: Likewise.
67859         * time/gettimeofday.c: Likewise.
67860         * time/setitimer.c: Likewise.
67861         * time/settimeofday.c: Likewise.
67862         * time/stime.c: Likewise.
67863         * time/time.c: Likewise.
67865 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
67867         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
67868         /usr/old/bin.
67870         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
67871         instead of spaces.
67872         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
67874 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
67876         [BZ #14796]
67877         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
67878         FE_TONEAREST before applying Dekker multiplication and Knuth
67879         addition.  Clear inexact exceptions and check for exact zero
67880         results afterwards.
67881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67882         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67883         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67884         * math/libm-test.inc (fma_test): Add more tests.
67885         (fma_test_towardzero): Likewise.
67886         (fma_test_downward): Likewise.
67887         (fma_test_upward): Likewise.
67888         * sysdeps/generic/math_private.h (default_libc_fesetround): New
67889         function.
67890         (libc_fesetround): New macro.
67891         (libc_fesetroundf): Likewise.
67892         (libc_fesetroundl): Likewise.
67893         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
67894         function.
67895         (libc_fesetround_387): Likewise.
67896         (libc_fesetroundf): New macro.
67897         (libc_fesetround): Likewise.
67898         (libc_fesetroundl): Likewise.
67899         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
67900         function.
67901         (libc_fesetroundf): New macro.
67902         (libc_fesetround): Likewise.
67903         (libc_fesetroundl): Likewise.
67904         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
67905         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
67906         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
67907         libm_hidden_ver.
67908         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
67909         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
67910         libm_hidden_def.
67911         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
67912         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
67913         libm_hidden_ver.
67914         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
67915         libm_hidden_def.
67917         [BZ #3439]
67918         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
67919         integer constant usable in #if and use that to give value to enum
67920         constant.
67921         (FE_DIVBYZERO): Likewise.
67922         (FE_UNDERFLOW): Likewise.
67923         (FE_OVERFLOW): Likewise.
67924         (FE_INVALID): Likewise.
67925         (FE_INVALID_SNAN): Likewise.
67926         (FE_INVALID_ISI): Likewise.
67927         (FE_INVALID_IDI): Likewise.
67928         (FE_INVALID_ZDZ): Likewise.
67929         (FE_INVALID_IMZ): Likewise.
67930         (FE_INVALID_COMPARE): Likewise.
67931         (FE_INVALID_SOFTWARE): Likewise.
67932         (FE_INVALID_SQRT): Likewise.
67933         (FE_INVALID_INTEGER_CONVERSION): Likewise.
67934         (FE_TONEAREST): Likewise.
67935         (FE_TOWARDZERO): Likewise.
67936         (FE_UPWARD): Likewise.
67937         (FE_DOWNWARD): Likewise.
67938         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
67939         (FE_DIVBYZERO): Likewise.
67940         (FE_OVERFLOW): Likewise.
67941         (FE_UNDERFLOW): Likewise.
67942         (FE_INEXACT): Likewise.
67943         (FE_TONEAREST): Likewise.
67944         (FE_DOWNWARD): Likewise.
67945         (FE_UPWARD): Likewise.
67946         (FE_TOWARDZERO): Likewise.
67947         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
67948         (FE_UNDERFLOW): Likewise.
67949         (FE_OVERFLOW): Likewise.
67950         (FE_DIVBYZERO): Likewise.
67951         (FE_INVALID): Likewise.
67952         (FE_TONEAREST): Likewise.
67953         (FE_TOWARDZERO): Likewise.
67954         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
67955         (FE_OVERFLOW): Likewise.
67956         (FE_UNDERFLOW): Likewise.
67957         (FE_DIVBYZERO): Likewise.
67958         (FE_INEXACT): Likewise.
67959         (FE_TONEAREST): Likewise.
67960         (FE_TOWARDZERO): Likewise.
67961         (FE_UPWARD): Likewise.
67962         (FE_DOWNWARD): Likewise.
67963         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
67964         (FE_DIVBYZERO): Likewise.
67965         (FE_OVERFLOW): Likewise.
67966         (FE_UNDERFLOW): Likewise.
67967         (FE_INEXACT): Likewise.
67968         (FE_TONEAREST): Likewise.
67969         (FE_DOWNWARD): Likewise.
67970         (FE_UPWARD): Likewise.
67971         (FE_TOWARDZERO): Likewise.
67973 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
67975         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
67977 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
67979         * scripts/cross-test-ssh.sh (command): Use newlines to separate
67980         commands.  Quote $PWD.
67981         (blacklist_exports): Don't use remove_newlines.  Replace "declare
67982         -x" by "export".
67983         (remove_newlines): Remove.
67985 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
67987         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
67988         * stdlib/stdlib.h (atof): Moved to ...
67989         * include/bits/stdlib-float.h: Here.  New file.
67990         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
67991         * stdlib/bits/stdlib-float.h: New file.
67992         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
67993         -mno-sse -mno-mmx.
67994         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
67995         <xmmintrin.h>.
67997 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67999         * conform/conformtest.pl (@headers): Add fenv.h.
68000         * conform/data/fenv.h-data: New file.
68001         * include/fenv.h [_ISOMAC]: Disable all contents of file except
68002         include of <math/fenv.h>.
68004         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
68005         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
68006         && !UNIX98].  Enables tests for XOPEN2K8.
68007         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
68008         POSIX2008]: Likewise.
68010         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
68011         (struct rusage): Do not expect type or its members.
68013         [BZ #3439]
68014         * math/math.h (FP_NAN): Define macro to integer constant usable in
68015         #if and use that to give value to enum constant.
68016         (FP_INFINITE): Likewise.
68017         (FP_ZERO): Likewise.
68018         (FP_SUBNORMAL): Likewise.
68019         (FP_NORMAL): Likewise.
68021 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
68023         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
68024         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
68025         arguments.
68027 2012-11-02  Roland McGrath  <roland@hack.frob.com>
68029         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
68030         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
68031         autoconf-time if not.
68032         * configure.in: Remove AC_PREREQ.
68034 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68036         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
68037         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
68038         of the internal implementation.
68040 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68042         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
68043         except include of <misc/sys/syslog.h>.
68045 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
68048         function returns with a NULL context exit with zero.
68050 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68052         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
68054 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
68056         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
68057         (run_program_cmd): This.
68058         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
68059         (tst_langinfo): New variable.  Use it.
68061 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
68063         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
68064         floating point opcodes.
68066 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68068         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
68069         variable.
68071         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
68073         * sysdeps/mach/hurd/powerpc: Remove directory.
68074         * sysdeps/mach/powerpc: Likewise.
68076 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68078         * scripts/check-local-headers.sh: Ignore c++ headers.
68080 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68082         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
68083         __libc_cleanup_region_start argument.
68085 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
68087         [BZ #14784]
68088         [BZ #14785]
68089         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
68090         x * y using scaling, not as x * y + z.
68091         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68092         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68093         * math/libm-test.inc (fma_test): Add more tests.
68094         (fma_test_towardzero): Likewise.
68095         (fma_test_downward): Likewise.
68096         (fma_test_upward): Likewise.
68098 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68100         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
68102 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68104         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
68105         New variable.
68107 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
68109         * rt/tst-shm.c (worker): Correct checking for mmap failure.
68111 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68114         Fix sort order.
68115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68116         Likewise.
68118 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68121         Fix the order of the list for glibc 2.17.
68122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68123         Likewise.
68125 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68129 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68131         [BZ #14610]
68132         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
68133         for low part of x being zero before using __atanl (y).
68134         * math/libm-test.inc (atan2_test): Add another test.
68136         * manual/install.texi (Configuring and compiling): Document
68137         general use of test-wrapper and test-wrapper-env.
68138         * INSTALL: Regenerated.
68140         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
68141         (__fma): Do not extract and scale down low bits on after-rounding
68142         systems when result rounded to normal precision would have normal
68143         exponent.
68144         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
68145         (__fmal): Do not extract and scale down low bits on after-rounding
68146         systems when result rounded to normal precision would have normal
68147         exponent.
68148         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
68149         (__fmal): Do not extract and scale down low bits on after-rounding
68150         systems when result rounded to normal precision would have normal
68151         exponent.
68152         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
68153         macro.
68154         (fma_test): Add more tests.
68155         (fma_test_towardzero): Likewise.
68156         (fma_test_downward): Likewise.
68157         (fma_test_upward): Likewise.
68159 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
68161         * sysdeps/i386/tininess.h: Renamed to ...
68162         * sysdeps/x86/tininess.h: This.
68163         * sysdeps/x86_64/tininess.h: Removed.
68165 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68167         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
68168         input.  Use $(build-program-cmd).
68169         ($(objpfx)tst-array1-static.out): Likewise.
68170         ($(objpfx)tst-array2.out): Likewise.
68171         ($(objpfx)tst-array3.out): Likewise.
68172         ($(objpfx)tst-array4.out): Likewise.
68173         ($(objpfx)tst-array5.out): Likewise.
68174         ($(objpfx)tst-array5-static.out): Likewise.
68176 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
68178         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
68179         if defined.
68181         * nss/nsswitch.h (nss_interface_function): Provide new
68182         macro for use with NSS functions.
68183         * grp/initgroups.c: Use new macro.
68184         * nss/getXXbyYY.c: Likewise.
68185         * nss/getXXbyYY_r.c: Likewise.
68186         * nss/getXXent.c: Likewise.
68187         * nss/getXXent_r.c: Likewise.
68188         * sysdeps/posix/getaddrinfo.c: Likewise.
68190 2012-10-30  Andreas Jaeger  <aj@suse.de>
68192         * po/ru.po: Update Russion translation from translation project.
68194 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68196         [BZ #14152]
68197         [BZ #14783]
68198         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
68199         result and shift together with sticky bit instead of replicating
68200         round-to-nearest rounding.
68201         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68202         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68203         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
68204         missing underflow exceptions.
68205         (fma_test_towardzero): Add more tests.
68206         (fma_test_downward): Likewise.
68207         (fma_test_upward): Likewise.
68209         [BZ #14047]
68210         * sysdeps/generic/tininess.h: New file.
68211         * sysdeps/i386/tininess.h: Likewise.
68212         * sysdeps/sh/tininess.h: Likewise.
68213         * sysdeps/x86_64/tininess.h: Likewise.
68214         * stdlib/tst-strtod-underflow.c: Likewise.
68215         * stdlib/tst-tininess.c: Likewise.
68216         * stdlib/strtod_l.c: Include <tininess.h>.
68217         (round_and_return): Do not set errno for exact underflow cases.
68218         Force an underflow exception when setting errno for underflow.
68219         Determine underflow based on rounding to normal precision if
68220         TININESS_AFTER_ROUNDING.
68221         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
68222         ERANGE for exact underflow cases.
68223         * stdlib/Makefile (tests): Add tst-tininess and
68224         tst-strtod-underflow.
68225         ($(objpfx)tst-tininess): Use $(link-libm).
68226         ($(objpfx)tst-strtod-underflow): Likewise.
68228 2012-10-30  Andreas Jaeger  <aj@suse.de>
68230         [BZ#14767]
68231         * elf/Makefile (tests): Remove conditional for have-initfini-array
68232         since this is now always required and the variable does not exist
68233         anymore.
68234         (tests-static): Likewise.
68235         (modules-names): Likewise.
68237         * po/eo.po: Add Esperanto translation from translation project.
68239         * elf/tst-array1.c (fini_array): Make writeable so that it can be
68240         merged with constructor/destructor.
68241         (init_array): Likewise.
68242         * elf/tst-array2dep.c (fini_array): Likewise.
68243         (init_array): Likewise.
68245 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
68247         * manual/message.texi: Delete @cartouche tags.
68249 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
68251         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
68252         EOPNOTSUPP.
68253         * sysdeps/mach/hurd/fsync.c: Likewise.
68255         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
68256         [_POSIX_REALTIME_SIGNALS]: Change condition to
68257         [_POSIX_REALTIME_SIGNALS > 0].
68259 2012-10-27  Andreas Jaeger  <aj@suse.de>
68261         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
68262         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
68263         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
68264         [__WORDSIZE != 64]: Likewise.
68266 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
68268         *  iconvdata/tst-table.sh: Remove ${SHELL}.
68269         *  iconvdata/tst-tables.sh: Likewise.
68271 2012-10-25  David S. Miller  <davem@davemloft.net>
68273         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68274         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
68275         of strtoull.
68277         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
68278         ifunc-impl-list.c
68279         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68280         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
68281         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
68282         file.
68284 2012-10-25  Roland McGrath  <roland@hack.frob.com>
68286         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68287         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
68288         __getdirentries.
68290 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68291             Jim Blandy  <jimb@codesourcery.com>
68293         * scripts/cross-test-ssh.sh: New file.
68294         * manual/install.texi (Configuring and compiling): Document use of
68295         cross-test-ssh.sh.
68296         * INSTALL: Regenerated.
68298 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
68300         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
68301         EOPNOTSUPP.
68303 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68305         * Makeconfig (run-program-prefix): Fix comment.
68307 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68308             Jim Blandy  <jimb@codesourcery.com>
68310         * Makeconfig (test-wrapper): New variable,
68311         (test-wrapper-env): Likewise.
68312         [$(cross-compiling) = yes && $(test-wrapper) != ""]
68313         (run-built-tests): Define to yes.
68314         (run-program-prefix): Use $(test-wrapper).
68315         (built-program-cmd): Likewise.
68316         * Rules (make-test-out): Use $(test-wrapper-env) and
68317         $(host-built-program-cmd).
68318         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
68319         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
68320         tst-pathopt.sh.
68321         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
68322         $(test-wrapper-env) to tst-rtld-load-self.sh.
68323         ($(objpfx)order2.out): Use $(test-wrapper).
68324         ($(objpfx)tst-initorder.out): Likewise.
68325         ($(objpfx)tst-initorder2.out): Likewise.
68326         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
68327         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
68328         (test_wrapper_env): New variable.  Use it to run ld.so.
68329         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
68330         Use it to run ld.so.
68331         (test_wrapper_env): Likewise.
68332         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
68333         $(test-wrapper) to run-iconv-test.sh.
68334         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
68335         (ICONV): Use $test_wrapper.
68336         * posix/Makefile ($(objpfx)globtest.out): Pass
68337         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
68338         globtest.sh, not $(run-program-prefix).
68339         * posix/globtest.sh (run_via_rtld_prefix): New variable.
68340         (test_wrapper): Likewise.
68341         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
68342         set together with run_via_rtld_prefix.
68343         (run_program_prefix): Define in terms of test_wrapper and
68344         run_via_rtld_prefix.
68346 2012-10-24  Roland McGrath  <roland@hack.frob.com>
68348         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
68349         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
68350         Targets removed.
68352         [BZ #14743]
68353         * include/time.h: Remove librt_hidden_proto (clock_gettime).
68354         Declare __clock_getres, __clock_gettime, __clock_settime,
68355         __clock_nanosleep, and __clock_getcpuclockid.
68356         * rt/clock_gettime.c: Define __clock_gettime as an alias.
68357         Remove librt_hidden_def (clock_gettime).
68358         * sysdeps/unix/clock_gettime.c: Likewise.
68359         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
68360         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
68361         * rt/clock_getres.c: Define __clock_getres as an alias.
68362         * sysdeps/posix/clock_getres.c: Likewise.
68363         * rt/clock_settime.c: Define __clock_settime as an alias.
68364         * sysdeps/unix/clock_settime.c: Likewise.
68365         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
68366         * sysdeps/unix/clock_nanosleep.c: Likewise.
68367         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
68368         * rt/clock-compat.c: New file.
68369         * rt/Makefile (librt-routines): Add clock-compat and move
68370         $(clock-routines) to ...
68371         (routines): ... here, new variable.
68372         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
68373         Don't add get_clockfreq here.
68374         * rt/Versions (libc: GLIBC_2.17): New version set.
68375         Add clock_* symbols here.
68376         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
68377         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
68378         (GLIBC_2.17): Add clock_* symbols.
68379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68381         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68383         Likewise.
68384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68385         Likewise.
68386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68390         * NEWS: Mention the move.
68392         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
68393         Use __open, __read, __close rather than their public counterparts.
68394         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68395         (__get_clockfreq_via_cpuinfo): Likewise.
68396         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
68397         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
68399         * config.h.in (HAVE_IFUNC): New #undef.
68400         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
68401         was successful.
68402         * configure: Regenerated.
68404 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68406         * configure.in: Move READELF check to start of file.
68407         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
68408         libc_cv_asm_gnu_indirect_function in the process.
68409         * configure: Regenerated.
68411 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68413         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
68414         send the output to /dev/null.
68415         (libc_cv_cc_with_libunwind): Likewise.
68416         (libc_cv_as_noexecstack): Likewise.
68417         * configure: Regenerate.
68419 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68421         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
68423         * posix/globtest.sh (TMPDIR): Do not set.
68424         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
68425         (testout): Likewise.
68427 2012-10-24  Andreas Jaeger  <aj@suse.de>
68429         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
68430         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
68431         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
68432         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
68433         posix_fadvise64, posix_fallocate64.
68435         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
68436         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
68437         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
68438         Likewise.
68439         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
68440         Likewise.
68441         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
68443         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
68444         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
68445         <bits/fcntl-linux.h>.
68446         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
68448         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
68449         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
68450         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
68451         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
68452         [__WORDSIZE != 64]: Likewise.
68454 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68456         * Makeconfig (run-built-tests): New variable.
68457         * Rules [$(cross-compiling) = yes]: Change condition to
68458         [$(run-built-tests) = no].
68459         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
68460         to [$(run-built-tests) = yes].
68461         * elf/Makefile [$(cross-compiling) = no]: Likewise.
68462         * grp/Makefile [$(cross-compiling) = no]: Likewise.
68463         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
68464         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
68465         * intl/Makefile [$(cross-compiling) = no]: Likewise.
68466         * io/Makefile [$(cross-compiling) = no]: Likewise.
68467         * libio/Makefile [$(cross-compiling) = no]: Likewise.
68468         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
68469         * misc/Makefile [$(cross-compiling) = no]: Likewise.
68470         * posix/Makefile [$(cross-compiling) = no]: Likewise.
68471         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
68472         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
68473         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
68474         * string/Makefile [$(cross-compiling) = no]: Likewise.
68476         * posix/Makefile ($(objpfx)globtest.out): Pass
68477         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
68478         $(rtld-installed-name).
68479         * posix/globtest.sh (elf_objpfx): Remove variable.
68480         (rtld_installed_name): Likewise.
68481         (library_path): Likewise.
68482         (run_program_prefix): New variable.  Use for running globtest
68483         binary.
68485 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
68486             Joseph Myers  <joseph@codesourcery.com>
68488         * Makeconfig (host-built-program-cmd): New variable.
68489         * elf/Makefile (tst-stackguard1-ARGS): Use
68490         $(host-built-program-cmd).
68491         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
68492         (tst-spawn-ARGS): Likewise.
68493         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
68495 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68496             Jim Blandy  <jimb@codesourcery.com>
68498         * Makeconfig (run-via-rtld-prefix): New variable.
68499         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
68500         (built-program-cmd): Likewise.
68502 2012-10-22  Andreas Jaeger  <aj@suse.de>
68504         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
68505         __O_RSYNC if it exists, otherwise to O_SYNC.
68507 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
68508             Joseph Myers  <joseph@codesourcery.com>
68510         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
68511         /dev/null.
68512         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
68513         from /dev/null
68514         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
68515         /dev/null.
68517 2012-10-22  Andreas Jaeger  <aj@suse.de>
68519         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
68520         Define always.
68521         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
68523         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68524         bits/fcntl-linux.h.
68526         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
68527         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
68529         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
68530         to __O_LARGEFILE.
68531         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
68532         to __O_LARGEFILE.
68534 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
68535             Joseph Myers  <joseph@codesourcery.com>
68537         * config.make.in (NM): New variable.
68539 2012-10-21  Andreas Jaeger  <aj@suse.de>
68541         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
68542         definitions and declarations that are provided by
68543         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68545 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68547         [BZ #14683]
68548         * elf/Makefile (tests-static): Add tst-leaks1-static.
68549         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
68550         ($(objpfx)tst-leaks1-static): New rule.
68551         ($(objpfx)tst-leaks1-static-mem): Likewise.
68552         (tst-leaks1-static-ENV): New macro.
68553         * elf/dl-open.c (dl_open_worker): Check the main application
68554         only if SHARED is defined.
68555         * elf/tst-leaks1-static.c: New file.
68557 2012-10-20  Andreas Jaeger  <aj@suse.de>
68559         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
68560         generic values for Linux.
68561         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
68562         and declarations that are provided by <bits/fcntl-linux.h> and
68563         include <bits/fcntl-linux.h>.
68564         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68565         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68567 2012-10-20  Roland McGrath  <roland@hack.frob.com>
68569         * io/fcntl.h: Move include of <bits/types.h> to the top and
68570         include it unconditionally.
68572 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68574         * wcsmbs/Makefile (tests-ifunc): New variable.
68575         (tests): Add $(tests-ifunc).
68576         * wcsmbs/test-wcschr-ifunc.c: New file.
68577         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
68578         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
68579         * wcsmbs/test-wcslen-ifunc.c: Likewise.
68580         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
68581         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
68583         * string/Makefile (tests-ifunc): New variable.
68584         (tests): Add $(tests-ifunc).
68585         * string/test-memccpy.c (TEST_NAME): New macro.
68586         * string/test-memchr.c (TEST_NAME): Likewise.
68587         * string/test-memcmp.c (TEST_NAME): Likewise.
68588         * string/test-memcpy.c (TEST_NAME): Likewise.
68589         * string/test-memmem.c (TEST_NAME): Likewise.
68590         * string/test-memmove.c (TEST_NAME): Likewise.
68591         * string/test-memset.c (TEST_NAME): Likewise.
68592         * string/test-rawmemchr.c (TEST_NAME): Likewise.
68593         * string/test-stpcpy.c (TEST_NAME): Likewise.
68594         * string/test-stpncpy.c (TEST_NAME): Likewise.
68595         * string/test-strcasecmp.c (TEST_NAME): Likewise.
68596         * string/test-strcasestr.c (TEST_NAME): Likewise.
68597         * string/test-strcat.c (TEST_NAME): Likewise.
68598         * string/test-strchr.c (TEST_NAME): Likewise.
68599         * string/test-strcmp.c(TEST_NAME): Likewise.
68600         * string/test-strcpy.c (TEST_NAME): Likewise.
68601         * string/test-strcspn.c (TEST_NAME): Likewise.
68602         * string/test-strlen.c (TEST_NAME): Likewise.
68603         * string/test-strncasecmp.c (TEST_NAME): Likewise.
68604         * string/test-strncmp.c (TEST_NAME): Likewise.
68605         * string/test-strncpy.c (TEST_NAME): Likewise.
68606         * string/test-strnlen.c (TEST_NAME): Likewise.
68607         * string/test-strpbrk.c (TEST_NAME): Likewise.
68608         * string/test-strrchr.c (TEST_NAME): Likewise.
68609         * string/test-strspn.c (TEST_NAME): Likewise.
68610         * string/test-strstr.c (TEST_NAME): Likewise.
68611         * string/test-bcopy-ifunc.c: New file.
68612         * string/test-bzero-ifunc.c: Likewise.
68613         * string/test-memccpy-ifunc.c: Likewise.
68614         * string/test-memchr-ifunc.c: Likewise.
68615         * string/test-memcmp-ifunc.c: Likewise.
68616         * string/test-memcpy-ifunc.c: Likewise.
68617         * string/test-memmem-ifunc.c: Likewise.
68618         * string/test-memmove-ifunc.c: Likewise.
68619         * string/test-mempcpy-ifunc.c: Likewise.
68620         * string/test-memset-ifunc.c: Likewise.
68621         * string/test-rawmemchr-ifunc.c: Likewise.
68622         * string/test-stpcpy-ifunc.c: Likewise.
68623         * string/test-stpncpy-ifunc.c: Likewise.
68624         * string/test-strcasecmp-ifunc.c: Likewise.
68625         * string/test-strcasestr-ifunc.c: Likewise.
68626         * string/test-strcat-ifunc.c: Likewise.
68627         * string/test-strchr-ifunc.c: Likewise.
68628         * string/test-strchrnul-ifunc.c: Likewise.
68629         * string/test-strcmp-ifunc.c: Likewise.
68630         * string/test-strcpy-ifunc.c: Likewise.
68631         * string/test-strcspn-ifunc.c: Likewise.
68632         * string/test-strlen-ifunc.c: Likewise.
68633         * string/test-strncasecmp-ifunc.c: Likewise.
68634         * string/test-strncat-ifunc.c: Likewise.
68635         * string/test-strncmp-ifunc.c: Likewise.
68636         * string/test-strncpy-ifunc.c: Likewise.
68637         * string/test-strnlen-ifunc.c: Likewise.
68638         * string/test-strpbrk-ifunc.c: Likewise.
68639         * string/test-strrchr-ifunc.c: Likewise.
68640         * string/test-strspn-ifunc.c: Likewise.
68641         * string/test-strstr-ifunc.c: Likewise.
68643         * debug/Makefile (tests-ifunc): New variable.
68644         (tests): Add $(tests-ifunc).
68645         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
68646         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
68647         * debug/test-stpcpy_chk-ifunc.c: New file.
68648         * debug/test-strcpy_chk-ifunc.c: Likewise.
68650 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68652         [BZ #13601]
68653         * elf/dl-load.c (open_verify): Retry read if the entire ELF
68654         header is not read in.
68656 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
68658         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
68659         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
68660         directly.  Pass built executable to script as
68661         $(built-program-cmd).
68662         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
68663         $testprogram without using LD_LIBRARY_PATH and $ldso.
68665         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
68666         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
68667         $(rtld-installed-name).
68668         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
68669         (rtld_installed_name): Likewise.
68670         (library_path): Likewise.
68671         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
68672         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
68673         $(run-program-prefix) to tst-tables.sh.
68674         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
68675         it to run tst-table-from and tst-table-to.
68676         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
68677         Pass it to tst-table.sh.
68678         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
68679         $(run-program-prefix) to tst-gettext.sh.
68680         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
68681         tst-translit.sh.
68682         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
68683         tst-gettext2.sh.
68684         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
68685         to run tst-gettext.
68686         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
68687         to run tst-gettext2.
68688         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
68689         to run tst-translit.
68690         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
68691         $(run-program-prefix) to tst-mtrace.sh.
68692         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
68693         to run tst-mtrace.
68694         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
68695         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
68696         $(rtld-installed-name).
68697         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
68698         (rtld_installed_name): Likewise.
68699         (run_program_prefix): New variable.  Use it to run wordexp-test.
68701         * Makeconfig (ARCH): Remove all definitions.
68702         (machine): Likewise.
68703         [ARCH]: Remove conditional code.
68704         [!objdir]: Give error.
68705         [!objdir] (objpfx): Remove.
68706         [!objdir] (common-objpfx): Likewise.
68707         [!objdir] (common-objdir): Likewise.
68708         * configure.in (config_makefile): Remove.  Hardcode Makefile in
68709         AC_CONFIG_FILES call.
68710         * configure: Regenerated.
68712         [BZ #13888]
68713         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
68714         or TMPDIR.
68715         (testout): Likewise.
68717         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
68718         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
68719         $(rtld-installed-name).
68720         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
68721         (rtld_installed_name): Likewise.
68722         (runit): Remove function.
68723         (run_getconf): New variable,  Use it for running getconf binary.
68725 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
68727         [BZ #14716]
68728         * string/test-memmem.c (check_result): New function.
68729         (do_one_test): Use it.
68730         (check1): New function.
68731         (test_main): Use it.
68733 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
68735         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
68737 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
68739         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
68740         (_G_LSEEK64): Likewise.
68741         (_G_MMAP64): Likewise.
68742         (_G_FSTAT64): Likewise.
68743         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
68744         (_G_LSEEK64): Likewise.
68745         (_G_MMAP64): Likewise.
68746         (_G_FSTAT64): Likewise.
68747         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
68748         unconditional.  Call __mmap64 directly.
68749         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
68750         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
68751         __lseek64 directly.
68752         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
68753         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
68754         __mmap64 directly.
68755         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
68756         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68757         __lseek64 directly.
68758         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
68759         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68760         __lseek64 directly.
68761         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
68762         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
68763         __lseek64 directly.
68764         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
68765         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
68766         __fxstat64 directly.
68767         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
68768         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
68769         unconditional.
68770         (freopen64) [!_G_OPEN64]: Remove conditional code.
68771         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
68772         unconditional.
68773         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
68774         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
68775         unconditional.
68776         (ftello64) [!_G_LSEEK64]: Remove conditional code.
68777         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
68778         unconditional.
68779         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68780         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
68781         unconditional.
68782         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
68783         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
68784         unconditional.
68785         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68786         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
68787         unconditional.
68788         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68789         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
68790         unconditional.
68791         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68793 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68795         [BZ #12140]
68796         * manual/memory.texi (Malloc Tunable Parameters): Add note
68797         about free list pointers overwriting some perturb bytes.
68798         Wording suggested by Roland McGrath.
68800 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
68802         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
68803         (lgamma_test): Likewise.
68804         (tgamma_test): Likewise.
68806 2012-10-16  Florian Weimer  <fweimer@redhat.com>
68808         [BZ #14700]
68809         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
68810         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
68812 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
68814         * NEWS: Mention BZ #14716.
68815         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
68816         when removing AVAILABLE1_USES_J macro.
68818 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
68820         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
68821         (__bswap_64): __uint64_t for unsigned 64-bit int.
68823 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
68825         * include/string.h (memmem): Declare libc hidden alias.
68826         * string/memmem.c (memmem): Define libc hidden alias.
68827         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
68828         __read, __close instead of open, read, close.
68830 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
68832         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
68833         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
68834         global and hidden.
68835         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
68836         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
68837         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
68838         Likewise.
68839         (__rawmemchr_sse2): Likewise.
68840         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
68841         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
68842         (__strchr_sse2): Likewise.
68843         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
68844         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
68845         (__strcasecmp_sse2): Likewise.
68846         (__strncasecmp_sse2): Likewise.
68847         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
68848         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
68849         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
68850         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
68851         (__strrchr_sse2): Likewise.
68852         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
68853         ifunc-impl-list.c.
68854         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
68855         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
68856         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
68857         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68858         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
68859         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
68860         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68861         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68862         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
68863         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
68864         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
68865         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
68866         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
68867         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
68868         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
68869         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
68870         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
68871         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
68872         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
68873         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
68874         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
68875         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
68876         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
68877         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68878         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
68879         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68880         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
68881         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68882         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
68883         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
68885         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
68886         global and hidden.
68887         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
68888         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
68889         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
68890         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
68891         Likewise.
68892         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
68893         Likewise.
68894         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
68895         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
68896         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
68897         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
68898         ifunc-impl-list.c.
68899         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68900         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68901         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68902         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68903         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68904         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68905         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68906         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68907         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68908         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68909         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68910         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68911         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68912         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
68913         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
68914         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68915         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
68916         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
68917         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68918         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68919         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68920         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68921         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68922         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68923         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68924         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
68925         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
68926         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
68927         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
68928         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68929         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
68930         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68931         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68932         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
68933         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68934         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68935         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68936         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68937         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68938         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68939         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
68941         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
68942         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
68943         * include/ifunc-impl-list.h: New file.
68944         * misc/ifunc-impl-list.c: Likewise.
68945         * misc/Makefile (routines): Add ifunc-impl-list.
68946         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
68947         * string/test-string.h: Include <ifunc-impl-list.h>.
68948         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
68949         TEST_NAME]: New variables.
68950         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
68951         are defined.
68952         (test_init): Call __libc_ifunc_impl_list to initialize
68953         func_list if TEST_IFUNC and TEST_NAME are defined.
68955         * string/Makefile (strop-tests): Add bcopy and bzero.
68956         * string/test-bcopy.c: New file.
68957         * string/test-bzero.c: Likewise.
68958         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
68959         defined.
68960         * string/test-memset.c: Support bzero test if TEST_BZERO is
68961         defined.
68962         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
68963         __libc_memmove.
68964         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
68965         __libc_memset.
68966         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
68967         of memset.
68969 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
68971         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
68972         * configure: Regenerated.
68974         * Makeconfig (+link-static-before-libc): Don't include
68975         $(link-static-libc).
68977         * libio/libio.h (_IO_pos_t): Remove.
68979 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68981         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
68982         McGrath.
68984 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68986         * crypt/crypt-entry.c: Include fips-private.h.
68987         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
68988         * crypt/md5c-test.c (main): Tolerate disabled MD5.
68989         * sysdeps/unix/sysv/linux/fips-private.h: New file.
68990         * sysdeps/generic/fips-private.h: New file, dummy fallback.
68992 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68994         * crypt/crypt-private.h: Include stdbool.h.
68995         (_ufc_setup_salt_r): Return bool.
68996         * crypt/crypt-entry.c: Include errno.h.
68997         (__crypt_r): Return NULL with EINVAL for bad salt.
68998         * crypt/crypt_util.c (bad_for_salt): New.
68999         (_ufc_setup_salt_r): Check that salt is long enough and within
69000         the specified alphabet.
69001         * crypt/badsalttest.c: New file.
69002         * crypt/Makefile (tests): Add it.
69003         ($(objpfx)badsalttest): New.
69005 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
69007         * NEWS: Add entry for BZ #14602.
69009 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69011         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
69012         type-generic.
69013         * math/libm-test.inc: Update comment listing what functions and
69014         macros are tested.
69015         (isgreater_test): New function.
69016         (isgreaterequal_test): Likewise.
69017         (isless_test): Likewise.
69018         (islessequal_test): Likewise.
69019         (islessgreater_test): Likewise.
69020         (isunordered_test): Likewise.
69021         (main): Call the new functions.
69023 2012-10-09  Roland McGrath  <roland@hack.frob.com>
69025         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
69026         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
69027         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
69028         * sysdeps/i386/configure: Regenerated.
69029         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
69030         * sysdeps/mach/configure: Regenerated.
69031         * sysdeps/mach/hurd/configure: Regenerated.
69032         * sysdeps/powerpc/configure: Regenerated.
69033         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69034         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69035         * sysdeps/s390/s390-32/configure: Regenerated.
69036         * sysdeps/s390/s390-64/configure: Regenerated.
69037         * sysdeps/sh/configure: Regenerated.
69038         * sysdeps/sparc/configure: Regenerated.
69039         * sysdeps/unix/sysv/linux/configure: Regenerated.
69040         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
69041         * sysdeps/x86_64/configure: Regenerated.
69043         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
69044         defined.  Don't check if MAP is NULL.
69046 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69048         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
69049         (_G_stat64): Likewise.
69050         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
69051         (_G_stat64): Likewise.
69052         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
69053         instead of struct _G_stat64.
69054         * libio/fileops.c (mmap_remap_check): Likewise.
69055         (decide_maybe_mmap): Likewise.
69056         (_IO_new_file_seekoff): Likewise.
69057         (_IO_file_stat): Likewise.
69058         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
69059         _G_off64_t.
69060         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
69061         instead of struct _G_stat64.
69062         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69064 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
69066         [BZ #14602]
69067         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69068         Replace with ...
69069         (CHECK_EOL): New macro.
69070         (two_way_short_needle): Check beginning of haystack for EOL.  Use
69071         CHECK_EOL.
69072         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69073         Replace with CHECK_EOL.
69074         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69075         Replace with CHECK_EOL.
69077 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
69079         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
69080         type-generic.
69081         * math/libm-test.inc: Update comment listing what functions and
69082         macros are tested.
69083         (finite_test): New function.
69084         (isinf_test): Likewise.
69085         (isnan_test): Likewise.
69086         (fpclassify_test): Test subnormal input.
69087         (isfinite_test): Likewise.
69088         (isnormal_test): Likewise.
69089         (main): Call the new functions.
69091 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
69093         [BZ #14660]
69094         * Makerules (%.dynsym): Force C locale when running
69095         $(OBJDUMP) --dynamic-syms.
69097 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
69099         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
69100         <stdint.h>.
69102 2012-10-06  David S. Miller  <davem@davemloft.net>
69104         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
69105         upper 32-bits of the length value in %o2 since we use branch-on-register
69106         tests which consider the entire 64-bit register.
69108 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
69110         * string/test-strstr.c (check2): Add a test for page boundary.
69112 2012-10-05  David S. Miller  <davem@davemloft.net>
69114         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
69115         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
69116         file.
69117         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69118         sysdep_routines.
69119         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69120         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
69121         and bzero when HWCAP_SPARC_CRYPTO is present.
69123 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
69125         [BZ #14602]
69126         * string/test-strstr.c (check2): New function.
69127         (test_main): Call check2.
69129         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
69130         and bug-strchr1.
69131         * string/bug-strcasestr1.c (do_test): Moved to ...
69132         * string/test-strcasestr.c (check1): Here.  New function.
69133         (do_one_test): Break out result checking code into ...
69134         (check_result): This.  New function.
69135         (do_one_test): Call check_result.
69136         (test_main): Call check1.
69137         * string/bug-strchr1.c (do_test): Moved to ...
69138         * string/test-strchr.c (check1): Here.  New function.
69139         (do_one_test): Break out result checking code into ...
69140         (check_result): This.  New function.
69141         (do_one_test): Call check_result.
69142         (test_main): Call check1.
69143         * string/bug-strstr1.c (main): Moved to ...
69144         * string/test-strstr.c (check1): Here.  New function.
69145         (do_one_test): Break out result checking code into ...
69146         (check_result): This.  New function.
69147         (do_one_test): Call check_result.
69148         (test_main): Call check1.
69149         * string/bug-strcasestr1.c: Removed.
69150         * string/bug-strchr1.c: Likewise.
69151         * string/bug-strstr1.c: Likewise.
69153         * elf/Makefile (dl-routines): Add hwcaps.
69154         * elf/dl-support.c (_dl_important_hwcaps): Removed.
69155         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
69156         (_dl_important_hwcaps): Moved to ...
69157         * elf/dl-hwcaps.c: Here.  New file.
69158         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
69160         [BZ #14557]
69161         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
69162         if IS_IN_rtld isn't defined.
69164         * elf/dl-support.c (_dl_sysinfo_map): New.
69165         Include "get-dynamic-info.h" and "setup-vdso.h".
69166         (_dl_non_dynamic_init): Call setup_vdso.
69167         * elf/dynamic-link.h: Don't include <assert.h>.
69168         (elf_get_dynamic_info): Moved to ...
69169         * elf/get-dynamic-info.h: Here.  New file.
69170         * elf/dynamic-link.h: Include "get-dynamic-info.h".
69171         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
69172         * elf/setup-vdso.h: Here.  New file.
69173         * elf/rtld.c: Include "setup-vdso.h".
69174         (dl_main): Call setup_vdso.
69176 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
69178         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
69179         creal in comment listing functions tested.  List finite, isinf,
69180         isnan, isless, islessequal, isgreater, isgreaterequal,
69181         islessgreater, isunordered, lgamma_r and pow10 as functions and
69182         macros not tested.  Mention which functions not tested are aliases
69183         for other functions.  Fix typo.  Note that signs of NaNs are not
69184         tested.
69186         * scripts/config.guess: Update from config.git.
69187         * scripts/config.sub: Likewise.
69189 2012-10-04  Roland McGrath  <roland@hack.frob.com>
69191         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
69192         * misc/madvise.c (madvise): Renamed to __madvise.
69193         Make madvise a weak alias.
69194         * include/sys/mman.h: Declare __madvise.
69195         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
69196         * sysdeps/unix/syscalls.list
69197         (madvise): Make __madvise the strong name, and madvise a weak alias.
69198         * sysdeps/unix/sysv/linux/syscalls.list
69199         (madvise, mmap): Remove redundant entries.
69200         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
69201         * malloc/malloc.c (mtrim): Likewise.
69202         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
69204 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69206         * sysdeps/mach/hurd/dl-cache.c: File removed.
69207         * config.h.in (USE_LDCONFIG): New #undef.
69208         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
69209         * configure: Regenerated.
69210         * elf/Makefile (dl-routines): Add dl-cache only under
69211         [$(use-ldconfig) = yes].
69212         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
69213         cache on [USE_LDCONFIG].
69214         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
69215         [USE_LDCONFIG].
69216         * elf/rtld.c (dl_main): Likewise.
69218 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
69220         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
69221         _SC_LEVEL4_CACHE_LINESIZE.
69223 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69225         * sysdeps/unix/bsd/confstr.h: File removed.
69227 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
69229         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
69230         sys/sdt-config.h.
69232 2012-10-02  Roland McGrath  <roland@hack.frob.com>
69234         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
69235         Make 'mapoff' field ElfW(Off) rather than off_t.
69237 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
69239         * nscd/Makefile: Remove nscd-cflags and all its users.
69240         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
69241         (CFLAGS-nonlib): Add compiler flags for nscd modules.
69243         [BZ #10631]
69244         * malloc.c (malloc_printerr): Clarify error message.
69246 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
69248         [BZ #14648]
69249         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69250         Set bit_FMA_Usable if FMA is supported.
69251         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
69252         macro.
69253         (bit_FMA4_Usable): Updated.
69254         (index_FMA_Usable): New macro.
69255         (CPUID_FMA): Likewise.
69256         (HAS_FMA): Defined with bit_FMA_Usable.
69258 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69260         * bits/types.h (__swblk_t): Type removed.
69261         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
69262         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
69263         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69264         (__SWBLK_T_TYPE): Likewise.
69265         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69266         (__SWBLK_T_TYPE): Likewise.
69267         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69268         (__SWBLK_T_TYPE): Likewise.
69269         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69270         (__SWBLK_T_TYPE): Likewise.
69272 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
69273             Honza Horak <hhorak@redhat.com>
69275         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
69276         (xdr_mapname): Use YPMAXMAP as maxsize.
69277         (xdr_peername): Use YPMAXPEER as maxsize.
69278         (xdr_keydat): Use YPAXRECORD as maxsize.
69279         (xdr_valdat): Use YPMAXRECORD as maxsize.
69281 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69283         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
69285         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
69286         * csu/init-first.c: ... here.
69287         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
69288         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
69289         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
69290         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
69291         * sysdeps/i386/init-first.c: File removed.
69292         * sysdeps/sh/init-first.c: File removed.
69294 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
69296         [BZ #14645]
69297         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
69298         if x * y might underflow to zero and z is zero.
69299         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69300         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69301         * math/libm-test.inc (min_subnorm_value): New variable.
69302         (fma_test): Add more tests.
69303         (fma_test_towardzero): Likewise.
69304         (fma_test_downward): Likewise.
69305         (fma_test_upward): Likewise.
69306         (initialize): Set min_subnorm_value.
69308 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
69310         [BZ #14638]
69311         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
69312         0 + 0.
69313         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
69314         mode for addition resulting in exact zero.
69315         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
69316         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
69317         exact 0 + 0.
69318         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69319         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69320         * math/libm-test.inc (fma_test): Add more tests.
69321         (fma_test_towardzero): New function.
69322         (fma_test_downward): Likewise.
69323         (fma_test_upward): Likewise.
69324         (main): Call the new functions.
69326 2012-09-28  David S. Miller  <davem@davemloft.net>
69328         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
69330 2012-09-28  Roland McGrath  <roland@hack.frob.com>
69332         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
69333         instead of SIGALRM.
69335         * sysdeps/gnu/_G_config.h: Moved to ...
69336         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
69337         * sysdeps/mach/hurd/_G_config.h: Moved to ...
69338         * sysdeps/generic/_G_config.h: ... here.
69340         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
69342         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
69344         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
69345         Conditionalize target on [libnss_test1.so-version].
69347         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
69349         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
69350         (elfobjdir): Move out of conditionals.
69352         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
69353         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
69354         (__nss_lookup_function): Conditionalize label remove_from_tree on
69355         [!DO_STATIC_NSS || SHARED], matching its only use.
69357 2012-09-28  David S. Miller  <davem@davemloft.net>
69359         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
69360         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
69361         file.
69362         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69363         sysdep_routines.
69364         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69365         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
69366         when HWCAP_SPARC_CRYPTO is present.
69368 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69370         * io/tst-mknodat.c: Create a FIFO instead of a socket.
69372 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
69374         [BZ #6530]
69375         * stdio-common/vfprintf.c (process_string_arg): Revert
69376         2000-07-22 change.
69378 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
69380         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
69381         for testcase.
69382         * stdio-common/tst-sprintf.c: Include <locale.h>
69383         (main): Test sprintf's handling of incomplete multibyte
69384         characters.
69386 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
69388         * elf/dl-runtime.c (VERSYMIDX): Removed.
69389         * elf/dl-version.c (VERSYMIDX): Likewise.
69390         * elf/do-rel.h (VERSYMIDX): Likewise.
69391         (VALIDX): Likewise.
69392         * elf/dynamic-link.h (VERSYMIDX): Likewise.
69393         * elf/rtld.c (VALIDX): Likewise.
69394         (ADDRIDX): Likewise.
69395         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
69396         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
69397         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
69398         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
69399         (VALIDX): Likewise.
69400         (ADDRIDX): Likewise.
69402 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69404         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
69406 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
69408         [BZ #11438]
69409         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
69410         to global scope.
69411         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
69412         addresses are in the same scope as 192.0.2/24.
69413         * posix/gai.conf: Document new scope table defaults.
69415 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69417         [BZ #5298]
69418         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
69419         for ftell.  Compute offsets from write pointers instead.
69420         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69422 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69424         [BZ #14543]
69425         * libio/Makefile (tests): New test case tst-fseek.
69426         * libio/tst-fseek.c: New test case to verify that fseek/ftell
69427         combination works in wide mode.
69428         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
69429         state when the external buffer state changes.
69431 2012-09-27  David S. Miller  <davem@davemloft.net>
69433         [BZ #14376]
69434         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
69435         pass reloc->r_addend in as the 'high' argument to
69436         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
69438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69440 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69442         * rt/tst-aio2.c: Include <pthread.h>.
69443         * rt/tst-aio3.c: Likewise.
69445 2012-09-27  Steve Ellcey  <sellcey@mips.com>
69447         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
69449 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
69451         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
69452         contents on [SHARED].
69454 2012-09-26  Marek Polacek  <polacek@redhat.com>
69456         [BZ #14530]
69457         [BZ #13741]
69458         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
69459         for C++ and GCC <4.3 as well as for non GCC compilers.
69461 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
69463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69465 2012-09-25  Roland McGrath  <roland@hack.frob.com>
69467         * Makefile.in (all, install): Declare with .PHONY.
69468         Reported by Michael Hope <michael.hope@linaro.org>.
69470 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69472         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
69473         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
69474         system header.
69475         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
69476         Likewise.
69477         (sydep_routines): Add the new and the internal functions.
69478         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
69479         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
69480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
69481         (GLIBC_2.17): Add the new function.
69482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69483         (GLIBC_2.17): Likewise.
69484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
69485         (GLIBC_2.17): Likewise.
69486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
69487         (GLIBC_2.17): Likewise.
69488         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
69490 2012-09-25  Alan Modra  <amodra@gmail.com>
69492         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
69493         Add release barrier before setting once_control to say
69494         initialisation is done.  Add hints on lwarx.  Use macro in
69495         place of isync.
69496         (clear_once_control): Add release barrier.
69498 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69500         [BZ #13629]
69501         * math/s_clog.c (__clog): Handle more values close to |z| = 1
69502         specially.
69503         * math/s_clog10.c (__clog10): Likewise.
69504         * math/s_clog10f.c (__clog10f): Likewise.
69505         * math/s_clog10l.c (__clog10l): Likewise.
69506         * math/s_clogf.c (__clogf): Likewise.
69507         * math/s_clogl.c (__clogl): Likewise.
69508         * math/Makefile (libm-calls): Add x2y2m1.
69509         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
69510         (__x2y2m1): Likewise.
69511         (__x2y2m1l): Likewise.
69512         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
69513         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
69514         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
69515         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
69516         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
69517         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
69518         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
69519         * sysdeps/i386/fpu/libm-test-ulps: Update.
69520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69522         [BZ #14621]
69523         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
69524         int as type of variable DEPTH.
69525         (glob): Use size_t instead of int as type of variables NEWCOUNT
69526         and OLD_PATHC.
69528 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69530         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69531         Add s_sincosf-sse2.
69532         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
69533         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
69534         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
69535         macros for using routine as __sincosf_ia32.
69536         Use macro for function declaration and weak_alias.
69537         * sysdeps/i386/fpu/libm-test-ulps: Update.
69539         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
69540         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69542         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
69543         subnormal argument.
69544         * math/s_cexpf.c (__cexpf): Likewise.
69545         * math/s_csinf.c (__csinf): Likewise.
69546         * math/s_csinhf.c (__csinhf): Likewise.
69547         * math/s_ctanf.c (__ctanf): Likewise.
69548         * math/s_ctanhf.c (__ctanhf): Likewise.
69549         * math/s_ccosh.c (__ccoshf): Likewise.
69550         * math/s_cexp.c (__cexpl): Likewise.
69551         * math/s_csin.c (__csin): Likewise.
69552         * math/s_csinh.c (__csinh): Likewise.
69553         * math/s_ctan.c (__ctan): Likewise.
69554         * math/s_ctanh.c (ctanh): Likewise.
69555         * math/s_ccoshl.c (__ccoshl): Likewise.
69556         * math/s_cexpl.c (__cexpl): Likewise.
69557         * math/s_csinl.c (__csinl): Likewise.
69558         * math/s_csinhl.c (__csinhl): Likewise.
69559         * math/s_ctanl.c (__ctanl): Likewise.
69560         * math/s_ctanhl.c (__ctanhl): Likewise.
69562 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69564         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
69565         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
69566         (_IO_off_t): Define to __off_t, not _G_off_t.
69567         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
69568         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
69569         (_IO_wint_t): Define to wint_t, not _G_wint_t.
69570         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
69571         type of __dummy and __dummy2 fields.
69572         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
69573         (_G_ssize_t): Likewise.
69574         (_G_off_t): Likewise.
69575         (_G_pid_t): Likewise.
69576         (_G_uid_t): Likewise.
69577         (_G_wchar_t): Likewise.
69578         (_G_wint_t): Likewise.
69579         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
69580         (_G_ssize_t): Likewise.
69581         (_G_off_t): Likewise.
69582         (_G_pid_t): Likewise.
69583         (_G_uid_t): Likewise.
69584         (_G_wchar_t): Likewise.
69585         (_G_wint_t): Likewise.
69586         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
69587         (_G_ssize_t): Likewise.
69588         (_G_off_t): Likewise.
69589         (_G_pid_t): Likewise.
69590         (_G_uid_t): Likewise.
69591         (_G_wchar_t): Likewise.
69592         (_G_wint_t): Likewise.
69594 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69596         * malloc/arena.c: Include malloc-sysdep.h.
69597         (shrink_heap): Use check_may_shrink_heap to decide if madvise
69598         is sufficient to shrink the heap or an unmap is needed.
69599         * sysdeps/generic/malloc-sysdep.h: New file.  Define
69600         new function check_may_shrink_heap.
69601         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
69602         new function check_may_shrink_heap.
69604 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69606         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
69607         comments.
69609 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
69611         * catgets/test-gencat.sh: Add "set -e".
69612         * elf/tst-pathopt.sh: Likewise.
69613         * grp/tst_fgetgrent.sh: Likewise.
69614         * iconvdata/run-iconv-test.sh: Likewise.
69615         * intl/tst-gettext.sh: Likewise.
69616         * intl/tst-gettext2.sh: Likewise.
69617         * intl/tst-gettext4.sh: Likewise.
69618         * intl/tst-gettext6.sh: Likewise.
69619         * intl/tst-translit.sh: Likewise.
69620         * io/ftwtest-sh: Likewise.
69621         * libio/test-freopen.sh: Likewise.
69622         * malloc/tst-mtrace.sh: Likewise.
69623         * posix/globtest.sh: Likewise.
69624         * posix/tst-getconf.sh: Likewise.
69625         * posix/wordexp-tst.sh: Likewise.
69626         * stdio-common/tst-printf.sh: Likewise.
69627         * stdio-common/tst-unbputc.sh: Likewise.
69628         * stdlib/tst-fmtmsg.sh: Likewise.
69629         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69630         * catgets/Makefile: Do not specify -e option when running
69631         testsuite shell scripts.
69632         * elf/Makefile: Likewise.
69633         * grp/Makefile: Likewise.
69634         * iconvdata/Makefile: Likewise.
69635         * intl/Makefile: Likewise.
69636         * io/Makefile: Likewise.
69637         * libio/Makefile: Likewise.
69638         * malloc/Makefile: Likewise.
69639         * posix/Makefile: Likewise.
69640         * stdio-common/Makefile: Likewise.
69641         * stdlib/Makefile: Likewise.
69642         * sysdeps/x86_64/Makefile: Likewise.
69644         * io/ftwtest-sh: Add copyright header.
69645         * posix/globtest.sh: Likewise.
69646         * posix/tst-getconf.sh: Likewise.
69647         * posix/wordexp-tst.sh: Likewise.
69648         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69650 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
69652         [BZ #13679]
69653         * Makeconfig (+link): Defined as $(+link-static) if
69654         $(build-shared) isn't yes.
69655         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
69656         isn't yes.
69657         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
69659         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
69661         [BZ #14562]
69662         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
69663         new chunk size with MALLOC_ALIGN_MASK.
69665 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
69667         [BZ #5044]
69668         * stdio-common/printf_fphex.c: Include <stdbool.h> and
69669         <rounding-mode.h>.
69670         (__printf_fphex): Determine rounding using get_rounding_mode and
69671         round_away.
69672         * stdio-common/tst-printf-round.c (struct hex_test): New
69673         structure.
69674         (hex_tests): New variable.
69675         (test_hex_in_one_mode): New function.
69676         (do_test): Also run tests for hex float output.
69678 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
69680         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69681         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69682         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
69683         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69684         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69685         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
69686         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69687         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69689 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
69691         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
69692         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
69693         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
69694         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
69696 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
69698         [BZ #14579]
69699         * elf/rtld.c (dl_main): Limit the check for self loading to normal
69700         mode only.
69701         * elf/tst-rtld-load-self.sh: New test.
69702         * elf/Makefile: Run it.
69704 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
69706         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
69707         (tst-writev-ENV): Remove.
69708         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
69710 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
69712         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
69714 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
69716         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
69717         unconditional.
69718         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
69719         Likewise.
69720         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
69721         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
69722         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
69723         Likewise.
69725 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
69727         [BZ #14587]
69728         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
69729         * config.make.in (have-cpp-asm-debuginfo): Removed.
69730         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
69731         * configure: Regenerated.
69733 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
69735         [BZ #5044]
69736         * stdio-common/printf_fp.c: Include <stdbool.h> and
69737         <rounding-mode.h>.
69738         (___printf_fp): Determine rounding using get_rounding_mode and
69739         round_away.
69740         * stdio-common/tst-printf-round.c: New file.
69741         * stdio-common/Makefile (tests): Add tst-printf-round.
69742         (link-libm): New variable.
69743         ($(objpfx)tst-printf-round): Depend in $(link-libm).
69745 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
69747         [BZ #14576]
69748         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
69749         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
69750         Likewise.
69751         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
69752         Likewise.
69754 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
69756         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
69757         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69758         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69759         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69761 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
69763         [BZ #14518]
69764         * include/rounding-mode.h: New file.
69765         * sysdeps/generic/get-rounding-mode.h: Likewise.
69766         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
69767         * stdlib/strtod_l.c: Include <rounding-mode.h>.
69768         (MAX_VALUE): New macro.
69769         (MIN_VALUE): Likewise.
69770         (overflow_value): New function.
69771         (underflow_value): Likewise.
69772         (round_and_return): Use overflow_value and underflow_value to
69773         determine return values in overflow and underflow cases.  Use
69774         round_away to determine rounding depending on rounding mode.
69775         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
69776         determine return values in overflow and underflow cases.
69777         * stdlib/tst-strtod-round.c: Include <fenv.h>.
69778         (struct test_results): New structure.
69779         (struct test): Use struct test_results to store expected results
69780         for all rounding modes.
69781         (TEST): Include expected results for all rounding modes.
69782         (test_in_one_mode): New function.
69783         (do_test): Use test_in_one_mode to compute and check results.
69784         Check results for all rounding modes.
69785         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
69786         $(link-libm).
69788 2012-12-09  Allan McRae  <allan@archlinux.org>
69790         * sysdeps/i386/fpu/libm-test-ulps: Update
69792 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
69794         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
69795         (_G_int32_t): Likewise.
69796         (_G_uint16_t): Likewise.
69797         (_G_uint32_t): Likewise.
69798         (_G_HAVE_BOOL): Likewise.
69799         (_G_HAVE_ATEXIT): Likewise.
69800         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69801         (_G_HAVE_IO_FILE_OPEN): Likewise.
69802         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
69803         (_G_int32_t): Likewise.
69804         (_G_uint16_t): Likewise.
69805         (_G_uint32_t): Likewise.
69806         (_G_HAVE_BOOL): Likewise.
69807         (_G_HAVE_ATEXIT): Likewise.
69808         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69809         (_G_HAVE_IO_FILE_OPEN): Likewise.
69810         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
69811         (_G_int32_t): Likewise.
69812         (_G_uint16_t): Likewise.
69813         (_G_uint32_t): Likewise.
69814         (_G_HAVE_BOOL): Likewise.
69815         (_G_HAVE_ATEXIT): Likewise.
69816         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69817         (_G_HAVE_IO_FILE_OPEN): Likewise.
69819 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
69821         * csu/libc-tls.c: Update copyright years.
69823 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
69825         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
69826         [!_G_USING_THUNKS]: Remove conditional code.
69827         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
69828         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
69830         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
69831         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
69832         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69833         (_G_VTABLE_LABEL_PREFIX): Likewise.
69834         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69835         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69836         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69837         (_G_VTABLE_LABEL_PREFIX): Likewise.
69838         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69839         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69840         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69841         (_G_VTABLE_LABEL_PREFIX): Likewise.
69842         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69844 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
69846         * libio/Makefile: Include ../Makeconfig before tests.
69847         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
69848         only if $(build-shared) is yes.
69850         * iconv/gconv_db.c: Update copyright years.
69852 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69854         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
69855         unwind info if defined PIC. Fix special cases description.
69856         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
69858         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
69859         DP_HI_MASK entry.
69860         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
69862 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
69864         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
69866         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
69867         is NULL.
69869         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
69870         (LDLIBS-tst-chk4): This.
69871         (LDFLAGS-tst-chk5): Renamed to ...
69872         (LDLIBS-tst-chk5): This.
69873         (LDFLAGS-tst-chk6): Renamed to ...
69874         (LDLIBS-tst-chk6): This.
69875         (LDFLAGS-tst-lfschk4): Renamed to ...
69876         (LDLIBS-tst-lfschk4): This.
69877         (LDFLAGS-tst-lfschk5): Renamed to ...
69878         (LDLIBS-tst-lfschk5): This.
69879         (LDFLAGS-tst-lfschk6): Renamed to ...
69880         (LDLIBS-tst-lfschk6): This.
69882         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
69883         on $(common-objpfx)soversions.mk.
69885 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
69887         [BZ #10014]
69888         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
69889         example host name.
69891 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69893         * malloc/arena.c (arena_get_retry): New function that gets
69894         another arena for the caller to try its request on.
69895         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
69896         current arena cannot fulfill the request.
69897         (__libc_memalign): Likewise.
69898         (__libc_memalign): Likewise.
69899         (__libc_pvalloc): Likewise.
69900         (__libc_calloc): Likewise.
69902 2012-09-05  John Tobey  <john.tobey@gmail.com>
69904         [BZ #13542]
69905         * manual/arith.texi (Operations on Complex): Fix description
69906         of carg branch cut.
69908 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69910         [BZ #10014]
69911         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
69912         host name.
69914         [BZ #10038]
69915         * manual/memory.texi (Memory): Make order of menu items match
69916         order of sections.
69918 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69920         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
69921         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
69922         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
69924 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69926         * csu/libc-tls.c (static_dtv): Renamed to ...
69927         (_dl_static_dtv): This.  Make it global.
69928         (_dl_initial_dtv): Removed.
69929         (__libc_setup_tls): Updated.
69930         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
69931         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
69932         DL_INITIAL_DTV.
69934 2012-09-06  Petr Machata  <pmachata@redhat.com>
69936         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
69937         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
69938         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
69939         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
69941 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69943         [BZ #14545]
69944         * csu/libc-tls.c (_dl_initial_dtv): New variable.
69945         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
69946         freeing dtv[-1].
69948 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69950         [BZ #14544]
69951         * Makeconfig (link-static-before-libc): Replace $(+prector)
69952         with $(+prectorT).
69953         (link-static-after-libc): Replace $(+postctor) with
69954         $(+postctorT).
69955         (link-bounded): Replace $(+prector)/$(+postctor) with
69956         $(+prectorT)/$(+postctorT).
69957         (+prectorT): New macro.
69958         (+postctorT): Likewise.
69960 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69962         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
69963         (round_str): Handle values above the maximum for IBM long double
69964         as inexact.
69965         * stdlib/tst-strtod-round.c (tests): Regenerated.
69967 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69969         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
69970         assembler flag.
69971         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
69972         zarch_nohighgprs around the zarch optimized routines.
69973         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
69974         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
69975         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
69976         for zarch.
69978 2012-09-05  David S. Miller  <davem@davemloft.net>
69980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69982         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
69983         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
69984         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
69985         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69986         entries.
69988 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69990         * malloc/arena.c: Fold copyright years.
69991         * malloc/mcheck.c, malloc/memusage.c: Likewise.
69993 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69995         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
69997 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69999         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
70001 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70003         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
70004         change internal state upon failure.
70006 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70008         * malloc/mcheck.c (mcheck_check_all): Fix typo.
70009         * malloc/memusage.c (mmap): Likewise.
70010         (mmap64, mremap): Likewise.  Adjust name in comment.
70012 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70014         * libio/fileops.c: Fix typos in comments.
70015         * libio/oldfileops.c: Likewise.
70016         * libio/wfileops.c: Likewise.
70018 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70020         [BZ #1349]
70021         * malloc/Makefile (tests): Add tst-malloc-usable test case.
70022         (tst-malloc-usable-ENV): Set environment for test case.
70023         * malloc/hooks.c (malloc_check_get_size): New function to get
70024         requested size.
70025         * malloc/malloc.c (musable): Use malloc_check_get_size.
70026         * malloc/tst-malloc-usable.c: New test case.
70028 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70030         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
70032 2012-09-05  Allan McRae  <allan@archlinux.org>
70034         [BZ #13966]
70035         * configure.in (CXX_SYSINCLUDES): Use compiler output to
70036         determine header location.
70037         * configure: Regenerated.
70039 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70041         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
70042         float format.
70043         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
70044         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
70045         format.
70046         (test): Regenerate.
70048 2012-09-04  David S. Miller  <davem@davemloft.net>
70050         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
70051         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
70052         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
70054 2012-09-04  Florian Weimer  <fweimer@redhat.com>
70056         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
70057         failures.
70059         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
70061 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
70063         [BZ #9914]
70064         * libio/iogetdelim.c: Include <limits.h>.
70065         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
70066         + len + 1 would overflow.
70068 2012-09-03  Andreas Jaeger  <aj@suse.de>
70070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70071         * sysdeps/i386/fpu/libm-test-ulps: Update.
70073 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70075         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70076         Add s_sinf-sse2, s_conf-sse2.
70078         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
70079         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
70080         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
70081         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
70083         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
70084         for using routine as __sinf_ia32.
70085         Use macro for function declaration and weak_alias.
70086         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
70087         for using routine as __cosf_ia32.
70088         Use macro for function declaration and weak_alias.
70090         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
70091         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
70093         * sysdeps/x86_64/fpu/s_sinf.S: New file.
70094         * sysdeps/x86_64/fpu/s_cosf.S: New file.
70095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70097         * math/libm-test.inc (cos_test): Add more test cases.
70098         (sin_test): Likewise.
70099         (sincos_test): Likewise.
70101 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70103         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
70104         (IFUNC_RESOLVE): Make pointers to the specialized implementations
70105         hidden.
70106         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70108 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
70110         [BZ #14538]
70111         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
70112         first element of the GOT.
70113         (elf_machine_load_address): Return the difference between
70114         the runtime address of _DYNAMIC and elf_machine_dynamic ().
70116 2012-09-01  Allan McRae  <allan@archlinux.org>
70118         [BZ #13412]
70119         * configure.in (AWK): Require gawk version 3.0 or later.
70120         * configure: Regenerated.
70122 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
70124         * sysdeps/unix/sysv/linux/kernel-features.h
70125         (__ASSUME_POSIX_CPU_TIMERS): Remove.
70126         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70127         [__NR_clock_getres]: Make code unconditional.
70128         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
70129         (clock_getcpuclockid): Remove code left unreachable by removal of
70130         conditionals.
70131         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
70132         code unconditional.
70133         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70134         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70135         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
70136         Make code unconditional.
70137         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70138         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70139         * sysdeps/unix/sysv/linux/clock_settime.c
70140         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
70141         conditional code.
70142         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
70143         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70145 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
70147         [BZ #14476]
70148         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
70149         scripts/test-installation.pl.
70151         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
70152         and $ld_so_version if it is set.
70154 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70156         [BZ #14516]
70157         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
70158         failure if reading from procfs failed.
70159         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
70161 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70163         * sysdeps/unix/sysv/linux/kernel-features.h
70164         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
70165         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70166         Remove conditional code.
70167         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70168         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
70169         Remove conditional code.
70170         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70171         * sysdeps/unix/sysv/linux/i386/fxstat.c
70172         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70173         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70174         * sysdeps/unix/sysv/linux/i386/fxstatat.c
70175         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70176         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70177         * sysdeps/unix/sysv/linux/i386/lxstat.c
70178         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70179         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70180         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
70181         Remove conditional code.
70182         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70183         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70184         Remove conditional code.
70185         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70186         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
70187         <kernel-features.h>.
70188         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
70189         Remove.
70190         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
70191         Remove conditional code.
70192         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70193         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
70194         Remove conditional.
70196 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
70198         [BZ #5400]
70199         * NEWS: Add fixed bug number.
70201 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70203         [BZ #14519]
70204         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
70205         underflowing exponent in case of negative sign.
70206         * stdlib/tst-strtod-round-data: Add more tests.
70207         * stdlib/tst-strtod-round.c (tests): Regenerated.
70209         [BZ #3479]
70210         * stdlib/strtod_l.c (NDIG): Remove.
70211         (HEXNDIG): Likewise.
70212         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
70213         smallest representable value.
70214         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
70215         lie within an exact representation of 1/2 ulp of the result.
70216         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
70217         unconditionally.
70218         (TENS_P9_IDX): Define unconditionally.
70219         (TENS_P9_SIZE): Likewise.
70220         (TENS_P10_IDX): Likewise.
70221         (TENS_P10_SIZE): Likewise.
70222         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
70223         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
70224         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
70225         entries for 10^2^13 and 10^2^14.
70226         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
70227         (TENS_P13_IDX): Define.
70228         (TENS_P13_SIZE): Likewise.
70229         (TENS_P14_IDX): Likewise.
70230         (TENS_P14_SIZE): Likewise.
70231         (_fpioconst_pow10): Change array size to
70232         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
70233         unconditional.
70234         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
70235         1024]: Add entries for 10^2^13 and 10^2^14.
70236         [LAST_POW10 > _LAST_POW10]: Remove #error.
70237         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
70238         (_fpioconst_pow10): Change array size to
70239         FPIOCONST_POW10_ARRAY_SIZE.
70240         * stdlib/gen-fpioconst.c: New file.
70241         * stdlib/gen-tst-strtod-round.c: Likewise.
70242         * stdlib/tst-strtod-round-data: Likewise.
70243         * stdlib/tst-strtod-round.c: Likewise.
70244         * stdlib/Makefile (tests): Add tst-strtod-round.
70246         [BZ #14459]
70247         * stdlib/strtod_l.c: Include <stdint.h>.
70248         (NDEBUG): Do not define.
70249         (round_and_return): Change EXPONENT parameter to type intmax_t.
70250         Rearrange calculations to avoid internal overflow possibilities.
70251         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
70252         Rearrange calculations to avoid internal overflow possibilities.
70253         Assert that number fits inside MPNSIZE limbs.
70254         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
70255         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
70256         calculations and add assertions to avoid internal overflow
70257         possibilities.  Add casts to avoid signed/unsigned operations.
70258         * stdlib/tst-strtod-overflow.c: New file.
70259         * stdlib/Makefile (tests): Add tst-strtod-overflow.
70261 2012-08-25  Marek Polacek  <polacek@redhat.com>
70263         * time/time.h: Fix some typos in comments.
70265 2012-08-23  Roland McGrath  <roland@hack.frob.com>
70267         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
70268         * posix/tst-rfc3484-2.c: Likewise.
70269         * posix/tst-rfc3484-3.c: Likewise.
70271 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
70273         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
70274         (EF_ARM_ABI_FLOAT_HARD): Likewise.
70276 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
70278         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
70279         #include of fxstatat64.c.
70281 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70283         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
70284         * shadow/getspent_r.c: Likewise.
70285         * shadow/getspnam.c: Likewise.
70286         * shadow/getspnam_r.c: Likewise.
70287         * gshadow/getsgent.c: Likewise.
70288         * gshadow/getsgent_r.c: Likewise.
70289         * gshadow/getsgnam.c: Likewise.
70290         * gshadow/getsgnam_r.c: Likewise.
70291         * inet/getnetbyad.c: Likewise.
70292         * inet/getnetbyad_r.c: Likewise.
70293         * inet/getnetbynm.c: Likewise.
70294         * inet/getnetbynm_r.c: Likewise.
70295         * inet/getnetent.c: Likewise.
70296         * inet/getnetent_r.c: Likewise.
70297         * inet/getproto.c: Likewise.
70298         * inet/getproto_r.c: Likewise.
70299         * inet/getprtent.c: Likewise.
70300         * inet/getprtent_r.c: Likewise.
70301         * inet/getprtname.c: Likewise.
70302         * inet/getprtname_r.c: Likewise.
70303         * inet/getrpcbyname.c: Likewise.
70304         * inet/getrpcbyname_r.c: Likewise.
70305         * inet/getrpcbynumber.c: Likewise.
70306         * inet/getrpcbynumber_r.c: Likewise.
70307         * inet/getrpcent.c: Likewise.
70308         * inet/getrpcent_r.c: Likewise.
70309         * inet/getaliasent.c: Likewise.
70310         * inet/getaliasent_r.c: Likewise.
70311         * inet/getaliasname.c: Likewise.
70312         * inet/getaliasname_r.c: Likewise.
70313         * nscd/getgrgid_r.c: Likewise.
70314         * nscd/getgrnam_r.c: Likewise.
70315         * nscd/gethstbyad_r.c: Likewise.
70316         * nscd/gethstbynm3_r.c: Likewise.
70317         * nscd/getpwnam_r.c: Likewise.
70318         * nscd/getpwuid_r.c: Likewise.
70319         * nscd/getsrvbynm_r.c: Likewise.
70320         * nscd/getsrvbypt_r.c: Likewise.
70321         * nscd/gai.c: Likewise.
70323         * configure.in (build_nscd): New substituted variable, set
70324         by --disable-build-nscd and defaults to $use_nscd.
70325         * configure: Regenerated.
70326         * config.make.in (build-nscd): New substituted variable.
70327         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
70328         Change conditional to require [$(build-nscd) = yes] as well.
70329         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
70331         [BZ# 13696]
70332         * configure.in (use_nscd): New substituted variable, set by
70333         --disable-nscd.  If enabled, define USE_NSCD.
70334         * configure: Regenerated.
70335         * config.h.in: Add USE_NSCD.
70336         * config.make.in (use-nscd): New substituted variable.
70337         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
70338         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
70339         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
70340         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
70341         (CFLAGS-getgrnam_r.c): Likewise.
70342         (CFLAGS-initgroups.c): Likewise.
70343         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
70344         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
70345         Variables removed.
70346         * inet/getnetgrent_r.c
70347         (nscd_setnetgrent): New function, broken out of ...
70348         (setnetgrent): ... here.  Call it.
70349         (innetgr): Conditionalize nscd bits on [USE_NSCD].
70350         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
70351         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
70352         * nscd/Makefile (routines, aux): Move definitions after include of
70353         Makeconfig.  Conditionalize on [$(use-nscd) != no].
70354         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
70355         Conditionalize on [USE_NSCD].
70356         (is_nscd, nscd_init_cb): Likewise.
70357         (nss_load_library): Conditionalize init callback on [USE_NSCD].
70358         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
70359         * nss/nss_db/db-init.c: Likewise.
70360         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
70361         [USE_NSCD].
70362         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
70363         (make_request): Use it.
70364         (cache_valid_p): New function.
70365         (__check_pf): Use it.
70366         * NEWS: Add item for --disable-nscd.
70368 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
70370         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
70371         to support sed >= 4.2.1-20-ga9bf076.
70372         * configure: Regenerated.
70374 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70376         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
70377         Conditionalize whole body on [IREL].
70379 2012-08-22  Jeff Law <law@redhat.com>
70381         [BZ #14505]
70382         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
70383         if the family is PF_UNSPEC.
70385 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
70387         * Makerules (lib-version): Rename from V.
70388         (install-lib-nosubdir): Change V to lib-version.
70390 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
70392         [BZ #14252]
70393         * powerpc32/power6/wcschr.c: New file.
70394         * powerpc32/power6/wcscpy.c: New file.
70395         * powerpc32/power6/wcsrchr.c: New file.
70396         * powerpc64/power6/wcschr.c: New file.
70397         * powerpc64/power6/wcscpy.c: New file.
70398         * powerpc64/power6/wcsrchr.c: New file.
70400 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70402         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
70403         (two_way_short_needle): Use it.
70404         * string/strstr.c (AVAILABLE1_USES_J): Define.
70405         * string/strcasestr.c: Likewise.
70407         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
70408         array references.
70409         * string/strcasestr.c (TOLOWER): Make side-effect safe.
70411         [BZ #11607]
70412         * NEWS: Add an entry.
70413         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
70414         define their defaults.
70415         (two_way_short_needle): Detect end-of-string on-the-fly.
70416         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
70417         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
70418         * string/bug-strcasestr1.c: New test.
70419         * string/Makefile: Run it.
70421 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70423         [BZ #11607]
70424         * string/str-two-way.h (two_way_short_needle): Optimize matching of
70425         the first character.
70427 2012-08-21  Roland McGrath  <roland@hack.frob.com>
70429         * csu/elf-init.c (__libc_csu_irel): Function removed.
70430         * csu/libc-start.c (apply_irel): New function.
70431         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
70433 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
70435         * sysdeps/unix/sysv/linux/kernel-features.h
70436         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
70437         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70438         <kernel-features.h>.
70439         [__NR_fadvise64_64]: Make code unconditional.
70440         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
70441         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70442         !__NR_fadvise64_64)]: Likewise.
70443         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70444         !__NR_fadvise64_64))]: Likewise.
70445         [__NR_fadvise64]: Make code unconditional.
70446         [!__NR_fadvise64]: Remove conditional code.
70447         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
70448         <kernel-features.h>.
70449         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70450         unconditional.
70451         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70452         conditional code.
70453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
70454         not include <kernel-features.h>.
70455         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70456         unconditional.
70457         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70458         conditional code.
70459         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
70460         include <kernel-features.h>.
70461         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70462         unconditional.
70463         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70464         conditional code.
70466 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70468         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
70469         slight instruction rearrangements per scrollpipe analysis.
70470         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70472 2012-08-20  Roland McGrath  <roland@hack.frob.com>
70474         * manual/syslog.texi (syslog; vsyslog, closelog):
70475         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
70476         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
70478         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
70479         DSOCAPS to match condition on defining it.
70481 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
70483         * sysdeps/unix/sysv/linux/kernel-features.h
70484         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
70485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
70486         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70487         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
70489         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70490         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
70492         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70493         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70495         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
70496         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
70498         * sysdeps/unix/sysv/linux/kernel-features.h
70499         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
70500         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
70501         unconditional.
70502         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70503         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
70504         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70505         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70506         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
70507         Make code unconditional.
70508         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70509         (__mmap64) [!__NR_mmap2]: Likewise.
70510         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
70511         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70512         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70513         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
70514         [__NR_mmap2]: Make code unconditional.
70515         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70516         (__mmap64) [!__NR_mmap2]: Likewise.
70518 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70520         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
70522 2012-08-18  Andreas Jaeger  <aj@suse.de>
70524         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
70526 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70528         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
70529         * include/unistd.h (__have_sock_cloexec): Likewise.
70530         (__have_pipe2): Likewise.
70531         (__have_dup3): Likewise.
70533 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70535         [BZ #9685]
70536         * include/unistd.h (__have_pipe2): Change define into an extern int.
70537         (__have_dup3): Likewise.
70538         * socket/have_sock_cloexec.c: Include fcntl.h.
70539         (__have_pipe2): New variable.
70540         (__have_dup3): Likewise.
70542 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
70544         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
70546 2012-08-17  Marek Polacek  <polacek@redhat.com>
70548         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
70549         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
70551 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70553         * configure.in: Add AC_SUBST for sysheaders.
70554         * configure: Regenerated.
70555         * config.make.in (sysheaders): New substituted variable.
70557         * sysdeps/unix/mkfifo.c: Moved ...
70558         * sysdeps/posix/mkfifo.c: ... here.
70559         * sysdeps/unix/mkfifoat.c: Moved ...
70560         * sysdeps/posix/mkfifoat.c: ... here.
70562         * sysdeps/unix/utime.c: Moved ...
70563         * sysdeps/posix/utime.c: ... here.
70565         * sysdeps/unix/time.c: Moved ...
70566         * sysdeps/posix/time.c: ... here.
70567         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
70568         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
70570         * sysdeps/unix/nice.c: Moved ...
70571         * sysdeps/posix/nice.c: ... here.
70573         * sysdeps/unix/alarm.c: Moved ...
70574         * sysdeps/posix/alarm.c: ... here.
70576         * intl/Makefile ($(codeset_mo)): Depend on the input file.
70578 2012-08-17  Jeff Law <law@redhat.com>
70580         * intl/Makefile (codeset_mo): New variable.
70581         ($(codeset_mo)): New target.
70582         (tst-codeset.out): Depend on that.  Remove explicit rule.
70583         (tst-gettext3.out, tst-gettext5.out): Likewise.
70584         (LOCPATH-ENV, tst-codeset-ENV): New variables.
70585         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
70586         * intl/tst-codeset.sh: Remove.
70587         * intl/tst-gettext3.sh: Likewise.
70588         * intl/tst-gettext5.sh: Likewise.
70590 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70592         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
70593         * sysdeps/unix/syscalls.list: ... here.
70595         * sysdeps/posix/getaddrinfo.c
70596         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
70597         (gaiconf_init, gaiconf_reload): Use them.
70598         [!_STATBUF_ST_NSEC]
70599         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
70600         Define using time_t rather than struct timespec.
70602         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
70603         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
70604         Macros removed.
70605         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
70606         [!NO_THREADS].
70607         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
70608         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
70609         Likewise.
70611         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
70612         __libc_cleanup_push argument.
70614         * bits/param.h: New file.
70615         * misc/sys/param.h: New file.
70616         * include/sys/param.h: New file.
70617         * misc/Makefile (headers): Add bits/param.h.
70618         * sysdeps/generic/sys/param.h: File removed.
70619         * sysdeps/unix/sysv/linux/bits/param.h: New file.
70620         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
70621         * sysdeps/mach/hurd/bits/param.h: New file.
70622         * sysdeps/mach/hurd/sys/param.h: File removed.
70624         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
70625         last change.
70627         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
70628         [_IO_MTSAFE_IO].
70629         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
70630         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
70631         New macros.
70633         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
70634         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
70635         rather than -D_IO_MTSAFE_IO conditionally.
70636         * stdio-common/Makefile (CPPFLAGS): Likewise.
70637         * wcsmbs/Makefile (CPPFLAGS): Likewise.
70638         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
70639         Use $(libio-mtsafe).
70640         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
70641         of -D_IO_MTSAFE_IO.
70642         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
70643         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
70644         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
70645         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
70646         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
70647         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
70648         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
70649         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
70650         (CFLAGS-fread_u_chk.c): Likewise.
70651         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
70652         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
70653         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
70654         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
70655         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
70656         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
70657         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
70658         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
70659         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
70661         * libio/Makefile: Test [$(libc-reentrant) = yes]
70662         instead of [$(filter %REENTRANT, $(defines)) nonempty].
70664         * Makeconfig
70665         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
70666         * sysdeps/pthread/configure: File removed.
70667         * sysdeps/pthread/Makeconfig: New file.
70668         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
70669         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
70671 2012-08-16  Gary Benson  <gbenson@redhat.com>
70673         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
70674         unmapping the first object in a namespace.
70676 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70678         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
70679         (__internal_setnetgrent): ... this.  Add internal_function to
70680         definition.  Add libc_hidden_def.
70681         (setnetgrent): Update caller.
70682         (internal_endnetgrent): Renamed to ...
70683         (__internal_endnetgrent): ... this.  Add internal_function to
70684         definition.  Add libc_hidden_def.
70685         (endnetgrent): Update caller.
70686         (internal_getnetgrent_r): Renamed to ...
70687         (__internal_getnetgrent_r): ... this.  Add internal_function to
70688         definition.  Add libc_hidden_def.
70689         (__getnetgrent_r): Update caller.
70690         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
70692 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70694         * stdlib/longlong.h: Update from GCC.
70696 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70698         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
70699         on _QL, which is set by umul_ppmm but never used.
70700         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
70701         variables, which are set by GMP macros but never used.
70702         * stdio-common/_itowa.c (_itowa): Likewise.
70703         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
70704         * stdlib/mod_1.c (mpn_mod_1): Likewise.
70706 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
70708         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
70709         struct La_sh_regs is not constant.
70710         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
70711         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
70712         and struct La_sparc64_regs are not constant.
70714 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70716         * sysdeps/unix/sysv/linux/kernel-features.h
70717         (__ASSUME_POSIX_TIMERS): Remove.
70718         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70719         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70720         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
70721         Make code unconditional.
70722         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70723         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
70724         Make code unconditional.
70725         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70726         * sysdeps/unix/sysv/linux/clock_nanosleep.c
70727         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
70728         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70729         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
70730         Make code unconditional.
70731         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70732         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
70733         (__libc_missing_posix_timers): Remove.
70735 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70737         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
70738         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
70740         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
70742         * elf/dl-sym.c: Include <stdlib.h>.
70744         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
70745         constants, which avoids warnings in 32-bit builds.
70747         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
70748         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
70750         * misc/lseek.c: File moved to ...
70751         * io/lseek.c: ... here.
70753         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
70755         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
70756         shifting LEN more than 31 bits at once.
70758 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70760         [BZ #14195]
70761         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
70762         segmentation fault for a case of two empty input strings.
70763         * string/test-strncasecmp.c (check1): Renamed to...
70764         (bz12205): ...this.
70765         (bz14195): Add new testcase for two empty input strings and N > 0.
70766         (test_main): Call new testcase, adapt for renamed function.
70768 2012-08-15  Andreas Jaeger  <aj@suse.de>
70770         [BZ #14090]
70771         * crypt/md5test2.c: New test, based on test supplied by Serge
70772         Belyshev <belyshev@depni.sinp.msu.ru>.
70773         * crypt/Makefile (xtests): Add md5test-giant..
70774         * crypt/Makefile ($(objpfx)md5test-giant): Add.
70776 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
70778         [BZ #14090]
70779         * crypt/md5.c (md5_process_block): Don't assume the buffer
70780         length is less than 2**32.
70781         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
70782         length is less than 2**64.
70784 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70786         * string/str-two-way.h: Include <sys/param.h>.
70787         (MAX): Macro removed.
70789         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
70790         Move #define and #undef of memmove to just before and after
70791         including <string.h>.
70793         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
70794         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
70795         and after including <string.h>.  Move declarations of
70796         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
70797         to before #include "string/memmove.c".
70799         * include/dirent.h: Declare __getdirentries.
70801         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
70802         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
70804 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
70806         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
70807         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
70808         * sysdeps/i386/configure: Regenerated.
70809         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
70810         STABS_CURRENT_FILE, and STABS_FUN.
70811         (END): Remove call to STABS_FUN_END.
70812         (STABS_CURRENT_FILE1): Delete.
70813         (STABS_CURRENT_FILE): Likewise.
70814         (STABS_FUN): Likewise.
70815         (STABS_FUN_END): Likewise.
70816         (STABS_FUN2): Likewise.
70817         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
70818         * sysdeps/x86_64/configure: Regenerated.
70820 2012-08-14  Roland McGrath  <roland@hack.frob.com>
70822         * elf/dl-open.c: Include <atomic.h>.
70823         * elf/dl-lookup.c: Likewise.
70825 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
70827         * sysdeps/unix/sysv/linux/kernel-features.h
70828         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
70829         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
70830         unconditionally.
70831         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
70832         unconditionally.
70833         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
70834         condition on __ASSUME_CLONE_THREAD_FLAGS.
70836 2012-08-14  Andreas Jaeger  <aj@suse.de>
70838         * sysdeps/i386/fpu/libm-test-ulps: Update.
70840 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
70842         * include/atomic.h (atomic_exchange_and_add): Split into ...
70843         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
70844         New atomic macros.
70846 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
70848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70850 2012-08-13  Jeff Law <law@redhat.com>
70852         * manual/stdio.texi (snprintf): Clarify handling of the trailing
70853         null byte in the output string.
70855 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
70857         * sysdeps/unix/sysv/linux/kernel-features.h
70858         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
70859         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
70860         (__ASSUME_ARG_MAX_STACK_BASED): Define.
70861         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
70862         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
70863         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
70864         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
70866 2012-08-09  Jeff Law <law@redhat.com>
70868         [BZ #13939]
70869         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
70870         When avoid_arena is set, don't retry in the that arena.  Pick the
70871         next one, whatever it might be.
70872         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
70873         (arena_lock): Pass in new parameter to arena_get2.
70874         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
70875         arena_get2.
70876         (__libc_malloc): Unify retrying after main arena failure with
70877         __libc_memalign version.
70878         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
70880 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
70882         [BZ #14166]
70883         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
70884         to __redirect_strstr.
70885         (__strstr_sse42): Use typeof __redirect_strstr.
70886         (__strstr_ia32): Likewise.
70887         (__libc_strstr): New prototype.
70888         (strstr): Renamed to ...
70889         (__libc_strstr): This.
70890         (strstr): New strong alias of __libc_strstr.
70891         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70892         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
70893         __redirect_time.
70894         Include <time.h>.
70895         (__libc_time): New prototype.
70896         (time_ifunc): Replace time with __libc_time.
70897         (time): New strong alias and hidden definition of __libc_time.
70898         (__GI_time): Remove strong alias.
70899         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
70900         Include <stddef.h>.
70901         (memmove): Redefined to __redirect_memmove.
70902         (__memmove_sse2): Use typeof __redirect_memmove.
70903         (__memmove_ssse3): Likewise.
70904         (__memmove_ssse3_back): Likewise.
70905         (__libc_memmove): New prototype.
70906         (memmove): Renamed to ...
70907         (__libc_memmove): This.
70908         (memmove): New strong alias of __libc_memmove.
70910 2012-08-08  Mark Salter  <msalter@redhat.com>
70912         * elf/elf.h
70913         (R_MN10300_TLS_GD): Define.
70914         (R_MN10300_TLS_LD): Likewise.
70915         (R_MN10300_TLS_LDO): Likewise.
70916         (R_MN10300_TLS_GOTIE): Likewise.
70917         (R_MN10300_TLS_IE): Likewise.
70918         (R_MN10300_TLS_LE): Likewise.
70919         (R_MN10300_TLS_DTPMOD): Likewise.
70920         (R_MN10300_TLS_DTPOFF): Likewise.
70921         (R_MN10300_TLS_TPOFF): Likewise.
70922         (R_MN10300_SYM_DIFF): Likewise.
70923         (R_MN10300_ALIGN): Likewise.
70924         (R_MN10300_NUM): Update.
70926 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
70928         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
70929         Remove.
70931 2012-08-08  Roland McGrath  <roland@hack.frob.com>
70933         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
70935         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
70936         sysdeps/unix -> sysdeps/posix move.
70937         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
70939 2012-08-07      Allan McRae     <allan@archlinux.org>
70941         [BZ #14303]
70942         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
70943         (SUNOS_CPP): Likewise.
70944         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
70945         not found.
70946         (open_input): Call CPP using execvp.
70948 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70950         * sysdeps/unix/sysv/linux/kernel-features.h
70951         (__ASSUME_PROT_GROWSUPDOWN): Remove.
70952         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70953         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70954         (__ASSUME_WAITID_SYSCALL): Likewise.
70955         * sysdeps/unix/sysv/linux/dl-execstack.c
70956         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
70957         code unconditional.
70958         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
70959         conditional code.
70960         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
70961         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
70962         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
70963         code.
70964         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
70965         unconditional.
70966         [__ASSUME_WAITID_SYSCALL]: Likewise.
70967         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
70969 2012-08-07  Roland McGrath  <roland@hack.frob.com>
70971         * sysdeps/unix/closedir.c: Renamed to ...
70972         * sysdeps/posix/closedir.c: ... here.
70973         * sysdeps/unix/dirfd.c: Renamed to ...
70974         * sysdeps/posix/dirfd.c: ... here.
70975         * sysdeps/unix/dirstream.h: Renamed to ...
70976         * sysdeps/posix/dirstream.h: ... here.
70977         * sysdeps/unix/fdopendir.c: Renamed to ...
70978         * sysdeps/posix/fdopendir.c: ... here.
70979         * sysdeps/unix/opendir.c: Renamed to ...
70980         * sysdeps/posix/opendir.c: ... here.
70981         * sysdeps/unix/readdir.c: Renamed to ...
70982         * sysdeps/posix/readdir.c: ... here.
70983         * sysdeps/unix/readdir_r.c: Renamed to ...
70984         * sysdeps/posix/readdir_r.c: ... here.
70985         * sysdeps/unix/rewinddir.c: Renamed to ...
70986         * sysdeps/posix/rewinddir.c: ... here.
70987         * sysdeps/unix/seekdir.c: Renamed to ...
70988         * sysdeps/posix/seekdir.c: ... here.
70989         * sysdeps/unix/telldir.c: Renamed to ...
70990         * sysdeps/posix/telldir.c: ... here.
70991         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
70992         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
70993         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
70994         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
70996         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
70997         * bits/fcntl.h: ... here.
70999         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
71000         not 0.
71001         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
71002         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
71003         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
71004         (struct flock): Move l_start, l_len to the beginning.
71005         Use __pid_t for l_pid.
71006         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
71007         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
71008         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
71009         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
71010         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
71011         [__USE_LARGEFILE64] (struct flock64): New type.
71012         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
71014         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
71015         * bits/dirent.h: ... here.
71017         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
71018         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
71020 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71022         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71023         Change from 2.6.0 to 2.6.16.
71024         * sysdeps/unix/sysv/linux/configure: Regenerated.
71025         * sysdeps/unix/sysv/linux/kernel-features.h
71026         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
71027         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
71028         version.
71029         (__ASSUME_UTIMES): Likewise.
71030         (__ASSUME_CLONE_STOPPED): Remove.
71031         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
71032         architectures, not kernel version.
71033         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
71034         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71035         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71036         (__ASSUME_WAITID_SYSCALL): Likewise.
71037         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
71038         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
71039         * README: State 2.6.16 as minimum Linux kernel version.  Do not
71040         refer to older versions.
71042 2012-08-06  Roland McGrath  <roland@hack.frob.com>
71044         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
71045         Define alphasort64 as an alias.
71046         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
71047         Define versionsort64 as an alias.
71048         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
71049         Define scandir64 as an alias.
71050         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
71051         Define scandirat64 as an alias.
71052         * dirent/alphasort64.c (alphasort64):
71053         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
71054         * dirent/versionsort64.c: Likewise.
71055         * dirent/scandir64.c: Likewise.
71056         * dirent/scandirat64.c: Likewise.
71057         * sysdeps/wordsize-64/alphasort.c: File removed.
71058         * sysdeps/wordsize-64/alphasort64.c: File removed.
71059         * sysdeps/wordsize-64/scandir.c: File removed.
71060         * sysdeps/wordsize-64/scandir64.c: File removed.
71061         * sysdeps/wordsize-64/scandirat.c: File removed.
71062         * sysdeps/wordsize-64/scandirat64.c: File removed.
71063         * sysdeps/wordsize-64/versionsort.c: File removed.
71064         * sysdeps/wordsize-64/versionsort64.c: File removed.
71065         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
71066         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
71067         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
71068         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
71069         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
71070         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
71071         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
71072         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
71074         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
71075         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71076         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
71077         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71078         [defined __arch64__ || defined __sparcv9]
71079         (__INO_T_MATCHES_INO64_T): New macro.
71080         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71081         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
71082         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
71083         * sysdeps/unix/sysv/linux/bits/dirent.h
71084         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
71085         (_DIRENT_MATCHES_DIRENT64): New macro.
71087         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
71088         Define lockf64 as an alias.
71089         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
71090         Define fseeko64 as an alias.
71091         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
71092         Define ftello64 as an alias.
71093         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
71094         Define _IO_fgetpos64 and fgetpos64 as aliases.
71095         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
71096         Define _IO_fsetpos64 and fsetpos64 as aliases.
71097         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
71098         Conditionalize body on this.
71099         * libio/fseeko64.c: Likewise.
71100         * libio/ftello64.c: Likewise.
71101         * libio/iofgetpos64.c: Likewise.
71102         * libio/iofsetpos64.c: Likewise.
71103         * sysdeps/wordsize-64/lockf.c: File removed.
71104         * sysdeps/wordsize-64/lockf64.c: File removed.
71105         * sysdeps/wordsize-64/fseeko.c: File removed.
71106         * sysdeps/wordsize-64/fseeko64.c: File removed.
71107         * sysdeps/wordsize-64/ftello.c: File removed.
71108         * sysdeps/wordsize-64/ftello64.c: File removed.
71109         * sysdeps/wordsize-64/iofgetpos.c: File removed.
71110         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
71111         * sysdeps/wordsize-64/iofsetpos.c: File removed.
71112         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
71113         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
71114         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
71115         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
71116         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
71117         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
71118         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
71119         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
71120         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
71121         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
71122         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
71124         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71125         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71126         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
71127         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71128         [defined __arch64__ || defined __sparcv9]
71129         (__OFF_T_MATCHES_OFF64_T): New macro.
71130         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71131         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71132         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71133         (__OFF_T_MATCHES_OFF64_T): New macro.
71135 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71137         * stdlib/secure-getenv.c (__secure_getenv): Replace
71138         GLIBC_2_16 with GLIBC_2_17.
71140 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71142         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
71143         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71145 2012-08-03  David S. Miller  <davem@davemloft.net>
71147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71149 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71151         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
71152         Remove.
71153         (__ASSUME_CORRECT_SI_PID): Likewise.
71154         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
71155         (__ASSUME_TMPFS_NAME): Likewise.
71156         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
71157         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
71158         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
71159         (HAVE_AUX_SECURE): Make definition unconditional.
71160         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
71161         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
71163 2012-08-03  Roland McGrath  <roland@hack.frob.com>
71165         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
71166         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
71167         * sysdeps/mach/hurd/eloop-threshold.h: New file.
71168         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71169         __eloop_threshold instead of SYMLOOP_MAX.
71171         * sysdeps/generic/eloop-threshold.h: New file.
71172         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
71173         of MAXSYMLINKS.
71174         * elf/chroot_canon.c (chroot_canon): Likewise.
71176 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71178         [BZ #13717]
71179         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71180         Change to 2.6.0 everywhere.
71181         * sysdeps/unix/sysv/linux/configure: Regenerated.
71182         * sysdeps/unix/sysv/linux/kernel-features.h
71183         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
71184         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
71185         kernel versions.
71186         (__ASSUME_POSIX_TIMERS): Define unconditionally.
71187         (__ASSUME_FUTEX_REQUEUE): Remove.
71188         (__ASSUME_STATFS64): Define unconditionally.
71189         (__ASSUME_AT_SECURE): Likewise.
71190         (__ASSUME_CORRECT_SI_PID): Likewise.
71191         (__ASSUME_TGKILL): Define without depending on kernel version for
71192         i386.
71193         (__ASSUME_UTIMES): Likewise.
71194         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
71195         kernel version.
71196         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
71197         (__ASSUME_TMPFS_NAME): Likewise.
71198         * README: Update reference to Linux kernel versions.
71200 2012-08-02  Marek Polacek  <polacek@redhat.com>
71202         [BZ# 14150]
71203         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
71204         libc_cv_asm_type_prefix with %.
71205         * configure: Regenerated.
71206         * include/libc-symbols.h: Remove comment about
71207         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71208         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
71209         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
71210         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
71211         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
71212         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71213         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
71214         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
71215         * elf/tst-unique2mod1.c: Likewise.
71216         * elf/tst-unique1mod2.c: Likewise.
71217         * elf/tst-unique1mod1.c: Likewise.
71218         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
71219         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
71220         Replace ASM_TYPE_DIRECTIVE with .type.
71221         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71222         * sysdeps/i386/sysdep.h: Likewise.
71223         * sysdeps/x86_64/sysdep.h: Likewise.
71224         * sysdeps/sh/sysdep.h: Likewise.
71225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71226         Do not define ASM_TYPE_DIRECTIVE.
71227         * sysdeps/powerpc/sysdep.h: Likewise.
71228         * sysdeps/powerpc/powerpc32/sysdep.h:
71229         Replace ASM_TYPE_DIRECTIVE with .type.
71230         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71231         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71232         * sysdeps/i386/fpu/e_powf.S: Likewise.
71233         * sysdeps/i386/fpu/e_expl.S: Likewise.
71234         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71235         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71236         * sysdeps/i386/fpu/e_pow.S: Likewise.
71237         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71238         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71239         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71240         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71241         * sysdeps/i386/fpu/e_log2.S: Likewise.
71242         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71243         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71244         * sysdeps/i386/fpu/e_powl.S: Likewise.
71245         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71246         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71247         * sysdeps/i386/fpu/e_logl.S: Likewise.
71248         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71249         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71250         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71251         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71252         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71253         * sysdeps/i386/fpu/e_log.S: Likewise.
71254         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71255         * sysdeps/i386/fpu/e_logf.S: Likewise.
71256         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71257         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71258         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71259         * sysdeps/i386/fpu/e_log10.S: Likewise.
71260         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71261         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71262         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71263         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71264         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71265         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
71266         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71267         * sysdeps/i386/i686/strtok.S: Likewise.
71268         * sysdeps/i386/i386-mcount.S: Likewise.
71269         * sysdeps/i386/strtok.S: Likewise.
71270         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
71271         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71272         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71273         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71274         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71275         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71276         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71277         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71278         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71279         * sysdeps/x86_64/_mcount.S: Likewise.
71280         * sysdeps/x86_64/strtok.S: Likewise.
71281         * sysdeps/sh/_mcount.S: Likewise.
71283 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71285         * libio/iofopen.c: Include <fcntl.h>.
71286         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
71287         (_IO_fopen64, fopen64): Define as aliases.
71288         * libio/iofopen64.c: Include <fcntl.h>.
71289         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
71290         Conditionalize body on this.
71291         * sysdeps/wordsize-64/iofopen.c: File removed.
71292         * sysdeps/wordsize-64/iofopen64.c: File removed.
71294 2012-08-01  Marek Polacek  <polacek@redhat.com>
71296         * libc/Makeconfig: Use elf in place of binfmt-subdir.
71297         Use dlfcn directly instead of a variable.
71298         (binfmt-subdir): Do not define.
71299         (dlfcn): Likewise.
71301 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
71303         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
71304         Remove all definitions.
71305         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
71306         <kernel-features.h>.
71307         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71308         (miss_F_GETOWN_EX): Remove all definitions.
71309         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
71310         macro definition.
71311         [!__ASSUME_FCNTL64]: Remove conditional code.
71312         [__ASSUME_FCNTL64]: Make code unconditional.
71313         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
71314         <kernel-features.h>.
71315         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71316         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
71317         (lockf64) [__NR_fcntl64]: Make code unconditional.
71318         (lockf64) [__ASSUME_FCNTL64]: Likewise.
71320         * sysdeps/unix/sysv/linux/kernel-features.h
71321         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
71322         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
71323         Make code unconditional.
71324         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71325         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
71327         [__NR_vfork]: Make code unconditional.
71328         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71329         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
71331         [__NR_vfork]: Make code unconditional.
71332         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71333         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71335 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71337         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
71338         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
71340         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71341         Define mkstemp64 as an alias.
71342         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71343         Define mkstemps64 as an alias.
71344         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71345         Define mkostemp64 as an alias.
71346         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71347         Define mkostemps64 as an alias.
71348         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
71349         Conditionalize body on this.
71350         * misc/mkostemp64.c: Likewise.
71351         * misc/mkostemps64.c: Likewise.
71352         * misc/mkstemps64.c: Likewise.
71353         * sysdeps/wordsize-64/mkstemp64.c: File removed.
71354         * sysdeps/wordsize-64/mkostemp64.c: File removed.
71355         * sysdeps/wordsize-64/mkostemp.c: File removed.
71356         * sysdeps/wordsize-64/mkstemp.c: File removed.
71357         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
71358         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
71359         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
71360         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
71362         [BZ #14138]
71363         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
71364         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
71365         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
71366         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
71368         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
71369         compat_symbol macros from <shlib-compat.h> rather than the underlying
71370         default_symbol_version and symbol_version macros, so that DEFAULT
71371         lines in shlib-versions are respected.
71372         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
71374 2012-08-01  Florian Weimer  <fweimer@redhat.com>
71376         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
71377         Declare with warn_unused_result.
71378         (setgid, setregid, setegid, setresgid): Likewise.
71379         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
71380         Likewise.
71381         * WUR-REPORT: Remove set*id functions.
71383 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
71385         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
71387 2012-07-31  Roland McGrath  <roland@hack.frob.com>
71389         [BZ #10191]
71390         * include/sys/socket.h (__libc_accept, __libc_accept4):
71391         Add attribute_hidden.
71392         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
71394         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
71395         use of PTR_MANGLE.
71396         * inet/getnetgrent_r.c (setup): Likewise.
71398         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
71400 2012-07-31  David S. Miller  <davem@davemloft.net>
71402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71404 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
71406         [BZ #13629]
71407         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
71408         value between 1.0 and 2.0 and smaller part has absolute value less
71409         than 1.0.
71410         * math/s_clog10.c (__clog10): Likewise.
71411         * math/s_clog10f.c (__clog10f): Likewise.
71412         * math/s_clog10l.c (__clog10l): Likewise.
71413         * math/s_clogf.c (__clogf): Likewise.
71414         * math/s_clogl.c (__clogl): Likewise.
71415         * math/libm-test.inc (clog_test): Add more tests.
71416         (clog10_test): Likewise.
71417         * sysdeps/i386/fpu/libm-test-ulps: Update.
71418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71420 2012-07-31  Florian Weimer  <fweimer@redhat.com>
71422         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
71423         Exit with zero in case no suitable GID is found, and write a
71424         message to standard error.
71426 2012-07-30  Roland McGrath  <roland@hack.frob.com>
71428         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
71429         rather than to 1.
71430         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
71431         (MAXPATHLEN): Removed.
71432         (NOGROUP, NODEV): New macros.
71433         (setbit, clrbit, isset, isclr): New macros.
71434         (howmany, roundup, powerof2): New macros.
71435         (DEV_BSIZE): New macro.
71437         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
71438         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
71440         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
71441         definition on [!__NO_LONG_DOUBLE_MATH].
71443         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
71444         PTR_MANGLE and PTR_DEMANGLE.
71446         * socket/accept4.c (accept4): Rename to __libc_accept4.
71447         Define accept4 as a weak alias.
71449         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
71450         on [_DIRENT_HAVE_D_TYPE].
71451         * io/ftw.c (ftw_dir): Likewise.
71453         * io/xmknod.c (__xmknod): Don't check PATH for being null.
71455         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
71457         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
71458         Use the BSD numbers rather than the arbitrary ones we had.
71459         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
71460         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
71461         (SIGXCPU, SIGXFSZ): New macros.
71462         (_NSIG): Now 32.
71464         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
71465         initializer on [_LIBC_REENTRANT].
71467         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
71468         definitions inside [_POSIX_MAPPED_FILES].
71470         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
71472         * dirent/opendir.c: Include <fcntl.h>.
71474         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
71475         (__libc_getspecific): Likewise.
71476         (__libc_key_create): Likewise.
71478         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
71479         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
71480         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
71481         (tmpfile64): Define as alias.
71482         * sysdeps/wordsize-64/tmpfile.c: File removed.
71483         * sysdeps/wordsize-64/tmpfile64.c: File removed.
71484         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
71485         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
71487         * stdio-common/vfscanf.c: Include <stdbool.h>.
71488         * nss/makedb.c: Likewise.
71489         * stdio-common/_i18n_number.h: Likewise.
71490         * argp/argp-help.c: Likewise.
71491         * posix/wordexp.c: Likewise.
71492         * sysdeps/posix/spawni.c: Likewise.
71493         * nss/nss_files/files-initgroups.c: Likewise.
71494         * stdio-common/reg-modifier.c: Include <stdlib.h>.
71495         * nss/nss_files/files-initgroups.c: Likewise.
71496         * nss/nss_db/db-netgrp.c: Likewise.
71497         * nss/nss_db/db-initgroups.c: Likewise.
71498         * io/fchmodat.c: Include <sys/stat.h>.
71500         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
71501         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
71503         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
71504         [HAVE_MMAP].
71506         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
71507         Add multiple inclusion protection.
71509 2012-07-27  David S. Miller  <davem@davemloft.net>
71511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71513 2012-07-27  Gary Benson  <gbenson@redhat.com>
71515         [BZ #14298]
71516         * elf/rtld.c: Include <stap-probe.h>.
71517         (dl_main): Added static probes "init_start" and "init_complete".
71518         * elf/dl-load.c: Include <stap-probe.h>.
71519         (lose): Take new parameter "nsid".
71520         Added static probe "map_failed".
71521         (_dl_map_object_from_fd): Pass namespace id to lose.
71522         Added static probe "map_start".
71523         (open_verify): Pass namespace id to lose.
71524         * elf/dl-open.c: Include <stap-probe.h>.
71525         (dl_open_worker) Added static probes "map_complete", "reloc_start"
71526         and "reloc_complete".
71527         * elf/dl-close.c: Include <stap-probe.h>.
71528         (_dl_close_worker): Added static probes "unmap_start" and
71529         "unmap_complete".
71530         * elf/rtld-debugger-interface.txt: New file documenting the above.
71532 2012-07-26  Roland McGrath  <roland@hack.frob.com>
71534         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
71535         rather than a string variable.
71536         * sunrpc/rpc_main.c (h_output): Likewise.
71537         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
71539 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
71541         * inet/check_native.c: New file.
71543 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
71545         [BZ #13629]
71546         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
71547         if larger part has absolute value 1.0.
71548         * math/s_clog10.c (__clog10): Likewise.
71549         * math/s_clog10f.c (__clog10f): Likewise.
71550         * math/s_clog10l.c (__clog10l): Likewise.
71551         * math/s_clogf.c (__clogf): Likewise.
71552         * math/s_clogl.c (__clogl): Likewise.
71553         * math/libm-test.inc (clog_test): Add more tests.
71554         (clog10_test): Likewise.
71555         * sysdeps/i386/fpu/libm-test-ulps: Update.
71556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71558         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
71559         (pltexit): Likewise.
71560         (La_regs): Likewise.
71561         (La_retval): Likewise.
71562         (int_retval): Likewise.
71563         Update #error for removed macros to refer only to definitions in
71564         tst-audit.h.
71565         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
71566         macro.
71567         (pltexit): Likewise.
71568         (La_regs): Likewise.
71569         (La_retval): Likewise.
71570         (int_retval): Likewise.
71571         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
71572         macro.
71573         (pltexit): Likewise.
71574         (La_regs): Likewise.
71575         (La_retval): Likewise.
71576         (int_retval): Likewise.
71577         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
71578         macro.
71579         (pltexit): Likewise.
71580         (La_regs): Likewise.
71581         (La_retval): Likewise.
71582         (int_retval): Likewise.
71583         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
71584         macro.
71585         (pltexit): Likewise.
71586         (La_regs): Likewise.
71587         (La_retval): Likewise.
71588         (int_retval): Likewise.
71589         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
71590         macro.
71591         (pltexit): Likewise.
71592         (La_regs): Likewise.
71593         (La_retval): Likewise.
71594         (int_retval): Likewise.
71595         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
71596         macro.
71597         (pltexit): Likewise.
71598         (La_regs): Likewise.
71599         (La_retval): Likewise.
71600         (int_retval): Likewise.
71601         * sysdeps/generic/tst-audit.h: Update comment to refer only to
71602         macro definitions in tst-audit.h.
71603         * sysdeps/i386/tst-audit.h: New file.
71604         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
71605         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
71606         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
71607         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
71608         * sysdeps/sh/tst-audit.h: Likewise.
71609         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
71610         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
71611         * sysdeps/x86_64/tst-audit.h: Likewise.
71613 2012-07-26  Andreas Jaeger  <aj@suse.de>
71615         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
71616         ptrace.
71618         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
71619         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
71620         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
71621         PTRACE_O_MASK.
71622         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
71623         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
71624         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
71626         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
71627         value.
71629         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
71630         _sigsys.
71631         (si_call_addr, si_syscall, si_arch): Define new macro.
71632         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
71633         _sigsys.
71634         (si_call_addr, si_syscall, si_arch): Define new marcro.
71635         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
71636         _sigsys.
71637         (si_call_addr, si_syscall, si_arch): Define new macro.
71638         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
71639         _sigsys.
71640         (si_call_addr, si_syscall, si_arch): Define new macro.
71642 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71644         [BZ #13717]
71645         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71646         Change to 2.4.21 where previously 2.4.1.
71647         * sysdeps/unix/sysv/linux/configure: Regenerated.
71648         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
71649         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
71650         Linux kernel version.
71651         (__ASSUME_STD_AUXV): Remove.
71652         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
71653         kernel version.
71654         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
71655         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
71656         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
71657         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
71658         (__ASSUME_NETLINK_SUPPORT): Likewise.
71659         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
71660         (__no_netlink_support): Remove conditional definition.
71661         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
71662         Remove.
71663         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71664         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
71665         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
71666         (if_nameindex_ioctl): Remove.
71667         (if_nameindex_netlink): Do not handle __no_netlink_support.
71668         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71669         code.
71670         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
71671         Remove conditional code.
71672         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71673         code.
71674         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
71675         unconditional.
71676         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71677         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
71678         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
71679         Remove.
71680         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
71681         [!__ASSUME_STD_AUXV]: Remove conditional code.
71682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
71683         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
71684         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
71685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
71686         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
71687         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71688         code.
71689         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
71691         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
71692         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71693         conditional code.
71694         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
71696         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71697         code.
71698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
71699         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71700         conditional code.
71701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
71702         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71703         code unconditional.
71704         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71705         conditional code.
71706         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71707         unconditional.
71708         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71709         conditional code.
71710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71711         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71712         unconditional.
71713         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71714         conditional code.
71715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
71716         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71717         code unconditional.
71718         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71719         conditional code.
71720         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71721         unconditional.
71722         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71723         conditional code.
71724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
71725         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71726         code unconditional.
71727         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71728         conditional code.
71729         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71730         unconditional.
71731         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71732         conditional code.
71734 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
71736         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
71737         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
71738         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
71739         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
71740         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
71741         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
71742         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
71743         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
71744         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
71745         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
71746         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
71747         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
71748         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
71749         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
71750         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
71751         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
71752         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
71753         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
71754         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
71755         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
71756         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
71757         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
71758         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71760 2012-07-25  Florian Weimer  <fweimer@redhat.com>
71762         * Versions.def: Add GLIBC_2.17.
71763         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
71764         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
71765         Introduce __libc_secure_getenv.
71766         * stdlib/Versions (2.17): Add secure_getenv
71767         (GLIBC_PRIVATE): Add __libc_secure_getenv.
71768         * stdlib/secure-getenv.c: Rename __secure_getenv to
71769         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
71770         symbol __secure_getenv for GLIBC_2.0.
71771         * stdlib/tst-secure-getenv.c: New.
71772         * stdlib/Makefile (tests): Add testcase.
71773         * manual/startup.texi (Environment Access): Document
71774         secure_getenv.
71775         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
71776         __libc_secure_getenv.
71777         * inet/ruserpass.c (ruserpass): Likewise.
71778         * malloc/mtrace.c (mtrace): Likewise.
71779         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
71780         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
71781         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
71782         * sysdeps/posix/tempname.c: Likewise.  Evaluate
71783         HAVE_SECURE_GETENV.
71784         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
71785         __secure_getenv to __libc_secure_getenv.
71786         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
71787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71788         Likewise.
71789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71790         Likewise.
71791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71793         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71799 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71801         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
71802         (struct La_i86_retval): Likewise.
71803         (struct La_x86_64_regs): Likewise.
71804         (struct La_x86_64_retval): Likewise.
71805         (struct La_x32_regs): Likewise.
71806         (struct La_x32_retval): Likewise.
71807         (struct La_ppc32_regs): Likewise.
71808         (struct La_ppc32_retval): Likewise.
71809         (struct La_ppc64_regs): Likewise.
71810         (struct La_ppc64_retval): Likewise.
71811         (struct La_sh_regs): Likewise.
71812         (struct La_sh_retval): Likewise.
71813         (struct La_s390_32_regs): Likewise.
71814         (struct La_s390_32_retval): Likewise.
71815         (struct La_s390_64_regs): Likewise.
71816         (struct La_s390_64_retval): Likewise.
71817         (struct La_sparc32_regs): Likewise.
71818         (struct La_sparc32_retval): Likewise.
71819         (struct La_sparc64_regs): Likewise.
71820         (struct La_sparc64_retval): Likewise.
71821         (struct audit_ifaces): Remove architecture-specific pltenter and
71822         pltexit members.
71823         * sysdeps/i386/ldsodefs.h: New file.
71824         * sysdeps/powerpc/ldsodefs.h: Likewise.
71825         * sysdeps/s390/ldsodefs.h: Likewise.
71826         * sysdeps/sh/ldsodefs.h: Likewise.
71827         * sysdeps/sparc/ldsodefs.h: Likewise.
71828         * sysdeps/x86_64/ldsodefs.h: Likewise.
71830 2012-07-25  Marek Polacek  <polacek@redhat.com>
71832         [BZ #6808]
71833         * math/libm-test.inc (yn_test): Add another test.
71834         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
71835         to ERANGE when the result is +-Inf.
71836         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
71837         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
71838         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
71839         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
71841 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
71843         * conform/data/time.h-data (NULL): Use macro-constant.  Require
71844         equal to 0.
71845         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
71846         clock_t.
71847         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
71849 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
71851         * configure.in <sysdeps resolving>: Correct printing
71852         Implies_before.
71853         * configure: Regenerate.
71855 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
71857         * math/w_ilogb.c: Include <limits.h>.
71858         * math/w_ilogbl.c: Likewise.
71860 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71862         * manual/lang.texi (__va_copy): Document primarily as ISO C99
71863         va_copy.  Document allowing for unavailable va_copy only as
71864         pre-C99 compatibility.
71865         * manual/string.texi (Copying and Concatenation): Use va_copy
71866         instead of __va_copy in concat example.
71868 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
71870         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
71871         (__sendto): Use create_address_port.  Initialize APORT and deallocate
71872         it if not null.
71874         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
71875         with O_NOLINK passed to __file_name_lookup.
71877         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
71878         with O_NOLINK passed to __file_name_lookup.
71880         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
71881         negative N or less than NGIDS.
71883         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
71884         type to string_t.  Set ERANGE as errno and return it if NAME is not big
71885         enough.  Use memcpy instead of strncpy.
71887 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71889         * elf/Makefile (check-data): Remove.
71890         (localplt.data): New vpath directive.
71891         ($(objpfx)check-localplt.out): Use localplt.data from vpath
71892         instead of $(check-data).
71893         * scripts/data/localplt-generic.data: Move to ...
71894         * sysdeps/generic/localplt.data: ... here.
71895         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
71896         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
71897         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
71898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
71899         ... here.
71900         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
71901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
71902         ... here.
71903         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
71904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
71905         ... here.
71906         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
71907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
71908         ... here.
71909         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
71910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
71911         ... here.
71912         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
71913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
71914         ... here.
71916 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71918         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
71919         PPC32 and PPC64 files.
71920         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
71921         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
71923 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71925         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
71926         __makecontext_ret to ...
71927         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
71928         ... here and call exit if uc_link is NULL.  New file.
71929         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
71930         __makecontext_ret.S.
71931         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
71932         __makecontext_ret to ...
71933         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
71934         ... here and call exit if uc_link is NULL.  New file.
71935         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
71936         __makecontext_ret.S.
71938 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71940         * elf/elf.h (R_390_IRELATIVE): New definition.
71941         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
71942         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
71943         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
71944         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
71945         (elf_machine_lazy_rel): Likewise.
71946         * sysdeps/s390/dl-irel.h: New file.
71947         * sysdeps/s390/s390-64/memcpy.S: New asm code.
71948         * sysdeps/s390/s390-64/memset.S: New asm code.
71949         * sysdeps/s390/s390-64/memcmp.S: New asm code.
71950         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
71951         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
71952         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
71953         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
71954         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
71955         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
71956         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
71957         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
71958         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
71959         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
71960         * sysdeps/s390/s390-32/memcpy.S: New asm code.
71961         * sysdeps/s390/s390-32/memset.S: New asm code.
71962         * sysdeps/s390/s390-32/memcmp.S: New asm code.
71964 2012-07-17  Marek Polacek  <polacek@redhat.com>
71966         [BZ #14349]
71967         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
71968         * sysdeps/s390/s390-64/configure.in: Likewise.
71969         * sysdeps/sparc/configure.in: Likewise.
71970         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
71971         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
71972         * sysdeps/i386/configure.in: Likewise.
71973         * sysdeps/x86_64/configure.in: Likewise.
71974         * sysdeps/sh/configure.in: Likewise.
71975         * sysdeps/s390/s390-32/configure: Regenerated.
71976         * sysdeps/s390/s390-64/configure: Likewise.
71977         * sysdeps/x86_64/configure: Likewise.
71978         * sysdeps/sh/configure: Likewise.
71979         * sysdeps/powerpc/powerpc64/configure: Likewise.
71980         * sysdeps/powerpc/powerpc32/configure: Likewise.
71981         * sysdeps/sparc/configure: Likewise.
71982         * sysdeps/i386/configure: Likewise.
71984         * elf/dl-open.c: Comment fixes.
71986 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
71988         * Makefile [CXX] (check-data): Remove.
71989         [CXX] (c++-types.data): New vpath directive.
71990         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
71991         vpath.  Do not allow for C++ type data being missing.
71992         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
71993         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
71994         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
71995         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
71996         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
71997         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
71998         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
71999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
72000         ... here.
72001         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
72002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
72003         ... here.
72004         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
72005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
72006         ... here.
72007         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
72008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
72009         ... here.
72010         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
72011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
72012         ... here.
72013         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
72014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
72015         ... here.
72016         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
72017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
72018         ... here.
72019         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
72020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
72022         * elf/tls-macros.h (TLS_LE): Move architecture-specific
72023         definitions to architecture-specific files.
72024         (TLS_IE): Likewise.
72025         (TLS_LD): Likewise.
72026         (TLS_GD): Likewise.
72027         * sysdeps/i386/tls-macros.h: New file.
72028         * sysdeps/powerpc/tls-macros.h: Likewise.
72029         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
72030         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
72031         * sysdeps/sh/tls-macros.h: Likewise.
72032         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
72033         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
72034         * sysdeps/x86_64/tls-macros.h: Likewise.
72036 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72038         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
72039         zero value for regular exit case.
72041         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
72042         (__start_context): Preserve zero value for regular exit case.
72044 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72045             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72047         * manual/setjmp.texi (setcontext): Clarify normal process
72048         termination when uc_link is the null pointer.
72049         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
72050         exit call.
72052 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
72054         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
72055         preprocessor.  Test for each exception mask separately.
72057 2012-07-16  Andreas Jaeger  <aj@suse.de>
72059         * po/ru.po: Update from translation team.
72061 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
72063         * conform/data/string.h-data (NULL): Use macro-constant.  Require
72064         equal to 0.
72065         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72066         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72067         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
72068         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
72069         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72071 2012-07-13  Andreas Jaeger  <aj@suse.de>
72073         * po/fr.po: Update from translation team.
72075 2012-07-12  Marek Polacek  <polacek@redhat.com>
72077         [BZ #14173]
72078         * math/libm-test.inc (yn_test): Add test for BZ #14173.
72079         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
72080         loop condition.
72082 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
72084         [BZ #13717]
72085         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72086         Change to 2.4.1 where previously 2.4.0.
72087         * sysdeps/unix/sysv/linux/configure: Regenerated.
72088         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
72089         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
72090         version.
72091         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
72092         (__ASSUME_AT_CLKTCK): Remove.
72093         (__ASSUME_AT_PAGESIZE): Likewise.
72094         (__ASSUME_AT_XID): Likewise.
72095         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
72096         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
72097         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
72098         unconditionally.
72099         (HAVE_AUX_PAGESIZE): Likewise.
72100         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
72101         [__ASSUME_AT_CLKTCK]: Make code unconditional.
72102         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
72104 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
72106         [BZ #14307]
72107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
72108         the temporary buffer used to invoke __gethostbyname2_r,
72109         __gethostbyaddr_r and gethostbyname4_r to make room for struct
72110         host_data / struct gaih_addrtuple.
72111         * resolv/nss_dns/dns-host.c (global scope): Move definition of
72112         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
72113         header file nss/nsswitch.h.
72114         * nss/nsswitch.h (global scope): Add definition of implementation
72115         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
72116         resolv/nss_dns/dns-host.c).
72118 2012-07-11  Andreas Jaeger  <aj@suse.de>
72120         * po/fr.po: Update from translation team.
72122         * po/sv.po: Update from translation team
72123         * po/fr.po: Another update from translation team.
72125 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72127         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
72128         for subnormals or multiply small sinh result by itself.
72129         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72132 2012-07-11  David S. Miller  <davem@davemloft.net>
72134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72136 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
72138         [BZ #14347]
72139         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
72140         (INTERNAL_MARK): Shift it here.
72142 2012-07-10  Marek Polacek  <polacek@redhat.com>
72144         [BZ #14151]
72145         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
72146         libc_cv_asm_global_directive with .globl.
72147         * configure: Regenerated.
72148         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
72149         with .globl.
72150         * sysdeps/i386/configure: Regenerated.
72151         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
72152         with .globl.
72153         * sysdeps/x86_64/configure: Regenerated.
72154         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
72155         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
72156         * elf/tst-unique2mod2.c: Likewise.
72157         * elf/tst-unique2mod1.c: Likewise.
72158         * elf/tst-unique1mod2.c: Likewise.
72159         * elf/tst-unique1mod1.c: Likewise.
72160         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72161         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72162         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72163         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72164         * sysdeps/mach/sysdep.h: Likewise.
72165         * sysdeps/i386/sysdep.h: Likewise.
72166         * sysdeps/i386/i386-mcount.S: Likewise.
72167         * sysdeps/x86_64/_mcount.S: Likewise.
72168         * sysdeps/x86_64/sysdep.h: Likewise.
72169         * sysdeps/sh/_mcount.S: Likewise.
72170         * sysdeps/sh/sysdep.h: Likewise.
72171         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
72172         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
72173         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
72174         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72175         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
72176         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
72177         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
72178         * locale/localeinfo.h: Likewise.
72179         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
72180         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
72182 2012-07-09  Roland McGrath  <roland@hack.frob.com>
72184         [BZ #14336]
72185         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
72186         system".
72187         * manual/message.texi (The Uniforum approach): Likewise.
72188         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
72189         (glibc iconv Implementation): Likewise.
72191 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
72193         [BZ #14337]
72194         * math/s_clog.c (__clog): Avoid scaling a value down where that
72195         could result in underflow.
72196         * math/s_clog10.c (__clog10): Likewise.
72197         * math/s_clog10f.c (__clog10f): Likewise.
72198         * math/s_clog10l.c (__clog10l): Likewise.
72199         * math/s_clogf.c (__clogf): Likewise.
72200         * math/s_clogl.c (__clogl): Likewise.
72201         * math/libm-test.inc (clog_test): Add more tests.
72202         (clog10_test): Likewise.
72203         * sysdeps/i386/fpu/libm-test-ulps: Update.
72204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72206 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
72208         [BZ #14283]
72209         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
72210         by 7 not 8 to examine high bit of fractional part.
72212         [BZ #14042]
72213         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
72214         for call to __mcount_internal.
72215         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
72216         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
72217         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
72219 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
72221         [BZ #14154]
72222         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
72223         approximation for values within 0x1p-13f of an odd multiple of
72224         pi/4.
72225         * math/libm-test.inc (tan_test): Do not allow spurious underflow
72226         exception.  Add more tests.
72227         * sysdeps/i386/fpu/libm-test-ulps: Update.
72229         [BZ #6778]
72230         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
72231         inputs and return -1 for them.  Do not check for +Inf in case not
72232         reachable for +Inf.
72233         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
72234         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
72235         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72236         and return -1 for them.  Do not check for +Inf in case not
72237         reachable for +Inf.
72238         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
72239         define.
72240         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72241         and return -1 for them.  Do not check for +Inf in case not
72242         reachable for +Inf.
72243         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
72244         spurious underflow.
72245         * sysdeps/i386/fpu/libm-test-ulps: Update.
72246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72248 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
72250         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
72252 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
72254         [BZ #14157]
72255         [BZ #14331]
72256         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
72257         could result in spurious underflow.  Scale down values above
72258         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
72259         * math/s_csqrtf.c (__csqrtf): Likewise.
72260         * math/s_csqrtl.c (__csqrtl): Likewise.
72261         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
72262         spurious underflow.
72263         * sysdeps/i386/fpu/libm-test-ulps: Update.
72264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72266 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
72268         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
72269         xopen-msg.sed.
72270         * catgets/xopen-msg.awk: New file.
72271         * catgets/xopen-msg.sed: Removed.
72273         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
72274         po2text.sed.
72275         * intl/po2test.awk: New file.
72276         * intl/po2test.sed: Removed.
72278 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
72280         [BZ #14328]
72281         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
72282         or multiply small sinh result by itself.
72283         * math/s_ctanf.c (__ctanf): Likewise.
72284         * math/s_ctanh.c (__ctanh): Likewise.
72285         * math/s_ctanhf.c (__ctanhf): Likewise.
72286         * math/s_ctanhl.c (__ctanhl): Likewise.
72287         * math/s_ctanl.c (__ctanl): Likewise.
72288         * math/libm-test.inc (ctan_test_tonearest): New function.
72289         (ctan_test_towardzero): Likewise.
72290         (ctan_test_downward): Likewise.
72291         (ctan_test_upward): Likewise.
72292         (ctanh_test_tonearest): Likewise.
72293         (ctanh_test_towardzero): Likewise.
72294         (ctanh_test_downward): Likewise.
72295         (ctanh_test_upward): Likewise.
72296         (main): Call these new functions.
72297         * sysdeps/i386/fpu/libm-test-ulps: Update.
72298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72300 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
72302         * .gitignore: Delete /ports entry.
72304 2012-07-03  Andreas Jaeger  <aj@suse.de>
72306         * po/bg.po: Update from translation team.
72307         * po/cs.po: Likewise.
72308         * po/de.po: Likewise.
72309         * po/hr.po: Likewise.
72310         * po/nl.pl: Likewise.
72311         * po/pl.po: Likewise.
72312         * po/vi.po: Likewise.
72314 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
72316         * Makeconfig [!+link] (+link-before-libc): New variable.
72317         [!+link] (+link-after-libc): Likewise.
72318         [!+link] (+link-tests): Likewise.
72319         [!+link] (+link): Define in terms of $(+link-before-libc) and
72320         $(+link-after-libc).
72321         [!+link-static] (+link-static-before-libc): New variable.
72322         [!+link-static] (+link-static-after-libc): Likewise.
72323         [!+link-static] (+link-static-tests): Likewise.
72324         [!+link-static] (+link-static): Define in terms of
72325         $(+link-static-before-libc) and $(+link-static-after-libc).
72326         [build-shared] (link-libc-before-gnulib): New variable.
72327         [build-shared] (link-libc-tests): Likewise.
72328         [build-shared] (link-libc): Define in terms of
72329         $(link-libc-before-gnulib).
72330         [!build-shared] (link-libc-tests): New variable.
72331         (link-libc-static-tests): New variable.
72332         [!gnulib] (gnulib-arch): New variable.
72333         [!gnulib] (gnulib-tests): Likewise.
72334         [!gnulib] (static-gnulib-arch): Likewise.
72335         [!gnulib] (static-gnulib-tests): Likewise.
72336         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
72337         Define with "=" instead of ":=".
72338         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
72339         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
72340         * Rules (binaries-all-notests): New variable.
72341         (binaries-all-tests): Likewise.
72342         (binaries-static-notests): Likewise.
72343         (binaries-static-tests): Likewise.
72344         (binaries-all): Define using $(binaries-all-notests) and
72345         $(binaries-all-tests).
72346         (binaries-static): Define using $(binaries-static-notests) and
72347         $(binaries-static-tests).
72348         (binaries-shared-tests): New variable.
72349         (binaries-shared-notests): Likewise.
72350         (binaries-shared): Remove variable.
72351         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
72352         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
72353         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
72354         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
72355         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
72356         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
72357         * elf/Makefile (sln-modules): New variable.
72358         (extra-objs): Add $(sln-modules:=.o).
72359         (ldconfig-modules): Add static-stubs.
72360         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
72361         * elf/static-stubs.c: New file.
72363         [BZ #14283]
72364         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
72365         by 7 not 8 to examine high bit of fractional part.  Use volatile
72366         variables when splitting into final array of floats if
72367         __FLT_EVAL_METHOD__ != 0.
72368         * math/libm-test.inc (cos_test): Add another test.
72369         (sin_test): Likewise.
72370         * sysdeps/i386/fpu/libm-test-ulps: Update.
72372         [BZ #14273]
72373         * math/libm-test.inc (cosh_test): Add more tests.
72375         * version.h (RELEASE): Set to "development".
72376         (VERSION): Set to "2.16.90".
72378 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
72380         * NEWS: Update copyright. Remove last-updated date.
72381         Mention math library bug fixes and timezone data changes.
72382         * README: Mention GNU/Hurd, x32, and HPPA support status.
72384 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
72386         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
72388 2012-06-27  Andreas Jaeger  <aj@suse.de>
72390         * manual/contrib.texi (Contributors): Add Samuel Thibault.
72392 2012-06-25  Andreas Jaeger  <aj@suse.de>
72394         * sysdeps/s390/fpu/libm-test-ulps: Update.
72396 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
72397             Thomas Schwinge  <thomas@codesourcery.com>
72399         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
72400         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
72401         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
72402         fanotify_mark.
72404 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
72406         * sysdeps/mach/start.c: Remove file.
72407         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
72408         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
72409         * sysdeps/sh/init-first.c: Likewise.
72411         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
72412         registers for frame unwinding purposes, add CFI directives.
72413         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72414         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
72415         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
72416         Likewise.
72418         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
72419         __fortify_fail returning.
72420         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72422         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
72423         sysdeps/sh/____longjmp_chk.S.
72424         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
72425         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
72426         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
72427         (gen-as-const-headers): Append sigaltstack-offsets.sym.
72429         * sysdeps/sh/abort-instr.h: New file.
72430         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
72431         process in case exit returns.
72433         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
72434         initialize the GOT register before use.
72436         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
72437         calculation of ARGC > 4.
72439         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
72440         meaningful names to some local labels.
72442 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72443             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72445         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
72446         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
72447         (__arch_compare_and_exchange_val_16_acq): Likewise.
72448         (__arch_compare_and_exchange_val_32_acq): Likewise.
72449         (atomic_exchange_and_add): Fix gUSA sequence.
72450         (atomic_add): Likewise.
72451         (atomic_add_negative): Likewise.
72452         (atomic_add_zero): Likewise.
72453         (atomic_bit_test_set): Likewise.
72455 2012-06-22  Andreas Schwab  <schwab@redhat.com>
72457         [BZ #13579]
72458         * include/link.h (struct link_map): Add l_free_initfini.
72459         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
72460         l_initfini.
72461         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
72462         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
72463         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
72464         set.
72466 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
72468         * configure.in: Use AC_LANG_SOURCE.
72469         * configure: Regenerate.
72471 2012-06-22  Roland McGrath  <roland@hack.frob.com>
72473         * configure.in (libc_cv_localstatedir): New substituted variable.
72474         * configure: Regenerated.
72475         * config.make.in (localstatedir): New variable, substituted from
72476         libc_cv_localstatedir.
72477         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
72478         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
72479         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
72480         * sysdeps/gnu/configure: Regenerated.
72482 2012-06-21  Jeff Law  <law@redhat.com>
72484         [BZ #14277]
72485         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
72486         free.  Simplify list management for _LIBC case.
72488 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
72490         [BZ #14273]
72491         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
72492         Clear sign bit of 64-bit integer value before comparing against
72493         overflow value.
72495         * sysdeps/mach/configure: Regenerated.
72497 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
72499         [BZ #14278]
72500         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
72502 2012-06-21  Jeff Law  <law@redhat.com>
72504         [BZ #13882]
72505         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
72506         uint16_t for elements in the "seen" array to avoid char overflows.
72507         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72508         * elf/dl-open.c (dl_open_worker): Likewise.
72510 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
72512         * scripts/list-sources.sh: Scan PORTS for translations.
72513         * po/libc.pot: Regenerated.
72515 2012-06-21  Andreas Jaeger  <aj@suse.de>
72517         [BZ #12194]
72518         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
72519         warning.
72520         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
72521         * bits/byteswap-16.h (__bswap_16): Likewise.
72522         * bits/byteswap.h (__bswap_constant_16): Likewise.
72524 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
72526         [BZ #14117]
72527         * sysdeps/i386/fpu_control.h: Removed.
72528         * sysdeps/x86_64/fpu_control.h: Moved to ...
72529         * sysdeps/x86/fpu_control.h: Here.
72531         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
72532         (_FPU_SETCW): Likewise.
72534 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
72536         [BZ #14117]
72537         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
72538         * sysdeps/x86/fpu/bits/mathinline.h: This.
72539         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
72541         [BZ #14050]
72542         [BZ #14117]
72543         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
72544         functions if __x86_64__ is defined.
72546 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
72548         * string/endian.h: Add !__ASSEMBLER__ condition for including
72549         conversion interfaces.
72551 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
72553         [BZ #14241]
72554         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
72555         of ABS(x) in calculating zero to negative powers other than odd
72556         integers.
72557         * math/libm-test.inc (pow_test): Add more tests.
72559 2012-06-15  Andreas Jaeger  <aj@suse.de>
72561         * manual/contrib.texi (Contributors): Update entry of Liubov
72562         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
72563         Machado Filho.
72565 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
72567         * string/string.h: Add __wur to GNU version of strerror_r.
72569 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
72571         [BZ #14229]
72572         * string/Makefile (tests): Add tst-strtok_r.
72573         * string/tst-strtok_r.c: New file.
72574         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
72575         RAX_LP/RDX_LP on SAVE_PTR.
72577 2012-06-14  Roland McGrath  <roland@hack.frob.com>
72579         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
72581 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
72583         * libm_test.inc (csqrt_test): Allow more spurious underflow
72584         exceptions.
72585         (j0_test): Likewise.
72586         (j1_test): Likewise.
72587         (y0_test): Likewise.
72588         (y1_test): Likewise.
72590 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
72592         * po/Makefile (libc.pot): Use UTF-8 charset.
72594 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
72596         [BZ #14210]
72597         Suppress sign-conversion warning from FD_SET.
72598         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
72599         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
72600         not unsigned long int.
72601         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
72603 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
72605         [BZ #14050]
72606         [BZ #14117]
72607         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
72608         __extern_always_inline instead of __extern_inline.
72609         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
72610         (__signbit): Likewise.
72611         (__signbitl): Support C++ namespace.
72612         (lrintf): New inline function.
72613         (lrint): Likewise.
72614         (llrintf): Likewise.
72615         (llrint): Likewise.
72616         (fmaxf): Likewise.
72617         (fmax): Likewise.
72618         (fminf): Likewise.
72619         (fmin): Likewise.
72620         (rint): Likewise.
72621         (rintf): Likewise.
72622         (ceil): Likewise.
72623         (ceilf): Likewise.
72624         (floor): Likewise.
72625         (floorf): Likewise.
72626         (nearbyint): Likewise.
72627         (nearbyintf): Likewise.
72629 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
72631         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
72632         non-default versions.
72634 2012-06-11  Roland McGrath  <roland@hack.frob.com>
72636         [BZ #14218]
72637         * manual/argp.texi (Argp): Reword argp_parse description slightly.
72639 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
72641         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
72642         (FE_UPWARD, FE_DOWNWARD): Don't define.
72643         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
72644         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72646         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
72647         reading it.
72648         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72649         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72651 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72653         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72654         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
72655         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
72656         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
72658 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
72660         [BZ #14117]
72661         * sysdeps/i386/fpu/bits/fenv.h: Removed.
72662         * sysdeps/i386/fpu/Implies: New file.
72663         * sysdeps/x86_64/fpu/Implies: Likewise.
72664         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
72665         * sysdeps/x86/fpu/bits/fenv.h: This.
72667         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
72668         __SSE_MATH__.
72670 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
72672         [BZ #14134]
72673         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
72674         character 0xffff that matches the last element of the
72675         conversion table.
72677 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72679         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
72680         fmodl commit.
72682 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72684         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
72685         values higher than 25.6283.
72687 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72689         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
72690         subnormal exponent extraction and add some __builtin_expect.
72691         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
72692         Fix for subnormal mantissa calculation.
72694 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
72696         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
72697         cpu2 is -1 and errno is not ENOSYS.
72699 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
72701         [BZ #14117]
72702         * sysdeps/i386/i486/bits/string.h: Renamed to ...
72703         * sysdeps/x86/bits/string.h: This.
72704         * sysdeps/x86_64/bits/string.h: Removed.
72706         * sysdeps/i386/i486/bits/string.h: Define inline functions only
72707         if not compiling for x86-64, but compiling for >= i486.
72709         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
72710         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
72712         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
72713         New macro from Linux kernel 3.4.0.
72714         (FP_XSTATE_MAGIC2): Likewise.
72715         (FP_XSTATE_MAGIC2_SIZE): Likewise.
72716         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
72717         (struct _fpx_sw_bytes): New struct.
72718         (struct _xsave_hdr): Likewise.
72719         (struct _ymmh_state): Likewise.
72720         (struct _xstate): Likewise.
72722         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
72723         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
72724         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
72725         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
72726         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
72727         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
72729         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
72730         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
72731         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
72732         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
72733         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
72734         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
72736 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72738         [BZ #13743]
72739         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
72740         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
72741         (sysdep_headers): Include sys/platform/ppc.h.
72742         * sysdeps/powerpc/test-gettimebase.c: Test for
72743         __ppc_get_timebase() to catch future ISA opcode/insn changes.
72744         * manual/Makefile (appendices): Include platform.texi.
72745         * manual/contrib.texi (Contributors): Update @node pointers.
72746         * manual/maint.texi (Maintenance): Likewise.
72747         (Platform): New node.
72748         * manual/platform.texi: New file.  Document the new features.
72750 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72751             Jakub Jelinek  <jakub@redhat.com>
72753         [BZ #14188]
72754         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
72755         where __builtin_expect is unavailable.
72757 2012-06-03  David S. Miller  <davem@davemloft.net>
72759         * stdlib/longlong.h: Updated from GCC.
72761 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
72763         [BZ #14042]
72764         * sysdeps/powerpc/powerpc32/mcount.c: New file.
72765         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
72766         __mcount_internal.
72767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72768         (GLIBC_2.16): Likewise.
72770 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72772         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
72774 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
72777         (default-abi): New variable.
72778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
72779         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
72780         variable.
72781         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
72782         Likewise.
72783         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
72784         Likewise.
72785         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
72786         Likewise.
72788         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
72789         definition.  Document in comment.
72791 2012-06-01  David S. Miller  <davem@davemloft.net>
72793         * stdlib/longlong.h: Updated from GCC.
72795 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72797         [BZ #14117]
72798         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
72799         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
72800         sys/debugreg.h sys/io.h here.
72801         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
72802         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
72803         sys/io.h.
72804         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
72805         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
72806         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
72807         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
72808         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
72809         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
72811         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
72812         Define only if __x86_64__ is defined.
72814 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72816         [BZ #14048]
72817         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
72818         Use int64_t for variable i.
72819         * math/libm-test.inc (fmod_test): Add more tests.
72821         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
72822         z computation is not scheduled after fetestexcept.
72823         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
72824         Use math_force_eval instead of asm to ensure calculation scheduled
72825         before exception test.
72826         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
72827         Ensure a1 + u.d computation is not scheduled after fetestexcept.
72829 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
72831         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
72832         computation is not scheduled after fetestexcept.
72834 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72836         [BZ #14117]
72837         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
72838         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
72840 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72842         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
72843         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72845 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72847         [BZ #14117]
72848         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
72849         <bits/wordsize.h>.
72850         (__WCHAR_MIN): Support __WORDSIZE == 64.
72851         (__WCHAR_MAX): Likewise.
72853         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
72854         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
72856         [BZ #14183]
72857         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
72858         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
72860         [BZ #14117]
72861         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
72862         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
72864         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
72865         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
72867         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
72868         Defined to 1 if __x86_64__ isn't defined.
72869         (_STAT_VER_LINUX_OLD): New.
72870         (st_atime): Remove duplicate.
72871         (st_mtime): Likewise.
72872         (st_ctime): Likewise.
72874 2012-05-31  David S. Miller  <davem@davemloft.net>
72876         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
72877         entries.
72879 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
72881         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
72882         gen-libm-test.pl.
72884         [BZ #14132]
72885         * elf/dl-reloc.c: Include <_itoa.h>.
72886         (_dl_reloc_bad_type): Remove use of INTUSE.
72887         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
72888         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
72889         * stdio-common/psiginfo.c (psiginfo): Likewise.
72890         * stdio-common/psignal.c (psignal): Likewise.
72891         * string/strsignal.c (strsignal): Likewise.
72892         * include/signal.h (_sys_siglist): Declare hidden proto.
72893         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
72894         INTVARDEF with libc_hidden_data_def.
72895         * stdio-common/itoa-udigits.c: Likewise.
72896         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
72897         (_itoa_lower_digits_internal): Remove declaration.
72898         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
72899         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
72900         (_sys_sigabbrev_internal): Remove aliases.
72901         (_sys_siglist): Define hidden alias.
72903 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
72905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72906         bits/sysctl.h.
72908 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72910         [BZ #14117]
72911         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
72912         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
72914         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
72915         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
72916         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
72917         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
72918         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
72919         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
72921         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
72922         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
72923         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
72925         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
72926         with __addr.
72927         (insw): Likewise.
72928         (insl): Likewise.
72929         (outsb): Likewise.
72930         (outsw): Likewise.
72931         (outsl): Likewise.
72933         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
72934         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
72935         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
72937         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
72938         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
72939         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
72940         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
72941         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
72942         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
72944         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
72945         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
72947         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
72948         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
72950         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
72951         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
72952         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
72954         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
72955         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
72956         to ...
72957         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
72959         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
72960         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
72961         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
72963         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
72964         for x86-64.
72965         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
72967 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
72969         * math/math.h (M_El): Use two more decimal places.
72970         (M_LOG2El): Likewise.
72971         (M_LOG10El): Likewise.
72972         (M_LN2l): Likewise.
72973         (M_LN10l): Likewise.
72974         (M_PIl): Likewise.
72975         (M_PI_2l): Likewise.
72976         (M_PI_4l): Likewise.
72977         (M_1_PIl): Likewise.
72978         (M_2_PIl): Likewise.
72979         (M_2_SQRTPIl): Likewise.
72980         (M_SQRT2l): Likewise.
72981         (M_SQRT1_2l): Likewise.
72983 2012-05-31  David S. Miller  <davem@davemloft.net>
72985         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
72986         values between float registers.
72987         * sysdeps/sparc/sparc64/memset.S: Likewise.
72988         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72990 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
72992         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
72993         -D_FORTIFY_SOURCE=1.
72994         (CPPFLAGS-tst-longjmp_chk.c): Define.
72995         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
72996         (CPPFLAGS-tst-longjmp_chk2.c): Define.
72997         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
72998         CFLAGS-tst-wchar-h.c.
73000 2012-05-31  Marek Polacek  <polacek@redhat.com>
73002         [BZ #14132]
73003         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
73004         __endmntent_internal): Remove declaration.
73005         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
73006         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
73007         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
73009 2012-05-30  David S. Miller  <davem@davemloft.net>
73011         * sysdeps/sparc/sparc32/soft-fp/q_util.c
73012         (___Q_simulate_exceptions): Use real FP ops rather than writing
73013         into the %fsr.
73014         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
73015         Likewise.
73017 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73019         [BZ #14117]
73020         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
73021         * sysdeps/x86/bits/xtitypes.h: This.
73023         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
73024         * sysdeps/x86/bits/wordsize.h: This.
73026         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
73027         * sysdeps/x86/bits/huge_vall.h: This.
73029         * sysdeps/i386/bits/select.h: Removed.
73030         * sysdeps/x86_64/bits/select.h: Renamed to ...
73031         * sysdeps/x86/bits/select.h: This.
73033         * sysdeps/i386/bits/setjmp.h: Removed.
73034         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
73035         * sysdeps/x86/bits/setjmp.h: This.
73037         * sysdeps/i386/bits/mathdef.h: Removed.
73038         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
73039         * sysdeps/x86/bits/mathdef.h: This.
73041 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
73043         [BZ #14132]
73044         * include/sys/socket.h (__connect_internal)
73045         (__libc_sa_len_internal): Remove declaration.
73046         (__connect, __libc_sa_len): Declare hidden_proto.
73047         (SA_LEN): Remove use of INTUSE.
73048         * socket/connect.c: Add libc_hidden_def.
73049         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
73050         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
73051         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
73052         alias.
73053         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
73054         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
73055         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
73056         of adding _internal alias.
73058 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73060         [BZ #14117]
73061         * sysdeps/i386/bits/link.h: Removed.
73062         * sysdeps/i386/bits/linkmap.h: Likewise.
73063         * sysdeps/x86_64/bits/link.h: Renamed to ...
73064         * sysdeps/x86/bits/link.h: This.
73065         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
73066         * sysdeps/x86/bits/linkmap.h: This.
73068         * sysdeps/i386/bits/endian.h: Removed.
73069         * sysdeps/x86_64/bits/endian.h: Renamed to ...
73070         * sysdeps/x86/bits/endian.h: This.
73072         * sysdeps/i386/bits/byteswap.h: Removed.
73073         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73074         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
73075         * sysdeps/x86/bits/byteswap.h: This.
73076         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
73077         * sysdeps/x86/bits/byteswap-16.h: This.
73078         * sysdeps/i386/Implies: Add x86.
73079         * sysdeps/x86_64/Implies: Likewise.
73081 2012-05-30  David S. Miller  <davem@davemloft.net>
73083         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
73084         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
73085         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
73086         (FP_TRAPPING_EXCEPTIONS): Define.
73087         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
73088         (FP_TRAPPING_EXCEPTIONS): Define.
73089         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
73090         subnormals only when inexact has been signalled or underflow
73091         exceptions are enabled.
73092         (_FP_PACK_CANONICAL): Likewise.
73094 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73096         [BZ #14183]
73097         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
73098         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
73100 2012-05-30  Richard Henderson  <rth@twiddle.net>
73102         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
73103         with #ifndef NOT_IN_libc.
73105         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
73106         marked to avoid plt entry.
73108 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73110         [BZ #14112]
73111         * Makeconfig (default-abi): New macro.
73112         (abi-includes): Likewise.
73113         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
73114         $(abi-$(default-abi)-lib-soname) for soname if defined.
73115         ($(common-objpfx)gnu/lib-names.stmp): Generate from
73116         abi-variants.
73117         * Makefile (installed-stubs): Likewise.
73118         * include/stubs-biarch.h: Removed.
73119         * scripts/lib-names.awk: Only handle one library at a time.
73120         * scripts/soversions.awk: Remove WORDSIZE support.
73121         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
73122         entries.
73123         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
73124         Removed.
73125         (syscall-list-default-condition): Likewise.
73126         (syscall-list-default-condition): Likewise.
73127         (syscall-list-includes): Likewise.
73128         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
73129         syscall-list-* with abi-*.  Handle undefined abi-variants.
73130         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
73131         * sysdeps/unix/sysv/linux/i386/Implies: New file.
73132         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
73133         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
73134         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
73135         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
73136         Removed.
73137         (syscall-list-32-options): Likewise.
73138         (syscall-list-32-condition): Likewise.
73139         (syscall-list-64-options): Likewise.
73140         (syscall-list-64-condition): Likewise.
73141         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
73142         macro.
73143         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
73144         Renamed to ...
73145         (abi-*): This.
73146         (abi-64-ld-soname): New macro.
73147         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
73148         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
73149         Renamed to ...
73150         (abi-*): This.
73151         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
73152         * sysdeps/x86_64/x32/shlib-versions: Likewise.
73154 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
73156         * sysdeps/unix/sysv/linux/kernel-features.h
73157         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
73158         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
73159         include <kernel-features.h>.
73160         [!__NR_ftruncate64]: Remove conditional code.
73161         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73162         [__NR_ftruncate64]: Make code unconditional.
73163         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73164         * sysdeps/unix/sysv/linux/truncate64.c: Do not
73165         include <kernel-features.h>.
73166         [!__NR_ftruncate64]: Remove conditional code.
73167         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73168         [__NR_ftruncate64]: Make code unconditional.
73169         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
73171         include <kernel-features.h>.
73172         [!__NR_ftruncate64]: Remove conditional code.
73173         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73174         [__NR_ftruncate64]: Make code unconditional.
73175         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
73177         include <kernel-features.h>.
73178         [!__NR_ftruncate64]: Remove conditional code.
73179         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73180         [__NR_ftruncate64]: Make code unconditional.
73181         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73183         * configure.in (libc_cv_fpie): Weaken to a compile test using
73184         LIBC_TRY_CC_OPTION.
73185         * configure: Regenerated.
73187 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
73190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
73191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
73192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73193         Refreshed.
73194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
73195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
73196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
73197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
73198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
73199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73200         Refreshed.
73202 2012-05-27  David S. Miller  <davem@davemloft.net>
73204         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
73205         (___Q_zero): New.
73206         (__Q_simulate_exceptions): Return void.  Change to simulate
73207         exceptions by writing into the %fsr.
73208         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
73209         (__Qp_handle_exceptions): Likewise.
73210         (numbers): Delete.
73211         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
73212         __Qp_handle_exceptions.
73213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
73214         __Qp_handle_exceptions.
73215         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73216         as unused and give dummy FP_RND_NEAREST initializer.
73217         (FP_INHIBIT_RESULTS): Define.
73218         (___Q_simulate_exceptions): Update declaration.
73219         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
73220         formatting.
73221         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73222         as unused and give dummy FP_RND_NEAREST initializer.
73223         (__Qp_handle_exceptions): Update declaration.
73224         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
73225         formatting.
73227 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
73229         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
73230         the temporary FPU control word.
73231         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
73232         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
73233         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
73234         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73235         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
73236         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
73237         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
73238         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73239         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
73240         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
73241         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73243 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73245         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
73246         fields.
73248 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
73250         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
73251         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
73252         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
73253         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
73254         Likewise.
73255         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
73256         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
73257         Likewise.
73259 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
73261         * po/h.po: Update from translation team.
73263 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
73265         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
73267         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
73268         handling of denormals.
73269         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73270         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
73271         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73272         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73273         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73274         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
73275         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
73276         Likewise.
73278 2012-05-26  Marek Polacek  <polacek@redhat.com>
73280         [BZ #14152]
73281         * math/libm-test.inc (fma_test): Don't always expect underflow
73282         exception.
73284 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73286         [BZ #12416]
73287         * elf/tst-execstack.c: Include stackinfo.h.
73288         (do_test): Adjust test case to ensure that pthread_getattr_np
73289         behaviour remains the same after marking stack executable.
73291 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73293         * sysdeps/unix/sysv/linux/kernel-features.h
73294         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
73295         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
73296         kernel-features.h.
73297         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73298         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73299         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
73300         kernel-features.h.
73301         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73302         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73304 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
73306         * configure.in: Define the default includes to being none.
73307         * configure: Regenerated.
73309 2012-05-25  Roland McGrath  <roland@hack.frob.com>
73311         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
73312         * sysdeps/x86_64/setjmp.S: Likewise.
73313         * sysdeps/i386/bsd-setjmp.S: Likewise.
73314         * sysdeps/i386/bsd-_setjmp.S: Likewise.
73315         * sysdeps/i386/setjmp.S: Likewise.
73316         * sysdeps/i386/__longjmp.S: Likewise.
73317         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73318         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
73320         * include/stap-probe.h: New file.
73321         * configure.in: Handle --enable-systemtap.
73322         * configure: Regenerated.
73323         * config.h.in (USE_STAP_PROBE): New #undef.
73324         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
73325         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
73326         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
73328 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73330         [BZ #13717]
73331         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73332         to 2.4.0 where earlier.
73333         * sysdeps/unix/sysv/linux/configure: Regenerated.
73334         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
73335         <kernel-features.h>.
73336         [__ASSUME_32BITUIDS]: Make code unconditional.
73337         [!__ASSUME_32BITUIDS]: Remove conditional code.
73338         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
73339         <kernel-features.h>.
73340         [__ASSUME_32BITUIDS]: Make code unconditional.
73341         [!__ASSUME_32BITUIDS]: Remove conditional code.
73342         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
73343         [__ASSUME_32BITUIDS]: Make code unconditional.
73344         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
73345         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.c: Do not include
73366         <kernel-features.h>.
73367         [__ASSUME_32BITUIDS]: Make code unconditional.
73368         [!__ASSUME_32BITUIDS]: Remove conditional code.
73369         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
73370         <kernel-features.h>.
73371         [__ASSUME_32BITUIDS]: Make code unconditional.
73372         [!__ASSUME_32BITUIDS]: Remove conditional code.
73373         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
73374         <kernel-features.h>.
73375         [__ASSUME_32BITUIDS]: Make code unconditional.
73376         [!__ASSUME_32BITUIDS]: Remove conditional code.
73377         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
73378         <kernel-features.h>.
73379         [__ASSUME_32BITUIDS]: Make code unconditional.
73380         [!__ASSUME_32BITUIDS]: Remove conditional code.
73381         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
73382         <kernel-features.h>.
73383         [__ASSUME_32BITUIDS]: Make code unconditional.
73384         [!__ASSUME_32BITUIDS]: Remove conditional code.
73385         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
73386         <kernel-features.h>.
73387         [__NR_setresgid] (__setresgid): Do not declare.
73388         [__ASSUME_32BITUIDS]: Make code unconditional.
73389         [!__ASSUME_32BITUIDS]: Remove conditional code.
73390         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
73391         <kernel-features.h>.
73392         [__NR_setresuid] (__setresuid): Do not declare.
73393         [__ASSUME_32BITUIDS]: Make code unconditional.
73394         [!__ASSUME_32BITUIDS]: Remove conditional code.
73395         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/i386/setresgid.c: Do not include
73416         <kernel-features.h>.
73417         [__ASSUME_32BITUIDS]: Make code unconditional.
73418         [!__ASSUME_32BITUIDS]: Remove conditional code.
73419         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
73420         <kernel-features.h>.
73421         [__ASSUME_32BITUIDS]: Make code unconditional.
73422         [!__ASSUME_32BITUIDS]: Remove conditional code.
73423         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
73424         <kernel-features.h>.
73425         [__ASSUME_32BITUIDS]: Make code unconditional.
73426         [!__ASSUME_32BITUIDS]: Remove conditional code.
73427         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
73428         <kernel-features.h>.
73429         [__ASSUME_32BITUIDS]: Make code unconditional.
73430         [!__ASSUME_32BITUIDS]: Remove conditional code.
73431         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
73432         <kernel-features.h>.
73433         [__ASSUME_32BITUIDS]: Make code unconditional.
73434         [!__ASSUME_32BITUIDS]: Remove conditional code.
73435         * sysdeps/unix/sysv/linux/kernel-features.h
73436         (__ASSUME_SETRESUID_SYSCALL): Remove.
73437         (__ASSUME_SETRESGID_SYSCALL): Likewise.
73438         (__ASSUME_32BITUIDS): Likewise.
73439         (__ASSUME_LDT_WORKS): Likewise.
73440         (__ASSUME_O_DIRECTORY): Likewise.
73441         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
73442         architecture but not kernel version.
73443         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
73444         (__ASSUME_MMAP2_SYSCALL): Likewise.
73445         (__ASSUME_STAT64_SYSCALL): Likewise.
73446         (__ASSUME_IPC64): Likewise.
73447         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
73448         <kernel-features.h>.
73449         [__ASSUME_32BITUIDS]: Make code unconditional.
73450         [!__ASSUME_32BITUIDS]: Remove conditional code.
73451         * sysdeps/unix/sysv/linux/opendir.c: Do not include
73452         <kernel-features.h>.
73453         [__ASSUME_O_DIRECTORY]: Make code unconditional.
73454         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
73455         132096]: Remove conditional code.
73456         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
73457         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
73458         <kernel-features.h>.
73459         [__ASSUME_32BITUIDS]: Make code unconditional.
73460         [!__ASSUME_32BITUIDS]: Remove conditional code.
73461         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
73462         <kernel-features.h>.
73463         [__ASSUME_32BITUIDS]: Make code unconditional.
73464         [!__ASSUME_32BITUIDS]: Remove conditional code.
73465         * sysdeps/unix/sysv/linux/setegid.c: Do not include
73466         <kernel-features.h>.
73467         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
73468         unconditional.
73469         (__setresgid): Do not declare.
73470         [__ASSUME_32BITUIDS]: Make code unconditional.
73471         [!__ASSUME_32BITUIDS]: Remove conditional code.
73472         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
73473         <kernel-features.h>.
73474         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
73475         unconditional.
73476         (__setresuid): Do not declare.
73477         [__ASSUME_32BITUIDS]: Make code unconditional.
73478         [!__ASSUME_32BITUIDS]: Remove conditional code.
73479         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
73480         <kernel-features.h>.
73481         [__ASSUME_32BITUIDS]: Make code unconditional.
73482         [!__ASSUME_32BITUIDS]: Remove conditional code.
73483         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
73484         <kernel-features.h>.
73485         [__ASSUME_32BITUIDS]: Make code unconditional.
73486         [!__ASSUME_32BITUIDS]: Remove conditional code.
73488 2012-05-25  Richard Henderson  <rth@twiddle.net>
73490         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
73491         dl_hwcap to ifunc resolver.
73492         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
73493         elf_ifunc_invoke.
73494         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
73495         dl_hwcap to ifunc resolver.
73496         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
73498 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73500         [BZ #14153]
73501         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
73502         for |x| <= 2**-26, not 2**-57.
73503         * math/libm-test.inc (acos_test): Do not allow spurious underflow
73504         exception.
73506 2012-05-24  Jeff Law  <law@redhat.com>
73508         * stdio-common/Makefile (tests): Add bug25.
73509         * stdio-common/bug25.c: New test.
73511 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73513         [BZ #13576]
73514         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
73515         multiple of MALLOC_ALIGNMENT in size.
73516         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
73518 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73520         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
73521         Require >= 256.
73522         (FILENAME_MAX): Use macro-int-constant.
73523         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
73524         (_IOFBF): Use macro-int-constant.
73525         (_IOLBF): Likewise.
73526         (_IONBF): Likewise.
73527         (SEEK_CUR): Likewise.
73528         (SEEK_END): Likewise.
73529         (SEEK_SET): Likewise.
73530         (TMP_MAX): Likewise.
73531         (EOF): Use macro-int-constant.  Require < 0.
73532         (NULL): Use macro-constant.  Require == 0.
73533         (stdin): Require type to be FILE *.
73534         (stdout): Likewise.
73535         (stderr): Likewise.
73536         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
73537         macro-int-constant.
73538         (EXIT_SUCCESS): Likewise.
73539         (NULL): Use macro-constant.  Require == 0.
73540         (RAND_MAX): Use macro-int-constant.
73541         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
73542         [C99-based standards] (strtof): Require function.
73543         [C99-based standards] (strtold): Likewise.
73544         [C99-based standards] (strtoll): Likewise.
73545         [C99-based standards] (strtoull): Likewise.
73546         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73547         [ISO || ISO99 || ISO11] (limits.h): Likewise.
73548         [ISO || ISO99 || ISO11] (math.h): Likewise.
73549         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
73550         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73551         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73553 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
73555         [BZ #14132]
73556         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
73557         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
73558         * intl/dgettext.c (DCGETTEXT): Likewise.
73559         * intl/gettext.c (DCGETTEXT): Likewise.
73560         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
73561         * posix/regex_internal.h (gettext): Likewise.
73562         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
73563         Remove declaration.
73564         * include/argz.h (__argz_count_internal)
73565         (__argz_stringify_internal): Remove declaration.
73566         (__argz_count, __argz_stringify): Declare hidden proto.
73567         * intl/dcgettext.c: Remove use of INTDEF.
73568         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
73569         * string/argz-stringify.c: Likewise.
73570         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73571         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73572         Declare hidden proto.
73573         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73574         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73575         Declare hidden proto.
73576         * include/stdio.h (__asprintf_internal): Don't declare.
73577         (__asprintf): Don't define as macro.  Declare hidden proto.
73578         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
73579         (__fsetlocking): Declare hidden proto.
73580         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
73581         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
73582         hidden proto.
73583         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
73584         (_IO_setlinebuf): Remove use of INTUSE.
73585         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
73586         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
73587         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
73588         Remove declaration.
73589         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
73590         (_IO_do_flush): Remove use of INTUSE.
73591         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
73592         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
73593         (_IO_adjust_column, _IO_least_wmarker)
73594         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
73595         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
73596         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
73597         (_IO_default_doallocate, _IO_wdefault_doallocate)
73598         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
73599         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
73600         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
73601         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
73602         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
73603         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
73604         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
73605         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
73606         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
73607         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
73608         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
73609         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
73610         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
73611         proto.
73612         (_IO_flush_all_internal, _IO_adjust_column_internal)
73613         (_IO_default_uflow_internal, _IO_default_finish_internal)
73614         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
73615         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
73616         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
73617         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
73618         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
73619         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
73620         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
73621         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
73622         (_IO_file_close_internal, _IO_file_close_it_internal)
73623         (_IO_file_underflow_internal, _IO_file_overflow_internal)
73624         (_IO_file_init_internal, _IO_file_attach_internal)
73625         (_IO_file_fopen_internal, _IO_file_read_internal)
73626         (_IO_file_sync_internal, _IO_file_seek_internal)
73627         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
73628         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
73629         (_IO_str_underflow_internal, _IO_str_overflow_internal)
73630         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
73631         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
73632         (_IO_list_all_internal, _IO_link_in_internal)
73633         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
73634         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
73635         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
73636         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
73637         (_IO_do_write_internal, _IO_padn_internal)
73638         (_IO_getline_info_internal, _IO_getline_internal)
73639         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
73640         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
73641         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
73642         (_IO_vfscanf_internal, _IO_vfprintf_internal)
73643         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
73644         (_IO_init_internal, _IO_un_link_internal): Don't declare.
73645         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
73646         with libc_hidden_ver, remove use of INTUSE.
73647         * libio/genops.c: Likewise.
73648         * libio/freopen.c: Likewise.
73649         * libio/freopen64.c: Likewise.
73650         * libio/iofclose.c: Likewise.
73651         * libio/iofdopen.c: Likewise.
73652         * libio/iofflush.c: Likewise.
73653         * libio/iofflush_u.c: Likewise.
73654         * libio/iofgets.c: Likewise.
73655         * libio/iofgets_u.c: Likewise.
73656         * libio/iofopen.c: Likewise.
73657         * libio/iofopncook.c: Likewise.
73658         * libio/iofread.c: Likewise.
73659         * libio/iofread_u.c: Likewise.
73660         * libio/ioftell.c: Likewise.
73661         * libio/iofwrite.c: Likewise.
73662         * libio/iogetline.c: Likewise.
73663         * libio/iogets.c: Likewise.
73664         * libio/iogetwline.c: Likewise.
73665         * libio/iopadn.c: Likewise.
73666         * libio/iopopen.c: Likewise.
73667         * libio/ioseekoff.c: Likewise.
73668         * libio/ioseekpos.c: Likewise.
73669         * libio/iosetbuffer.c: Likewise.
73670         * libio/iosetvbuf.c: Likewise.
73671         * libio/ioungetc.c: Likewise.
73672         * libio/ioungetwc.c: Likewise.
73673         * libio/iovdprintf.c: Likewise.
73674         * libio/iovsprintf.c: Likewise.
73675         * libio/iovsscanf.c: Likewise.
73676         * libio/memstream.c: Likewise.
73677         * libio/obprintf.c: Likewise.
73678         * libio/oldfileops.c: Likewise.
73679         * libio/oldiofclose.c: Likewise.
73680         * libio/oldiofdopen.c: Likewise.
73681         * libio/oldiofopen.c: Likewise.
73682         * libio/oldiopopen.c: Likewise.
73683         * libio/oldstdfiles.c: Likewise.
73684         * libio/putc.c: Likewise.
73685         * libio/setbuf.c: Likewise.
73686         * libio/setlinebuf.c: Likewise.
73687         * libio/stdfiles.c: Likewise.
73688         * libio/strops.c: Likewise.
73689         * libio/vasprintf.c: Likewise.
73690         * libio/vscanf.c: Likewise.
73691         * libio/vsnprintf.c: Likewise.
73692         * libio/vswprintf.c: Likewise.
73693         * libio/wfiledoalloc.c: Likewise.
73694         * libio/wfileops.c: Likewise.
73695         * libio/wgenops.c: Likewise.
73696         * libio/wmemstream.c: Likewise.
73697         * libio/wstrops.c: Likewise.
73698         * libio/__fpurge.c: Likewise.
73699         * libio/__fsetlocking.c: Likewise.
73700         * assert/assert.c: Likewise.
73701         * debug/fgets_chk.c: Likewise.
73702         * debug/fgets_u_chk.c: Likewise.
73703         * debug/fread_chk.c: Likewise.
73704         * debug/fread_u_chk.c: Likewise.
73705         * debug/gets_chk.c: Likewise.
73706         * debug/obprintf_chk.c: Likewise.
73707         * debug/vasprintf_chk.c: Likewise.
73708         * debug/vdprintf_chk.c: Likewise.
73709         * debug/vsnprintf_chk.c: Likewise.
73710         * debug/vsprintf_chk.c: Likewise.
73711         * malloc/mtrace.c: Likewise.
73712         * misc/error.c: Likewise.
73713         * misc/syslog.c: Likewise.
73714         * stdio-common/asprintf.c: Likewise.
73715         * stdio-common/fxprintf.c: Likewise.
73716         * stdio-common/getw.c: Likewise.
73717         * stdio-common/isoc99_fscanf.c: Likewise.
73718         * stdio-common/isoc99_scanf.c: Likewise.
73719         * stdio-common/isoc99_vfscanf.c: Likewise.
73720         * stdio-common/isoc99_vscanf.c: Likewise.
73721         * stdio-common/isoc99_vsscanf.c: Likewise.
73722         * stdio-common/printf-prs.c: Likewise.
73723         * stdio-common/printf_fp.c: Likewise.
73724         * stdio-common/printf_fphex.c: Likewise.
73725         * stdio-common/printf_size.c: Likewise.
73726         * stdio-common/putw.c: Likewise.
73727         * stdio-common/scanf.c: Likewise.
73728         * stdio-common/sprintf.c: Likewise.
73729         * stdio-common/tmpfile.c: Likewise.
73730         * stdio-common/vfprintf.c: Likewise.
73731         * stdio-common/vfscanf.c: Likewise.
73732         * stdlib/strfmon_l.c: Likewise.
73733         * sunrpc/openchild.c: Likewise.
73734         * sunrpc/xdr_stdio.c: Likewise.
73735         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
73736         * sysdeps/mach/hurd/tmpfile.c: Likewise.
73738 2012-05-24  Roland McGrath  <roland@hack.frob.com>
73740         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73742         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
73743         in the third column, to generate for the shared library an IFUNC
73744         that uses _dl_vdso_vsym.
73745         * Makerules (COMPILE.c, compile-stdin.c): New variables.
73746         * Makeconfig (object-suffixes-noshared): New variable.
73748         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
73749         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
73750         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
73751         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
73753         [BZ #14132]
73754         * include/sys/time.h (__gettimeofday): Remove macro.
73755         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
73756         * time/gettimeofday.c (__gettimeofday): Remove #undef.
73757         Remove INTDEF.
73758         (__gettimeofday): Add libc_hidden_def.
73759         (gettimeofday): Add libc_hidden_weak.
73760         * sysdeps/mach/gettimeofday.c: Likewise.
73761         * sysdeps/posix/gettimeofday.c: Likewise.
73762         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
73763         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
73764         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
73765         (__gettimeofday_internal): Remove strong_alias.
73766         (__gettimeofday): Add libc_hidden_def.
73767         (gettimeofday): Add libc_hidden_weak.
73768         * sysdeps/unix/syscalls.list (gettimeofday):
73769         Remove __gettimeofday_internal alias.
73771 2012-05-24  Daniel Jacobowitz  <drow@false.org>
73772             H.J. Lu  <hongjiu.lu@intel.com>
73774         [BZ #12495]
73775         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
73776         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
73777         (largebin_index_32_big): New.
73778         (largebin_index): Use it for 16-byte alignment.
73779         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
73780         correction with front_misalign.
73782 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
73785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
73786         Likewise.
73787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
73788         Likewise.
73789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
73790         Likewise.
73791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
73792         Likewise.
73793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
73794         Likewise.
73795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
73796         Likewise.
73797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
73798         Likewise.
73799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
73800         Likewise.
73801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
73802         Likewise.
73803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
73804         Likewise.
73805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
73806         Likewise.
73807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
73808         Likewise.
73810         * scripts/data/c++-types-x32-linux-gnu.data: New file.
73811         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
73813 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73815         [BZ #10846]
73816         [BZ #14036]
73817         * math/libm-test.inc (exp_test): Add test from bug 14036.
73818         (pow_test): Add test from bug 10846.
73820         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
73821         and other flags.
73822         (special_function): Do not include flags in test name.
73823         (parse_args): Likewise.
73824         * sysdeps/i386/fpu/libm-test-ulps: Update.
73825         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73826         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
73827         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
73828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73830         * math/gen-libm-test.pl (%beautify): Add entries for underflow
73831         exceptions.
73832         * math/libm-test.inc ("Philosophy"): Update comment about
73833         exception testing.
73834         (UNDERFLOW_EXCEPTION): New macro.
73835         (UNDERFLOW_EXCEPTION_OK): Likewise.
73836         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
73837         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
73838         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
73839         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
73840         (INVALID_EXCEPTION_OK): Update value.
73841         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73842         (OVERFLOW_EXCEPTION_OK): Likewise.
73843         (IGNORE_ZERO_INF_SIGN): Likewise.
73844         (test_exceptions): Handle underflow exceptions.
73845         (acos_test): Update for underflow exception expectations.
73846         (cexp_test): Likewise.
73847         (clog_test): Likewise.
73848         (clog10_test): Likewise.
73849         (csqrt_test): Likewise.
73850         (ctan_test): Likewise.
73851         (ctanh_test): Likewise.
73852         (exp_test): Likewise.
73853         (exp10_test): Likewise.
73854         (exp2_test): Likewise.
73855         (expm1_test): Likewise.
73856         (fma_test): Likewise.
73857         (j0_test): Likewise.
73858         (jn_test): Likewise.
73859         (nexttoward_test): Likewise.
73860         (pow_test): Likewise.
73861         (scalbn_test): Likewise.
73862         (scalbln_test): Likewise.
73863         (tan_test): Likewise.
73864         (y1_test): Likewise.
73865         * sysdeps/i386/fpu/libm-test-ulps: Update.
73866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73868 2012-05-23  David S. Miller  <davem@davemloft.net>
73870         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73871         (__libc_sigaction): Remove unused local variables.
73873 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73875         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
73877 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
73879         mktime: avoid signed integer overflow
73880         * time/mktime.c (__mktime_internal): Do not mishandle the case
73881         where diff == INT_MIN.
73883         mktime: simplify computation of average
73884         * time/mktime.c (ranged_convert): Use new time_t_avg function
73885         instead of rolling our own (probably-slower) code.
73887         mktime: do not assume signed right shift propagates sign bit
73888         * time/mktime.c (isdst_differ): New static function.
73889         (__mktime_internal): No need to normalize tm_isdst now.
73890         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
73891         tm_isdst values.
73893         mktime: merge another wrapv change from gnulib
73894         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
73895         from some compilers.
73897         mktime: remove incorrect attempt at unusual arithmetics
73898         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
73899         The code didn't really work on such machines anyway.
73900         (TYPE_MINIMUM): Assume two's complement.
73901         (twos_complement_arithmetic): Verify that long_int and time_t
73902         are two's complement (or unsigned, in the latter case).
73904         mktime: check signed shifts on long_int and time_t, too
73905         * time/mktime.c (SHR): Check that shifts work as desired
73906         on the types long_int and time_t too, as SHR is used on
73907         such types.
73909         mktime: do not assume 'long' is wide enough
73910         * time/mktime.c (verify): Move decl up.
73911         (long_int): New type.
73912         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
73913         to remove assumption in the code that 'long' is wide enough to
73914         store year values.  This assumption is not true on x32 and on
73915         some non-glibc platforms.
73917         mktime: merge wrapv change from gnulib
73918         * time/mktime.c (WRAPV): New macro.
73919         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
73920         (guess_time_tm, __mktime_internal): Do not assume that signed
73921         integer overflow wraps around; modern compilers generate code
73922         where this assumption is no longer valid.
73924 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73926         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73927         Replace "jmp L(pseudo_end)" with "ret".
73928         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
73929         Likewise.
73931 2012-05-23  Andreas Jaeger  <aj@suse.de>
73933         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
73934         * sysdeps/unix/sysv/linux/poll.c: Remove file.
73936 2012-05-23  Andreas Jaeger  <aj@suse.de>
73937             Maximilian Attems  <max@stro.at>
73939         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
73940         New macros.
73942 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73944         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
73945         code so that pseudo_end is just ret and the stack pointer is
73946         correct also for static library in error case.
73948 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
73950         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
73951         move to syscalls.list.
73952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
73953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
73954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
73955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
73957         * manual/install.texi (Running make install): Do not mention Linux
73958         kernel version for which pt_chown is not needed.
73959         (Linux): Do not mention problems with nscd with 2.0 kernels.
73960         * INSTALL: Regenerated.
73962 2012-05-23  Andreas Jaeger  <aj@suse.de>
73964         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
73965         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
73966         macro.
73967         * sysdeps/unix/sysv/linux/s390/bits/mman.h
73968         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73969         * sysdeps/unix/sysv/linux/sh/bits/mman.h
73970         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73971         * sysdeps/unix/sysv/linux/i386/bits/mman.h
73972         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73973         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
73974         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73975         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
73976         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73977         * sysdeps/unix/sysv/linux/bits/in.h
73978         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
73980 2012-05-22  Roland McGrath  <roland@hack.frob.com>
73982         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
73983         (PREPARE_VERSION): Just use assert instead, it will be elided
73984         under [NDEBUG] anyway.
73986 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73988         * sysdeps/unix/sysv/linux/Makefile: Include
73989         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
73990         (sysdep_routines): Remove sysctl.
73991         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
73992         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
73993         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
73994         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
73995         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
73997 2012-05-22  Andreas Jaeger  <aj@suse.de>
73999         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
74000         that pseudo_end is just ret and the stack pointer is correct also
74001         for static library in error case.
74003 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
74005         [BZ #14122]
74006         * nss/nsswitch.c (defconfig_entries): New variable.
74007         (__nss_database_lookup): Don't leak defconfig entries.
74008         (nss_parse_service_list): Don't leak on error paths.
74009         (free_database_entries): New function.
74010         (free_defconfig): New function.
74011         (free_mem): Move common code to free_database_entries.
74013 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74015         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
74016         Add arch_prctl.
74017         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
74019         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
74020         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
74021         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
74022         New macro.
74023         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
74024         (INTERNAL_SYSCALL_TYPES): Likewise.
74025         (LOAD_ARGS_TYPES_[1-6]): Likewise.
74026         (LOAD_REGS_TYPES_[1-6]): Likewise.
74027         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
74028         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
74030 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74032         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
74033         copysignl for GLIBC_2_0.
74034         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
74035         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
74036         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
74037         logbl for GLIBC_2_0.
74038         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
74039         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
74041 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74043         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
74044         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74046         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74047         Use "neg %eax".
74049         * time/mktime.c: Update copyright years.
74051 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
74053         mktime: merge comment-quoting-style change from gnulib
74054         * time/mktime.c: Quote 'like this' in comments.
74055         The GNU coding standards suggest that we no longer quote `like this',
74056         as "`" and "'" are typically rendered asymmetrically nowadays.
74057         The typical gnulib style is to quote 'like this' when quoting
74058         code, and "like this" when quoting English.
74060         * time/mktime.c (compile-command): Add "-I.".
74062         mktime: merge mktime-internal.h change from gnulib
74063         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
74065         mktime: merge time_r change from gnulib
74066         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
74068         mktime: merge DEBUG change from gnulib
74069         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
74070         case system <time.h> has a #define.
74072         mktime: merge <sys/types.h> change from gnulib
74073         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
74074         since <time.t> is now guaranteed to define time_t.
74076         mktime: merge HAVE_CONFIG_H change from gnulib
74077         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
74079 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74081         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74082         Use "neg %eax".
74084         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
74085         __rlim_t cast.
74086         (struct rusage): Use anonymous union to pad each field to
74087         __syscall_slong_t.
74089 2012-05-21  David S. Miller  <davem@davemloft.net>
74091         * Makefules (o-iterator): Remove .s cases.
74092         (compile-command.s): Delete.
74093         (COMPILE.s): Delete.
74094         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
74096 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
74098         * configure.in (libc_cv_predef_stack_protector): Only consider
74099         "foobar" and "__stack_chk_fail" lines in libc_undefs.
74100         * configure: Regenerated.
74102 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74105         New macro.  Use R*LP on int and pointer.
74106         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
74107         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
74108         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
74109         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
74111         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
74112         [__WORDSIZE_TIME64_COMPAT32] instead of
74113         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
74114         (struct utmp): Likewise.
74115         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
74116         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
74117         Renamed to ...
74118         (__WORDSIZE_TIME64_COMPAT32): This.
74119         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74120         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
74121         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
74122         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
74123         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
74124         (__WORDSIZE_TIME64_COMPAT32): New macro.
74126 2012-05-21  Andreas Jaeger  <aj@suse.de>
74128         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
74129         only if [SHARED]. Add prototype for __wcschr_ia32.
74131 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74133         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
74134         of %rbp unmolested in the jmp_buf while mangling the low bits.
74135         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
74136         unmolested high bits of %rbp while demangling the low bits.
74137         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74139 2012-05-21  Andreas Jaeger  <aj@suse.de>
74141         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
74142         * sunrpc/svc_simple.c: Use it for registerrpc.
74143         * sunrpc/xcrypt.c: Use it for passwd2des.
74145         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
74147 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74149         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
74150         Don't define if [__SYSCALL_WORDSIZE != 32].
74151         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
74152         New macro.
74154 2012-05-21  Bruno Haible  <bruno@clisp.org>
74155             Andreas Jaeger  <aj@suse.de>
74157         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
74158         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
74159         inptr and inend for must_buffer_ch.
74160         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
74161         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
74162         * stdio-common/Makefile (tests): Remove bug15.
74163         (bug15-ENV): Remove macro.
74164         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
74165         anymore.
74167 2012-05-19  Andreas Jaeger  <aj@suse.de>
74168             Roland McGrath  <roland@hack.frob.com>
74170         * manual/contrib.texi: Completely rewritten. It contains now an
74171         alphabetical list of contributors and their contributions.
74173 2012-05-21  Richard Henderson  <rth@twiddle.net>
74175         * misc/getauxval.c (__getauxval): Use unsigned long int.
74176         * misc/sys/auxv.h: Include <sys/cdefs.h>.
74177         (getauxval): Use unsigned long int.
74179 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74181         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74183 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74185         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
74186         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
74187         __alignof__ (long double).
74189 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74193 2012-05-20  Richard Henderson  <rth@twiddle.net>
74195         * misc/getauxval.c: New file.
74196         * misc/sys/auxv.h: New file.
74197         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
74198         (routines): Add getauxval.
74199         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
74200         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
74201         * elf/dl-sysdep.c (_dl_auxv): Remove.
74202         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
74203         * elf/dl-support.c (_dl_auxv): New variable.
74204         (_dl_aux_init): Initialize it.
74205         * manual/startup.texi (Auxiliary Vector): New node.
74206         * sysdeps/generic/bits/hwcap.h: New file.
74207         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
74208         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
74209         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
74210         * sysdeps/sparc/sysdep.h: ... here.  Include it.
74211         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
74212         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
74213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74214         Update.
74215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
74216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
74217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
74218         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
74219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
74222         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
74224 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74228 2012-05-19  David S. Miller  <davem@davemloft.net>
74230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74232 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74234         [BZ #14123]
74235         * math/s_ccosh.c: Include <float.h>
74236         (__ccosh): Avoid internal overflow calculating sinh and cosh
74237         values before multiplying by sin and cos values.
74238         * math/s_ccoshf.c: Likewise.
74239         * math/s_ccoshl.c: Likewise.
74240         * math/s_csin.c: Likewise.
74241         * math/s_csinf.c: Likewise.
74242         * math/s_csinl.c: Likewise.
74243         * math/s_csinh.c: Likewise.
74244         * math/s_csinhf.c: Likewise.
74245         * math/s_csinhl.c: Likewise.
74246         * math/libm-test.inc (ccos_test): Add more tests.
74247         (ccosh_test): Likewise.
74248         (csin_test): Likewise.
74249         (csinh_test): Likewise.
74250         * sysdeps/i386/fpu/libm-test-ulps: Update.
74251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74253 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
74255         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
74256         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
74258         * sysdeps/x86_64/x32/_itoa.h: Add comment.
74260 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74262         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
74263         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
74264         * sysdeps/powerpc/soft-fp/Versions: Likewise.
74265         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
74266         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
74267         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
74268         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
74269         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
74270         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
74271         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
74272         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
74273         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
74274         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
74275         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
74276         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
74277         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
74278         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
74279         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
74280         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
74281         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
74282         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
74283         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
74284         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
74285         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
74286         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
74287         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
74288         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
74289         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
74290         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
74291         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
74292         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
74294 2012-05-18  Andreas Jaeger  <aj@suse.de>
74296         * csu/.gitignore: Delete.
74298 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74300         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
74301         (timex): Use __syscall_slong_t.
74303 2012-05-18  Andreas Jaeger  <aj@suse.de>
74304             Carlos O'Donell  <carlos_odonell@mentor.com>
74306         * manual/install.texi (Configuring and compiling): Update
74307         description about files modified in the source directory.
74308         * INSTALL: Regenerated.
74310 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74312         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
74313         value.  Use "or" to set return value to -1.
74314         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
74315         negate return value.
74317 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74319         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
74320         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
74321         failure if the compiler has Graphite support disabled.
74322         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
74323         Likewise.
74324         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
74325         (CFLAGS-memmove.c): Likewise.
74326         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
74327         Likewise.
74329 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74331         * sysdeps/x86_64/x32/_itoa.h: New file.
74333         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
74334         getdents system call only if kernel and user dirents have the
74335         same d_ino and d_off.
74337         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74338         LLONG_MAX != LONG_MAX.
74339         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74340         (_fitoa_word): Likewise.
74342         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
74343         years.
74344         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
74345         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
74346         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
74348         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
74349         include <bits/wordsize.h>.  Check __x86_64__ instead of
74350         __WORDSIZE.
74351         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
74352         if __x86_64__ is defined.  Use anonymous union on fpstate.
74354         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
74355         anonymous union.
74357 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
74359         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
74360         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
74361         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
74362         Refer to _rtld_local_ro instead of _rtld_global_ro.
74363         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
74364         Likewise.
74365         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
74366         Likewise.
74367         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
74368         Likewise.
74369         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
74370         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
74371         of _rtld_global, and rtld_progname instead of _dl_argv[0].
74373         [BZ #10882]
74374         * sysdeps/powerpc/powerpc32/dl-machine.c
74375         (__elf_machine_runtime_setup) [PROF]: Don't reference
74376         _dl_prof_resolve.
74378 2012-05-18  Andreas Jaeger  <aj@suse.de>
74380         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
74381         function only available for GCCs before 3.4 since GCC 3.4
74382         introduced a builtin.
74383         (lrint): Likewise.
74384         (llrintf): Likewise.
74385         (llrint): Likewise.
74386         (fmaxf): Likewise.
74387         (fmax): Likewise.
74388         (fminf): Likewise.
74389         (fmin): Likewise.
74390         (rint): Likewise.
74391         (rintf): Likewise.
74392         (nearbyint): Likewise.
74393         (nearbyintf): Likewise.
74394         (ceil): Likewise.
74395         (ceilf): Likewise.
74396         (floor): Likewise.
74397         (floorf): Likewise.
74399 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74401         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
74402         on both fields and cast pointer to __syscall_ulong_t.
74404         * bits/types.h (__fsword_t): New type.
74405         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
74406         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
74407         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74408         (__FSWORD_T_TYPE): Likewise.
74409         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74410         (__FSWORD_T_TYPE): Likewise.
74411         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74412         (__FSWORD_T_TYPE): Likewise.
74413         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
74414         (__FSWORD_T_TYPE): Likewise.
74415         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
74416         __SWORD_TYPE with __fsword_t.
74417         (statfs64): Likewise.
74419 2012-05-17  David S. Miller  <davem@davemloft.net>
74421         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
74423 2012-05-17  Andreas Jaeger  <aj@suse.de>
74425         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
74426         warning.
74428 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74430         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
74432 2012-05-17  Andreas Jaeger  <aj@suse.de>
74434         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
74435         when it is used.
74437 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74439         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
74441 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74443         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
74444         * sysdeps/x86_64/tst-mallocalign1.c: New file.
74446 2012-05-17  Andreas Jaeger  <aj@suse.de>
74447             Carlos O'Donell  <carlos_odonell@mentor.com>
74449         [BZ #14059]
74450         * sysdeps/x86_64/multiarch/init-arch.h
74451         (bit_YMM_Usable): Rename to...
74452         (bit_AVX_Usable): ... this.
74453         (bit_FMA4_Usable): New macro.
74454         (bit_XMM_state): New macro.
74455         (bit_YMM_state): New macro.
74456         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
74457         [__ASSEMBLER__] (index_AVX_Usable): ... this.
74458         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
74459         (CPUID_OSXSAVE): New macro.
74460         (CPUID_AVX): New macro.
74461         (CPUID_FMA4): New macro.
74462         (index_YMM_Usable): Rename to...
74463         (index_AVX_Usable): ... this.
74464         (HAS_AVX): Use HAS_ARCH_FEATURE.
74465         (HAS_FMA4): Likewise.
74466         (HAS_YMM_USABLE): Remove.
74467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74468         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
74469         are present.
74470         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
74471         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
74472         * sysdeps/x86_64/multiarch/Makefile: Likewise.
74473         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
74474         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
74476 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74478         * math/libm-test.c: Support platforms without multiple rounding modes.
74479         * math/bug-nextafter.c: Support platforms without FP exceptions.
74480         * math/bug-nexttoward.c: Likewise.
74481         * math/test-fenv.c: Likewise.
74482         * math/test-misc.c: Likewise.
74483         * stdlib/bug-getcontext.c: Likewise.
74485 2012-05-17  Andreas Jaeger  <aj@suse.de>
74487         * manual/examples/search.c (critter_cmp): Change signature to
74488         avoid warnings.
74489         * manual/string.texi (Collation Functions): Likewise.
74491 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74493         * bits/types.h: Fold copyright years.
74494         * bits/typesizes.h: Likewise.
74495         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
74496         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
74497         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
74498         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
74499         * time/time.h: Likewise.
74501 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
74503         [BZ #208]
74504         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
74505         in instead of returning them.  Return void.
74506         (__libc_mallinfo): Accumulate over all arenas.
74507         (__malloc_stats): Adjust for change in int_mallinfo interface.
74509 2012-05-16  Roland McGrath  <roland@hack.frob.com>
74511         [BZ #10375]
74512         * configure.in (NM): Add AC_CHECK_TOOL for it.
74513         (libc_extra_cflags): New substituted variable.
74514         Check for -fstack-protector being used implicitly.
74515         * configure: Regenerated.
74516         * config.make.in (config-extra-cflags): New variable,
74517         gets @libc_extra_cflags@.
74518         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
74520         [BZ #10375]
74521         * configure.in: Check for _FORTIFY_SOURCE being predefined.
74522         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
74523         * configure: Regenerated.
74524         * config.make.in (CPPUNDEFS): New substituted variable.
74525         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
74526         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
74527         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
74529 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74531         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
74532         (mq_attr): Use __syscall_slong_t.
74534 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74536         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
74537         Check __x86_64__ instead of __WORDSIZE.
74538         (_STAT_VER_LINUX): Likewise.
74539         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
74540         __syscall_ulong_t and __syscall_slong_t.
74541         (stat64): Likewise.
74543 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74545         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
74547 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74549         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
74551 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74553         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
74554         __syscall_ulong_t.
74556         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
74557         include <bits/wordsize.h>.  Check __x86_64__ instead of
74558         __WORDSIZE.
74559         (greg_t): Use "__extension__ long long int" if __x86_64__ is
74560         defined.
74561         (mcontext_t): Replace "unsigned long" with "unsigned long long".
74563         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
74564         include <bits/wordsize.h>.  Check __x86_64__ instead of
74565         __WORDSIZE.
74566         (user_regs_struct): Use "__extension__ unsigned long long"
74567         instead of "unsigned long" if __x86_64__ is defined.
74568         (user): Likewise.  Pad after pointer field if __ILP32__ is
74569         defined.
74571 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
74573         * configure.in (makeinfo): Require version 4.5 or later.  Allow
74574         versions 5 to 9.
74575         * configure: Regenerated.
74576         * manual/install.texi (texinfo): Increase version requirement to
74577         4.5 or later.
74578         * INSTALL: Regenerated.
74580         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
74582 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74584         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
74586         * sysdeps/x86_64/x32/ffs.c: New file.
74588         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
74589         __syscall_ulong_t.
74590         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
74591         defined.  Use __syscall_ulong_t.
74592         (shminfo): Use __syscall_ulong_t.
74593         (shm_info): Likewise.
74595         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
74596         __syscall_ulong_t.
74598         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
74599         <bits/wordsize.h>.
74600         (msgqnum_t): Use __syscall_ulong_t.
74601         (msglen_t): Likewise.
74602         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
74603         __syscall_ulong_t.
74605         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
74606         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74608         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
74610         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
74611         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
74613         * sysvipc/sys/msg.h (msgbuf): Replace long int with
74614         __syscall_slong_t.
74616         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
74617         include <bits/wordsize.h>.  Check __x86_64__ instead of
74618         __WORDSIZE.
74620         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
74621         "unsigned long long int" if __x86_64__ is defined.
74622         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
74624         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
74625         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74626         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
74628         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
74629         <stdint.h>.
74630         (GET_PC): Cast to uintptr_t first.
74631         (GET_FRAME): Likewise.
74632         (GET_STACK): Likewise.
74634         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
74635         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
74636         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
74637         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
74638         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
74639         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
74640         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
74641         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
74642         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
74643         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
74644         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
74645         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
74646         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74647         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
74648         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
74649         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
74650         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
74651         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
74652         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
74653         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
74654         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
74655         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
74656         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
74657         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
74658         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
74659         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
74660         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
74661         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
74662         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
74664 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
74666         * Makerules (+depfiles): Also collect depfiles from .oS in
74667         $(extra-objs).
74668         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
74669         .oS, $(libnldbl-routines)).
74671         * Makerules (native-compile-mkdep-flags): Define.
74672         * sunrpc/Makefile (extra-objs): Add $(addprefix
74673         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
74674         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
74675         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
74676         calling $(make-target-directory).
74678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74680         * bits/types.h (__snseconds_t): Removed.
74681         * time/time.h (struct timespec): Replace __snseconds_t with
74682         __syscall_slong_t.
74683         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
74684         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
74685         Likewise.
74686         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74687         (__SNSECONDS_T_TYPE): Likewise.
74688         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74689         (__SNSECONDS_T_TYPE): Likewise.
74690         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74691         (__SNSECONDS_T_TYPE): Likewise.
74693 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74695         * sysdeps/mach/hurd/bits/typesizes.h
74696         (__SYSCALL_SLONG_TYPE): New macro.
74697         (__SYSCALL_ULONG_TYPE): Likewise.
74699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74701         * bits/types.h (__syscall_slong_t): New type.
74702         (__syscall_ulong_t): Likewise.
74704         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
74705         (__SYSCALL_ULONG_TYPE): Likewise.
74706         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74707         (__SYSCALL_SLONG_TYPE): Likewise.
74708         (__SYSCALL_ULONG_TYPE): Likewise.
74709         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74710         (__SYSCALL_SLONG_TYPE): Likewise.
74711         (__SYSCALL_ULONG_TYPE): Likewise.
74712         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74713         (__SYSCALL_SLONG_TYPE): Likewise.
74714         (__SYSCALL_ULONG_TYPE): Likewise.
74716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74718         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
74719         Add sigaltstack-offsets.sym.
74720         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
74721         <sigaltstack-offsets.h>.
74722         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
74723         longjmp_msg pointer.
74724         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
74725         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
74726         signal stack.
74727         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
74729 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74731         * elf/stackguard-macros.h: Remove file.
74732         * sysdeps/generic/stackguard-macros.h: New file.
74733         * sysdeps/i386/stackguard-macros.h: Likewise.
74734         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
74735         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
74736         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
74737         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
74738         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
74739         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
74740         * sysdeps/x86_64/stackguard-macros.h: Likewise.
74741         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
74742         <elf/stackguard-macros.h>.
74744         [BZ #14109]
74745         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
74746         __aligned__ in attribute.
74747         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
74748         (gregset_t): Likewise.
74750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74752         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
74753         * sysdeps/x86_64/64/Implies-after: Here.  New file.
74754         * sysdeps/x86_64/x32/Implies-after: New file.
74756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74758         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
74759         and access return value for _dl_profile_fixup.  Use R10_LP to
74760         load frame size.
74762 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74764         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
74766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74768         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
74769         * sysdeps/x86_64/x32/sysdep.h: New file.
74771 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74773         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
74774         * sysdeps/x86_64/setjmp.S: Likewise.
74776 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74778         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
74779         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
74780         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
74781         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
74782         remove unused global constant.
74784 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
74786         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
74787         include of <not-cancel.h>.
74789 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74791         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
74793 2012-05-15  Jeff Law  <law@redhat.com>
74794             Andreas Jaeger  <aj@suse.de>
74796         [BZ #13594]
74797         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
74798         out from...
74799         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
74800         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
74801         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
74802         code changing __hst_map_handle.map.
74804 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74806         * configure.in (sysnames): Look for Implies-before and Implies-after
74807         files.
74808         * configure: Regenerated.
74810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74812         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
74813         8-byte data alignment with LP_SIZE alignment.
74815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74817         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
74818         into R10_LP.
74820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74822         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
74824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74826         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
74827         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
74828         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
74829         Likewise.
74830         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74834         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
74835         (stackinfo_sub_sp): Likewise.
74837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74839         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
74840         RAX_LP.
74842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74844         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
74845         into R*_LP.
74847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74849         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
74850         sizes into R*_LP.
74852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74854         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
74856 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74858         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
74859         into R11_LP and load __x86_64_shared_cache_size_half into
74860         R8_LP.
74862 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74864         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
74865         R8_LP.
74867 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74869         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
74870         logb for POWER7.
74871         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
74872         logbf for POWER7.
74873         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
74874         logbl for POWER7.
74875         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
74876         powerpc32/power7/fpu/s_logb.c via #include.
74877         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
74878         powerpc32/power7/fpu/s_logbf.c via #include.
74879         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
74880         powerpc32/power7/fpu/s_logbl.c via #include.
74882 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74884         * README.libm: Remove file.
74886 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74888         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
74889         count for x32.  Use R*_LP and omit operand-size suffix.
74891 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74893         * shlib-versions: Move x86_64-.*-linux.* entries to ...
74894         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
74895         * sysdeps/x86_64/x32/shlib-versions: New file.
74897 2012-05-14  Roland McGrath  <roland@hack.frob.com>
74899         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
74900         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
74901         Use _dl_fatal_printf instead.
74903 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74905         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
74906         set if not set by the user.  Do not allow for being unset.
74907         * sysdeps/unix/sysv/linux/configure: Regenerated.
74909 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74911         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
74912         the `q' suffix from lea and replace .quad with ASM_ADDR.
74914 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74916         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
74917         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
74918         instead of $17.
74919         (PTR_DEMANGLE): Likewise.
74921 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74923         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
74924         (LP_OP): Likewise.
74925         (ASM_ADDR): Likewise.
74926         (RAX_LP): Likewise.
74927         (RBP_LP): Likewise.
74928         (RBX_LP): Likewise.
74929         (RCX_LP): Likewise.
74930         (RDI_LP): Likewise.
74931         (RSI_LP): Likewise.
74932         (RSP_LP): Likewise.
74933         (R8_LP): Likewise.
74934         (R9_LP): Likewise.
74935         (R10_LP): Likewise.
74936         (R10_LP): Likewise.
74937         (R11_LP): Likewise.
74938         (R12_LP): Likewise.
74939         (R13_LP): Likewise.
74940         (R14_LP): Likewise.
74941         (R15_LP): Likewise.
74943 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74945         * sysdeps/x86_64/x32/dl-machine.h: New file.
74947 2012-05-14  Andreas Jaeger  <aj@suse.de>
74949         * manual/Makefile (subdir): Remove export of subdir.
74950         (all): Remove target.
74951         (.PHONY): Remove all from list.
74952         (mkinstalldirs): Remove.
74953         (.PHONY): Remove installdirs from list.
74954         ($(inst_infodir)/libc.info): Use make-target-directory.
74955         (installdirs): Remove.
74956         (subdir_%): Remove.
74957         (glibc-targets): Remove.
74958         (lib): Remove.
74959         (stubs): Remove.
74960         ($(objpfx)stubs ../po/manual.pot): Remove.
74961         ($(objpfx)stamp%): Remove.
74962         (make-target-directory): Remove.
74963         (subdir_install): Remove.
74964         (routines): Remove.
74965         (aux): Remove.
74966         (sources): Remove.
74967         (objects): Remove.
74968         (headers): Remove.
74970         [BZ #13750]
74971         * manual/.gitignore: Remove, it's not needed anymore.
74972         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
74973         all files in it.
74974         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
74975         directory.
74976         (texis): Renamed to $(objpfx)texis.
74977         (texis-path): New, contains path to generated files.
74978         (chapters.%): Use texis-path for complete path, add extra argument
74979         libc-texinfo.sh.
74980         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
74981         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
74982         (summary,texi, stamp-summary): Use complete path of
74983         files. Generate files in build dir.
74984         (dir-add.texi): Build in build dir.
74985         (libm-err.texi,stamp-libm-err): Likewise.
74986         (version.texi, stamp-version): Likewise.
74987         (.%c.texi): Likewise.
74988         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
74989         (mostlyclean): Remove target.
74990         (realclean): Remove target.
74991         (generated): Add new variable with contents from mostlyclean and
74992         realclean, remove entries duplicated in common-mostlyclean, add
74993         stamp-libm-err and stamp-version.
74994         (generated-dirs): Add libc directory.
74995         ($(inst_infodir)/libc.info): Install files from build dir.
74997         * manual/install.texi (Configuring and compiling): Adjust since
74998         the info files are not part of the tar ball anymore.
75000 2012-05-14  Andreas Jaeger  <aj@suse.de>
75002         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
75003         variable.
75005 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75007         [BZ #13717]
75008         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75009         to 2.2.0 where earlier.
75010         * sysdeps/unix/sysv/linux/configure: Regenerated.
75011         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
75012         Remove conditional code.
75013         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
75014         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
75015         Remove conditional code.
75016         [!__NR_lchown]: Likewise.
75017         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75018         [__NR_lchown]: Likewise.
75019         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
75020         comment referencing __ASSUME_LCHOWN_SYSCALL.
75021         * sysdeps/unix/sysv/linux/i386/sigaction.c
75022         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75023         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75024         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
75025         Remove conditional code.
75026         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
75027         (__protocol_available): Remove #if 0 code.
75028         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
75029         conditional code.
75030         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
75031         * sysdeps/unix/sysv/linux/kernel-features.h
75032         (__ASSUME_GETCWD_SYSCALL): Don't define.
75033         (__ASSUME_REALTIME_SIGNALS): Likewise.
75034         (__ASSUME_PREAD_SYSCALL): Likewise.
75035         (__ASSUME_PWRITE_SYSCALL): Likewise.
75036         (__ASSUME_POLL_SYSCALL): Likewise.
75037         (__ASSUME_LCHOWN_SYSCALL): Likewise.
75038         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
75039         non-SPARC.
75040         (__ASSUME_SIOCGIFNAME): Don't define.
75041         (__ASSUME_MSG_NOSIGNAL): Likewise.
75042         (__ASSUME_SENDFILE): Define unconditionally.
75043         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
75044         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
75045         conditional code.
75046         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
75047         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
75048         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75049         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75050         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
75051         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75052         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
75054         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75055         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
75057         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75058         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
75060         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75061         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
75063         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75064         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
75066         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75067         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
75069         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75070         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
75072         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75073         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
75075         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75076         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75077         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
75078         Remove conditional code.
75079         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75080         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75081         Remove conditional code.
75082         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75083         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
75084         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
75085         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75086         Remove conditional code.
75087         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75088         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
75089         Remove conditional code.
75090         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75091         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
75092         Remove conditional code.
75093         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75094         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75095         Remove conditional code.
75096         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75097         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75098         Remove conditional code.
75099         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75100         * sysdeps/unix/sysv/linux/sh/pwrite64.c
75101         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75102         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75103         * sysdeps/unix/sysv/linux/sigaction.c
75104         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75105         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75106         * sysdeps/unix/sysv/linux/sigpending.c
75107         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75108         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75109         * sysdeps/unix/sysv/linux/sigprocmask.c
75110         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75111         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75112         * sysdeps/unix/sysv/linux/sigsuspend.c
75113         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75114         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75115         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75116         (__libc_missing_rt_sigs): Remove.
75117         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
75118         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
75119         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
75120         Remove conditional code.
75121         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
75122         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
75123         return 1.
75124         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
75125         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
75126         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
75127         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
75129 2012-05-14  Andreas Jaeger  <aj@suse.de>
75131         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
75132         it's not used in glibc.
75133         (__coshm1): Likewise.
75134         (__acosh1p): Likewise.
75135         (__sgn): Likewise.
75137         * manual/string.texi (Copying and Concatenation): Add missing
75138         variable in concat example.
75139         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
75141 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75143         [BZ #14103]
75144         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
75145         __builtin_clzl with __builtin_clzll.
75147 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75149         [BZ #14104]
75150         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
75151         libc_freeres_ptr.
75153 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75155         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
75156         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
75157         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
75158         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
75160 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
75162         * NEWS: Update ia64 info.
75164 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
75166         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
75167         used as bcopy.
75169 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
75171         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
75172         * sysdeps/unix/syscalls.list (dup3): Likewise.
75173         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
75174         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
75176 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75178         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
75179         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
75181 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75183         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
75184         thread pointer.
75185         (TLS_IE): Use mov/add instead of movq/addq to load thread
75186         pointer.
75187         (TLS_GD_PREFIX): New.
75188         (TLS_GD): Use it.
75190 2012-05-11  David S. Miller  <davem@davemloft.net>
75192         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
75193         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
75194         (_FPU_SETCW): Likewise.
75196 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75198         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
75199         is 32-byte aligned.
75201 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
75203         [BZ #11837]
75204         * iconvdata/gb18030.c: Update tables.
75205         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
75206         characters specially.
75207         (BODY for TO_LOOP): Add encoding of missing ranges.
75209 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
75211         [BZ #13673]
75212         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
75213         * sysdeps/mach/hurd/dup3.c: Likewise.
75214         * sysdeps/mach/hurd/readlinkat.c: Likewise.
75215         * sysdeps/powerpc/memmove.c:: Likewise.
75217 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75219         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
75220         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
75222 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75224         * elf/elf.h (R_X86_64_RELATIVE64): New.
75225         (R_X86_64_NUM): Updated.
75226         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
75227         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
75228         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
75229         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
75230         tst-quad1pie tst-quad2pie
75231         (modules-names): Add tst-quadmod1 tst-quadmod2.
75232         ($(objpfx)tst-quad1): New dependency.
75233         ($(objpfx)tst-quad2): Likewise.
75234         ($(objpfx)tst-quad1pie): Likewise.
75235         ($(objpfx)tst-quad2pie): Likewise.
75236         * sysdeps/x86_64/tst-quad1.c: New file.
75237         * sysdeps/x86_64/tst-quad1pie.c: New file.
75238         * sysdeps/x86_64/tst-quad2.c: Likewise.
75239         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
75240         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
75241         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
75242         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
75243         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
75245 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75247         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
75248         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
75249         * streams/stropts.h (t_scalar_t): Define type.
75251         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
75252         (_PATH_PRESERVE): Set to "/var/lib".
75253         (_PATH_RWHODIR): Set to "/var/spool/rwho".
75255         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
75256         instead of int.
75258         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
75259         if __dir_mkfile succeeded.
75261         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
75262         checking for _hurd_dtablesize.  Unlock it right after having
75263         finished _hurd_dtable allocation.
75265 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75267         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
75268         * sysdeps/mach/hurd/configure: Regenerated.
75269         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
75270         special-casing to...
75271         * sysdeps/gnu/configure.in: ... this new file.
75272         * sysdeps/unix/sysv/linux/configure: Regenerated.
75273         * sysdeps/gnu/configure: New generated file.
75275         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
75276         for Linux: use nsec instead of usec, as well as:
75277         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
75278         members of type struct timespec.
75279         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
75280         New macros.
75281         (struct stat64): Likewise.
75282         (_STATBUF_ST_NSEC): New macro.
75283         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
75285         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75286         __strtoul_internal rather than strtoul.
75288 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75290         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
75291         and reject them.
75293 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75295         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
75296         which preserves existing values.
75297         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
75299 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75301         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
75302         TIMEOUT values.  Return EINVAL for NFDS values either negative or
75303         greater than FD_SETSIZE.
75305 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75307         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
75308         allocated, call __vm_protect to finish enabling the existing space, and
75309         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
75310         allocate the remainder.
75312 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75314         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
75315         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
75317 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75319         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
75320         sysdeps/mach/hurd/readlink.c.
75322         * posix/tst-sysconf.c (posix_options): Only use
75323         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
75324         _POSIX_SYNCHRONIZED_IO when they are defined
75325         * sysdeps/mach/hurd/bits/posix_opt.h:
75326         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
75327         (_XOPEN_REALTIME): Undefine macro.
75328         (_XOPEN_REALTIME_THREADS): Undefine macro.
75329         (_XOPEN_SHM): Undefine macro.
75330         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
75331         macro to -1.
75332         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
75333         macro to -1.
75334         (_POSIX_ASYNC_IO): Undefine macro.
75335         (_POSIX_PRIORITIZED_IO): Undefine macro.
75336         (_POSIX_SPIN_LOCKS): Define macro to -1.
75338         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
75339         SA_NODEFER, SA_RESETHAND.
75340         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
75341         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
75342         F_DUPFD_CLOEXEC.
75344 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75346         * elf/Makefile (pldd-modules): Define unconditionally.
75348 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75350         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
75352 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75354         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
75355         Return ENOENT when name is empty.
75356         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
75358 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75360         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
75362         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
75364 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75366         Fix mlock in all cases except non-readable pages.
75367         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
75368         instead of VM_PROT_ALL as parameter to __vm_wire function.
75370         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
75371         (__mkdir): When path is `/', just fail with EEXIST.
75372         * sysdeps/mach/hurd/mkdirat.c: Likewise.
75374 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75376         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
75377         <sys/uio.h> (for writev).
75378         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
75379         and <sys/param.h> (for MIN).
75381 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75383         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
75384         REQUESTED_TIME.  Properly set the remaining time and return EINTR
75385         if interrupted.
75387 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75389         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
75390         Depend on against $(link-rpcuserlibs).
75392 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75394         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
75395         (__libc_stack_end): Do not use attribute_relro.
75396         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
75397         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
75398         to libthread-provided value.
75399         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
75400         attribute_relro.
75402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75404         [BZ #3748]
75405         * bits/libc-lock.h (__libc_once_get): New macro.
75406         * sysdeps/mach/bits/libc-lock.h: Likewise.
75407         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
75408         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
75409         instead of using implementation details.
75411         * libio/fileops.c: Unconditionally include <kernel-features.h>.
75412         * libio/freopen.c: Likewise.
75413         * libio/freopen64.c: Likewise.
75414         * misc/syslog.c: Likewise.
75415         * nscd/connections.c: Likewise.
75416         * nscd/netgroupcache.c: Likewise.
75417         * sysdeps/posix/getcwd.c: Likewise.
75419 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75421         * math/w_ilogbf.c: Add #include <limits.h>.
75423 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75425         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
75426         path instead of returning without unlocking.
75428         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
75429         immediate-write ioctls.
75430         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
75432 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75434         * sysdeps/mach/hurd/i386/init-first.c (init): Use
75435         __builtin_frame_address instead of making assumptions about the
75436         location of the return address relative to DATA.  Force early load of
75437         the return address.
75438         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
75439         __builtin_frame_address.
75441         dup3 for GNU Hurd.
75442         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
75443         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
75444         implement dup3 and do some further code clean-ups.
75445         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
75446         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
75448 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75450         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
75452         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
75453         HURD_CRITICAL_END around holding _hurd_dtable_lock.
75454         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
75455         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
75456         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
75457         d->port.lock.
75459         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
75460         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
75461         when handler == SIG_ERR, not when handler != SIG_ERR.
75463 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75465         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
75466         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
75467         definitions.
75469         accept4 for GNU Hurd.
75470         * include/sys/socket.h (__libc_accept4): New prototype.
75471         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
75472         to implement __libc_accept4.
75473         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
75474         __libc_accept4.
75475         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
75477         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
75478         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
75479         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
75480         signal-defines.sym.
75482 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75484         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
75486 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75488         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
75489         assertion on O_CLOEXEC flag.
75490         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
75491         * hurd/intern-fd.c: Likewise.
75492         * hurd/port2fd.c: Likewise.
75494 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75496         [BZ #3906]
75497         * bits/in.h (IPV6_PKTINFO): Define new macro.
75498         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
75500 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75502         [BZ #13954]
75503         [BZ #13955]
75504         [BZ #13956]
75505         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
75506         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75507         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
75508         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75509         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75510         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75511         * math/libm-test.inc (logb_test) : Additional logb tests.
75513 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
75514             Andreas Jaeger  <aj@suse.de>
75516         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
75517         * configure: Regenerated.
75518         * config.h.in (LINK_OBSOLETE_RPC): New macro.
75519         * config.make.in (link-obsolete-rpc): New substituted variable.
75520         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
75521         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
75522         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75523         (shared-only-routines): Don't set it under [link-obsolete-rpc],
75524         so that libc.a contains the symbols.
75525         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75526         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
75527         * sunrpc/auth_none.c: Likewise.
75528         * sunrpc/auth_unix.c: Likewise.
75529         * sunrpc/authdes_prot.c: Likewise.
75530         * sunrpc/authuxprot.c: Likewise.
75531         * sunrpc/clnt_gen.c: Likewise.
75532         * sunrpc/clnt_perr.c: Likewise.
75533         * sunrpc/clnt_raw.c: Likewise.
75534         * sunrpc/clnt_simp.c: Likewise.
75535         * sunrpc/clnt_tcp.c: Likewise.
75536         * sunrpc/clnt_udp.c: Likewise.
75537         * sunrpc/clnt_unix.c: Likewise.
75538         * sunrpc/des_crypt.c: Likewise.
75539         * sunrpc/des_soft.c: Likewise.
75540         * sunrpc/get_myaddr.c: Likewise.
75541         * sunrpc/key_call.c: Likewise.
75542         * sunrpc/key_prot.c: Likewise.
75543         * sunrpc/netname.c: Likewise.
75544         * sunrpc/pm_getmaps.c: Likewise.
75545         * sunrpc/pm_getport.c: Likewise.
75546         * sunrpc/pmap_clnt.c: Likewise.
75547         * sunrpc/pmap_prot.c: Likewise.
75548         * sunrpc/pmap_prot2.c: Likewise.
75549         * sunrpc/pmap_rmt.c: Likewise.
75550         * sunrpc/publickey.c: Likewise.
75551         * sunrpc/rpc_cmsg.c: Likewise.
75552         * sunrpc/rpc_common.c: Likewise.
75553         * sunrpc/rpc_dtable.c: Likewise.
75554         * sunrpc/rpc_prot.c: Likewise.
75555         * sunrpc/rpc_thread.c: Likewise.
75556         * sunrpc/rtime.c: Likewise.
75557         * sunrpc/svc.c: Likewise.
75558         * sunrpc/svc_auth.c: Likewise.
75559         * sunrpc/svc_raw.c: Likewise.
75560         * sunrpc/svc_run.c: Likewise.
75561         * sunrpc/svc_tcp.c: Likewise.
75562         * sunrpc/svc_udp.c: Likewise.
75563         * sunrpc/svc_unix.c: Likewise.
75564         * sunrpc/svcauth_des.c: Likewise.
75565         * sunrpc/xcrypt.c: Likewise.
75566         * sunrpc/xdr.c: Likewise.
75567         * sunrpc/xdr_array.c: Likewise.
75568         * sunrpc/xdr_float.c: Likewise.
75569         * sunrpc/xdr_intXX_t.c: Likewise.
75570         * sunrpc/xdr_mem.c: Likewise.
75571         * sunrpc/xdr_rec.c: Likewise.
75572         * sunrpc/xdr_ref.c: Likewise.
75573         * sunrpc/xdr_sizeof.c: Likewise.
75574         * sunrpc/xdr_stdio.c: Likewise.
75576 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75578         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
75579         change.  Update copyright years.
75581 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75583         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
75585 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
75586             Joseph Myers  <joseph@codesourcery.com>
75587             Paul Pluzhnikov  <ppluzhnikov@google.com>
75589         [BZ #14012]
75590         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
75591         requiring rpcgen.
75592         [cross-compiling] (extra-libs): Likewise.
75593         [cross-compiling] (extra-libs-others): Likewise.
75594         [cross-compiling] (librpcsvc-routines): Likewise.
75595         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
75596         [cross-compiling] (omit-deps): Likewise.
75597         (sunrpc-CPPFLAGS): New variable.
75598         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
75599         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
75600         (cross-rpcgen-objs): New variable.
75601         (extra-objs): Append $(cross-rpcgen-objs).
75602         ($(cross-rpcgen-objs)): New rule.
75603         ($(objpfx)cross-rpcgen): Likewise.
75604         (rpcgen-cmd): Define to use $(built-program-file).  Expand
75605         comment.
75606         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
75607         ($(objpfx)x%.stmp): Likewise.
75608         * sunrpc/proto.h [IS_IN_build] (_): Define.
75609         [IS_IN_build] (_libc_intl_domainname): Likewise.
75611 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75613         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
75614         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
75615         and R_X86_64_TPOFF64.
75617 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75619         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
75620         sysdeps/unix/sysv/syscalls.list.
75621         (stime): Likewise.
75622         (utime): Likewise.
75623         * sysdeps/unix/sysv/syscalls.list: Remove file.
75625 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
75627         [BZ #3440]
75628         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
75629         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
75630         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
75631         (__LC_IDENTIFICATION): Make these macros useful in #if
75632         expressions, as required by C99.
75634 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
75636         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
75637         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
75638         after this.
75640 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
75642         * stdlib/longlong.h: Updated from GCC.
75644 2012-05-09  Andreas Jaeger  <aj@suse.de>
75646         * nscd/nscd.c (run_modes): Make named enum, reorder so that
75647         default is first entry.
75648         (run_mode): Set type.
75649         (main): Remove informal message about syslog.
75650         (options): Fix typo.
75652         [BZ #14053]
75653         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
75654         to asm.
75655         (lrint): Likewise.
75656         (llrintf): Likewise.
75657         (llrint): Likewise.
75658         (rint): Likewise.
75659         (rintf): Likewise.
75660         (nearbyint): Likewise.
75661         (nearbyintf): Likewise.
75663 2012-05-09  Andreas Jaeger  <aj@suse.de>
75664             Pedro Alves  <palves@redhat.com>
75666         * nscd/nscd.c (run_mode): Use enum.
75667         (main): Cleanup coding style issue.
75669 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
75670             Andreas Jaeger  <aj@suse.de>
75672         * nscd/nscd.c (go_background): Replaced with...
75673         (run_mode): ... this.
75674         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
75675         (options): Add -F --foreground.
75676         (main): Implement it.
75677         (parse_opt): Parse it.
75679 2012-05-09  Andreas Jaeger  <aj@suse.de>
75681         [BZ #14083]
75682         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
75683         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
75684         -Wconversion warning.
75685         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
75686         Likewise.
75688 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
75690         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
75691         == 0.
75692         (LC_ALL): Use macro-int-constant.
75693         (LC_COLLATE): Likewise.
75694         (LC_CTYPE): Likewise.
75695         (LC_MESSAGES): Likewise.
75696         (LC_MONETARY): Likewise.
75697         (LC_NUMERIC): Likewise.
75698         (LC_TIME): Likewise.
75699         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
75700         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75701         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75702         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
75703         Specify type.
75704         [C99-based standards] (float_t): Expect type.
75705         [C99-based standards] (double_t): Expect type.
75706         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
75707         type.
75708         [C99-based standards] (HUGE_VALL): Likewise.
75709         [C99-based standards] (INFINITY): Likewise.
75710         [C99-based standards] (NAN): Likewise.
75711         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
75712         [C99-based standards] (FP_NAN): Likewise.
75713         [C99-based standards] (FP_NORMAL): Likewise.
75714         [C99-based standards] (FP_SUBNORMAL): Likewise.
75715         [C99-based standards] (FP_ZERO): Likewise.
75716         [C99-based standards] (FP_FAST_FMA): Use
75717         optional-macro-int-constant.  Specify type.  Require == 1.
75718         [C99-based standards] (FP_FAST_FMAF): Likewise.
75719         [C99-based standards] (FP_FAST_FMAL): Likewise.
75720         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
75721         [C99-based standards] (FP_ILOGBNAN): Likewise.
75722         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
75723         Specify type.
75724         [C99-based standards] (MATH_ERREXCEPT): Likewise.
75725         [C99-based standards] (math_errhandling): Specify type.
75726         [ISO99 || ISO11] (signgam): Do not allow.
75727         [non-C99-based standards] (copysignf): Do not allow.
75728         [non-C99-based standards] (exp2f): Likewise.
75729         [non-C99-based standards] (log2f): Likewise.
75730         [non-C99-based standards] (modff): Allow.
75731         [non-C99-based standards] (erff): Do not allow.
75732         [non-C99-based standards] (erfcf): Likewise.
75733         [non-C99-based standards] (gammaf): Likewise.
75734         [non-C99-based standards] (hypotf): Likewise.
75735         [non-C99-based standards] (j0f): Likewise.
75736         [non-C99-based standards] (j1f): Likewise.
75737         [non-C99-based standards] (jnf): Likewise.
75738         [non-C99-based standards] (lgammaf): Likewise.
75739         [non-C99-based standards] (tgammaf): Likewise.
75740         [non-C99-based standards] (y0f): Likewise.
75741         [non-C99-based standards] (y1f): Likewise.
75742         [non-C99-based standards] (ynf): Likewise.
75743         [non-C99-based standards] (isnanf): Likewise.
75744         [non-C99-based standards] (acoshf): Likewise.
75745         [non-C99-based standards] (asinhf): Likewise.
75746         [non-C99-based standards] (atanhf): Likewise.
75747         [non-C99-based standards] (cbrtf): Likewise.
75748         [non-C99-based standards] (expm1f): Likewise.
75749         [non-C99-based standards] (ilogbf): Likewise.
75750         [non-C99-based standards] (log1pf): Likewise.
75751         [non-C99-based standards] (logbf): Likewise.
75752         [non-C99-based standards] (nextafterf): Likewise.
75753         [non-C99-based standards] (remainderf): Likewise.
75754         [non-C99-based standards] (rintf): Likewise.
75755         [non-C99-based standards] (scalbf): Likewise.
75756         [non-C99-based standards] (copysignl): Likewise.
75757         [non-C99-based standards] (exp2l): Likewise.
75758         [non-C99-based standards] (log2l): Likewise.
75759         [non-C99-based standards] (modfl): Allow.
75760         [non-C99-based standards] (erfl): Do not allow.
75761         [non-C99-based standards] (erfcl): Likewise.
75762         [non-C99-based standards] (gammal): Likewise.
75763         [non-C99-based standards] (hypotl): Likewise.
75764         [non-C99-based standards] (j0l): Likewise.
75765         [non-C99-based standards] (j1l): Likewise.
75766         [non-C99-based standards] (jnl): Likewise.
75767         [non-C99-based standards] (lgammal): Likewise.
75768         [non-C99-based standards] (tgammal): Likewise.
75769         [non-C99-based standards] (y0l): Likewise.
75770         [non-C99-based standards] (y1l): Likewise.
75771         [non-C99-based standards] (ynl): Likewise.
75772         [non-C99-based standards] (isnanl): Likewise.
75773         [non-C99-based standards] (acoshl): Likewise.
75774         [non-C99-based standards] (asinhl): Likewise.
75775         [non-C99-based standards] (atanhl): Likewise.
75776         [non-C99-based standards] (cbrtl): Likewise.
75777         [non-C99-based standards] (expm1l): Likewise.
75778         [non-C99-based standards] (ilogbl): Likewise.
75779         [non-C99-based standards] (log1pl): Likewise.
75780         [non-C99-based standards] (logbl): Likewise.
75781         [non-C99-based standards] (nextafterl): Likewise.
75782         [non-C99-based standards] (remainderl): Likewise.
75783         [non-C99-based standards] (rintl): Likewise.
75784         [non-C99-based standards] (scalbl): Likewise.
75785         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75786         [non-C99-based standards] (FP_*): Do not allow.
75787         [C99-based standards] (FP_*): Change to
75788         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75789         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75790         allow.
75791         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
75792         (SIG_ERR): Likewise.
75793         [X/Open-based standards] (SIG_HOLD): Likewise.
75794         (SIG_IGN): Likewise.
75795         (SIGABRT): Use macro-int-constant.  Specify type.  Require
75796         positive value.
75797         (SIGFPE): Likewise.
75798         (SIGILL): Likewise.
75799         (SIGINT): Likewise.
75800         (SIGSEGV): Likewise.
75801         (SIGTER): Likewise.
75802         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
75803         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
75804         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
75805         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
75806         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
75807         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
75808         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
75809         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
75810         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
75811         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
75812         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
75813         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
75814         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
75815         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
75816         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
75817         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
75818         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
75819         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
75820         [X/Open-based standards] (SIGTRAP): Likewise.
75821         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
75822         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
75823         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
75824         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
75825         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75826         allow.
75828 2012-05-08  Ian Wienand  <ianw@vmware.com>
75830         [BZ #14080]
75831         * time/tzset.c (__tzset_parse_tz): Update default rules for
75832         daylight time changes in the Energy Policy Act of 2005.
75834 2012-05-09  Andreas Jaeger  <aj@suse.de>
75836         [BZ #13983]
75837         * elf/ldconfig.c (parse_conf): Change string to make clear that
75838         ldconfig only issued a warning if ld.so.conf does not exist.
75840 2012-05-08  David S. Miller  <davem@davemloft.net>
75842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
75843         movxtod instead of popping the value on the stack.
75845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75847 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
75849         * config.h.in: Add HAVE_ARM_PCS_VFP.
75851 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
75853         [BZ #13979]
75854         * include/features.h: Warn if user requests __FORTIFY_SOURCE
75855         checking but the checks are disabled for any reason.
75857 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
75859         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
75860         and ELF64_R_TYPE with ELFW(R_TYPE).
75862 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
75864         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
75865         (ulimit): Likewise.
75867         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
75868         (settimeofday): Likewise.
75870 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
75872         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
75873         a struct th_u2 inside the union, and move tu_block/tu_code into
75874         a new th_u3 union of tu_block/tu_code inside of that.  Move
75875         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
75876         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
75877         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
75878         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
75879         (th_stuff): Change to th_u1.tu_stuff.
75880         (th_data): Define.
75881         (th_msg): Change to th_u1.th_u2.tu_data.
75883 2012-05-07  David S. Miller  <davem@davemloft.net>
75885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75887         [BZ #14074]
75888         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
75889         (SETUP_PIC_REG): Use it.
75890         (SETUP_PIC_REG_LEAF): Use it.
75892 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
75894         [BZ #13885]
75895         [BZ #13923]
75896         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75897         USE_AS_EXPM1L.
75898         (EXPL_FINITE): Likewise.
75899         (FLDLOG): Likewise.
75900         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75901         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75902         e_expl.S.
75903         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75904         USE_AS_EXPM1L.
75905         (EXPL_FINITE): Likewise.
75906         (FLDLOG): Likewise.
75907         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75908         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75909         e_expl.S.
75910         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
75911         test of -max_value argument for long double.
75912         * sysdeps/i386/fpu/libm-test-ulps: Update.
75913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75915 2012-05-06  David S. Miller  <davem@davemloft.net>
75917         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
75918         quad soft-float symbols whose references which are compiler
75919         generated.
75920         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75922 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
75924         [BZ #13884]
75925         [BZ #13914]
75926         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75927         USE_AS_EXP10L.
75928         (EXPL_FINITE): Likewise.
75929         (FLDLOG): Likewise.
75930         (c0): Likewise.
75931         (c1): Likewise.
75932         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75933         Adjust comments for base varying.
75934         (__expl_finite): Change alias to EXPL_FINITE.
75935         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
75936         e_expl.S.
75937         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
75938         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
75939         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
75940         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
75941         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75942         USE_AS_EXP10L.
75943         (EXPL_FINITE): Likewise.
75944         (FLDLOG): Likewise.
75945         (c0): Likewise.
75946         (c1): Likewise.
75947         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75948         Adjust comments for base varying.
75949         (__expl_finite): Change alias to EXPL_FINITE.
75950         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
75951         tests for bugs.
75952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75954         [BZ #14064]
75955         * math/libm-test.inc (check_float_internal): Correct ulp
75956         calculation for subnormal expected results.
75958 2012-05-06  Andreas Jaeger  <aj@suse.de>
75960         * Makeconfig (+math-flags): New, set to -frounding-math.
75961         (+cflags): Add +math-flags so that all of glibc gets compiled with
75962         it.
75964         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
75966 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
75968         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
75969         Disable one test.
75971         [BZ #13787]
75972         [BZ #13922]
75973         [BZ #14036]
75974         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
75975         (__ieee754_expl): Allow for and saturate large arguments.
75976         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
75977         (u_threshold): Likewise.
75978         (__exp): Call __ieee754_exp before checking for overflow and
75979         underflow.
75980         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
75981         (u_threshold): Likewise.
75982         (__expf): Call __ieee754_expf before checking for overflow and
75983         underflow.
75984         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
75985         (u_threshold): Likewise.
75986         (__expl): Call __ieee754_expl before checking for overflow and
75987         underflow.
75988         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
75989         (__ieee754_expl): Allow for and saturate large arguments.
75990         * math/libm-test.inc (exp_test): Add another test.  Do not allow
75991         missing overflow exception on overflow.
75992         (expm1_test): Do not allow missing overflow exception on overflow.
75994         * sysdeps/i386/fpu/e_expl.c: Move to ...
75995         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
75996         rather than using inline asm.
75997         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
75998         * sysdeps/x86_64/fpu/e_expl.S: Copy from
75999         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
76001         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
76002         (nice): Likewise.
76003         (poll): Likewise.
76004         (signal): Likewise.
76005         (time): Likewise.
76006         (times): Likewise.
76008 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76010         * sysdeps/unix/syscalls.list (adjtime): Add entry from
76011         sysdeps/unix/common/syscalls.list.
76012         (fchmod): Likewise.
76013         (fchown): Likewise.
76014         (ftruncate): Likewise.
76015         (getrusage): Likewise.
76016         (gettimeofday): Likewise.
76017         (setpgid): Likewise.
76018         (setregid): Likewise.
76019         (setreuid): Likewise.
76020         (sigaction): Likewise.
76021         (truncate): Likewise.
76022         (vhangup): Likewise.
76023         * sysdeps/unix/common/syscalls.list: Remove file.
76024         * sysdeps/unix/bsd/Implies: Don't include unix/common.
76025         * sysdeps/unix/sysv/linux/Implies: Likewise.
76027 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
76029         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
76030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
76031         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
76032         Moved to ...
76033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
76034         Here.
76035         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
76036         to ...
76037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
76038         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
76039         to ...
76040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
76041         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
76042         to ...
76043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
76044         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
76045         to ...
76046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
76047         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
76048         to ...
76049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
76050         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
76051         to ...
76052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
76053         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
76054         to ...
76055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
76056         Here.
76057         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
76058         to ...
76059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
76060         Here.
76061         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
76062         to ...
76063         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
76064         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
76065         Moved to ...
76066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
76067         Here.
76068         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
76069         to ...
76070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
76072 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76074         * sysdeps/unix/common/bits/dirent.h: Remove file.
76075         * sysdeps/unix/common/bits/fcntl.h: Likewise.
76077         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
76078         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
76079         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
76080         * sysdeps/unix/bsd/isatty.c: Likewise.
76081         * sysdeps/unix/bsd/tcdrain.c: Likewise.
76082         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
76083         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
76085 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76087         [BZ #13563]
76088         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
76089         long double comparison inaccuracies.
76090         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
76091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76093 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
76095         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
76096         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
76098 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76100         [BZ #14049]
76101         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
76102         nonzero digits before rounding a hex value.
76103         * stdlib/tst-strtod.c (tests): Add another test.
76105 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76107         * sysdeps/s390/fpu/libm-test-ulps: Update.
76109 2012-05-03  Andreas Jaeger  <aj@suse.de>
76111         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
76112         does not get optimized out.
76113         (malloc_opt_barrier): New.
76115 2012-05-03  Andreas Jaeger  <aj@suse.de>
76116             Roland McGrath  <roland@hack.frob.com>
76118         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
76119         intermediate file deletion.
76120         (generated): Add .symlist files.
76122 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
76124         [BZ #13775]
76125         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
76126         Redirect under this condition.
76127         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76128         [__USE_GNU] (__dprintf_chk): Not under this condition.
76129         [__USE_GNU] (__vdprintf_chk): Likewise.
76130         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
76131         under this condition.
76132         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76133         [__USE_XOPEN2K8] (dprintf): Define under this condition.
76134         [__USE_XOPEN2K8] (vdprintf): Likewise.
76135         [__USE_GNU] (__dprintf_chk): Not under this condition.
76136         [__USE_GNU] (__vdprintf_chk): Likewise.
76137         [__USE_GNU] (dprintf): Likewise.
76138         [__USE_GNU] (vdprintf): Likewise.
76140 2012-05-03  Roland McGrath  <roland@hack.frob.com>
76142         * elf/Makefile (common-generated): Set this instead of generated for
76143         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
76144         $(all-built-dso)-derived lists.
76146 2012-05-03  Andreas Jaeger  <aj@suse.de>
76148         * sysdeps/i386/fpu/libm-test-ulps: Update.
76150         * FAQ: Removed.
76151         * FAQ.in: Likewise.
76152         * scripts/gen-FAQ.pl: Likewise.
76153         * manual/install.texi (Installation): Point to online location of
76154         FAQ.
76155         * Makefile (files-for-dist): Remove FAQ.
76156         (FAQ): Remove.
76158 2012-05-02  Allan McRae  <allan@archlinux.org>
76160         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
76161         (LDFLAGS-reldepmod5.so): Likewise.
76162         (LDFLAGS-reldep6mod1.so): Likewise.
76163         (LDFLAGS-reldep6mod4.so): Likewise.
76164         (LDFLAGS-reldep8mod3.so): Likewise.
76165         (LDFLAGS-unload4mod1.so): Likewise.
76166         (LDFLAGS-unload4mod2.so): Likewise.
76167         (LDFLAGS-tst-initorder): Likewise.
76168         (LDFLAGS-tst-initordera2.so): Likewise.
76169         (LDFLAGS-tst-initordera3.so): Likewise.
76170         (LDFLAGS-tst-initordera4.so): Likewise.
76171         (LDFLAGS-tst-initorderb2.so): Likewise.
76172         (LDFLAGS-noload): Likewise.
76173         (LDFLAGS-next): Likewise.
76174         (LDFLAGS-order2mod1.so): Likewise.
76175         (LDFLAGS-order2mod2.so): Likewise.
76176         (LDFLAGS-tst-initorder2): Likewise.
76177         (LDFLAGS-tst-initorder2a.so): Likewise.
76178         (LDFLAGS-tst-initorder2b.so): Likewise.
76179         (LDFLAGS-tst-initorder2c.so): Likewise.
76180         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
76182 2012-05-02  David S. Miller  <davem@davemloft.net>
76184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76186 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
76188         [BZ #14055]
76189         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
76191 2012-05-02  Andreas Jaeger  <aj@suse.de>
76193         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
76194         since we manipulate rounding mode.
76195         (CPPFLAGS-test-idouble.c): Likewise.
76196         (CPPFLAGS-test-ifloat.c): Likewise.
76197         (CFLAGS-test-ldouble.c): Likewise.
76198         (CFLAGS-test-double.c): Likewise.
76199         (CFLAGS-test-float.c): Likewise.
76200         (CFLAGS-test-misc.c): Likewise.
76201         (CFLAGS-test-test-fenv.c): Likewise.
76203 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76205         [BZ #2550]
76206         [BZ #2570]
76207         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
76208         comparisons to determine direction to adjust input.
76210 2012-05-01  Roland McGrath  <roland@hack.frob.com>
76212         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
76213         output to the target.
76215         * scripts/localplt.awk: New file.
76216         * elf/Makefile ($(objpfx)check-localplt): Target removed.
76217         (check-localplt-CFLAGS): Variable removed.
76218         ($(all-built-dso:=.jmprel)): New static pattern rule.
76219         (generated): Add those targets.
76220         (localplt-built-dso): New variable.
76221         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
76223         * elf/check-localplt.c: File removed.
76225         * scripts/check-execstack.awk: New file.
76226         * elf/Makefile ($(objpfx)check-execstack): Target removed.
76227         (check-execstack-CFLAGS): Variable removed.
76228         ($(objpfx)check-execstack.h): Target removed.
76229         ($(objpfx)execstack-default): New target.
76230         (generated): Add that instead of check-execstack.h.
76231         ($(all-built-dso:=.phdr)): New static pattern rule.
76232         (generated): Add those targets.
76233         * elf/check-execstack.c: File removed.
76235         * scripts/check-textrel.awk: New file.
76236         * elf/Makefile ($(objpfx)check-textrel): Target removed.
76237         (check-textrel-CFLAGS): Variable removed.
76238         (all-built-dso): Use := to define.o
76239         ($(all-built-dso:=.dyn)): New static pattern rule.
76240         (generated): Add those targets.
76241         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
76242         * config.make.in (READELF): New substituted variable.
76243         * elf/check-textrel.c: File removed.
76245 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76247         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76248         allow.
76249         * conform/data/ctype.h-data [C99-based standards] (isblank):
76250         Expect function.
76251         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
76252         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
76253         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76254         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
76255         Specify type.  Require positive value.
76256         (EILSEQ): Likewise.
76257         (ERANGE): Likewise.
76258         [ISO || POSIX] (EILSEQ): Do not expect.
76259         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
76260         Specify type.  Require positive value.
76261         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
76262         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
76263         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
76264         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
76265         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
76266         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
76267         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
76268         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
76269         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
76270         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
76271         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
76272         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
76273         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
76274         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
76275         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
76276         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
76277         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
76278         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
76279         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
76280         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
76281         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
76282         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
76283         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
76284         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
76285         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
76286         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
76287         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
76288         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
76289         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
76290         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
76291         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
76292         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
76293         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
76294         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
76295         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
76296         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
76297         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
76298         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
76299         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
76300         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
76301         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
76302         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
76303         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
76304         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
76305         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
76306         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
76307         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
76308         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
76309         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
76310         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
76311         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
76312         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
76313         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
76314         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
76315         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
76316         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
76317         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
76318         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
76319         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
76320         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
76321         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
76322         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
76323         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
76324         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
76325         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
76326         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
76327         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
76328         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
76329         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
76330         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
76331         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
76332         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
76333         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
76334         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
76335         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
76336         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
76337         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
76338         Require >= 2.
76339         (FLT_ROUNDS): Expect as macro, not constant.
76340         (FLT_MANT_DIG): Use macro-int-constant.
76341         (DBL_MANT_DIG): Likewise.
76342         (LDBL_MANT_DIG): Likewise.
76343         (FLT_DIG): Likewise.
76344         (DBL_DIG): Likewise.
76345         (LDBL_DIG): Likewise.
76346         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
76347         (DBL_MIN_EXP): Likewise.
76348         (LDBL_MIN_EXP): Likewise.
76349         (FLT_MAX_EXP): Use macro-int-constant.
76350         (DBL_MAX_EXP): Likewise.
76351         (LDBL_MAX_EXP): Likewise.
76352         (FLT_MAX_10_EXP): Likewise.
76353         (DBL_MAX_10_EXP): Likewise.
76354         (LDBL_MAX_10_EXP): Likewise.
76355         (FLT_MAX): Use macro-constant.
76356         (DBL_MAX): Likewise.
76357         (LDBL_MAX): Likewise.
76358         (FLT_EPSILON): Use macro-constant.  Give upper bound.
76359         (DBL_EPSILON): Likewise.
76360         (LDBL_EPSILON): Likewise.
76361         (FLT_MIN): Likewise.
76362         (DBL_MIN): Likewise.
76363         (LDBL_MIN): Likewise.
76364         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
76365         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
76366         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
76367         [ISO11] (FLT_HAS_SUBNORM): Likewise.
76368         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
76369         [ISO11] (DBL_DECIMAL_DIG): Likewise.
76370         [ISO11] (FLT_DECIMAL_DIG): Likewise.
76371         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
76372         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
76373         [ISO11] (FLT_TRUE_MIN): Likewise.
76374         [ISO11] (LDBL_TRUE_MIN): Likewise.
76375         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76376         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
76377         (SCHAR_MIN): Use macro-int-constant.  Specify type.
76378         (SCHAR_MAX): Likewise.
76379         (UCHAR_MAX): Likewise.
76380         (CHAR_MIN): Likewise.
76381         (CHAR_MAX): Likewise.
76382         (MB_LEN_MAX): Use macro-int-constant.
76383         (SHRT_MIN): Use macro-int-constant.  Specify type.
76384         (SHRT_MAX): Likewise.
76385         (USHRT_MAX): Likewise.
76386         (INT_MAX): Likewise.
76387         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
76388         bound negative.
76389         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76390         bound with "U".
76391         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76392         bound with "L".
76393         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
76394         bound negative.  Suffix upper bound with "L".
76395         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76396         bound with "UL".
76397         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
76398         Specify type.
76399         [C99-based standards] (LLONG_MAX): Likewise.
76400         [C99-based standards] (ULLONG_MAX): Likewise.
76401         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
76402         == 0.
76403         [ISO11] (max_align_t): Require type.
76404         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76406         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
76407         from $CFLAGS, without defining away __attribute__ calls.
76408         (checknamespace): Use $CFLAGS_namespace.
76410         * conform/conformtest.pl (@keywords): Only include C99 keywords
76411         for standards based on C99 or C11.
76413         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
76414         Disable tests.
76415         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
76416         UNIX98]: Likewise.
76418         * conform/conformtest.pl: Handle "macro-int-constant" and test for
76419         usability of symbols in #if.
76421         * conform/conformtest.pl: If macro or constant types start
76422         "promoted:", expect the symbol to be of the following type
76423         promoted by the integer promotions.
76425         * conform/conformtest.pl: Parse all "constant" and "macro" lines
76426         in one place.  Also handle "macro-constant".
76428         * conform/conformtest.pl: Only accept expected macro values with
76429         "==".  Parse all "macro" lines in one place.
76430         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
76432         * conform/conformtest.pl: Handle braced types on "constant" lines
76433         instead of handling "typed-constant".
76434         * conform/data/signal.h-data: Use "constant" instead of
76435         "typed-constant".
76437         * conform/conformtest.pl: Handle "optional-" at start of lines in
76438         one place rather than duplicating several cases.  Handle each
76439         format of "macro" line with initial "optional-".
76441         * conform/conformtest.pl: Only accept expected constant or
76442         optional-constant values with "==".  Parse all "constant" lines in
76443         one place.  Parse all "optional-constant" lines in one place.
76444         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
76445         * conform/data/fmtmsg.h-data: Likewise.
76446         * conform/data/netinet/in.h-data: Likewise.
76447         * conform/data/tar.h-data: Likewise.
76448         * conform/data/limits.h-data: Use "==" form on "constant" and
76449         "optional-constant" lines.
76451         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
76452         Use -std=c99 for XOPEN2K.
76453         (@knownproblems): Remove.
76454         (newtoken): Don't check %isknown.
76456         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
76457         Do not expect macro.
76458         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
76459         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
76460         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
76461         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
76462         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
76463         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
76464         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
76465         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
76466         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
76467         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
76468         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
76469         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
76470         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
76471         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
76472         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
76473         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
76474         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
76475         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
76476         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
76477         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
76478         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
76479         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
76480         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
76481         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
76482         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
76483         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
76484         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
76485         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
76486         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
76487         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
76488         [XPG3] (acosh): Likewise.
76489         [XPG3] (asinh): Likewise.
76490         [XPG3] (atanh): Likewise.
76491         [XPG3] (cbrt): Likewise.
76492         [XPG3] (expm1): Likewise.
76493         [XPG3] (ilogb): Likewise.
76494         [XPG3] (log1p): Likewise.
76495         [XPG3] (logb): Likewise.
76496         [XPG3] (nextafter): Likewise.
76497         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
76498         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
76499         [XPG3] (remainder): Likewise.
76500         [XPG3] (rint): Likewise.
76501         [XPG3 || XPG4 || UNIX98] (round): Likewise.
76502         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
76503         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
76504         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
76505         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
76506         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
76507         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
76508         [UNIX98 || XOPEN2K] (scalb): Expect.
76509         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
76510         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
76511         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
76512         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
76513         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
76514         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
76515         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
76516         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
76517         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
76518         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
76519         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
76520         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
76521         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
76522         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
76523         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
76524         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
76525         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
76526         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
76527         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
76528         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
76529         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
76530         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
76531         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
76532         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
76533         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
76534         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
76535         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
76536         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
76537         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
76538         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
76539         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
76540         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
76541         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
76542         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
76543         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
76544         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
76545         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
76546         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
76547         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
76548         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
76549         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
76550         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
76551         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
76552         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
76553         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
76554         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
76555         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
76556         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
76557         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
76558         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
76559         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
76560         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
76561         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
76562         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
76563         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
76564         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
76565         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
76566         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
76567         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
76568         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
76569         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
76570         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
76571         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
76572         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
76573         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
76574         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
76575         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
76576         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
76577         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
76578         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
76579         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
76580         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
76581         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
76582         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
76583         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
76584         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
76585         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
76586         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
76587         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
76588         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
76589         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
76590         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
76591         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
76592         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
76593         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
76594         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
76595         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
76596         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
76597         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
76598         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
76599         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
76600         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
76601         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
76602         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
76603         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
76604         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
76605         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
76606         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
76607         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
76608         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
76609         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
76610         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
76611         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
76612         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
76613         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
76614         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
76615         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
76616         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
76617         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
76618         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
76619         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
76620         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
76621         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
76622         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
76623         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
76624         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
76625         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
76626         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
76627         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
76628         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
76629         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
76630         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
76631         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
76632         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
76633         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
76634         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
76635         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
76636         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
76637         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
76638         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
76639         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
76640         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
76641         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
76642         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
76643         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
76644         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
76645         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
76647         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
76648         _XOPEN_SOURCE_EXTENDED for XPG4.
76650         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
76652         * Makeconfig (localtime): Remove variable.
76653         (inst_localtime-file): Likewise.
76655 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
76658         Update.
76659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76660         Update.
76661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
76662         Update.
76663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
76664         Update.
76665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
76666         Update.
76667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
76668         Update.
76669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76670         Update.
76671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
76672         Update.
76673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76674         Update.
76676 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76678         [BZ #2550]
76679         [BZ #2570]
76680         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
76681         comparisons to determine direction to adjust input.
76682         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
76683         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
76684         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
76685         Likewise.
76686         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
76687         Likewise.
76688         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
76689         Likewise.
76690         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
76691         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
76692         Likewise.
76693         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
76694         Likewise.
76695         * math/libm-test.inc (nexttoward_test): Add more tests.
76697 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76699         [BZ #14040]
76700         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
76701         in version GLIBC_2.1, not GLIBC_2.0.
76702         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
76703         Likewise.
76705 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
76707         [BZ #13942]
76708         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
76709         (1 - x) * (1 + x).
76710         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76711         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
76712         * math/libm-test.inc (acos_test): Add more tests.
76713         (asin_test): Likewise.
76714         * sysdeps/i386/fpu/libm-test-ulps: Update.
76715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76717         [BZ #14034]
76718         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
76719         of square root.
76720         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
76721         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76722         * math/libm-test.inc (acos_test_tonearest): New function.
76723         (acos_test_towardzero): Likewise.
76724         (acos_test_downward): Likewise.
76725         (acos_test_upward): Likewise.
76726         (asin_test_tonearest): Likewise.
76727         (asin_test_towardzero): Likewise.
76728         (asin_test_downward): Likewise.
76729         (asin_test_upward): Likewise.
76730         (main): Call the new functions.
76731         * sysdeps/i386/fpu/libm-test-ulps: Update.
76732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76734         [BZ #13884]
76735         [BZ #13924]
76736         * math/e_exp10.c: Include <float.h>.
76737         (__ieee754_exp10): Handle underflow here rather than multiplying
76738         large negative argument by M_LN10.
76739         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
76740         of __ieee754_expf.
76741         * math/e_exp10l.c: Include <float.h>.
76742         (__ieee754_exp10l): Handle underflow here rather than multiplying
76743         large negative argument by M_LN10l.
76744         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
76745         spurious overflow exception on underflow.
76747 2012-04-29  Marek Polacek  <polacek@redhat.com>
76749         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
76750         (__fortify_function): New macro.
76751         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
76752         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
76753         __extern_always_inline.
76754         * libio/bits/stdio2.h: Likewise.
76755         * libio/bits/stdio.h: Likewise.
76756         * string/string.h: Likewise.
76757         * string/bits/string3.h: Likewise.
76758         * include/stdio.h: Likewise.
76759         * stdlib/bits/stdlib.h: Likewise.
76760         * stdlib/stdlib.h: Likewise.
76761         * rt/bits/mqueue2.h: Likewise.
76762         * rt/mqueue.h: Likewise.
76763         * posix/bits/unistd.h: Likewise.
76764         * posix/unistd.h: Likewise.
76765         * io/bits/poll2.h: Likewise.
76766         * io/bits/fcntl2.h: Likewise.
76767         * io/fcntl.h: Likewise.
76768         * io/sys/poll.h: Likewise.
76769         * misc/bits/syslog.h: Likewise.
76770         * misc/bits/syslog-ldbl.h: Likewise.
76771         * misc/sys/syslog.h: Likewise.
76772         * socket/bits/socket2.h: Likewise.
76773         * socket/sys/socket.h: Likewise.
76774         * debug/tst-chk1.c: Likewise.
76775         * wcsmbs/bits/wchar2.h: Likewise.
76776         * wcsmbs/bits/wchar-ldbl.h: Likewise.
76777         * wcsmbs/wchar.h: Likewise.
76779 2012-04-29  Andreas Jaeger  <aj@suse.de>
76781         * Makerules (tests): Remove enable-check-abi protection.
76782         (check-abi-warn): Remove.
76783         (check-abi-%): Remove check-abi-warn usage.
76785         * configure.in: Remove check-abi configure option.
76786         * configure: Regenerated.
76787         * config.make.in (enable-check-abi): Remove.
76789 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
76791         [BZ #14033]
76792         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
76793         double functions to double *_finite functions.
76795         [BZ #13941]
76796         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
76797         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
76798         LDBL_MIN_EXP.
76799         * stdio-common/Makefile (tests): Add tst-sprintf3.
76800         * stdio-common/tst-sprintf3.c: New file.
76802         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
76803         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
76805 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76807         * conform/conformtest.pl: Remove duplicate typed-constant
76808         handling.
76810 2012-04-28  David S. Miller  <davem@davemloft.net>
76812         * Makerules (%.abilist): Add vpath on sysdep_dirs.
76813         (check-abi-%): Remove AWK script prerequisite and explicit
76814         abilist directory.
76815         (check-abi): Rewrite to just diff the symlist with the abilist.
76816         (config-tls, config-abi-config): Delete, no longer used.
76817         (update-abi-%): Remove AWK script and explicit abilist directory.
76818         (update-abi): Rewrite to simply compare and conditionally copy the
76819         symlist and the sysdep abilist file.  Remove update-abi-config
76820         checks.
76821         * abilist/ld.abilist: Remove.
76822         * abilist/libBrokenLocale.abilist: Remove.
76823         * abilist/libanl.abilist: Remove.
76824         * abilist/libcrypt.abilist: Remove.
76825         * abilist/libdl.abilist: Remove.
76826         * abilist/librt.abilist: Remove.
76827         * abilist/libthread_db.abilist: Remove.
76828         * abilist/libutil.abilist: Remove.
76829         * scripts/extract-abilist.awk: Remove.
76830         * scripts/merge-abilist.awk: Remove.
76831         * sysdeps/generic/libcidn.abilist: New file.
76832         * sysdeps/generic/libnss_compat.abilist: New file.
76833         * sysdeps/generic/libnss_db.abilist: New file.
76834         * sysdeps/generic/libnss_dns.abilist: New file.
76835         * sysdeps/generic/libnss_files.abilist: New file.
76836         * sysdeps/generic/libnss_hesiod.abilist: New file.
76837         * sysdeps/generic/libnss_nis.abilist: New file.
76838         * sysdeps/generic/libnss_nisplus.abilist: New file.
76839         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
76840         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
76841         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
76842         file.
76843         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
76844         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
76845         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
76846         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
76847         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
76848         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
76849         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
76850         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
76851         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
76852         file.
76853         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
76854         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
76855         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
76856         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
76857         file.
76858         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
76859         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
76860         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
76861         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
76862         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
76863         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
76864         file.
76865         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
76866         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
76867         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
76868         file.
76869         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
76870         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
76871         New file.
76872         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
76873         New file.
76874         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
76875         New file.
76876         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
76877         New file.
76878         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
76879         New file.
76880         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
76881         New file.
76882         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
76883         New file.
76884         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
76885         New file.
76886         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
76887         New file.
76888         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
76889         New file.
76890         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
76891         New file.
76892         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
76893         New file.
76894         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
76895         New file.
76896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
76897         file.
76898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
76899         New file.
76900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
76901         New file.
76902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
76903         file.
76904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
76905         New file.
76906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
76907         New file.
76908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
76909         file.
76910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
76911         New file.
76912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76913         New file.
76914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
76915         New file.
76916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
76917         New file.
76918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
76919         New file.
76920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
76921         New file.
76922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
76923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
76924         file.
76925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
76926         New file.
76927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
76928         file.
76929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
76930         file.
76931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
76932         file.
76933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
76934         file.
76935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
76936         file.
76937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76938         New file.
76939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
76940         file.
76941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
76942         file.
76943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
76944         New file.
76945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
76946         file.
76947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
76948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
76949         file.
76950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
76951         New file.
76952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
76953         file.
76954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
76955         file.
76956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
76957         file.
76958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
76959         file.
76960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
76961         file.
76962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76963         New file.
76964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
76965         file.
76966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
76967         file.
76968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
76969         New file.
76970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
76971         file.
76972         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76973         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
76974         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
76975         file.
76976         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
76977         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
76978         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
76979         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
76980         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
76981         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
76982         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
76983         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
76984         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
76985         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
76986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
76987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
76988         file.
76989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
76990         New file.
76991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
76992         file.
76993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
76994         file.
76995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
76996         file.
76997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
76998         file.
76999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
77000         file.
77001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
77002         New file.
77003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
77004         New file.
77005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
77006         file.
77007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
77008         New file.
77009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
77010         file.
77011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
77012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
77013         file.
77014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
77015         New file.
77016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
77017         file.
77018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
77019         file.
77020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
77021         file.
77022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
77023         file.
77024         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
77025         file.
77026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
77027         New file.
77028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
77029         New file.
77030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
77031         file.
77032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
77033         New file.
77034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
77035         file.
77037 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77039         * conform/conformtest.pl: Fix typo in handling typed-constant from
77040         allow-header.
77042 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77044         * README: Cut down references to pre-2.6 Linux kernels and
77045         Linuxthreads.  Update lists of configurations in libc and ports
77046         and sort alphabetically.  Say "or newer" with Linux kernel version
77047         requirements.
77049         * config.h.in [IS_IN_build]: Allow compiling without optimization.
77051 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
77053         [BZ #887]
77054         * math/libm-test.inc (logb_test_downward): New test to expose
77055         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
77056         rounding mode.
77058 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77060         [BZ #14027]
77061         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
77062         to be done.
77063         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
77064         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
77066 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
77068         * sysdeps/unix/i386/brk.S: Remove file.
77069         * sysdeps/unix/i386/dl-brk.S: Likewise.
77070         * sysdeps/unix/i386/pipe.S: Likewise.
77071         * sysdeps/unix/i386/sigreturn.S: Likewise.
77072         * sysdeps/unix/i386/syscall.S: Likewise.
77073         * sysdeps/unix/i386/vfork.S: Likewise.
77074         * sysdeps/unix/i386/wait.S: Likewise.
77076         * sysdeps/unix/common/tcsendbrk.c: Move to ...
77077         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
77079         * configure.in (arm*-none*): Do not allow without
77080         --enable-hacker-mode.
77081         (netbsd*): Remove case setting base_os.
77082         (386bsd*): Likewise.
77083         (freebsd*): Likewise.
77084         (bsdi*): Likewise.
77085         (osf*): Likewise.
77086         (sunos*): Likewise.
77087         (ultrix*): Likewise.
77088         (newsos*): Likewise.
77089         (dynix*): Likewise.
77090         (*bsd*): Likewise.
77091         (sysv*): Likewise.
77092         (isc*): Likewise.
77093         (esix*): Likewise.
77094         (sco*): Likewise.
77095         (minix*): Likewise.
77096         (irix4*): Likewise.
77097         (irix6*): Likewise.
77098         (solaris[2-9]*): Likewise.
77099         (none): Likewise.
77100         * configure: Regenerated.
77102 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77104         [BZ #11521]
77105         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
77106         overflow or cancellation in calculating denominator.
77107         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
77108         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
77109         down expression to avoid unexpected rounding in newer GCCs.
77110         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
77112 2012-04-26  David S. Miller  <davem@davemloft.net>
77114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
77115         long-double compat symbols.
77116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
77120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
77122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
77123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
77124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
77125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
77126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
77127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
77128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77130 2012-04-25  David S. Miller  <davem@davemloft.net>
77132         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
77133         HWCAP_* values only after the memory barriers have been defined.
77134         (atomic_full_barrier): Define.
77135         (atomic_read_barrier): Define.
77136         (atomic_write_barrier): Define.
77138 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77140         * shlib-versions: Add libgcc_s version information.
77141         * sysdeps/generic/libgcc_s.h: Remove.
77142         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
77143         libgcc_s.h.
77144         * sysdeps/gnu/unwind-resume.c: Likewise.
77145         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
77147 2012-04-25  David S. Miller  <davem@davemloft.net>
77149         * sysdeps/unix/sparc/brk.S: Delete.
77150         * sysdeps/unix/sparc/dl-brk.S: Delete.
77151         * sysdeps/unix/sparc/pipe.S: Delete.
77152         * sysdeps/unix/sparc/sysdep.S: Delete.
77153         * sysdeps/unix/sparc/sysdep.h: Delete.
77154         * sysdeps/unix/sparc/vfork.S: Delete.
77155         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
77156         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
77157         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
77158         (ret_ERRVAL, r0, r1, MOVE): Define.
77159         (JUMPTARGET): Remove.
77160         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
77161         sysdeps/unix/sparc/sysdep.h
77162         (ENTRY, END): Remove.
77163         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77165 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
77167         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
77168         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
77169         -DIS_IN_build.
77171         * timezone/README: Update upstream location and email address for
77172         tzcode and tzdata.
77173         * timezone/zdump.c: Update from tzcode 2012b.
77174         * timezone/zic.c: Likewise.
77176         * configure.in (libc_cv_as_needed): Remove test.
77177         * configure: Regenerated.
77178         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
77179         conditional definition.
77180         [$(have-as-needed) != yes] (no-as-needed): Likewise.
77181         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
77182         * config.make.in (have-as-needed): Remove variable.
77184 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77185             Paul Pluzhnikov  <ppluzhnikov@google.com>
77187         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
77188         strings correctly.
77190 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
77192         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
77193         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
77194         * sysdeps/sh/strlen.S: Likewise.
77196 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77198         * sysdeps/unix/fork.S: Remove file.
77199         * sysdeps/unix/i386/fork.S: Likewise.
77200         * sysdeps/unix/sparc/fork.S: Likewise.
77202         * sysdeps/unix/system.c: Remove file.
77203         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
77205         * sysdeps/unix/getegid.S: Remove file.
77206         * sysdeps/unix/geteuid.S: Likewise.
77208 2012-04-24  Roland McGrath  <roland@hack.frob.com>
77210         * scripts/check-localplt.awk: New file.
77211         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
77212         of diff.
77213         * scripts/data/localplt-generic.data: Add a comment.
77215         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
77216         NODE when __dir_mkfile failed.
77217         * sysdeps/mach/hurd/symlinkat.c: Likewise.
77218         Reported by Ludovic Courtès <ludo@gnu.org>.
77220 2012-04-24  Andreas Jaeger  <aj@suse.de>
77222         * Makerules (common-clean): Also remove gen-as-const-headers
77223         files.
77225 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77227         * Makerules (native-compile): Do not change working directory for
77228         build.  Use $(OUTPUT_OPTION) in command.
77229         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
77231 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77233         [BZ #13886]
77234         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
77235         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
77236         * math/libm-test.inc (floor_test): Add more tests.
77237         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
77239 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77241         * sysdeps/unix/getdents.c: Remove file.
77242         * sysdeps/unix/sysv/getdents.c: Likewise.
77243         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
77245         * sysdeps/unix/syscalls.list (madvise): Add syscall from
77246         sysdeps/unix/mman/syscalls.list.
77247         (mmap): Likewise.
77248         (mprotect): Likewise.
77249         (msync): Likewise.
77250         (munmap): Likewise.
77251         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
77252         * sysdeps/unix/mman/syscalls.list: Remove.
77253         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
77255         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
77256         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
77257         * configure: Regenerated.
77258         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
77259         $(libgcc_s_suffix).
77260         * config.make.in (libgcc_s_suffix): Remove variable.
77262 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
77264         * sysdeps/unix/sysv/gethostname.c: Move to ...
77265         * sysdeps/posix/gethostname.c: ... here.
77267         * sysdeps/unix/execve.S: Remove file.
77269         * sysdeps/unix/_exit.S: Remove file.
77271 2012-04-23  Andreas Jaeger  <aj@suse.de>
77273         [BZ #13739]
77274         * manual/Makefile: Remove make dist support, there's no
77275         need for a stand-alone documentation tar ball.
77276         (TEXI2DVI): Define always, it's not in Makeconfig.
77277         (dist): Removed.
77278         (tar-it): Removed.
77279         (edition): Removed.
77280         (glibc-doc-$(edition).tar): Removed
77281         (%.Z): Removed.
77282         (%.gz): Removed.
77283         (%.uu): Removed.
77284         (ETAGS): Remove, it's in Makeconfig.
77285         (move-if-change): Remove, it's in Makeconfig.
77287 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
77289         [BZ #13970]
77290         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
77291         (strtod, strtof, strtold, strtol, strtoul, strtoq)
77292         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
77293         (strtod_l, strtof_l, strtold_l): Remove __wur.
77294         It is not necessarily an error to ignore strtol's return value.
77295         One can reliably look at the stored endptr to decide whether
77296         the number had valid syntax.
77298 2012-04-21  Andreas Jaeger  <aj@suse.de>
77300         [BZ #13739]
77301         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
77303 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
77305         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
77306         * sysdeps/unix/sysv/Versions: Remove file.
77308 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
77310         [BZ #13927]
77311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77313 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
77315         [BZ #7064]
77316         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
77317         version from __vm86.
77319 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
77321         * sysdeps/unix/common/lxstat.c: Remove file.
77322         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
77324         * sysdeps/unix/sysv/Makefile: Remove file.
77326         * sysdeps/unix/sysv/direct.h: Remove file.
77328         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
77329         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
77330         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
77331         * sysdeps/unix/sysv/bits/signum.h: Likewise.
77332         * sysdeps/unix/sysv/bits/stat.h: Likewise.
77333         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
77334         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
77336         * sysdeps/unix/sysv/setrlimit.c: Remove file.
77338         * sysdeps/unix/xmknod.c: Remove file.
77339         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
77341         * sysdeps/unix/sysv/settimeofday.c: Remove file.
77343         * sysdeps/unix/sysv/i386/time.S: Remove file.
77345         * sysdeps/unix/fxstat.c: Remove file.
77346         * sysdeps/unix/xstat.c: Likewise.
77347         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
77349         * sysdeps/unix/sysv/sigaction.c: Remove file.
77351         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
77352         (sysdep_headers): Remove variable.
77353         [termio.h not in sysdep_headers] (generated): Likewise.
77354         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
77355         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
77356         * sysdeps/unix/sysv/tcdrain.c: Likewise.
77357         * sysdeps/unix/sysv/tcflow.c: Likewise.
77358         * sysdeps/unix/sysv/tcflush.c: Likewise.
77359         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
77360         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
77361         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
77362         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
77363         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
77365         * sysdeps/unix/siglist.c: Remove file.
77367         * sysdeps/unix/getppid.S: Remove file.
77369         * sysdeps/unix/mkdir.c: Remove file.
77370         * sysdeps/unix/rmdir.c: Likewise.
77372 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
77374         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
77375         ERR_MAX value.
77376         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
77377         errlist-compat value.
77379 2012-04-18  David S. Miller  <davem@davemloft.net>
77381         * sysdeps/generic/memcopy.h (reg_char): Delete.
77382         * debug/strcat_chk.c: Use char, not reg_char.
77383         * debug/strcpy_chk.c: Likewise.
77384         * debug/strncat_chk.c: Likewise.
77385         * debug/strncpy_chk.c: Likewise.
77386         * string/memchr.c: Likewise.
77387         * string/memrchr.c: Likewise.
77388         * string/rawmemchr.c: Likewise.
77389         * string/strcat.c: Likewise.
77390         * string/strchr.c: Likewise.
77391         * string/strchrnul.c: Likewise.
77392         * string/strcmp.c: Likewise.
77393         * string/strcpy.c: Likewise.
77394         * string/strncat.c: Likewise.
77395         * string/strncmp.c: Likewise.
77396         * string/strncpy.c: Likewise.
77398 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77400         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
77401         __builtin_memcopy is called when src and dest ranges are known to not
77402         overlap.
77404 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77406         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
77407         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
77408         fwd_align_merge macro call.
77409         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
77410         bwd_align_merge macro call.
77411         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77413 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77415         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
77416         bwd_align_merge macros.
77417         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
77418         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
77419         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77421 2012-04-18  David S. Miller  <davem@davemloft.net>
77423         * sysdeps/sparc/sparc64/memcopy.h: Delete.
77425 2012-04-18  Andreas Jaeger  <aj@suse.de>
77427         [BZ# 6794]
77428         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
77429         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
77430         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77432         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
77433         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
77434         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77436         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
77437         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
77438         Adjust for changed ldbl-128 files.
77440         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
77441         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
77442         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77444 2012-04-17  David S. Miller  <davem@davemloft.net>
77446         * sysdeps/sparc/sparc32/memcopy.h: Delete.
77448 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
77450         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
77451         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
77452         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
77453         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
77454         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
77455         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
77457 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77459         [BZ #6794]
77460         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
77461         * math/libm-test.inc: Add ilogb errno and exception tests.
77462         * math/w_ilogb.c: New file: ilogb wrapper.
77463         * math/w_ilogbf.c: New file: ilogbf wrapper.
77464         * math/w_ilogbl.c: New file: ilogbl wrapper.
77465         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
77466         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
77467         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
77468         exception being thrown with 0.0 as argument.
77469         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
77470         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
77471         exception being thrown with 0.0 as argument.
77472         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
77473         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77474         exception being thrown with 0.0 as argument.
77475         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
77476         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77477         exception being thrown with 0.0 as argument.
77478         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
77479         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
77480         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
77481         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
77482         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
77483         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
77484         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
77485         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
77486         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
77488 2012-04-17  Petr Baudis  <pasky@ucw.cz>
77490         * include/sys/uio.h: Change __vector to __iovec to avoid clash
77491         with altivec.
77493 2012-04-16  Marek Polacek  <polacek@redhat.com>
77495         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
77497 2012-04-16  Marek Polacek  <polacek@redhat.com>
77499         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
77500         operands of fdivp instruction.
77502 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77504         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
77505         * elf/tst-auditmod3b.c: Likewise.
77506         * elf/tst-auditmod4b.c: Likewise.
77507         * elf/tst-auditmod5b.c: Likewise.
77508         * elf/tst-auditmod6b.c: Likewise.
77509         * elf/tst-auditmod6c.c: Likewise.
77510         * elf/tst-auditmod7b.c: Likewise.
77511         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
77512         * sysdeps/x86_64/preconfigure.in: Likewise.
77513         * sysdeps/x86_64/preconfigure: Regenerated.
77515 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77517         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
77518         __ILP32__.
77520 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
77522         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77523         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
77525 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
77527         [BZ #13973]
77528         * locale/iso-639.def: Fix gl language name. Spotted by
77529         Yaron Shahrabani.
77531 2012-04-12  Roland McGrath  <roland@hack.frob.com>
77533         [BZ #2074]
77534         * libio/libio.h (__io_write_fn): Update comment.
77536 2012-04-12  Petr Baudis  <pasky@ucw.cz>
77538         [BZ #2074]
77539         * stdio.texi (Hook Functions): The user provided writer function
77540         is not allowed to return -1.
77542 2012-04-11  David S. Miller  <davem@davemloft.net>
77544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77546 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
77548         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
77549         Add a leading slash to rtkaio.
77551 2012-04-11  Jim Meyering  <meyering@redhat.com>
77553         [BZ #11959]
77554         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
77555         It is not necessarily an error to ignore fwrite's return
77556         value.  One can reliably use ferror to test for errors after
77557         the fact.
77559 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77561         * bits/types.h (__snseconds_t): New type.
77562         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
77564         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
77565         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77566         (__SNSECONDS_T_TYPE): Likewise.
77567         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77568         (__SNSECONDS_T_TYPE): Likewise.
77569         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77570         (__SNSECONDS_T_TYPE): Likewise.
77572 2012-04-10  Andreas Jaeger  <aj@suse.de>
77574         [BZ #2636]
77575         * manual/time.texi (Processor Time): Return type of times is
77576         elapsed real time since an arbitrary point in the past.
77577         (CPU Time): Move CLK_TCK from here...
77578         (Processor Time): ...to here.  Correct description.
77579         * manual/conf.texi (Constants for Sysconf): Correct description of
77580         _SC_CLK_TCK.
77582 2012-04-10  David S. Miller  <davem@davemloft.net>
77584         [BZ #13967]
77585         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
77586         where the is a gap between DT_REL(A) and DT_JMPREL.
77588 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77590         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
77591         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77592         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77594 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
77596         * elf/dl-support.c (_dl_inhibit_cache): New variable.
77597         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
77598         (dl_main): Handle --inhibit-cache.
77599         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
77600         _dl_inhibit_cache.
77601         * elf/dl-load.c (_dl_map_object): Use it.
77602         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
77604 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77606         [BZ #13872]
77607         * sysdeps/i386/fpu/e_powl.S (p78): New object.
77608         (__ieee754_powl): Saturate large exponents rather than testing for
77609         overflow of y*log2(x).
77610         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77611         * math/libm-test.inc (pow_test): Do not permit spurious overflow
77612         exceptions.
77614         [BZ #11521]
77615         * math/s_ctan.c: Include <float.h>.
77616         (__ctan): Avoid internal overflow or cancellation in calculating
77617         denominator.
77618         * math/s_ctanf.c: Likewise.
77619         * math/s_ctanl.c: Likewise.
77620         * math/s_ctanh.c: Likewise.
77621         * math/s_ctanhf.c: Likewise.
77622         * math/s_ctanhl.c: Likewise.
77623         * math/libm-test.inc (ctan_test): Add more tests.
77624         (ctanh_test): Likewise.
77625         * sysdeps/i386/fpu/libm-test-ulps: Update.
77626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77628 2012-04-09  Andreas Jaeger  <aj@suse.de>
77630         [BZ #6894]
77631         * manual/filesys.texi (Directory Entries): Mention that d_namlen
77632         is an optional BSD extension.
77634         [BZ #10254]
77635         * manual/stdio.texi (Opening Streams): Document additional fopen
77636         parameters.
77638 2012-04-09  Roland McGrath  <roland@hack.frob.com>
77640         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
77641         %eax without telling the compiler.
77643 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
77645         [BZ # 13963]
77646         * manual/install.texi: Use sourceware.org.
77648 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77650         [BZ #13873]
77651         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
77652         (__ieee754_pow): Generate overflow and underflow using huge*huge
77653         and tiny*tiny rather than just returning constant infinity or zero
77654         for large exponents.
77655         * math/libm-test.inc (pow_test): Require overflow exceptions for
77656         applicable cases of large exponents.
77658         [BZ #706]
77659         * sysdeps/i386/fpu/e_pow.S (p10): New object.
77660         (__ieee754_pow): Use iterative multiplication algorithm only for
77661         integer exponents with absolute value below 1024.  Check for odd
77662         integer exponents when using algorithm for real exponents.
77663         * math/libm-test.inc (pow_test): Add more tests.
77664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77666 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
77668         [BZ #13705]
77669         * math/libm-test.inc (exp_test): Do not allow overflow exception
77670         on underflow test.
77672 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
77674         [BZ #13705]
77675         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
77676         instead of __kernel_standard_f.
77678 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
77680         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
77681         * sysdeps/x86_64/memset_chk.S: Likewise.
77683 2012-04-08  Andreas Jaeger  <aj@suse.de>
77685         [BZ #10153]
77686         * manual/startup.texi (Environment Access): Describe return value
77687         for putenv and setenv.
77689         [BZ #6895]
77690         * manual/filesys.texi (Directory Entries): Add description for
77691         DT_LNK.
77693         [BZ #6890]
77694         * manual/filesys.texi (Directory Entries): Clarify that it's file
77695         system not operating system in the description of DT_UNKNOWN.
77697         [BZ #6578]
77698         * manual/syslog.texi (closelog): Fix reference, it's openlog.
77700 2012-04-08  Stephen Compall  <s11@member.fsf.org>
77702         [BZ #6649]
77703         * manual/llio.texi (Opening and Closing Files): Add cross
77704         reference to explain mode argument.
77706 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
77708         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
77709         * sysdeps/x86_64/memset_chk.S: Likewise.
77711 2012-04-07  David S. Miller  <davem@davemloft.net>
77713         * elf/elf.h (R_SPARC_WDISP10): Define.
77714         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
77715         R_SPARC_SIZE32.
77716         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
77717         R_SPARC_SIZE64 and R_SPARC_H34.
77719 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
77721         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
77722         conditions and remove no longer applicable assertion.
77724 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77726         * bits/byteswap.h: Include <features.h>.
77727         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77728         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77730 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77732         * bits/byteswap.h (__bswap_16): Removed.
77733         Include <bits/byteswap-16.h> to get __bswap_16.
77734         * sysdeps/i386/bits/byteswap.h: Likewise.
77735         * sysdeps/s390/bits/byteswap.h: Likewise.
77736         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77737         * bits/byteswap-16.h: New file.
77738         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77739         * sysdeps/s390/bits/byteswap-16.h: Likewise.
77740         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
77741         * string/Makefile (headers): Add bits/byteswap-16.h.
77743 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77745         [BZ #13895]
77746         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
77747         extra indirection.
77748         * nss/Makefile (tests-static, tests): Add tst-nss-static.
77749         * nss/tst-nss-static.c: New.
77751 2012-04-06  Robert Millan  <rmh@gnu.org>
77753         [BZ #6486]
77754         * manual/llio.texi (File Position Primitive): lseek
77755         refers to WHENCE when it really means OFFSET.
77757 2012-04-06  Andreas Jaeger  <aj@suse.de>
77759         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
77760         strncmp declarations.
77762         * abilist/libc.abilist: Add __poll and __ppoll.
77764 2012-04-05  David S. Miller  <davem@davemloft.net>
77766         * scripts/check-local-headers.sh: Accept a host triplet in the
77767         path matched by the exclude regexp.
77769         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
77770         definition.
77771         * sysdeps/powerpc/powerpc32/dl-machine.h
77772         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
77773         * sysdeps/s390/s390-32/dl-machine.h
77774         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77775         * sysdeps/sparc/sparc32/dl-machine.h
77776         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77777         * sysdeps/sparc/sparc64/dl-machine.h
77778         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77780         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
77781         lazy binding.
77782         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
77783         undefined symbol errors.
77785         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
77786         DT_NEEDED entries.
77788 2012-04-05  Michael Matz  <matz@suse.de>
77790         [BZ #13592]
77791         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
77793 2012-04-05  Andreas Jaeger  <aj@suse.de>
77795         [BZ #13908]
77796         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
77797         comment.
77799 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77801         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
77802         which ROUND is no valid rounding mode.
77804 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77806         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
77807         read again.
77808         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
77810 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77812         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
77813         an exception using FPU order intentionally.
77815 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77817         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
77818         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
77819         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
77820         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
77822 2012-04-05  Simon Josefsson  <simon@josefsson.org>
77824         [BZ #12340]
77825         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
77826         EINVAL when BUFLEN is too smal.
77828 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
77830         [BZ #13553]
77831         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
77832         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
77834 2012-04-03  Andreas Jaeger  <aj@suse.de>
77836         [BZ #13938]
77837         * manual/setjmp.texi (System V contexts): Fix sentence.
77839         [BZ #13926]
77840         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
77841         New macro for this case.
77842         [!__GNUC__] (__bswap_64): New inline function for this case.
77843         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77844         * bits/byteswap.h: Likewise.
77845         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
77846         ull, guard with __GLIBC_HAVE_LONG_LONG.
77848         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
77849         __GLIBC_HAVE_LONG_LONG.
77851         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
77852         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
77854 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77856         [BZ #13691]
77857         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
77858         inptr and inend, rather than using last_ch.
77860 2012-04-02  David S. Miller  <davem@davemloft.net>
77862         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
77863         * stdio-common/printf-parse.h (read_int): Change return type to
77864         'int', return -1 on INT_MAX overflow.
77865         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
77866         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
77867         overflows INT_MAX.  Check for overflow of in-format-string precision
77868         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
77869         SIZE_MAX not INT_MAX for integer overflow test.
77870         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
77871         skip the construct in the format string but do not record anything.
77872         * stdio-common/bug22.c: Adjust to test both width/prevision
77873         INT_MAX overflow as well as total length INT_MAX overflow.  Check
77874         explicitly for proper errno values.
77876 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
77878         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
77879         CHAR_MAX.
77880         * string/test-strcmp.c [! WIDE]: Likewise.
77881         * time/tst-mktime2.c: Likewise for INT_MAX.
77882         * string/test-string.h: #include <sys/param.h> for MIN.
77884         * csu/init-first.c (__libc_init_first): Call __ctype_init.
77885         * sysdeps/i386/init-first.c (init): Likewise.
77886         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
77887         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
77888         * sysdeps/sh/init-first.c (init): Likewise.
77890 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
77892         * po/ru.po: Update from translation team.
77893         * po/vi.po: Likewise.
77895 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
77897         * resolv/nss_dns/dns-host.c: Merge copyright years.
77899 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77901         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77902         Optimize memcpy with prefetch if
77903         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
77904         src, dst pointers have unequal 16 byte alignments.
77906 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
77908         [BZ #13928]
77909         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
77910         from a CNAME entry and return the minimum ttl for the query.
77911         (gaih_getanswer_slice): Likewise.
77913 2012-03-30  Jeff Law  <law@redhat.com>
77915         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
77916         due to long keys.
77917         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
77918         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
77920         * resolv/nss_dns/dns-host.c: Update copyright year.
77922 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
77924         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
77925         requests to save a system call.  Fix check that all bytes are sent.
77927         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
77928         comments for sendmmsg.
77930 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77932         [BZ #13691]
77933         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
77934         with only 1 character between 0x0041 and 0x01b0.
77935         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
77936         * wcsmbs/tst-mbsnrtowcs.c: New file.
77938 2012-03-29  David S. Miller  <davem@davemloft.net>
77940         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
77941         small copies by hand.
77943 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
77945         [BZ #13761]
77946         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
77947         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
77948         group memberships.
77950 2012-03-28  David S. Miller  <davem@davemloft.net>
77952         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
77953         that branches into memcpy.
77954         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
77955         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
77956         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77957         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
77958         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
77959         bits.
77960         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
77961         implementation too.
77962         * sysdeps/sparc/mempcpy.S: New file.
77964         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
77965         the IFUNC routine in the libc case.
77966         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77968         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
77969         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
77970         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
77971         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
77972         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
77973         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
77974         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
77975         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
77977         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
77978         loop to 256 bytes instead of 64 bytes and fix test signedness.
77980         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
77981         * sysdeps/sparc/sparc32/Makefile: rather than here...
77982         * sysdeps/sparc/sparc64/Makefile: and here.
77984 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
77986         * malloc/mallocbug.c: Avoid warnings about unused variables.
77988 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
77990         [BZ #13760]
77991         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
77992         in the right place. Discard and retry query if response is
77993         larger than input buffer size.
77995 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
77997         [BZ #369]
77998         [BZ #2678]
77999         [BZ #3866]
78000         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
78001         x for large integer exponent.
78002         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
78003         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
78004         sign of result as needed afterwards.
78005         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
78006         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
78007         result for underflowing pow the same as for overflow.
78008         (__kernel_standard_l): Handle powl overflow and underflow here
78009         rather than calling __kernel_standard.
78010         * math/libm-test.inc (pow_test): Add more tests.
78012         [BZ #3868]
78013         [BZ #13879]
78014         [BZ #13910]
78015         [BZ #13911]
78016         [BZ #13912]
78017         [BZ #13913]
78018         [BZ #13915]
78019         [BZ #13916]
78020         [BZ #13917]
78021         [BZ #13918]
78022         [BZ #13919]
78023         [BZ #13920]
78024         [BZ #13921]
78025         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
78026         * sysdeps/ieee754/k_standard.c: Include <float.h>.
78027         (__kernel_standard_l): New function.
78028         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
78029         __kernel_standard.
78030         * math/w_acosl.c (__acosl): Likewise.
78031         * math/w_asinl.c (__asinl): Likewise.
78032         * math/w_atan2l.c (__atan2l): Likewise.
78033         * math/w_atanhl.c (__atanhl): Likewise.
78034         * math/w_coshl.c (__coshl): Likewise.
78035         * math/w_exp10l.c (__exp10l): Likewise.
78036         * math/w_exp2l.c (__exp2l): Likewise.
78037         * math/w_fmodl.c (__fmodl): Likewise.
78038         * math/w_hypotl.c (__hypotl): Likewise.
78039         * math/w_j0l.c (__j0l, __y0l): Likewise.
78040         * math/w_j1l.c (__j1l, __y1l): Likewise.
78041         * math/w_jnl.c (__jnl, __ynl): Likewise.
78042         * math/w_lgammal.c (__lgammal): Likewise.
78043         * math/w_log10l.c (__log10l): Likewise.
78044         * math/w_log2l.c (__log2l): Likewise.
78045         * math/w_logl.c (__logl): Likewise.
78046         * math/w_powl.c (__powl): Likewise.
78047         * math/w_remainderl.c (__remainderl): Likewise.
78048         * math/w_scalbl.c (sysv_scalbl): Likewise.
78049         * math/w_sinhl.c (__sinhl): Likewise.
78050         * math/w_sqrtl.c (__sqrtl): Likewise.
78051         * math/w_tgammal.c (__tgammal): Likewise.
78052         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
78053         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
78054         * math/libm-test.inc (acos_test): Add more tests.
78055         (acosh_test): Likewise.
78056         (asin_test): Likewise.
78057         (atanh_test): Likewise.
78058         (exp_test): Likewise.
78059         (exp10_test): Likewise.
78060         (exp2_test): Likewise.
78061         (expm1_test): Likewise.
78062         (lgamma_test): Likewise.
78063         (log_test): Likewise.
78064         (log10_test): Likewise.
78065         (log1p_test): Likewise.
78066         (log2_test): Likewise.
78067         (pow_test): Do not allow some spurious overflow exceptions.
78068         (sqrt_test): Add more tests.
78069         (tgamma_test): Likewise.
78070         (y0_test): Likewise.
78071         (y1_test): Likewise.
78072         (yn_test): Likewise.
78074 2012-03-27  Anton Blanchard  <anton@samba.org>
78076         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
78077         MAP_HUGETLB.
78078         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78079         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78080         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78082 2012-03-27  David S. Miller  <davem@davemloft.net>
78084         * conform/Makefile: Run run-conformtest.sh using $(BASH).
78086         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
78087         have-as-vis3 check.
78089 2012-03-27  Andreas Jaeger  <aj@suse.de>
78091         * sysdeps/x86_64/elf/configure.in: Moved to ...
78092         * sysdeps/x86_64/configure.in: ... here.
78093         * sysdeps/x86_64/elf/start.S: Moved to ...
78094         * sysdeps/x86_64/start.S: ... here.
78095         * sysdeps/x86_64/elf/configure: Delete.
78097         * sysdeps/x86_64/configure.in: Merge contents from
78098         sysdeps/i386/configure.in (without i686 check).
78100         * sysdeps/i386/elf/Versions: Merge into ...
78101         * sysdeps/i386/Versions: ... this.
78102         * sysdeps/i386/elf/Versions: Delete file.
78103         * sysdeps/i386/elf/start.S: Moved to ...
78104         * sysdeps/i386/start.S: ...here.
78105         * sysdeps/i386/elf/configure.in: Merge into...
78106         * sysdeps/i386/configure.in: ...here.
78107         * sysdeps/i386/elf/configure.in: Delete file.
78108         * sysdeps/i386/elf/configure: Delete file.
78110         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
78111         * debug/backtracesyms.c: ... here.
78112         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
78113         * debug/backtracesymsfd.c: ... here.
78114         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
78115         * sysdeps/generic/ifunc-sel.h: ... here.
78117         * sysdeps/unix/i386/start.c: Delete file.
78118         * sysdeps/unix/sparc/start.c: Delete file.
78119         * sysdeps/unix/start.c: Delete file.
78121         * sysdeps/sh/elf/configure.in: Moved to ...
78122         * sysdeps/sh/configure.in: ... here.
78123         * sysdeps/sh/elf/start.S: Moved to ...
78124         * sysdeps/sh/start.S: ... here.
78125         * sysdeps/sh/elf/configure: Delete file.
78127         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
78128         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
78129         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
78130         * sysdeps/powerpc/powerpc64/entry.h: ... here.
78131         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
78132         * sysdeps/powerpc/powerpc64/start.S: here.
78133         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
78134         * sysdeps/powerpc/powerpc64/Makefile: ... this.
78135         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
78136         * sysdeps/powerpc/powerpc64/configure.in: ... this.
78137         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
78139         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
78140         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
78141         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
78142         * sysdeps/powerpc/powerpc32/start.S: ... here.
78143         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
78144         * sysdeps/powerpc/powerpc32/configure.in: ... this.
78145         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
78147         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
78148         * sysdeps/powerpc/ifunc-sel.h: ... here.
78149         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
78150         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
78152         * sysdeps/sparc/elf/configure.in: Moved to ...
78153         * sysdeps/sparc/configure.in: ... here.
78154         * sysdeps/sparc/elf/configure: Delete file.
78155         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
78156         * sysdeps/sparc/sparc32/start.S: ... here.
78157         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
78158         * sysdeps/sparc/sparc64/start.S: ... here.
78159         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
78160         * sysdeps/sparc/sparc32/Makefile: ... this.
78161         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
78162         * sysdeps/sparc/sparc64/Makefile: ... this.
78164         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
78165         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
78166         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
78167         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
78168         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
78169         * sysdeps/s390/s390-32/setjmp.S: ... here.
78170         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
78171         * sysdeps/s390/s390-32/configure.in: ... here.
78172         * sysdeps/s390/s390-32/elf/configure: Delete file.
78173         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
78174         * sysdeps/s390/s390-32/start.S: ... here.
78176         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
78177         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
78178         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
78179         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
78180         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
78181         * sysdeps/s390/s390-64/setjmp.S: ... here.
78182         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
78183         * sysdeps/s390/s390-64/configure.in: ... here
78184         * sysdeps/s390/s390-64/elf/configure: Delete file.
78185         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
78186         * sysdeps/s390/s390-64/start.S: ... here.
78187         * sysdeps/s390/s390-64/elf/configure: Delete.
78189         * configure.in: Remove support for elf directories in sysdeps.
78191         * configure: Regenerated.
78192         * sysdeps/i386/configure: Regenerated.
78193         * sysdeps/powerpc/powerpc32/configure: Regenerated.
78194         * sysdeps/powerpc/powerpc64/configure: Regenerated.
78195         * sysdeps/s390/s390-32/configure: Regenerated.
78196         * sysdeps/s390/s390-64/configure: Regenerated.
78197         * sysdeps/sh/configure: Regenerated.
78198         * sysdeps/sparc/configure: Regenerated.
78199         * sysdeps/x86_64/configure: Regenerated.
78201 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
78203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78205         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
78206         denormal result into account.
78208 2012-03-25  Roland McGrath  <roland@hack.frob.com>
78210         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
78211         Reported by Allan McRae <allan@archlinux.org>.
78213 2012-03-23  Jeff Law  <law@redhat.com>
78215         * nss/getnssent.c (__nss_getent): Fix typo.
78217 2012-03-23  David S. Miller  <davem@davemloft.net>
78219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78221 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
78223         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
78224         to pad to uint64_t for each field.
78225         (dl_tls_index): Replace unsigned long with uint64_t.
78227 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
78228         Paul Pluzhnikov  <ppluzhnikov@google.com>
78230         [BZ #6528]
78231         * grp/Makefile (otherlibs): Don't set it.
78232         * inet/Makefile (otherlibs): Likewise.
78233         * login/Makefile (otherlibs): Likewise.
78234         * nscd/Makefile (otherlibs): Likewise.
78235         * posix/Makefile (otherlibs): Likewise.
78236         * pwd/Makefile (otherlibs): Likewise.
78237         * rt/Makefile (otherlibs): Likewise.
78238         * sunrpc/Makefile (otherlibs): Likewise.
78239         * nss/Makefile (otherlibs): Likewise.
78240         Add libnss_files to routines and static-only-routines.
78241         ($(objpfx)getent): Remove rule.
78242         * resolv/Makefile: Add libnss_dns and libresolv to routines and
78243         static-only-routines.
78245 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78247         [BZ #13892]
78248         * math/s_cexp.c: Include <float.h>.
78249         (__cexp): Handle exp result overflowing not necessarily
78250         overflowing both real and imaginary parts of result.
78251         * math/s_cexpf.c: Likewise.
78252         * math/s_cexpl.c: Likewise.
78253         * math/libm-test.inc (cexp_test): Add more tests.
78254         * sysdeps/i386/fpu/libm-test-ulps: Update.
78255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78257 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78259         * include/link.h (ELFW): New macro.
78260         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
78261         Replace ELF64_R_TYPE with ELFW(R_TYPE).
78263 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78265         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
78266         with uint64_t.
78268 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78270         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
78271         declaration.
78272         (struct La_x32_retval): Likewise.
78274 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78276         * sysdeps/x86_64/preconfigure.in: New file.
78277         * sysdeps/x86_64/preconfigure: New generated file.
78279 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78281         [BZ #13824]
78282         * math/e_exp2l.c: Include <float.h>.
78283         (__ieee754_exp2l): Handle overflow and underflow cases
78284         separately.  Only pass fractional part of argument to
78285         __ieee754_expl.
78286         * math/libm-test.inc (exp2_test): Add more tests.
78288         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
78289         negating x to take absolute value.
78290         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
78291         Likewise.
78292         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
78293         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
78294         Likewise.
78295         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
78296         computing low part if x was negated.
78297         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
78299 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78301         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
78302         la_x32_gnu_pltexit.
78303         (pltexit): Cast int_retval to ptrdiff_t.
78304         * elf/tst-auditmod3b.c: Likewise.
78305         * elf/tst-auditmod4b.c: Likewise.
78306         * elf/tst-auditmod5b.c: Likewise.
78307         * elf/tst-auditmod6b.c: Likewise.
78308         * elf/tst-auditmod6c.c: Likewise.
78309         * elf/tst-auditmod7b.c: Likewise.
78311         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
78312         and x32_gnu_pltexit.
78314         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
78315         __ELF_NATIVE_CLASS.
78316         (La_x32_regs): New macro.
78317         (La_x32_retval): Likewise.
78318         (la_x32_gnu_pltenter): New function prototype.
78319         (la_x32_gnu_pltexit): Likewise.
78321 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
78323         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
78324         exponent.
78326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78328         * configure.in (libc_cv_cc_nofma): Check for option to disable
78329         generation of FMA instructions.
78330         * configure: Regenerate.
78331         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
78332         * sysdeps/ieee754/dbl-64/Makefile: New file.
78333         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
78334         Remove brandred-fma4.
78335         (CFLAGS-brandred-fma4.c): Remove.
78336         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
78337         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
78338         define.
78339         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
78340         define.
78342 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78344         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78345         LLONG_MAX != LONG_MAX.
78346         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78347         (_fitoa_word): Likewise.
78348         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
78349         LLONG_MAX != LONG_MAX.
78350         * stdio-common/_itowa.h: Include <_itoa.h>.
78351         (_itowa_word): Use _ITOA_WORD_TYPE on value.
78352         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
78353         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
78354         only if not defined.
78355         (_ITOA_WORD_TYPE): Likewise.
78356         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78357         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
78359 2012-03-21  David S. Miller  <davem@davemloft.net>
78361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78363 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78365         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
78366         of x86_64 when setting libc_cv_slibdir, libdir and
78367         libc_cv_localedir.
78368         * sysdeps/unix/sysv/linux/configure: Regenerated.
78370 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78372         * manual/lang.texi (Old Varargs): Remove section.
78373         (How Variadic): Update menu.
78374         (va_start): Do not mention varargs.h.
78376 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78377             Joseph Myers  <joseph@codesourcery.com>
78379         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
78380         link test.
78381         * configure: Regenerated.
78383 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78385         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
78386         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
78387         conformtest.pl
78389 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78391         * NOTES: Remove.
78392         * Makefile (files-for-dist): Remove NOTES.
78393         (NOTES): Remove rule.
78394         * README: Don't refer to NOTES.
78395         * manual/creature.texi: Don't include macros.texi.
78396         * manual/intro.texi (creature.texi): Remove comment referring to
78397         NOTES.
78399         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
78400         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
78401         * configure: Regenerated.
78402         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
78403         LIBC_TRY_CC_OPTION.
78404         (libc_cv_as_i686): Likewise.
78405         (libc_cv_cc_avx): Likewise.
78406         (libc_cv_cc_sse2avx): Likewise.
78407         (libc_cv_cc_fma4): Likewise.
78408         (libc_cv_cc_novzeroupper): Likewise.
78409         * sysdeps/i386/configure: Regenerated.
78411         [BZ #13883]
78412         * sysdeps/i386/fpu/s_cexp.S: Remove.
78413         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78414         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78415         * math/libm-test.inc (cexp_test): Add more tests.
78416         * sysdeps/i386/fpu/libm-test-ulps: Update.
78417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78419 2012-03-21  Allan McRae  <allan@archlinux.org>
78421         * timezone/Makefile: Do not install iso3166.tab and zone.tab
78423 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78425         [BZ #13871]
78426         * math/w_exp2.c: Do not include <float.h>.
78427         (o_threshold, u_threshold): Remove.
78428         (__exp2): Calculate result before checking finiteness and calling
78429         __kernel_standard.
78430         * math/w_exp2f.c: Likewise.
78431         * math/w_exp2l.c: Likewise.
78432         * math/libm-test.inc (exp2_test): Require overflow exception for
78433         1e6 input.
78435         [BZ #3866]
78436         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
78437         range of signed 64-bit integers before using fistpll.  Remove
78438         checks for whether integers fit in mantissa bits.
78439         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
78440         the range of signed 32-bit integers before using fistpl.  Remove
78441         checks for whether integers fit in mantissa bits.
78442         * sysdeps/i386/fpu/e_powl.S (p64): New object.
78443         (__ieee754_powl): Test for y outside the range of signed 64-bit
78444         integers before using fistpll.  Reduce 64-bit values to 63-bit
78445         ones as needed.
78446         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
78447         divide-by-zero is raised for zero to large negative powers.
78448         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
78449         (__ieee754_powl): Test for y outside the range of signed 64-bit
78450         integers before using fistpll.  Reduce 64-bit values to 63-bit
78451         ones as needed.
78452         * math/libm-test.inc (pow_test): Add more tests.
78454 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78456         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
78457         <stdio-common/_itoa.h>.
78458         * debug/segfault.c: Likewise.
78459         * elf/dl-cache.c: Likewise.
78460         * elf/dl-minimal.c: Likewise.
78461         * elf/dl-misc.c: Likewise.
78462         * elf/dl-sysdep.c: Likewise.
78463         * elf/dl-version.c: Likewise.
78464         * elf/rtld.c: Likewise.
78465         * hurd/hurdsock.c: Likewise.
78466         * hurd/lookup-retry.c: Likewise.
78467         * malloc/malloc.c: Likewise.
78468         * malloc/mtrace.c: Likewise.
78469         * nscd/nscd_getgr_r.c: Likewise.
78470         * nscd/nscd_getpw_r.c: Likewise.
78471         * nscd/nscd_getserv_r.c: Likewise.
78472         * posix/getopt_init.c: Likewise.
78473         * posix/wordexp.c: Likewise.
78474         * stdio-common/_itoa.c: Likewise.
78475         * stdio-common/printf_fphex.c: Likewise.
78476         * stdio-common/vfprintf.c: Likewise.
78477         * string/_strerror.c: Likewise.
78478         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
78479         * sysdeps/i386/i686/hp-timing.h: Likewise.
78480         * sysdeps/mach/_strerror.c: Likewise.
78481         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
78482         * sysdeps/mach/hurd/sethostid.c: Likewise.
78483         * sysdeps/mach/hurd/xmknodat.c: Likewise.
78484         * sysdeps/mach/xpg-strerror.c: Likewise.
78485         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
78486         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
78487         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
78488         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
78489         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
78490         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
78491         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
78492         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
78493         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
78494         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
78495         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
78496         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
78497         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
78498         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
78499         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
78500         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
78501         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
78502         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
78503         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
78504         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
78505         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
78507         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
78509         * stdio-common/_itoa.h: Moved to ...
78510         * sysdeps/generic/_itoa.h: Here.
78512         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
78514         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
78515         instead of "_itoa.h" and "_itowa.h".
78516         * stdio-common/vfprintf.: Likewise.
78518 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78520         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
78521         <bits/wordsize.h>.
78522         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
78523         (__signbit): Likewise.
78524         (llrintf): Likewise.
78525         (llrint): Likewise.
78527 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78529         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
78530         __WORDSIZE != 64.
78532 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
78534         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
78535         OVERFLOW_EXCEPTION_OK.
78536         * math/libm-test.inc ("Philosophy"): Update comment about
78537         exception testing.
78538         (OVERFLOW_EXCEPTION): Define.
78539         (OVERFLOW_EXCEPTION_OK): Likewise.
78540         (INVALID_EXCEPTION_OK): Renumber.
78541         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78542         (IGNORE_ZERO_INF_SIGN): Likewise.
78543         (test_exceptions): Handle FE_OVERFLOW.
78544         (exp10_test): Expect overflow exceptions.
78545         (exp2_test): Likewise.
78546         (expm1_test): Likewise.
78547         (nextafter_test): Likewise.
78548         (pow_test): Likewise.
78549         (scalbn_test): Likewise.
78550         (scalbln_test): Likewise.
78552 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78554         * sysdeps/x86_64/bits/atomic.h
78555         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
78556         64bit integer.
78557         (atomic_exchange_acq): Likewise.
78558         (__arch_exchange_and_add_body): Likewise.
78559         (__arch_add_body): Likewise.
78560         (atomic_add_negative): Likewise.
78561         (atomic_add_zero): Likewise.
78563 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78565         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
78566         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
78568 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78570         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
78571         Check __x86_64__ instead of __WORDSIZE.
78573 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78575         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
78577 2012-03-19  David S. Miller  <davem@davemloft.net>
78579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78581         * sysdeps/sparc/fpu/fenv_private.h: New file.
78582         * sysdeps/sparc/fpu/math_private.h: Use it.
78583         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
78584         Remove.
78585         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
78586         (libc_feholdexcept_setroundl): Remove.
78587         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
78588         Remove.
78589         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
78590         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
78592 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78594         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
78595         int64_t instead of long int.
78596         (INSERT_WORDS64): Likewise.
78598 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78600         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
78601         _Unwind_GetCFA return to _Unwind_Ptr first.
78603 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
78605         [BZ #13629]
78606         * math/s_clog.c: Include <float.h>.
78607         (__clog): Scale large or subnormal inputs.
78608         * math/s_clogf.c: Likewise.
78609         * math/s_clogl.c: Likewise.
78610         * math/s_clog10.c: Include <float.h>.
78611         (M_LOG10_2): Define.
78612         (__clog10): Scale large or subnormal inputs.
78613         * math/s_clog10f.c: Likewise.
78614         * math/s_clog10l.c: Likewise.
78615         * math/libm-test.inc (clog_test): Add more tests.
78616         (clog10_test): Likewise.
78617         * sysdeps/i386/fpu/libm-test-ulps: Update.
78618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78620         [BZ #11451]
78621         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
78622         x and y.
78623         * math/libm-test.inc (atan2_test): Add another test.
78625         * Makerules (common-objdir-compile): Remove.
78626         * sysdeps/unix/Makefile (config-generated): Do not add
78627         $(unix-generated) to variable.
78628         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
78629         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
78630         Remove rule.
78631         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
78632         Likewise.
78633         [generic bits/local_lim.h] (before-compile): Do not append to
78634         variable.
78635         [generic bits/local_lim.h] (common-generated): Likewise.
78636         [generic sys/param.h] (before-compile): Do not append to variable.
78637         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
78638         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
78639         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
78640         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
78641         include.
78642         [generic sys/param.h] (sys/param.h-includes): Remove variable.
78643         [generic sys/param.h] (sys/param.h-includes): Remove rule.
78644         [generic sys/param.h] ($(addprefix
78645         $(common-objpfx),$(sys/param.h-includes))): Likewise.
78646         [generic sys/param.h] (common-generated): Do not append to
78647         variable.
78648         [generic sys/param.h] (sysdep_headers): Likewise.
78649         [generic bits/errno.h] (before-compile): Do not append to
78650         variable.
78651         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
78652         rule.
78653         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
78654         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
78655         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
78656         [generic bits/errno.h] (common-generated): Do not append to
78657         variable.
78658         [generic bits/ioctls.h] (before-compile): Do not append to
78659         variable.
78660         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
78661         rule.
78662         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
78663         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
78664         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
78665         rule.
78666         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
78667         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
78668         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
78669         [generic bits/ioctls.h] (common-generated): Do not append to
78670         variable.
78671         [generic sys/syscall.h] (syscall.h): Remove variable.
78672         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
78673         rule.
78674         [generic sys/syscall.h] (before-compile): Do not append to
78675         variable.
78676         [generic sys/syscall.h] (common-generated): Likewise.
78677         * sysdeps/unix/errnos-tmpl.c: Remove file.
78678         * sysdeps/unix/errnos.awk: Likewise.
78679         * sysdeps/unix/ioctls-tmpl.c: Likewise.
78680         * sysdeps/unix/ioctls.awk: Likewise.
78681         * sysdeps/unix/mk-local_lim.c: Likewise.
78682         * sysdeps/unix/snarf-ioctls: Likewise.
78684 2012-03-19  Richard Henderson  <rth@twiddle.net>
78686         * sysdeps/i386/fpu/fenv_private.h: New file.
78687         * sysdeps/i386/fpu/math_private.h: Use it.
78688         (math_opt_barrier, math_force_eval): Remove.
78689         (libc_feholdexcept_setround_53bit): Remove.
78690         (libc_feupdateenv_53bit): Remove.
78691         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78692         (math_opt_barrier, math_force_eval): Remove.
78693         (libc_feholdexcept): Remove.
78694         (libc_feholdexcept_setround): Remove.
78695         (libc_fetestexcept, libc_fesetenv): Remove.
78696         (libc_feupdateenv_test): Remove.
78697         (libc_feupdateenv, libc_feholdsetround): Remove.
78698         (libc_feresetround): Remove.
78700         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
78701         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
78703         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
78704         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
78705         (libc_feupdateenv_testl): New.
78706         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
78707         (libc_feupdateenv_testf): New.
78708         (libc_feupdateenv): Use libc_feupdateenv_test.
78709         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
78710         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
78712         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
78713         (libc_feholdsetroundf, libc_feholdsetroundl): New.
78714         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
78715         (libc_feresetround_noex): New.
78716         (libc_feresetround_noexf): New.
78717         (libc_feresetround_noexl): New.
78718         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
78719         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
78720         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
78721         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
78722         SET_RESTORE_ROUND.
78723         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
78724         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
78725         (__cos): Likewise.
78726         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
78727         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
78728         SET_RESTORE_ROUND_NOEX.
78729         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
78730         SET_RESTORE_ROUND_NOEXF.
78731         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
78732         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
78733         (libc_feholdsetroundf): New.
78734         (libc_feresetround, libc_feresetroundf): New.
78736         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
78737         (libc_feholdexcept_setround_53bit): Convert from macro to function.
78738         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
78740         * sysdeps/generic/math_private.h: Include <fenv.h>.
78741         (default_libc_feholdexcept): New.
78742         (default_libc_feholdexcept_setround): New.
78743         (default_libc_fesetenv, default_libc_feupdateenv): New.
78744         (libc_feholdexcept): Only define if undefined.
78745         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
78746         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
78747         (libc_feholdexcept_setroundl): Likewise.
78748         (libc_feholdexcept_setround_53bit): Likewise.
78749         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
78750         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
78751         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
78752         (libc_feupdateenv_53bit): Likewise.
78753         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
78754         (libc_feholdexcept): Convert from macro to inline function.
78755         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
78756         (libc_fesetenv, libc_feupdateenv): Likewise.
78758         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
78759         not previously defined.
78760         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
78761         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
78762         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
78763         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
78764         * sysdeps/ieee754/flt-32/math_private.h: New file.
78765         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
78766         math_private.h below SET_FLOAT_WORD.
78767         (__isnan, __isinf_ns, __finite): Remove.
78768         (__isnanf, __isinf_nsf, __finitef): Remove.
78770 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
78772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78774 2012-03-17  David S. Miller  <davem@davemloft.net>
78776         [BZ #6471]
78777         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
78778         for 2.16.
78780 2012-03-16  David S. Miller  <davem@davemloft.net>
78782         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
78783         warnings.
78785         [BZ #6471]
78786         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
78787         properly.
78788         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
78789         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
78790         sysdep_routines when subdir is sysvipc.
78791         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
78792         __getshmlba helper.
78794         * sysdeps/sparc/fpu/libm-test/ulps: Update.
78796 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78798         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
78799         [__LP64__].
78801 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78803         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
78804         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
78805         (__lround): Renamed to ...
78806         (__llround): This.  Replace long int with long long int.
78807         Define lround functions as aliases of llround functions.
78808         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
78810 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78812         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
78813         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
78814         adresses to uintptr_t.  Replace "long int" and "unsigned long
78815         int" with "greg_t" on va_arg.
78817 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78819         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
78820         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
78822         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
78823         Move e_machine check before EI_CLASS check.  Handle x32
78824         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
78825         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
78826         SKIP_EM_IA_64 and include
78827         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
78829         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
78830         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
78831         (add_system_dir): New macro.
78833         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
78834         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
78836 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78838         [BZ #2551]
78839         [BZ #2552]
78840         [BZ #2553]
78841         [BZ #2554]
78842         [BZ #2562]
78843         [BZ #2563]
78844         [BZ #2565]
78845         [BZ #2566]
78846         [BZ #2576]
78847         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
78848         (y0): Likewise.
78849         * math/w_j0f.c (j0f): Likewise.
78850         (y0f): Likewise.
78851         * math/w_j0l.c (__j0l): Likewise.
78852         (__y0l): Likewise.
78853         * math/w_j1.c (j1): Likewise.
78854         (y1): Likewise.
78855         * math/w_j1f.c (j1f): Likewise.
78856         (y1f): Likewise.
78857         * math/w_j1l.c (__j1l): Likewise.
78858         (__y1l): Likewise.
78859         * math/w_jn.c (jn): Likewise.
78860         (yn): Likewise.
78861         * math/w_jnf.c (jnf): Likewise.
78862         (ynf): Likewise.
78863         * math/w_jnl.c (__jnl): Likewise.
78864         (__ynl): Likewise.
78865         * math/libm-test.inc (j0_test): Add more tests.
78866         (j1_test): Likewise.
78867         (jn_test): Likewise.  Add trailing semicolon to existing test.
78868         (y0_test): Likewise.
78869         (y1_test): Likewise.
78870         * sysdeps/i386/fpu/libm-test-ulps: Update.
78871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78873         [BZ #13851]
78874         [BZ #13854]
78875         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
78876         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
78877         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
78878         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
78879         (__tanl): Set errno for infinite argument.
78880         * sysdeps/i386/fpu/mptan.c: Remove.
78881         * sysdeps/i386/fpu/s_tan.S: Likewise.
78882         * sysdeps/i386/fpu/s_tanl.S: Likewise.
78883         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
78884         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
78885         * math/libm-test.inc (tan_test): Add more tests and enable more
78886         tests for double and long double.
78887         * sysdeps/i386/fpu/libm-test-ulps: Update.
78888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78890 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
78892         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
78893         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
78895 2012-03-16  Roland McGrath  <roland@hack.frob.com>
78897         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
78898         * configure.in: Use it for both main tree and add-ons.
78899         * configure: Regenerated.
78901 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78903         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
78905 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78907         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
78908         in comment.
78910         [BZ #13851]
78911         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
78912         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
78913         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
78914         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
78915         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
78916         infinite argument.
78917         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
78918         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
78919         != 0 for prec == 2.
78920         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
78921         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
78922         * sysdeps/i386/fpu/s_cosl.S: Likewise.
78923         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
78924         * sysdeps/i386/fpu/s_sinl.S: Likewise.
78925         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
78926         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
78927         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
78928         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
78929         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
78930         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
78931         * math/libm-test.inc (cos_test): Add more tests and enable more
78932         tests for long double.
78933         (sin_test): Likewise.
78934         (sincos_test): Likewise.
78935         * sysdeps/i386/fpu/libm-test-ulps: Update.
78936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78938 2012-03-16  David S. Miller  <davem@davemloft.net>
78940         * sysdeps/sparc/fpu/math_private.h: New file.
78942 2012-03-15  David S. Miller  <davem@davemloft.net>
78944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
78945         file.
78946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
78947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
78948         file.
78949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
78950         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
78951         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
78952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
78953         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
78954         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
78955         sysdep routines.
78956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78958         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
78959         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
78961         * sysdeps/sparc/sparc-ifunc.h: New file.
78962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
78963         sparc-ifunc.h
78964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
78965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
78966         Likewise.
78967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
78968         Likewise.
78969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
78970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
78971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
78973         Likewise.
78974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
78976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
78978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
78979         Likewise.
78980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
78981         Likewise.
78982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
78984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
78985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
78986         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
78987         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
78988         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
78989         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
78990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
78991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
78992         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
78993         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
78994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
78995         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
78996         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
78997         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
78998         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
78999         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
79000         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
79001         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
79002         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
79003         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
79004         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
79005         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
79007 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79009         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
79010         scaling.
79011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79013 2012-03-15  Andreas Jaeger  <aj@suse.de>
79015         [BZ #13852]
79016         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
79017         ieee754/flt-32 implementation for sin, cos and sincos.
79018         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
79019         * sysdeps/i386/fpu/s_cosf.S: Likewise.
79020         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
79021         * sysdeps/i386/fpu/s_sinf.S: Likewise.
79022         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
79023         ieee754/flt-32 implementation for tan.
79025         * math/libm-test.inc (cos_test): Enable some large input tests for
79026         float as well
79027         (sin_test): Likewise.
79028         (sincos_test): Likewise.
79029         (tan_test): Add tests for large input.
79031         * sysdeps/i386/fpu/libm-test-ulps: Update.
79033 2012-03-15  Andreas Jaeger  <aj@suse.de>
79035         [BZ #13658]
79036         * math/libm-test.inc (cos_test): Add more test cases.
79037         (sin_test): Likewise.
79038         (sincos_test): Likewise.
79040 2012-03-15  Andreas Jaeger  <aj@suse.de>
79042         [BZ #13837]
79043         * math/libm-test.inc (cos_test): Add a test case for large input
79044         value.
79045         (sin_test): Likewise.
79046         (sincos_test): Likewise.
79048 2012-03-15  Andreas Jaeger  <aj@suse.de>
79049             Joseph Myers  <joseph@codesourcery.com>
79051         [BZ #13658]
79052         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
79053         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
79054         * sysdeps/i386/fpu/branred.c: Likewise.
79055         * sysdeps/i386/fpu/dosincos.c: Likewise.
79056         * sysdeps/i386/fpu/mpa.c: Likewise.
79057         * sysdeps/i386/fpu/s_cos.S: Likewise.
79058         * sysdeps/i386/fpu/s_sin.S: Likewise.
79059         * sysdeps/i386/fpu/s_sincos.S: Likewise.
79060         * sysdeps/i386/fpu/sincos32.c: Likewise.
79062         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
79063         Define.
79064         (libc_feupdateenv_53bit): Define.
79065         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
79066         Define.
79067         (libc_feupdateenv_53bit): Define.
79069         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
79070         53 bit (without extend i386 double precision).
79072         * math/libm-test.inc (sincos_test): Add tests for large input.
79073         (sin): Likewise.
79074         (cos): Likewise.
79076         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
79078 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79082 2012-03-15  David S. Miller  <davem@davemloft.net>
79084         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
79085         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
79086         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
79087         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
79088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
79089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
79090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
79091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
79092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
79093         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
79094         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
79095         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
79096         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
79097         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
79098         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
79099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
79100         file.
79101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
79102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
79103         file.
79104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
79105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
79106         file.
79107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
79108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
79109         file.
79110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
79111         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
79112         fmin/fmax sysdep routines.
79113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79115 2012-03-14  David S. Miller  <davem@davemloft.net>
79117         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
79118         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
79119         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
79120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
79121         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
79122         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
79123         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
79124         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
79125         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
79126         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
79127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
79128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
79129         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
79130         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
79131         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
79132         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
79133         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
79134         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
79135         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
79136         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
79137         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
79138         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
79139         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
79140         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
79141         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
79142         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
79143         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
79144         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
79145         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
79146         routines.
79147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
79148         file.
79149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
79150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
79151         file.
79152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
79153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
79154         file.
79155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
79156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
79157         file.
79158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
79159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
79160         file.
79161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
79162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
79163         file.
79164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
79165         file.
79166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
79167         file.
79168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
79169         file.
79170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
79171         New file.
79172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
79173         file.
79174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
79175         file.
79176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
79177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
79178         file.
79179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
79180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
79181         file.
79182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
79183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
79184         file.
79185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
79186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
79187         VIS3 routines.
79189         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
79190         New file.
79192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79194         * sysdeps/sparc/configure.in: New file.
79195         * sysdeps/sparc/configure: Generate.
79196         * configure.in (libc_cv_sparc_as_vis3): Substitute.
79197         * configure: Regenerate.
79198         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
79199         * config.make.in (have-as-vis3): New.
79200         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
79201         available use -Av9d instead of -Av9a.
79202         * sysdeps/sparc/sparc64/Makefile: Likewise.
79203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
79204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
79205         New file.
79206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
79207         file.
79208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
79209         New file.
79210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
79211         file.
79212         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
79213         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
79214         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
79215         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
79216         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
79218         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
79219         fzeros/fnegs to load 0x80000000 into a float register instead of
79220         using the stack.
79221         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
79223 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79226         bits/syscall.h.
79227         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
79228         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
79229         ($(inst_includedir)/bits/syscall.h): Remove rule.
79230         ($(objpfx)bits/syscall.d): Include instead of
79231         $(objpfx)syscall-list.d.
79232         (generated): Change syscall-list.h and syscall-list.d to
79233         bits/syscall.h and bits/syscall.d.
79235 2012-03-14  Roland McGrath  <roland@hack.frob.com>
79237         [BZ #13846]
79238         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
79240 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79242         [BZ #13841]
79243         * math/s_csqrt.c: Include <float.h>.
79244         (__csqrt): Scale large or subnormal inputs.
79245         * math/s_csqrtf.c: Likewise.
79246         * math/s_csqrtl.c: Likewise.
79247         * math/libm-test.inc (csqrt_test): Add more tests.
79248         * sysdeps/i386/fpu/libm-test-ulps: Update.
79249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79251         [BZ #13840]
79252         * math/libm-test.inc (hypot_test): Add more tests.
79254 2012-03-13  David S. Miller  <davem@davemloft.net>
79256         [BZ #13840]
79257         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
79258         double-precision for the calculation instead of scaling.
79260 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
79262         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
79263         manipulate bits before adding and subtracting TWO52[sx].
79264         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
79265         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
79266         Likewise.
79267         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
79269 2012-03-13  David S. Miller  <davem@davemloft.net>
79271         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
79272         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
79273         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
79274         rtld-global-offsets.h
79275         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79277         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
79278         large parameters.
79280         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
79282         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
79283         'err' in the ifdef scope in which it is actually used.
79285         * nss/nss_db/db-init.c: Include string.h
79287 2012-03-12  David S. Miller  <davem@davemloft.net>
79289         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79290         masking out of the most significant byte of random value used.
79291         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79292         Fix coding style in previous change.
79294         * sysdeps/unix/sysv/linux/kernel-features.h
79295         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
79296         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
79297         expression.
79298         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
79299         later.
79301 2012-03-11  David S. Miller  <davem@davemloft.net>
79303         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
79304         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
79305         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
79306         for 'resultvar' otherwise things get truncated on 64-bit.
79308         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79309         Fix masking out of the most significant byte of random value used.
79311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79313 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
79315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79317 2012-03-09  David S. Miller  <davem@davemloft.net>
79319         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
79320         variables with appropriate CPP guards.
79321         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
79322         from the frame pointer, not the stack pointer.  Correct layout
79323         comments.  Fix test on resulting framesize and the management of
79324         the outregs buffer for pltexit.  Preserve floating point return
79325         values across _dl_call_pltexit call.
79326         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
79327         framesize and the management of the outregs buffer for pltexit.
79328         Preserve floating point return values across _dl_call_pltexit
79329         call.
79330         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
79331         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
79332         (la_sparc64_gnu_pltexit): New functions.
79333         (print_exit): Fix format string for return register value.
79335 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
79337         * sunrpc/Makefile (others): Add rpcgen.
79338         ($(objpfx)rpcgen): Remove special build rule and dependency on
79339         libc.
79340         * sunrpc/rpcgen.c: New file.
79342 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
79344         [BZ #13673]
79345         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
79346         * stdio-common/bug-vfprintf-nargs.c: Likewise.
79347         * sysdeps/i386/crti.S: Likewise.
79348         * sysdeps/i386/crtn.S: Likewise.
79349         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
79350         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
79351         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
79352         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
79353         * sysdeps/sh/crti.S: Likewise.
79354         * sysdeps/sh/crtn.S: Likewise.
79355         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
79357         [BZ #13673]
79358         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
79359         with URL.
79360         * locale/programs/locfile-kw.gperf: Likewise.
79361         * locale/programs/charmap-kw.h: Regenerated.
79362         * locale/programs/locfile-kw.h: Likewise.
79364         [BZ #13673]
79365         * intl/plural.y: Replace FSF snail mail address with URL.
79366         * intl/plural.c: Regenerated.
79368 2012-03-09  Richard Henderson  <rth@twiddle.net>
79370         * include/math_private.h: Remove file.
79371         * math/math_private.h: Move file ...
79372         * sysdeps/generic/math_private.h: ... here.
79374         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
79375         * sysdeps/powerpc/fpu/math_private.h: Likewise.
79376         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79378         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
79379         and <math_private.h>.
79380         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79381         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79382         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79383         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79384         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79385         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
79386         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79387         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79388         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79389         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79390         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79391         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79392         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79393         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79394         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79395         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79396         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79397         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
79398         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
79399         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
79400         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79401         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
79402         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
79403         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79404         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
79405         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
79406         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
79407         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79408         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79409         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79410         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
79411         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79412         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
79413         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79414         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79415         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79416         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79417         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
79418         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
79419         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79420         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
79421         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
79422         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
79423         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
79424         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
79425         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
79426         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
79427         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
79428         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79429         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
79430         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
79431         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
79432         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
79433         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
79434         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
79435         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79436         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79437         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
79438         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
79439         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
79440         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79441         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
79442         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79443         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79444         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
79445         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79446         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79447         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79448         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
79449         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
79450         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
79451         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79452         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
79453         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79454         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
79455         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
79456         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
79457         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
79458         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
79459         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
79460         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
79461         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
79462         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
79463         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79464         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79465         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
79466         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
79467         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
79468         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
79469         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79470         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79471         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
79472         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79473         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
79474         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
79475         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
79476         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79477         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
79478         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79479         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
79480         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
79481         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
79482         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
79483         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
79484         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
79485         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
79486         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
79487         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
79488         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
79489         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
79490         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
79491         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
79492         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
79493         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
79494         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
79495         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79496         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
79497         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
79498         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
79499         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79500         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
79501         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
79502         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79503         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
79504         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
79505         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
79506         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
79507         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
79508         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79509         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
79510         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
79511         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79512         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79513         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
79514         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
79515         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79516         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79517         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79518         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
79519         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79520         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79521         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79522         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79523         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
79524         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
79525         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79526         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79527         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79528         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
79529         * sysdeps/ieee754/k_standard.c: Likewise.
79530         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79531         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79532         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79533         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79534         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79535         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79536         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79537         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79538         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79539         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79540         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79541         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79542         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79543         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79544         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79545         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79546         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
79547         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79548         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79549         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
79550         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
79551         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
79552         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79553         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79554         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
79555         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
79556         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79557         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79558         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79559         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79560         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
79561         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79562         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79563         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79564         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
79565         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79566         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79567         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
79568         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
79569         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79570         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
79571         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
79572         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
79573         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79574         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
79575         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
79576         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79577         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79578         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79579         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79580         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79581         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
79582         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79583         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
79584         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79585         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79586         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
79587         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
79588         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79589         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79590         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79591         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
79592         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79593         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79594         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79595         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79596         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79597         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79598         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79599         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79600         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79601         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79602         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79603         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79604         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79605         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79606         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
79607         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79608         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79609         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
79610         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
79611         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
79612         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79613         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79614         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
79615         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79616         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79617         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
79618         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79619         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79620         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
79621         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79622         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
79623         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
79624         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79625         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79626         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
79627         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
79628         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
79629         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
79630         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79631         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79632         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79633         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79634         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
79635         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79636         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79637         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
79638         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
79639         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79640         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79641         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79642         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79643         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79644         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79645         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79646         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79647         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79648         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79649         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
79650         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79651         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
79652         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
79653         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
79654         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79655         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
79656         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79657         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79658         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79659         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79660         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79661         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79662         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79663         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
79664         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79665         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79666         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
79667         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
79668         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
79669         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
79670         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
79671         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
79672         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
79673         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
79674         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79675         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
79676         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
79677         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
79678         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
79679         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
79680         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
79681         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79682         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79683         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79684         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
79685         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
79686         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
79687         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
79688         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
79689         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
79690         * sysdeps/ieee754/s_lib_version.c: Likewise.
79691         * sysdeps/ieee754/s_matherr.c: Likewise.
79692         * sysdeps/ieee754/s_signgam.c: Likewise.
79693         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
79694         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
79695         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
79696         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
79697         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
79698         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79699         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
79700         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
79701         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
79702         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
79703         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
79704         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
79705         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
79706         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
79707         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
79708         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
79709         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
79710         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
79711         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
79712         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
79713         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
79715 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79717         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
79718         * sunrpc/rpc_main.c: Likewise.
79719         * sunrpc/rpc_svcout.c: Likewise.
79721 2012-03-09  David S. Miller  <davem@davemloft.net>
79723         * include/math_private.h: New file.
79725 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79727         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
79728         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
79729         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
79730         from <bits/socket_type.h>.
79731         (enum __socket_type): Don't define here.
79732         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
79733         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79734         bits/socket_type.h.
79736         [BZ #13566]
79737         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
79738         checking __USE_GNU.
79740         * Makerules ($(inst_includedir)/%.h): New rule.
79741         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
79742         (install-others): Remove variable setting.
79743         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
79745 2012-03-08  Richard Henderson  <rth@twiddle.net>
79747         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
79748         from macro to inline function; merge with the
79749         !__LIBC_INTERNAL_MATH_INLINES version.
79750         (__ieee754_sqrtf): Likewise.
79752         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
79753         to inline function.
79754         (__rintf, __floor, __floorf): Likewise.
79756         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
79757         macro to inline function.
79758         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
79760         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
79761         not <math/math_private.h>.
79763 2012-03-08  David S. Miller  <davem@davemloft.net>
79765         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
79766         copyright year.
79767         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
79769 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
79771         * resolv/gai_misc.c (handle_requests): Fix struct timespec
79772         normalization.
79773         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
79774         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
79776 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
79778         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
79779         be defined individually, they must be defined as a block.  Define
79780         S for printing a string instead of hidint the different by using a
79781         macro for adding the 'l'.
79782         * stdio-common/tst-fphex-wide.c: Adjust.
79784 2012-03-07  Marek Polacek  <polacek@redhat.com>
79786         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
79788 2012-03-08  Marek Polacek  <polacek@redhat.com>
79790         [BZ #13806]
79791         * stdio-common/Makefile (tests): Add tst-fphex-wide.
79792         * stdio-common/tst-fphex.c: Define a few macros to make the
79793         test reusable.  Use them.
79794         * stdio-common/tst-fphex-wide.c: New file.
79796 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
79798         [BZ #6911]
79799         * manual/macros.texi (gnusystems): New macro.
79800         (nongnusystems): Likewise.
79801         (gnulinuxhurdsystems): Likewise.
79802         (gnuhurdsystems): Likewise..
79803         (gnulinuxsystems): Likewise.
79804         * manual/charset.texi: Use new macros or @theglibc{} to refer to
79805         variants of the GNU system, not "GNU system".
79806         * manual/conf.texi: Likewise.
79807         * manual/errno.texi: Likewise.  Update example of errno macro
79808         expansion.
79809         * manual/filesys.texi: Likewise.
79810         (getumask): Document as specific to GNU/Hurd.
79811         * manual/install.texi: Likewise.  Reword some references to
79812         GNU/Linux.
79813         * manual/intro.texi: Likewise.
79814         * manual/io.texi: Likewise.
79815         (File Name Portability): Detail which constraints are inapplicable
79816         to all GNU systems and which are only inapplicable to GNU/Hurd.
79817         * manual/job.texi: Likewise.
79818         * manual/llio.texi: Likewise.
79819         (O_NOCTTY): Document as present on GNU/Linux.
79820         * manual/maint.texi: Likewise.
79821         * manual/memory.texi: Likewise.
79822         * manual/pattern.texi: Likewise.
79823         * manual/pipe.texi: Likewise.
79824         * manual/process.texi: Likewise.
79825         * manual/resource.texi: Likewise.
79826         (RUSAGE_CHILDREN): Remove statement about specifying a particular
79827         child on GNU/Hurd.
79828         * manual/setjmp.texi: Likewise.
79829         * manual/signal.texi: Likewise.
79830         * manual/startup.texi: Likewise.
79831         * manual/stdio.texi: Likewise.
79832         * manual/terminal.texi: Likewise.
79833         (ONLCR): Document as POSIX.
79834         (OXTABS): Document availability on GNU/Linux as XTABS.
79835         (ONOEOT): Document availability separately from other bits.
79836         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
79837         * manual/time.texi: Likewise.
79838         * manual/users.texi: Likewise.
79839         * INSTALL: Regenerated.
79840         * sysdeps/gnu/errlist.c: Regenerated.
79842         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
79843         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
79844         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
79845         puts.
79846         * configure: Regenerated.
79848 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
79850         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
79851         default includes instead of AC_HEADER_CHECK.
79852         * sysdeps/i386/configure: Regenerated.
79854         [BZ #10716]
79855         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
79856         * math/s_cacoshf.c (__cacoshf): Likewise.
79857         * math/s_cacoshl.c (__cacoshl): Likewise.
79858         * math/s_casinh.c (__casinh): Set signs of result from argument.
79859         * math/s_casinhf.c (__casinhf): Likewise.
79860         * math/s_casinhl.c (__casinhl): Likewise.
79861         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
79862         (casinh_test): Add more tests.
79863         * sysdeps/i386/fpu/libm-test-ulps: Update.
79864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79866 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
79868         * po/zh_TW.po: Update from translation team.
79870         * login/Makefile (distribute): Remove variable.
79871         * catgets/Makefile: Likewise.
79872         * mach/Makefile: Likewise.
79873         * malloc/Makefile: Likewise.
79874         * misc/Makefile: Likewise.
79875         * iconv/Makefile: Likewise.
79876         * nscd/Makefile: Likewise.
79877         * hurd/Makefile: Likewise.
79878         * manual/Makefile: Likewise.
79879         * locale/Makefile: Likewise.
79880         * intl/Makefile: Likewise.
79881         * conform/Makefile: Likewise.
79882         * nss/Makefile: Likewise.
79883         * time/Makefile: Likewise.
79884         * soft-fp/Makefile: Likewise.
79885         * dirent/Makefile: Likewise.
79886         * gmon/Makefile: Likewise.
79887         * po/Makefile: Likewise.
79888         * rt/Makefile: Likewise.
79889         * socket/Makefile: Likewise.
79890         * math/Makefile: Likewise.
79891         * signal/Makefile: Likewise.
79892         * debug/Makefile: Likewise.
79893         * elf/Makefile: Likewise.
79894         * timezone/Makefile: Likewise.
79895         * stdlib/Makefile: Likewise.
79896         * iconvdata/Makefile: Likewise.
79897         * sunrpc/Makefile: Likewise.
79898         * io/Makefile: Likewise.
79899         * argp/Makefile: Likewise.
79900         * inet/Makefile: Likewise.
79901         * hesiod/Makefile: Likewise.
79902         * grp/Makefile: Likewise.
79903         * csu/Makefile: Likewise.
79904         * wctype/Makefile: Likewise.
79905         * crypt/Makefile: Likewise.
79906         * libio/Makefile: Likewise.
79907         * string/Makefile: Likewise.
79908         * nis/Makefile: Likewise.
79909         * resolv/Makefile: Likewise.
79910         * stdio-common/Makefile: Likewise.
79911         * wcsmbs/Makefile: Likewise.
79912         * dlfcn/Makefile: Likewise.
79913         * posix/Makefile: Likewise.
79915         [BZ #6959]
79916         * timezone/Makefile: Don't install timezone files, just the programs
79917         and scripts.
79919 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
79921         * nss/databases.def: Add missing gshadow entry.
79923         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
79925 2012-03-06  Marek Polacek  <polacek@redhat.com>
79927         [BZ #13726]
79928         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
79929         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
79930         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
79931         * stdio-common/tst-long-dbl-fphex.c: New file.
79933 2012-03-06  David S. Miller  <davem@davemloft.net>
79935         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79936         (set_obp_int): New function.
79937         (get_obp_int): New function.
79938         (__get_clockfreq_via_dev_openprom): Likewise.
79939         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
79940         Avoid unused variable warnings on 'val' and use builtin_expect.
79941         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
79942         __builtin_expect.
79943         (INLINE_CLONE_SYSCALL): Likewise.
79945 2012-03-05  David S. Miller  <davem@davemloft.net>
79947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79949 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
79951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79953         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
79954         only for |x| >= 40.
79955         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79957 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
79959         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
79960         Replace gettimeofday with __vdso_gettimeofday.
79962         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79963         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
79964         __vdso_clock_gettime and __vdso_getcpu.
79966         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
79967         time with __vdso_time.
79969 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79971         * manual/lang.texi (size_t): Note types to which size_t may be
79972         equivalent with the GNU C Library, but do not describe when
79973         differences between them are significant.
79975 2012-03-05  Andreas Jaeger  <aj@suse.de>
79977         * sysdeps/i386/fpu/libm-test-ulps: Update.
79979 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79981         [BZ #3976]
79982         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
79983         (__ieee754_pow): Save and restore rounding mode and use
79984         round-to-nearest for main computations.
79985         * math/libm-test.inc (pow_test_tonearest): New function.
79986         (pow_test_towardzero): Likewise.
79987         (pow_test_downward): Likewise.
79988         (pow_test_upward): Likewise.
79989         (main): Call the new functions.
79990         * sysdeps/i386/fpu/libm-test-ulps: Update.
79991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79993         [BZ #3976]
79994         * math/libm-test.inc (cosh_test_tonearest): New function.
79995         (cosh_test_towardzero): Likewise.
79996         (cosh_test_downward): Likewise.
79997         (cosh_test_upward): Likewise.
79998         (sinh_test_tonearest): Likewise.
79999         (sinh_test_towardzero): Likewise.
80000         (sinh_test_downward): Likewise.
80001         (sinh_test_upward): Likewise.
80002         (main): Call the new functions.
80003         * sysdeps/i386/fpu/libm-test-ulps: Update.
80004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80006 2012-03-05  Tom de Vries  <tom@codesourcery.com>
80008         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
80009         default stack guard is set in last bytes.
80010         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
80012 2012-03-05  Kees Cook  <keescook@chromium.org>
80014         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
80016         [BZ #13656]
80017         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
80018         possibly allocate from heap instead of stack.
80019         * stdio-common/bug-vfprintf-nargs.c: New file.
80020         * stdio-common/Makefile (tests): Add nargs overflow test.
80022 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
80024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80026 2012-03-03  Marek Polacek  <polacek@redhat.com>
80028         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
80029         * math/math_private.h: Likewise.
80030         * stdlib/tst-strtod.c: Likewise.
80031         * sysdeps/i386/i486/bits/atomic.h: Likewise.
80032         * sysdeps/x86_64/bits/atomic.h: Likewise.
80034 2012-03-02  David S. Miller  <davem@davemloft.net>
80036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
80037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
80038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
80039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
80040         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
80041         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
80042         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
80043         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
80045 2012-03-02  Roland McGrath  <roland@hack.frob.com>
80047         [BZ #13792]
80048         * manual/examples/README: New file, says the example source files
80049         can be used under GPL>=2.
80050         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
80051         line containing just "*/".
80052         * manual/examples/add.c: Add copyright header (GPL>=2).
80053         * manual/examples/argp-ex1.c: Likewise.
80054         * manual/examples/argp-ex2.c: Likewise.
80055         * manual/examples/argp-ex3.c: Likewise.
80056         * manual/examples/argp-ex4.c: Likewise.
80057         * manual/examples/atexit.c: Likewise.
80058         * manual/examples/db.c: Likewise.
80059         * manual/examples/dir.c: Likewise.
80060         * manual/examples/dir2.c: Likewise.
80061         * manual/examples/execinfo.c: Likewise.
80062         * manual/examples/filecli.c: Likewise.
80063         * manual/examples/filesrv.c: Likewise.
80064         * manual/examples/fmtmsgexpl.c: Likewise.
80065         * manual/examples/genpass.c: Likewise.
80066         * manual/examples/inetcli.c: Likewise.
80067         * manual/examples/inetsrv.c: Likewise.
80068         * manual/examples/isockad.c: Likewise.
80069         * manual/examples/longopt.c: Likewise.
80070         * manual/examples/memopen.c: Likewise.
80071         * manual/examples/memstrm.c: Likewise.
80072         * manual/examples/mkfsock.c: Likewise.
80073         * manual/examples/mkisock.c: Likewise.
80074         * manual/examples/mygetpass.c: Likewise.
80075         * manual/examples/pipe.c: Likewise.
80076         * manual/examples/popen.c: Likewise.
80077         * manual/examples/rprintf.c: Likewise.
80078         * manual/examples/search.c: Likewise.
80079         * manual/examples/select.c: Likewise.
80080         * manual/examples/setjmp.c: Likewise.
80081         * manual/examples/sigh1.c: Likewise.
80082         * manual/examples/sigusr.c: Likewise.
80083         * manual/examples/stpcpy.c: Likewise.
80084         * manual/examples/strdupa.c: Likewise.
80085         * manual/examples/strftim.c: Likewise.
80086         * manual/examples/strncat.c: Likewise.
80087         * manual/examples/subopt.c: Likewise.
80088         * manual/examples/swapcontext.c: Likewise.
80089         * manual/examples/termios.c: Likewise.
80090         * manual/examples/testopt.c: Likewise.
80091         * manual/examples/testpass.c: Likewise.
80092         * manual/examples/timeval_subtract.c: Likewise.
80094         [BZ #13792]
80095         * manual/time.texi (Elapsed Time): Move timeval_subtract example
80096         function to ...
80097         * manual/timeval_subtract.c.texi: ... here, new file.
80099 2012-03-02  David S. Miller  <davem@davemloft.net>
80101         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
80103 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
80105         [BZ #3976]
80106         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
80107         (__sin): Save and restore rounding mode and use round-to-nearest
80108         for all computations.
80109         (__cos): Save and restore rounding mode and use round-to-nearest
80110         for all computations.
80111         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
80112         <fenv.h>.
80113         (tan): Save and restore rounding mode and use round-to-nearest for
80114         all computations.
80115         * math/libm-test.inc (cos_test_tonearest): New function.
80116         (cos_test_towardzero): Likewise.
80117         (cos_test_downward): Likewise.
80118         (cos_test_upward): Likewise.
80119         (sin_test_tonearest): Likewise.
80120         (sin_test_towardzero): Likewise.
80121         (sin_test_downward): Likewise.
80122         (sin_test_upward): Likewise.
80123         (tan_test_tonearest): Likewise.
80124         (tan_test_towardzero): Likewise.
80125         (tan_test_downward): Likewise.
80126         (tan_test_upward): Likewise.
80127         (main): Call the new functions.
80128         * sysdeps/i386/fpu/libm-test-ulps: Update.
80129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80131         [BZ #10135]
80132         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
80133         small n, then large n, before computing and testing k+n.
80134         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
80135         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
80136         Likewise.
80137         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
80138         Likewise.
80139         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
80140         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
80141         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
80142         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
80143         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
80144         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
80145         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
80146         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
80147         * math/libm-test.inc (scalbn_test): Add more tests.
80148         (scalbln_test): Likewise.
80150         * manual/filesys.texi (mode_t): Describe constraints on size and
80151         signedness, not exact equivalence to a particular type.
80152         (ino_t): Likewise.
80153         (ino64_t): Likewise.
80154         (dev_t): Likewise.
80155         (nlink_t): Likewise.
80156         (blkcnt_t): Likewise.
80157         (blkcnt64_t): Likewise.
80158         * manual/llio.texi (off_t): Likewise.
80160         [BZ #3976]
80161         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
80162         (__ieee754_exp): Save and restore rounding mode and use
80163         round-to-nearest for all computations.
80164         * math/libm-test.inc (exp_test_tonearest): New function.
80165         (exp_test_towardzero): Likewise.
80166         (exp_test_downward): Likewise.
80167         (exp_test_upward): Likewise.
80168         (main): Call the new functions.
80169         * sysdeps/i386/fpu/libm-test-ulps: Update.
80170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80172 2012-03-01  Chris Demetriou  <cgd@google.com>
80174         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
80175         have predictable order.
80177 2012-03-01  David S. Miller  <davem@davemloft.net>
80179         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
80181         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
80182         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
80183         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
80184         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
80186         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
80187         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
80188         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
80189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
80190         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
80191         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
80192         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
80193         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
80194         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
80196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80198         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
80199         * sysdeps/sparc/fpu/libm-test-ulps: to here.
80200         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
80202         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
80203         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80204         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80205         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
80206         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
80207         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
80208         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
80209         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80210         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80211         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
80212         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
80213         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80214         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80215         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80216         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80217         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80218         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
80219         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
80220         * sysdeps/sparc/elf/configure: Regenerated.
80222 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
80224         * configure.in (AS, LD): Require binutils 2.20 or later.
80225         * configure: Regenerated.
80226         * manual/install.texi (Tools for Compilation): Give binutils 2.20
80227         as required minimum version.
80228         * INSTALL: Regenerated.
80230         [BZ #2541]
80231         [BZ #4108]
80232         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
80233         before squaring exponent.
80234         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
80235         bottom long double and 27 bits of top long double before squaring
80236         exponent.
80237         * math/libm-test.inc (erfc_test): Add more tests.
80238         * sysdeps/i386/fpu/libm-test-ulps: Update.
80239         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80242 2012-03-01  Kai Tietz  <ktietz@redhat.com>
80244         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
80245         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
80246         containing bit-fields.
80247         * soft-fp/extended.h (_FP_UNION_E): Likewise.
80248         * soft-fp/single.h (_FP_UNION_S): Likewise.
80249         * soft-fp/double.h (_FP_UNION_D): Likewise.
80251 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80253         [BZ #13786]
80254         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
80255         not include ../strcmp.S.
80256         [USE_AS_STRNCASECMP_L]: Likewise.
80257         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
80258         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
80259         * sysdeps/i386/i686/multiarch/strncase_l-c.c
80260         (__strncasecmp_l_ia32): Define as alias to
80261         __strncasecmp_l_nonascii.
80263         [BZ #5794]
80264         * math/libm-test.inc (expm1_test): Add test for bug 5794.
80265         * sysdeps/i386/fpu/libm-test-ulps: Update.
80266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80268         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
80269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80271 2012-02-29  Jeff Law  <law@redhat.com>
80273         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
80274         out of bounds read.
80276 2012-02-29  Marek Polacek  <polacek@redhat.com>
80278         [BZ #13706]
80279         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
80280         * elf/Makefile: Add rules to run tst-unused-dep.out.
80282 2012-02-28  David S. Miller  <davem@davemloft.net>
80284         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
80285         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
80286         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
80287         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
80288         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
80289         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
80291 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80293         * math/libm-test.inc (llround_test): Move one test from
80294         lround_test.  Use TEST_f_L in moved test.
80295         (lround_test): Move misplaced test to llround_test.  Add testcase
80296         from bug 2561.
80298 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
80300         * sysdeps/x86_64/fpu/e_expf.S: New file.
80301         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
80303 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
80305         [BZ #13637]
80306         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
80307         of remain_len that may cause incomplete multi-byte character and
80308         false match.
80309         * posix/bug-regex33.c: New file.
80310         * posix/Makefile (tests): Add bug-regex33.
80312 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
80314         * manual/macros.texi: New file.
80315         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
80316         * manual/libc.texinfo: Include macros.texi.
80317         * manual/creatute.texi: Likewise.
80318         * manual/install.texi: Likewise.
80319         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
80320         @glibcadj{} in references to the GNU C Library.
80321         * manual/charset.texi: Likewise.
80322         * manual/conf.texi: Likewise.
80323         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
80324         when not using those macros.
80325         * manual/creature.texi: Likewise.
80326         * manual/crypt.texi: Likewise.
80327         * manual/errno.texi: Likewise.
80328         * manual/filesys.texi: Likewise.
80329         * manual/header.texi: Likewise.
80330         * manual/install.texi: Likewise.
80331         * manual/intro.texi: Likewise.
80332         * manual/io.texi: Likewise.
80333         * manual/job.texi: Likewise.
80334         * manual/lang.texi: Likewise.
80335         * manual/libc.texiinfo: Likewise.
80336         * manual/llio.texi: Likewise.
80337         * manual/locale.texi: Likewise.
80338         * manual/maint.texi: Likewise.
80339         * manual/math.texi: Likewise.
80340         * manual/memory.texi: Likewise.
80341         * manual/message.texi: Likewise.
80342         * manual/nss.texi: Likewise.
80343         * manual/pattern.texi: Likewise.
80344         * manual/process.texi: Likewise.
80345         * manual/resource.texi: Likewise.
80346         * manual/search.texi: Likewise.
80347         * manual/setjmp.texi: Likewise.
80348         * manual/signal.texi: Likewise.
80349         * manual/socket.texi: Likewise.
80350         * manual/startup.texi: Likewise.
80351         * manual/stdio.texi: Likewise.
80352         * manual/string.texi: Likewise.
80353         * manual/sysinfo.texi: Likewise.
80354         * manual/syslog.texi: Likewise.
80355         * manual/terminal.texi: Likewise.
80356         * manual/time.texi: Likewise.
80357         * manual/users.texi: Likewise.
80358         * INSTALL: Regenerated.
80359         * NOTES: Regenerated.
80360         * sysdeps/gnu/errlist.c: Regenerated.
80362 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
80364         * include/dirent.h: Include <dirstream.h> before
80365         <dirent/dirent.h>.
80367 2012-02-28  David S. Miller  <davem@davemloft.net>
80369         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
80370         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
80371         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
80372         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
80374 2012-02-27  David S. Miller  <davem@davemloft.net>
80376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
80377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
80378         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
80379         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
80381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
80382         frame pointer instead of stack pointer relative arg slot.
80383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80384         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80385         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80387 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
80389         [BZ #3992]
80390         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
80392 2012-02-27  David S. Miller  <davem@davemloft.net>
80394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
80395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
80398         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80399         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80400         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
80401         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
80403 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80405         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
80406         later.  Allow versions 5-9.
80407         * configure: Regenerated.
80408         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
80409         required minimum version and 4.6 as recommended version.  Do not
80410         mention bugs in GCC 2.7 and 2.8.
80411         * INSTALL: Regenerated.
80413 2012-02-27  David S. Miller  <davem@davemloft.net>
80415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
80416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
80417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
80418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
80419         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
80420         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
80421         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
80422         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
80424         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
80425         manipulate bits before adding and subtracting TWO112[sx].
80426         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
80428 2012-02-27  Roland McGrath  <roland@hack.frob.com>
80430         [BZ #13775]
80431         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
80432         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
80433         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
80434         being in POSIX, because they are in 1003.1-2008.
80436         * rt/tst-aio.c: Include <fcntl.h>.
80437         * rt/tst-aio7.c: Likewise.
80438         * rt/tst-aio64.c: Likewise.
80440         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
80442 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80444         * manual/install.texi (--with-headers): Describe headers as
80445         interface headers, not private headers.
80446         (Specific advice for GNU/Linux systems): Describe use of headers
80447         from "make headers_install", not private headers from older
80448         kernels.
80449         * INSTALL: Regenerated.
80450         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
80451         Change to 2.6.19.
80452         * sysdeps/unix/sysv/linux/configure: Regenerated.
80454         * manual/llio.texi (fclean): Remove documentation.
80456         * manual/Makefile (libc-texi-generated): New variable.  Include
80457         version.texi.
80458         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
80459         $(libc-texi-generated), not duplicated list of files.
80460         (version.texi, stamp-version): New rules.
80461         (realclean): Remove $(libc-texi-generated), not individual files
80462         from that list.  Do not remove dir-add.texinfo.
80463         * manual/libc.texinfo: Comment out uses of edition numbers and
80464         references to printed manual.  Remove last-updated dates.
80465         (EDITION): Comment out.
80466         (ISBN): Likewise.
80467         (VERSION, UPDATED): Remove.
80468         (version.texi): Include.
80470 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
80472         * sysdeps/posix/spawni.c: Include <signal.h>.
80473         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
80474         * sysdeps/pthread/aio_fsync.c: Likewise.
80476 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
80478         * conform/Makefile (tests): Run only when not cross-compiling and
80479         when fast-check is not defined.
80481         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
80482         * conform/data/limits.h-data: Fixes for POSIX2008.
80483         * conform/run-conformtest.sh: Run all tests.
80484         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
80485         headers.
80486         * include/bits/dlfcn.h: Likewise.
80487         * include/langinfo.h: Likewise.
80488         * include/monetary.h: Likewise.
80489         * include/sys/poll.h: Likewise.
80491         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
80492         for __USE_GNU.
80493         * posix/spawn.h: Define __need_sigset_t.
80494         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
80495         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
80496         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
80497         to get sigevent_t only.
80498         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
80499         only for __USE_GNU.
80500         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80501         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
80502         process_vm_writev only for __USE_GNU.
80503         * termios/termios.h: Declare tcgetsid also for POSIX2008.
80505         * conform/Makefile: For now ignore errors from run-conformtest.
80506         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
80507         POSIX to avoid namespace pollution.  Don't prepend headers.
80508         * conform/data/aio.h-data: Fixes for POSIX testing.
80509         * conform/data/fcntl.h-data: Likewise.
80510         * conform/data/glob.h-data: Likewise.
80511         * conform/data/grp.h-data: Likewise.
80512         * conform/data/pthread.h-data: Likewise.
80513         * conform/data/pwd.h-data: Likewise.
80514         * conform/data/signal.h-data: Likewise.
80515         * conform/data/spawn.h-data: Likewise.
80516         * conform/data/stdio.h-data: Likewise.
80517         * conform/data/stdlib.h-data: Likewise.
80518         * conform/data/stropts.h-data: Likewise.
80519         * conform/data/sys/mman.h-data: Likewise.
80520         * conform/data/sys/stat.h-data: Likewise.
80521         * conform/data/sys/types.h-data: Likewise.
80522         * conform/data/sys/wait.h-data: Likewise.
80523         * conform/data/time.h-data: Likewise.
80524         * conform/data/unistd.h-data: Likewise.
80525         * conform/data/utime.h-data: Likewise.
80527         * io/sys/stat.h: fchmod was always in POSIX.
80528         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
80529         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
80530         * rt/aio.h: Define __need_timespec before including <time.h>.
80531         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
80532         struct.  Add forward declaration of pthread_attr_t and use it in
80533         sigevent.
80534         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80535         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80536         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
80537         always remove CLK_TCK definition.
80539 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
80541         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
80543 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
80545         * conform/run-conformtest.sh: New file.
80546         * conform/Makefile: Run run-conformtest for tests.
80547         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
80548         support.
80550         * conform/data/uchar.h-data: New file.
80551         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
80552         * conform/data/arpa/inet.h-data: Likewise.
80553         * conform/data/assert.h-data: Likewise.
80554         * conform/data/complex.h-data: Likewise.
80555         * conform/data/cpio.h-data: Likewise.
80556         * conform/data/ctype.h-data: Likewise.
80557         * conform/data/dirent.h-data: Likewise.
80558         * conform/data/dlfcn.h-data: Likewise.
80559         * conform/data/errno.h-data: Likewise.
80560         * conform/data/fcntl.h-data: Likewise.
80561         * conform/data/float.h-data: Likewise.
80562         * conform/data/fmtmsg.h-data: Likewise.
80563         * conform/data/fnmatch.h-data: Likewise.
80564         * conform/data/ftw.h-data: Likewise.
80565         * conform/data/glob.h-data: Likewise.
80566         * conform/data/grp.h-data: Likewise.
80567         * conform/data/iconv.h-data: Likewise.
80568         * conform/data/inttypes.h-data: Likewise.
80569         * conform/data/langinfo.h-data: Likewise.
80570         * conform/data/libgen.h-data: Likewise.
80571         * conform/data/limits.h-data: Likewise.
80572         * conform/data/locale.h-data: Likewise.
80573         * conform/data/math.h-data: Likewise.
80574         * conform/data/monetary.h-data: Likewise.
80575         * conform/data/mqueue.h-data: Likewise.
80576         * conform/data/ndbm.h-data: Likewise.
80577         * conform/data/net/if.h-data: Likewise.
80578         * conform/data/netdb.h-data: Likewise.
80579         * conform/data/netinet/in.h-data: Likewise.
80580         * conform/data/nl_types.h-data: Likewise.
80581         * conform/data/poll.h-data: Likewise.
80582         * conform/data/pthread.h-data: Likewise.
80583         * conform/data/pwd.h-data: Likewise.
80584         * conform/data/regex.h-data: Likewise.
80585         * conform/data/sched.h-data: Likewise.
80586         * conform/data/search.h-data: Likewise.
80587         * conform/data/semaphore.h-data: Likewise.
80588         * conform/data/setjmp.h-data: Likewise.
80589         * conform/data/signal.h-data: Likewise.
80590         * conform/data/spawn.h-data: Likewise.
80591         * conform/data/stdarg.h-data: Likewise.
80592         * conform/data/stdio.h-data: Likewise.
80593         * conform/data/stdlib.h-data: Likewise.
80594         * conform/data/string.h-data: Likewise.
80595         * conform/data/strings.h-data: Likewise.
80596         * conform/data/stropts.h-data: Likewise.
80597         * conform/data/sys/ipc.h-data: Likewise.
80598         * conform/data/sys/mman.h-data: Likewise.
80599         * conform/data/sys/msg.h-data: Likewise.
80600         * conform/data/sys/resource.h-data: Likewise.
80601         * conform/data/sys/select.h-data: Likewise.
80602         * conform/data/sys/sem.h-data: Likewise.
80603         * conform/data/sys/shm.h-data: Likewise.
80604         * conform/data/sys/socket.h-data: Likewise.
80605         * conform/data/sys/stat.h-data: Likewise.
80606         * conform/data/sys/statvfs.h-data: Likewise.
80607         * conform/data/sys/time.h-data: Likewise.
80608         * conform/data/sys/timeb.h-data: Likewise.
80609         * conform/data/sys/times.h-data: Likewise.
80610         * conform/data/sys/types.h-data: Likewise.
80611         * conform/data/sys/uio.h-data: Likewise.
80612         * conform/data/sys/un.h-data: Likewise.
80613         * conform/data/sys/utsname.h-data: Likewise.
80614         * conform/data/sys/wait.h-data: Likewise.
80615         * conform/data/syslog.h-data: Likewise.
80616         * conform/data/tar.h-data: Likewise.
80617         * conform/data/termios.h-data: Likewise.
80618         * conform/data/utime.h-data: Likewise.
80619         * conform/data/utmpx.h-data: Likewise.
80620         * conform/data/varargs.h-data: Likewise.
80621         * conform/data/wchar.h-data: Likewise.
80622         * conform/data/wctype.h-data: Likewise.
80623         * conform/data/wordexp.h-data: Likewise.
80625         * include/stropts.h: New file.
80626         * include/uchar.h: New file.
80627         * include/aio.h: Changes to allow conformtest.pl to use the headers.
80628         * include/assert.h: Likewise.
80629         * include/ctype.h: Likewise.
80630         * include/dirent.h: Likewise.
80631         * include/dlfcn.h: Likewise.
80632         * include/fcntl.h: Likewise.
80633         * include/fnmatch.h: Likewise.
80634         * include/glob.h: Likewise.
80635         * include/grp.h: Likewise.
80636         * include/libio.h: Likewise.
80637         * include/locale.h: Likewise.
80638         * include/math.h: Likewise.
80639         * include/net/if.h: Likewise.
80640         * include/netdb.h: Likewise.
80641         * include/netinet/in.h: Likewise.
80642         * include/pthread.h: Likewise.
80643         * include/pwd.h: Likewise.
80644         * include/regex.h: Likewise.
80645         * include/sched.h: Likewise.
80646         * include/search.h: Likewise.
80647         * include/setjmp.h: Likewise.
80648         * include/signal.h: Likewise.
80649         * include/stdio.h: Likewise.
80650         * include/stdlib.h: Likewise.
80651         * include/string.h: Likewise.
80652         * include/sys/cdefs.h: Likewise.
80653         * include/sys/mman.h: Likewise.
80654         * include/sys/msg.h: Likewise.
80655         * include/sys/resource.h: Likewise.
80656         * include/sys/select.h: Likewise.
80657         * include/sys/socket.h: Likewise.
80658         * include/sys/stat.h: Likewise.
80659         * include/sys/statvfs.h: Likewise.
80660         * include/sys/time.h: Likewise.
80661         * include/sys/times.h: Likewise.
80662         * include/sys/uio.h: Likewise.
80663         * include/sys/utsname.h: Likewise.
80664         * include/sys/wait.h: Likewise.
80665         * include/termios.h: Likewise.
80666         * include/time.h: Likewise.
80667         * include/ulimit.h: Likewise.
80668         * include/unistd.h: Likewise.
80669         * include/utime.h: Likewise.
80670         * include/wchar.h: Likewise.
80671         * include/wctype.h: Likewise.
80672         * include/wordexp.h: Likewise.
80674         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
80676         * time/time.h: TIME_UTC must be a macro.
80677         Make timespec_get available for ISO C11 only as well.
80679 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
80681         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
80682         Reported by Peng Haitao <penght@cn.fujitsu.com>.
80684 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80686         * configure.in: Use -o not -a in test for unsupported multi-arch.
80688 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80690         * manual/texinfo.tex: Update to version 2012-01-19.16.
80692 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80694         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
80696 2012-02-24  Roland McGrath  <roland@hack.frob.com>
80698         [BZ #13738]
80699         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
80700         * manual/fdl-1.3.texi: New file.
80701         * manual/fdl-1.1.texi: File removed.
80703         [BZ #13738]
80704         * manual/libc.texinfo (FDL_VERSION): New @set.
80705         Use it for mention of FDL in cover text.
80706         (Documentation License): Use it in @include file name.
80708 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80709             Roland McGrath  <roland@hack.frob.com>
80711         [BZ #5461]
80712         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
80713         (not LONG_LONG_MAX and LONG_LONG_MIN.
80714         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
80715         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
80716         name.
80717         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
80719 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80721         [BZ #2547]
80722         [BZ #11365]
80723         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
80724         manipulate bits before adding and subtracting TWO23[sx].
80725         * math/libm-test.inc (nearbyint_test): Add more tests.
80727 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80729         [BZ #2548]
80730         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
80731         bits before adding and subtracting TWO23[sx].
80732         * math/libm-test.inc (rint_test): Add more tests.
80733         (rint_test_tonearest): Likewise.
80734         (rint_test_towardzero): Likewise.
80735         (rint_test_downward): Likewise.
80736         (rint_test_upward: Likewise.
80738 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80740         [BZ #10110]
80741         * include/stdc-predef.h: New file.  Extracted from features.h.
80742         * include/features.h: Include stdc-predef.h.
80743         * Makefile (headers): Add stdc-predef.h.
80744         * CONFORMANCE (Compiler limitations): Update.
80746 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80748         * manual/libc.texinfo (VERSION, UPDATED): Revert.
80750 2012-02-21  David S. Miller  <davem@davemloft.net>
80752         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
80753         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80755 2012-02-20  David S. Miller  <davem@davemloft.net>
80757         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
80758         using a normal save/restore sequence, rather than allocating a
80759         dummy stack frame just to store a frame pointer and restore.
80760         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80762 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80764         * manual/install.texi: Fix stray word in line-wrapped comment.
80766 2012-02-20  David S. Miller  <davem@davemloft.net>
80768         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
80769         both binutils and gcc support GOTDATA.
80771         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
80772         "rd %pc" in the PIC register setup sequences.
80774         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
80775         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
80776         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80777         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
80778         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80779         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
80780         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80781         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80782         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
80783         (SYSCALL_ERROR_HANDLER): Likewise.
80784         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80785         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80786         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
80787         (SYSCALL_ERROR_HANDLER): Likewise.
80789         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
80790         (HAVE_GCC_GOTDATA): New.
80791         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
80792         relocation support in both binutils and gcc.
80793         * sysdeps/sparc/elf/configure: Regenerate.
80795         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
80796         * sysdeps/sparc/sparc32/elf/configure: Delete.
80797         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
80798         * sysdeps/sparc/sparc64/elf/configure: Delete.
80799         * sysdeps/sparc/elf/configure.in: New file.
80800         * sysdeps/sparc/elf/configure: Generate.
80802         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
80803         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
80804         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80805         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
80806         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
80808 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80810         * manual/install.texi: Do not mention specific glibc version
80811         numbers.
80812         * manual/libc.texinfo (VERSION, UPDATED): Update.
80813         (@copying): Use @copyright{} and range of years.
80815 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80817         [BZ #13695]
80818         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
80819         [crti.S not in sysdirs] (generated): Do not append.
80820         [crti.S not in sysdirs] (omit-deps): Likewise.
80821         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
80822         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
80823         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
80824         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
80825         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
80826         Likewise.
80827         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
80828         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
80829         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
80830         * csu/defs.awk: Remove file.
80831         * sysdeps/generic/initfini.c: Likewise.
80832         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
80833         variable.
80834         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
80835         Likewise.
80837 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80839         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
80840         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
80841         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
80842         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
80843         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80844         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
80845         <bits/epoll.h>.
80846         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
80847         (__EPOLL_PACKED): Define to empty if not defined by
80848         <bits/epoll.h>.
80849         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
80850         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80851         bits/epoll.h.
80853 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80855         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
80856         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
80857         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
80858         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
80859         <bits/timerfd.h>.
80860         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
80861         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80862         bits/timerfd.h.
80864 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80866         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
80867         in C locale.
80868         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80869         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
80870         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
80871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80873 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
80875         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80876         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80878 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
80880         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
80881         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
80882         defined.
80883         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
80884         Likewise.
80885         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
80886         entry for 2.16.
80888 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
80890         * math/w_acos.c: Use non-signaling floating-point comparisons.
80891         * math/w_acosf.c: Likewise.
80892         * math/w_acosh.c: Likewise.
80893         * math/w_acoshf.c: Likewise.
80894         * math/w_acoshl.c: Likewise.
80895         * math/w_acosl.c: Likewise.
80896         * math/w_asin.c: Likewise.
80897         * math/w_asinf.c: Likewise.
80898         * math/w_asinl.c: Likewise.
80899         * math/w_atanh.c: Likewise.
80900         * math/w_atanhf.c: Likewise.
80901         * math/w_atanhl.c: Likewise.
80902         * math/w_exp2.c: Likewise.
80903         * math/w_exp2f.c: Likewise.
80904         * math/w_exp2l.c: Likewise.
80905         * math/w_j0.c: Likewise.
80906         * math/w_j0f.c: Likewise.
80907         * math/w_j0l.c: Likewise.
80908         * math/w_j1.c: Likewise.
80909         * math/w_j1f.c: Likewise.
80910         * math/w_j1l.c: Likewise.
80911         * math/w_jn.c: Likewise.
80912         * math/w_jnf.c: Likewise.
80913         * math/w_log.c: Likewise.
80914         * math/w_log10.c: Likewise.
80915         * math/w_log10f.c: Likewise.
80916         * math/w_log10l.c: Likewise.
80917         * math/w_log2.c: Likewise.
80918         * math/w_log2f.c: Likewise.
80919         * math/w_log2l.c: Likewise.
80920         * math/w_logf.c: Likewise.
80921         * math/w_logl.c: Likewise.
80922         * math/w_sqrt.c: Likewise.
80923         * math/w_sqrtf.c: Likewise.
80924         * math/w_sqrtl.c: Likewise.
80925         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80926         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
80927         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80928         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80929         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80931 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80933         [BZ #9739]
80934         * manual/string.texi (strnlen): Use correct parameter name in
80935         equivalent expression.
80937 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80939         [BZ #11174]
80940         * manual/users.texi (seteuid): Consistently use neweuid for
80941         argument name.
80943 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80945         [BZ #13704]
80946         * manual/nss.texi (Services in the NSS configuration): Correct
80947         list of services in example configuration file.
80949 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
80951         [BZ #11322]
80952         * manual/arith.texi: Remove statements about negative zero
80953         behaving identically to zero.
80955 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80957         [BZ #5993]
80958         * manual/install.texi: Do not document upgrading from libc5.
80960 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80962         [BZ #4596]
80963         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
80965 2012-02-18  David S. Miller  <davem@davemloft.net>
80967         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
80968         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
80969         %o7 across the call.
80970         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
80971         instead.
80972         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
80973         SETUP_PIC_REG_LEAF.
80974         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80975         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
80976         * sysdeps/sparc/crtn.S: Likewise.
80978 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
80980         * aout/Makefile: Remove.
80982 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
80984         [BZ #13058]
80985         * manual/examples/argp-ex1.c (main): Format definition in GNU
80986         style.
80987         * manual/examples/argp-ex2.c (main): Likewise.
80988         * manual/examples/argp-ex3.c (main): Likewise.
80989         * manual/examples/argp-ex4.c (main): Likewise.
80990         * manual/examples/longopt.c (main): Use new-style prototype
80991         definition.
80992         * manual/examples/strncat.c (main): Specify return type and use
80993         (void) for arguments.
80994         * manual/examples/subopt.c (main): Use char **argv argument.
80996 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80998         [BZ #5077]
80999         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
81000         rounding modes.
81002 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
81004         [BZ #6907]
81005         * manual/string.texi (strchr): Change when strchrnul is
81006         recommended.
81008 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
81010         [BZ #174]
81011         * manual/locale.texi (setlocale): Document LOCPATH.
81013 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81015         [BZ #10210]
81016         * manual/process.texi (execle): Move @dots{} before last argument.
81018 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
81020         [BZ #12047]
81021         * manual/charset.texi (Generic Charset Conversion): Fix typo
81022         (LC_TYPE -> LC_CTYPE).
81024 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
81026         [BZ #5805]
81027         * manual/arith.texi (scalbn): Use @var{} on parameter names.
81028         (scalbnf): Likewise.
81029         (scalbnl): Likewise.
81030         (scalbln): Likewise.
81031         (scalblnf): Likewise.
81032         (scalblnl): Likewise.
81033         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
81034         (vwarnx): Likewise.
81035         (verr): Likewise.
81036         (verrx): Likewise.
81037         * manual/filesys.texi (telldir): Use braces around return type.
81038         * manual/llio.texi (mmap): Add space after comma.
81039         (mmap64): Likewise.
81040         * manual/math.texi (jn): Use @var{} on parameter names.
81041         (jnf): Likewise.
81042         (jnl): Likewise.
81043         (yn): Likewise.
81044         (ynf): Likewise.
81045         (ynl): Likewise.
81046         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
81047         line.
81048         * manual/resource.texi (ulimit): Use @dots{} instead of literal
81049         "...".
81050         (sched_get_priority_min): Remove semicolon on @deftypefun line.
81051         (sched_get_priority_max): Likewise.
81052         * manual/signal.texi (sigvec): Add space after comma.
81053         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
81054         names.
81055         (if_indextoname): Likewise.
81056         (if_freenameindex): Likewise.
81057         (sendto): Use ',' instead of '.' in prototype.
81058         * manual/startup.texi (syscall): Use @dots{} instead of literal
81059         "...".
81060         * manual/stdio.texi (__fpending): Separate initial words of
81061         paragraph from @deftypefun line.
81062         * manual/syslog.texi (syslog): Use @dots{} instead of literal
81063         "...".
81064         (vsyslog): Use @var{} on parameter names.
81065         * manual/terminal.texi (stty): Use @var{} on parameter names.
81066         * manual/users.texi (getutmp): Use @var{} on parameter names.
81067         (getutmpx): Likewise.
81069 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81071         [BZ #6884]
81072         * manual/stdio.texi (fopen): Fix typos in description of
81073         ",ccs=STRING".
81075 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
81077         [BZ #4026]
81078         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
81079         get clock_id definition.
81081 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
81083         [BZ #4822]
81084         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
81085         (madvise): Cast every argument to void on its own.
81087 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81089         [BZ #9902]
81090         * manual/startup.texi (Exit Status): Fix typo.
81092 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81094         [BZ #10140]
81095         * manual/examples/argp-ex1.c: Include <stdlib.h>.
81096         * manual/examples/argp-ex2.c: Likewise.
81097         * manual/examples/argp-ex3.c: Likewise.
81099 2012-02-16  Richard Henderson  <rth@redhat.com>
81101         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
81102         * sysdeps/s390/s390-32/initfini.c: Remove.
81103         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
81104         * sysdeps/s390/s390-64/initfini.c: Remove.
81106 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
81108         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
81109         compiler output for sysdeps/generic/initfini.c.
81110         * sysdeps/sh/elf/initfini.c: Remove file.
81112 2012-02-16  David S. Miller  <davem@davemloft.net>
81114         [BZ #11494]
81115         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
81117         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
81118         * sysdeps/sparc/crti.S: New file.
81119         * sysdeps/sparc/crtn.S: New file.
81120         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
81121         * sysdeps/sparc/sparc64/Makefile: Likewise.
81123 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
81125         [BZ #3335]
81126         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
81128 2012-02-15  Roland McGrath  <roland@hack.frob.com>
81130         [BZ #4822]
81131         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
81133         * mach/devstream.c (cookie_io_functions_t): Macro removed.
81134         (write, read, close): Likewise.
81135         Patch by Aurelien Jarno <aurelien@aurel32.net>.
81137 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
81139         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
81140         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
81141         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
81142         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
81143         <bits/signalfd.h>.
81144         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
81145         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81146         bits/signalfd.h.
81148 2012-02-14  Marek Polacek  <polacek@redhat.com>
81150         * sysdeps/x86_64/crti.S: New file.
81151         * sysdeps/x86_64/crtn.S: New file.
81152         * sysdeps/x86_64/elf/initfini.c: Remove file.
81154 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81156         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
81157         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
81158         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
81159         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
81160         <bits/inotify.h>.
81161         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
81162         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81163         bits/inotify.h.
81165 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81167         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
81168         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
81169         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
81170         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
81171         <bits/eventfd.h>.
81172         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
81173         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81174         bits/eventfd.h.
81176 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
81178         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
81179         __feraiseexcept instead of feraiseexcept.
81181         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
81182         nanosleep invocations.
81183         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
81184         strings, and add error checking for a nanosleep invocations.
81186 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
81188         Replace FSF snail mail address with URLs, as per GNU coding standards.
81189         Most of the snail mail addresses were wrong anyway, and omitting
81190         them makes the source code easier to maintain.  Almost all of the
81191         changes are to license notices and to locale LC_IDENTIFICATION
81192         addresses, except for this one:
81193         * manual/libc.texinfo: In "Published by", give the FSF's URL,
81194         not its snail mail address.
81196 2012-02-09  Richard Henderson  <rth@twiddle.net>
81198         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
81199         of kernel-features.h.
81201         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
81203 2012-02-08  Marek Polacek  <polacek@redhat.com>
81205         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
81206         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
81207         * sysdeps/gnu/_G_config.h: Likewise.
81208         * sysdeps/generic/_G_config.h: Likewise.
81210 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
81212         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
81213         tests.
81214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81216         * sysdeps/powerpc/powerpc32/crti.S: New file.
81217         * sysdeps/powerpc/powerpc32/crtn.S: New file.
81218         * sysdeps/powerpc/powerpc64/crti.S: New file.
81219         * sysdeps/powerpc/powerpc64/crtn.S: New file.
81221         * Makeconfig (have-initfini): Don't set.
81222         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
81223         * configure.in (nopic_initfini): Don't substitute.
81224         * config.h.in (HAVE_INITFINI): Don't #undef.
81225         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
81226         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
81228 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
81230         Support crti.S and crtn.S provided directly by architectures.
81231         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
81232         [crti.S in sysdirs] (omit-deps): Likewise.
81233         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
81234         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
81235         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
81236         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
81237         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
81238         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
81239         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
81240         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
81241         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
81242         compiler output for sysdeps/generic/initfini.c.
81243         * sysdeps/i386/elf/Makefile: Remove file.
81244         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
81246 2012-02-07  Marek Polacek  <polacek@redhat.com>
81248         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
81249         * sysdeps/gnu/_G_config.h: Likewise.
81250         * sysdeps/mach/hurd/_G_config.h: Likewise.
81252 2012-02-07  Marek Polacek  <polacek@redhat.com>
81254         * math/Makefile (tests): Add tst-CMPLX2.
81255         * math/tst-CMPLX2.c: New file.
81257 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
81259         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81261         * math/libm-test.inc (jn_test): Add missing L suffix.
81263 2012-02-06  Marek Polacek  <polacek@redhat.com>
81265         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
81266         * sysdeps/i386/fpu/e_powf.S: Likewise.
81267         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
81268         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81269         * sysdeps/i386/fpu/e_acosh.S: Likewise.
81270         * sysdeps/i386/fpu/e_pow.S: Likewise.
81271         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
81272         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
81273         * sysdeps/i386/fpu/s_expm1.S: Likewise.
81274         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
81275         * sysdeps/i386/fpu/e_log2.S: Likewise.
81276         * sysdeps/i386/fpu/e_log2l.S: Likewise.
81277         * sysdeps/i386/fpu/e_scalb.S: Likewise.
81278         * sysdeps/i386/fpu/e_powl.S: Likewise.
81279         * sysdeps/i386/fpu/s_log1p.S: Likewise.
81280         * sysdeps/i386/fpu/e_log10f.S: Likewise.
81281         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
81282         * sysdeps/i386/fpu/e_logl.S: Likewise.
81283         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
81284         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
81285         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
81286         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
81287         * sysdeps/i386/fpu/e_log2f.S: Likewise.
81288         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
81289         * sysdeps/i386/fpu/e_log.S: Likewise.
81290         * sysdeps/i386/fpu/s_cexp.S: Likewise.
81291         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
81292         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
81293         * sysdeps/i386/fpu/e_logf.S: Likewise.
81294         * sysdeps/i386/fpu/e_log10l.S: Likewise.
81295         * sysdeps/i386/fpu/e_atanh.S: Likewise.
81296         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
81297         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
81298         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81299         * sysdeps/i386/fpu/e_log10.S: Likewise.
81300         * sysdeps/i386/fpu/s_frexp.S: Likewise.
81301         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
81302         * sysdeps/i386/fpu/s_asinh.S: Likewise.
81303         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
81304         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
81305         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
81306         * sysdeps/i386/asm-syntax.h: Likewise.
81307         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81308         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81309         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81310         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
81311         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
81312         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81313         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
81314         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
81315         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81316         * sysdeps/powerpc/sysdep.h: Likewise.
81317         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
81318         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
81320 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81322         [BZ #411]
81323         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
81325 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81327         * sysdeps/i386/sysdep.h: Include <features.h>.
81328         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
81329         version.
81331 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
81333         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
81334         Define.
81335         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
81336         LOAD_PIC_REG_STR.
81338 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81340         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
81341         (SETUP_PIC_REG): Use GET_PC_THUNK.
81342         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
81343         macro.
81345 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81347         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
81348         for non-PIC compilation.
81349         (SETUP_PIC_REG): Add .p2align directive.
81350         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
81351         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
81352         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
81353         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
81354         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
81355         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
81356         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
81357         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81358         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
81359         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
81360         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
81361         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
81362         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
81363         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
81364         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
81365         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
81366         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
81367         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
81368         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
81369         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
81370         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
81371         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
81372         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
81373         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
81374         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
81375         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
81376         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81377         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
81378         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
81379         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
81380         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
81381         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81382         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
81383         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
81384         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
81385         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
81386         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
81387         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
81388         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
81389         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
81390         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
81392 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81394         * math/tst-CMPLX.c: Include <stdio.h>.
81396 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
81398         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
81399         float.
81400         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81401         * sysdeps/sparc/bits/mathdef.h: Likewise.
81403 2012-01-31  Marek Polacek  <polacek@redhat.com>
81405         * libio/libio.h: Don't define _PARAMS.
81406         * locale/programs/config.h: Don't define PARAMS.
81407         * stdlib/strtol_l.c: Likewise.
81408         (__strtol_l): Remove PARAMS from the prototype.
81410 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
81412         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
81413         names.  Just use the correct names.  Remove unnecessary wrapper
81414         functions.
81415         * malloc/arena.c: Likewise.
81416         * malloc/hooks.c: Likewise.
81418         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
81419         ARENA_TEST says not to.  Simplify test for creation of a new arena.
81420         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
81422 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
81424         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
81425         into tail calls.
81426         (update_get_addr): New function.
81427         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
81428         GET_ADDR_MODULE parameter.
81430 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81432         * crypt/cert.c: Remove __STDC__ conditionals.
81433         * crypt/crypt-entry.c: Likewise.
81434         * crypt/crypt_util.c: Likewise.
81435         * libio/filedoalloc.c: Likewise.
81436         * libio/fileops.c: Likewise.
81437         * libio/genops.c: Likewise.
81438         * libio/iofclose.c: Likewise.
81439         * libio/iofdopen.c: Likewise.
81440         * libio/iofopen.c: Likewise.
81441         * libio/iofopen64.c: Likewise.
81442         * libio/iogetdelim.c: Likewise.
81443         * libio/iopopen.c: Likewise.
81444         * libio/obprintf.c: Likewise.
81445         * libio/oldfileops.c: Likewise.
81446         * libio/oldiofclose.c: Likewise.
81447         * libio/oldiofdopen.c: Likewise.
81448         * libio/oldiofopen.c: Likewise.
81449         * libio/oldiopopen.c: Likewise.
81450         * libio/wfiledoalloc.c: Likewise.
81451         * libio/wgenops.c: Likewise.
81452         * locale/programs/xmalloc.c: Likewise.
81453         * misc/syslog.c: Likewise.
81454         * stdio-common/xbug.c: Likewise.
81455         * string/memchr.c: Likewise.
81456         * string/memcmp.c: Likewise.
81457         * string/memrchr.c: Likewise.
81458         * string/rawmemchr.c: Likewise.
81459         * sysdeps/posix/getcwd.c: Likewise.
81460         * time/strftime_l.c: Likewise.
81462 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81464         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
81465         * config.make.in (config-cflags-sse2avx): Define.
81466         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
81467         Fix typo.
81469 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
81471         * scripts/config.guess: Update from upstream config git repository.
81472         * scripts/config.sub: Likewise.
81474 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
81476         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
81477         (EM_NUM): Update.
81478         (R_TILEPRO_*, R_TILEGX_*): New macros.
81480         * scripts/firstversions.awk: Fix bug in version range handling.
81482         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
81484         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
81486         * include/sys/epoll.h: New file.
81487         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
81488         libc_hidden_def.
81490 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
81492         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
81493         Avoid unnecessary __WORDSIZE == 64 test.
81494         (fmaxf): Use VEX format if possible.
81495         (fmax): Likewise.
81496         (fminf): Likewise.
81497         (fmin): Likewise.
81499         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
81500         * math/math_private.h: Remove libc_fegetround* and
81501         libc_fesetround*.
81502         * sysdeps/i386/configure.in: Check for -msse2avx.
81503         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
81504         also if SSE2AVX is defined.
81505         Remove libc_fegetround* and libc_fesetround*.
81506         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
81507         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
81508         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
81509         of HAS_YMM_USABLE.
81510         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81511         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81512         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81513         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81514         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81516         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
81518 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81520         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
81521         size is not set.
81522         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81524 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
81526         [BZ #13618]
81527         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
81528         relocation.
81529         * Makeconfig (libm): Define.
81530         * elf/Makefile: Add rules to build and run tst-relsort1.
81531         * elf/tst-relsort1.c: New file.
81532         * elf/tst-relsort1mod1.c: New file.
81533         * elf/tst-relsort1mod2.c: New file.
81535 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
81537         * math/s_ldexp.c: Remove __STDC__ conditionals.
81538         * math/s_ldexpf.c: Likewise.
81539         * math/s_ldexpl.c: Likewise.
81540         * math/s_nextafter.c: Likewise.
81541         * math/s_nexttowardf.c: Likewise.
81542         * math/s_significand.c: Likewise.
81543         * math/s_significandf.c: Likewise.
81544         * math/s_significandl.c: Likewise.
81545         * math/w_jnl.c: Likewise.
81546         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81547         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81548         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81549         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81550         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81551         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81552         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
81553         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81554         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81555         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81556         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81557         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81558         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81559         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81560         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81561         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81562         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81563         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81564         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81565         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81566         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81567         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81568         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81569         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81570         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81571         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81572         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81573         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81574         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81575         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81576         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81577         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81578         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81579         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81580         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81581         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81582         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81583         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81584         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81585         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81586         * sysdeps/ieee754/k_standard.c: Likewise.
81587         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81588         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81589         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81590         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81591         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81592         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81593         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81594         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81595         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81596         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81597         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81598         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81599         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81600         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81601         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81602         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81603         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81604         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81605         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81606         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81607         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81608         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81609         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81610         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81611         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81612         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81613         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81614         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81615         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81616         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81617         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81618         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
81619         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81620         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81621         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81622         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81623         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
81624         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81625         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81626         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
81627         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
81628         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81629         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
81630         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
81631         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81632         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
81633         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
81634         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81635         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81636         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
81637         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
81638         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81639         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81640         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81641         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81642         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81643         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
81644         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81645         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81646         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81647         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81648         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81649         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81650         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81651         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81652         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81653         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81654         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81655         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81656         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81657         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81658         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81659         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81660         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81661         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81662         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81663         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81664         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81665         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81666         * sysdeps/ieee754/s_matherr.c: Likewise.
81667         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81668         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81669         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81670         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81672 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81674         * crypt/md5.h: Remove __STDC__ conditionals.
81675         * libio/libioP.h: Likewise.
81676         * locale/programs/config.h: Likewise.
81677         * sysdeps/generic/sysdep.h: Likewise.
81678         * sysdeps/i386/asm-syntax.h: Likewise.
81679         * sysdeps/s390/asm-syntax.h: Likewise.
81680         * sysdeps/unix/sysdep.h: Likewise.
81681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
81682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
81684 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81686         * libio/libio.h: Remove __STDC__ conditionals.
81687         * malloc/obstack.h: Likewise.
81688         * math/complex.h: Likewise.
81689         * math/math.h: Likewise.
81690         * sysdeps/generic/_G_config.h: Likewise.
81691         * sysdeps/gnu/_G_config.h: Likewise.
81692         * sysdeps/mach/hurd/_G_config.h: Likewise.
81693         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81694         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81695         * sysdeps/sparc/bits/mathdef.h: Likewise.
81697 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
81699         [BZ #13583]
81700         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
81701         Clean up HAS_* macros.
81702         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
81703         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
81704         possible.
81705         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
81706         HAS_AVX.
81707         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81708         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81709         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81710         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81711         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81713 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
81715         * elf/tst-unique3.cc (gets): Remove declaration.
81716         * elf/tst-unique3lib.cc (gets): Likewise.
81717         * elf/tst-unique3lib2.cc (gets): Likewise.
81718         * elf/tst-unique4.cc (gets): Likewise.
81720 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
81722         * include/stdio.h: Add C++ protection.  Add gets declarations and
81723         definitions.
81724         * debug/tst-chk1.c: Don't declare gets here.
81725         * stdio-common/tst-gets.c: Likewise.
81727 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81729         * posix/glob: Remove directory.
81731 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81733         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
81735 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
81737         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
81738         of the non-standard EPFNOSUPPORT.
81740 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81742         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
81743         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
81744         ANYWHERE set to 1 only on KERN_NO_SPACE error.
81746 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
81748         * wcsmbs/uchar.h: Test __STDC_VERSION__.
81750 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
81752         * nscd/aicache.c (addhstaiX): Do not cache negative results of
81753         transient errors.
81754         * nscd/grpcache.c (cache_addgr): Likewise.
81755         * nscd/hstcache.c (cache_addhst): Likewise.
81756         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81757         * nscd/pwdcache.c (cache_addpw): Likewise.
81758         * nscd/servicescache.c (cache_addserv): Likewise.
81760 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
81762         * malloc/malloc.c: Various cleanups.
81763         * malloc/hooks.c: Likewise.
81765         * stdlib/Makefile (tests): Add bug-fmtmsg1.
81766         * stdlib/bug-fmtmsg1.c: New file.
81768         * stdlib/fmtmsg.c (init): Add missing unlock.
81769         Patch by Peng Haitao <penght@cn.fujitsu.com>.
81771 2012-01-12  Marek Polacek  <polacek@redhat.com>
81773         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
81774         and _GNU_SOURCE.
81776 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81778         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
81779         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
81780         macro to ensure uniqueness of label name.
81781         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81782         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81784 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
81786         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
81788         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
81789         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81790         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81791         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
81793 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
81795         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
81797         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
81798         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81799         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81801         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
81803         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
81804         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81805         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81806         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
81808         * math/bits/math-finite.h: Add ldexp support.
81810 2012-01-10  Marek Polacek  <polacek@redhat.com>
81812         * locale/programs/localedef.h (show_archive_content): Add noreturn
81813         attribute.
81815 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
81817         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
81819 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81821         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
81823         * io/Makefile (headers): Add bits/poll2.h.
81825 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
81827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
81828         typo #include statement.
81830 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81832         * include/sys/cdefs.h: Define __attribute_alloc_size.
81833         * catgets/gencat.c: Add alloc_size attribute and apply consistently
81834         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
81835         * elf/pldd.c: Likewise.
81836         * iconv/iconv_charmap.c: Likewise.
81837         * iconv/iconvconfig.c: Likewise.
81838         * iconv/strtab.c: Likewise.
81839         * locale/programs/locale.c: Likewise.
81840         * locale/programs/localedef.h: Likewise.
81841         * locale/programs/simple-hash.c: Likewise.
81842         * nscd/nscd.h: Likewise.
81843         * nss/makedb.c: Likewise.
81844         * sysdeps/generic/ldconfig.h: Likewise.
81845         * locale/programs/localedef.c: Remove xmalloc prototype.
81846         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
81848 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81850         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
81851         appropriate.
81853 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81855         * math/Makefile (tests): Add tst-CMPLX.
81856         * math/tst-CMPLX.c: New file.
81858         * math/complex.h (CMPLXL): Fix typo.
81860         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
81861         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
81862         GLIBC_2.16.
81863         * debug/tst-chk1.c: Add poll and ppoll tests.
81864         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
81865         * include/sys/poll.h: Add hidden proto for ppoll.
81866         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
81867         * sysdeps/mach/hurd/ppoll.c: Likewise.
81868         * io/ppoll.c: Likewise.
81869         * debug/poll_chk.c: New file.
81870         * debug/ppoll_chk.c: New file.
81871         * include/bits/poll2.h: New file.
81872         * io/bits/poll2.h: New file.
81874         [BZ #1350]
81875         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
81877         * configure.in: static is always set to yes.  Remove.
81878         * config.make.in: Don't set build-static.
81879         * Makeconfig: Remove use of build-static.
81880         * dlfcn/Makefile: Likewise.
81881         * elf/Makefile: Likewise.
81882         * math/Makefile: Likewise.
81883         * misc/Makefile: Likewise.
81884         * nptl/Makefile: Likewise.
81885         * sysdeps/mach/hurd/Makefile: Likewise.
81887         * configure.in: PWD_P is not used anymore.
81888         * config.make.in: Remove PWD_P entry.
81890         * configure.in: Remove last remnants of RANLIB.
81891         No need to check for signed size_t anymore.
81892         Don't set libc_commonpagesize and libc_relro_required here for Alpha
81893         and IA-64.
81894         Remove __builtin_expect test because we require at least gcc 3.4.
81895         * aclocal.m4: Likewise.
81897         * wcsmbs/mbrtoc16.c: Implement using towc function.
81898         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
81899         * wcsmbs/wcsmbsload.c: Likewise.
81900         * iconv/gconv_simple.c: Likewise.
81901         * iconv/gconv_int.h: Likewise.
81902         * iconv/gconv_builtin.h: Likewise.
81903         * iconv/iconv_prog.c: Remove CHAR16 handling.
81905         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
81907         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
81909         * configure.in: Remove --with-elf and --enable-bounded options.
81910         Dont set base_machine for ia64.  More non-ELF conditions removed.
81911         Remove testing and setting of leading underscore information.
81912         * config.make.in (build-bounded): Set to no.
81913         * config.h.in: Remove NO_UNDERSCORES entry.
81914         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
81915         them.
81916         * csu/start.c: Remove !NO_UNDERSCORE code.
81917         * locale/localeinfo.h: Likewise.
81918         * sysdeps/generic/machine-gmon.h: Likewise.
81919         * sysdeps/generic/sysdep.h: Likewise.
81920         * sysdeps/i386/sysdep.h: Likewise.
81921         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81922         * sysdeps/mach/sysdep.h: Likewise.
81923         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81924         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81925         * sysdeps/sh/sysdep.h: Likewise.
81926         * sysdeps/sparc/sparc32/alloca.S: Likewise.
81927         * sysdeps/unix/i386/sysdep.S: Likewise.
81928         * sysdeps/unix/sparc/start.c: Likewise.
81929         * sysdeps/unix/sparc/sysdep.S: Likewise.
81930         * sysdeps/unix/sparc/sysdep.h: Likewise.
81931         * sysdeps/unix/start.c: Likewise.
81932         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81933         * sysdeps/x86_64/sysdep.h: Likewise.
81935 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
81937         [BZ #13553]
81938         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
81939         for non-gcc.
81940         * argp/argp-fmtstream.h: Use const instead __const.
81941         * argp/argp.h: Likewise.
81942         * assert/assert.h: Likewise.
81943         * bits/fenv.h: Likewise.
81944         * bits/sched.h: Likewise.
81945         * bits/sigset.h: Likewise.
81946         * bits/sigthread.h: Likewise.
81947         * catgets/nl_types.h: Likewise.
81948         * conform/data/pthread.h-data: Likewise.
81949         * crypt/crypt-private.h: Likewise.
81950         * crypt/crypt.h: Likewise.
81951         * crypt/crypt_util.c: Likewise.
81952         * ctype/ctype.h: Likewise.
81953         * debug/execinfo.h: Likewise.
81954         * debug/mbsnrtowcs_chk.c: Likewise.
81955         * debug/mbsrtowcs_chk.c: Likewise.
81956         * debug/wcsnrtombs_chk.c: Likewise.
81957         * debug/wcsrtombs_chk.c: Likewise.
81958         * debug/wcstombs_chk.c: Likewise.
81959         * dirent/dirent.h: Likewise.
81960         * dlfcn/dlfcn.h: Likewise.
81961         * elf/neededtest4.c: Likewise.
81962         * grp/grp.h: Likewise.
81963         * gshadow/gshadow.h: Likewise.
81964         * iconv/gconv.h: Likewise.
81965         * iconv/gconv_int.h: Likewise.
81966         * iconv/gconv_simple.c: Likewise.
81967         * iconv/iconv.h: Likewise.
81968         * iconv/loop.c: Likewise.
81969         * iconv/skeleton.c: Likewise.
81970         * include/aio.h: Likewise.
81971         * include/aliases.h: Likewise.
81972         * include/argz.h: Likewise.
81973         * include/arpa/inet.h: Likewise.
81974         * include/assert.h: Likewise.
81975         * include/dirent.h: Likewise.
81976         * include/dlfcn.h: Likewise.
81977         * include/execinfo.h: Likewise.
81978         * include/fcntl.h: Likewise.
81979         * include/fenv.h: Likewise.
81980         * include/glob.h: Likewise.
81981         * include/grp.h: Likewise.
81982         * include/libintl.h: Likewise.
81983         * include/mntent.h: Likewise.
81984         * include/netdb.h: Likewise.
81985         * include/pwd.h: Likewise.
81986         * include/rpc/netdb.h: Likewise.
81987         * include/sched.h: Likewise.
81988         * include/search.h: Likewise.
81989         * include/shadow.h: Likewise.
81990         * include/signal.h: Likewise.
81991         * include/stdio.h: Likewise.
81992         * include/stdlib.h: Likewise.
81993         * include/string.h: Likewise.
81994         * include/sys/socket.h: Likewise.
81995         * include/sys/stat.h: Likewise.
81996         * include/sys/statfs.h: Likewise.
81997         * include/sys/statvfs.h: Likewise.
81998         * include/sys/syslog.h: Likewise.
81999         * include/sys/time.h: Likewise.
82000         * include/sys/uio.h: Likewise.
82001         * include/time.h: Likewise.
82002         * include/unistd.h: Likewise.
82003         * include/utmp.h: Likewise.
82004         * include/wchar.h: Likewise.
82005         * include/wctype.h: Likewise.
82006         * inet/aliases.h: Likewise.
82007         * inet/arpa/inet.h: Likewise.
82008         * inet/netinet/ether.h: Likewise.
82009         * inet/netinet/in.h: Likewise.
82010         * intl/libintl.h: Likewise.
82011         * io/bits/fcntl2.h: Likewise.
82012         * io/fcntl.h: Likewise.
82013         * io/ftw.h: Likewise.
82014         * io/sys/poll.h: Likewise.
82015         * io/sys/stat.h: Likewise.
82016         * io/sys/statfs.h: Likewise.
82017         * io/sys/statvfs.h: Likewise.
82018         * io/utime.h: Likewise.
82019         * libio/bits/stdio.h: Likewise.
82020         * libio/bits/stdio2.h: Likewise.
82021         * libio/libio.h: Likewise.
82022         * libio/libioP.h: Likewise.
82023         * libio/stdio.h: Likewise.
82024         * locale/lc-ctype.c: Likewise.
82025         * locale/locale.h: Likewise.
82026         * login/utmp.h: Likewise.
82027         * malloc/arena.c: Likewise.
82028         * malloc/malloc.c: Likewise.
82029         * malloc/malloc.h: Likewise.
82030         * malloc/mcheck.c: Likewise.
82031         * malloc/mtrace.c: Likewise.
82032         * math/bits/mathcalls.h: Likewise.
82033         * math/fenv.h: Likewise.
82034         * math/math_private.h: Likewise.
82035         * misc/bits/error.h: Likewise.
82036         * misc/bits/syslog.h: Likewise.
82037         * misc/err.h: Likewise.
82038         * misc/error.h: Likewise.
82039         * misc/fstab.h: Likewise.
82040         * misc/mntent.h: Likewise.
82041         * misc/regexp.h: Likewise.
82042         * misc/search.h: Likewise.
82043         * misc/sgtty.h: Likewise.
82044         * misc/sys/mman.h: Likewise.
82045         * misc/sys/syslog.h: Likewise.
82046         * misc/sys/uio.h: Likewise.
82047         * misc/sys/xattr.h: Likewise.
82048         * misc/ttyent.h: Likewise.
82049         * nis/rpcsvc/ypclnt.h: Likewise.
82050         * nss/nss.h: Likewise.
82051         * posix/bits/unistd.h: Likewise.
82052         * posix/fnmatch.h: Likewise.
82053         * posix/glob.h: Likewise.
82054         * posix/sched.h: Likewise.
82055         * posix/spawn.h: Likewise.
82056         * posix/sys/wait.h: Likewise.
82057         * posix/unistd.h: Likewise.
82058         * posix/wordexp.h: Likewise.
82059         * pwd/pwd.h: Likewise.
82060         * resolv/netdb.h: Likewise.
82061         * resource/sys/resource.h: Likewise.
82062         * rt/aio.h: Likewise.
82063         * rt/bits/mqueue2.h: Likewise.
82064         * rt/mqueue.h: Likewise.
82065         * shadow/shadow.h: Likewise.
82066         * signal/signal.h: Likewise.
82067         * socket/send.c: Likewise.
82068         * socket/sendto.c: Likewise.
82069         * socket/sys/socket.h: Likewise.
82070         * stdio-common/printf.h: Likewise.
82071         * stdlib/bits/stdlib.h: Likewise.
82072         * stdlib/fmtmsg.h: Likewise.
82073         * stdlib/monetary.h: Likewise.
82074         * stdlib/stdlib.h: Likewise.
82075         * stdlib/ucontext.h: Likewise.
82076         * streams/stropts.h: Likewise.
82077         * string/argz.h: Likewise.
82078         * string/bits/string2.h: Likewise.
82079         * string/string.h: Likewise.
82080         * string/strings.h: Likewise.
82081         * sunrpc/rpc/auth.h: Likewise.
82082         * sunrpc/rpc/auth_des.h: Likewise.
82083         * sunrpc/rpc/clnt.h: Likewise.
82084         * sunrpc/rpc/netdb.h: Likewise.
82085         * sunrpc/rpc/pmap_clnt.h: Likewise.
82086         * sunrpc/rpc/xdr.h: Likewise.
82087         * sysdeps/generic/inttypes.h: Likewise.
82088         * sysdeps/generic/net/if.h: Likewise.
82089         * sysdeps/generic/sys/swap.h: Likewise.
82090         * sysdeps/gnu/net/if.h: Likewise.
82091         * sysdeps/gnu/utmpx.h: Likewise.
82092         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
82093         * sysdeps/i386/i486/bits/string.h: Likewise.
82094         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
82095         * sysdeps/s390/bits/string.h: Likewise.
82096         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
82097         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
82098         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
82099         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
82100         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
82101         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
82102         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
82103         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
82104         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
82105         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
82106         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
82107         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
82108         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
82109         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
82110         * sysdeps/unix/sysv/linux/readv.c: Likewise.
82111         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
82112         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
82113         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82114         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
82115         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
82116         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82117         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
82118         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
82119         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
82120         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
82121         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
82122         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
82123         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82124         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
82125         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
82126         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
82127         * sysvipc/sys/ipc.h: Likewise.
82128         * sysvipc/sys/msg.h: Likewise.
82129         * sysvipc/sys/sem.h: Likewise.
82130         * sysvipc/sys/shm.h: Likewise.
82131         * termios/termios.h: Likewise.
82132         * time/sys/time.h: Likewise.
82133         * time/time.h: Likewise.
82134         * wcsmbs/bits/wchar2.h: Likewise.
82135         * wcsmbs/uchar.h: Likewise.
82136         * wcsmbs/wchar.h: Likewise.
82137         * wctype/wctype.h: Likewise.
82139         [BZ #13551]
82140         * Makeconfig: Remove all but ELF support including AIX support.
82141         * Makerules: Likewise.
82142         * config.h.in: Likewise.
82143         * config.make.in: Likewise.
82144         * configure: Likewise.
82145         * configure.in: Likewise.
82146         * csu/Makefile: Likewise.
82147         * csu/version.c: Likewise.
82148         * debug/Makefile: Likewise.
82149         * dlfcn/Makefile: Likewise.
82150         * elf/Makefile: Likewise.
82151         * extra-lib.mk: Likewise.
82152         * iconv/Makefile: Likewise.
82153         * include/libc-symbols.h: Likewise.
82154         * include/shlib-compat.h: Likewise.
82155         * resolv/Makefile: Likewise.
82156         * resolv/res_libc.c: Likewise.
82157         * rt/Makefile: Likewise.
82158         * sysdeps/i386/asm-syntax.h: Likewise.
82159         * sysdeps/i386/sysdep.h: Likewise.
82160         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82161         * sysdeps/mach/sysdep.h: Likewise.
82162         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
82163         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
82164         * sysdeps/s390/asm-syntax.h: Likewise.
82165         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82166         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82167         * sysdeps/sh/sysdep.h: Likewise.
82168         * sysdeps/unix/sparc/sysdep.h: Likewise.
82169         * sysdeps/wordsize-32/divdi3.c: Likewise.
82170         * sysdeps/x86_64/sysdep.h: Likewise.
82172         * argp/Versions: Remove _argp_unlock_xxx.
82174         [BZ #13559]
82175         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
82176         * abilist/libBrokenLocale.abilist: Likewise.
82177         * abilist/libanl.abilist: Likewise.
82178         * abilist/libc.abilist: Likewise.
82179         * abilist/libcrypt.abilist: Likewise.
82180         * abilist/libdl.abilist: Likewise.
82181         * abilist/libm.abilist: Likewise.
82182         * abilist/libnsl.abilist: Likewise.
82183         * abilist/libpthread.abilist: Likewise.
82184         * abilist/libresolv.abilist: Likewise.
82185         * abilist/librt.abilist: Likewise.
82186         * abilist/libthread_db.abilist: Likewise.
82187         * abilist/libutil.abilist: Likewise.
82188         * abilist/libnss_db.abilist: New file.
82190         * scripts/abilist.awk: Add support for indirect functions.
82192         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
82194         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
82196         * shlib-versions: Remove entries for ports architectures.
82198         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
82199         files in ports.
82200         * elf/stackguard-macros.h: Remove support for IA-64.
82201         * elf/tst-auditmod1.c: Likewise.
82202         * sysdeps/generic/ldsodefs.h: Likewise.
82204         * sysdeps/unix/sysv/linux/configure.in: Ports should define
82205         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
82206         configure files.
82208         [BZ #13552]
82209         * configure.in: Remove --enable-omitfp support.
82210         * FAQ.in: Adjust.
82211         * config.make.in: Likewise.
82212         * Makeconfig: Likewise.
82213         * manual/install.texi: Likewise.
82215         In case anyone cares, the IA-64 architecture could move to ports.
82216         * sysdeps/ia64/*: Removed.
82217         * sysdeps/unix/sysv/linux/ia64/*: Removed.
82218         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
82220         [BZ #13555]
82221         * configure.in: Remove entries for unsupported architectures.
82223         [BZ #13533]
82224         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
82225         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
82226         routines.
82227         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
82228         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
82229         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
82230         fall back to using wcrtomb.
82231         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
82232         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
82233         renaming.
82234         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
82235         * wcsmbs/tst-c16c32-1.c: New file.
82237         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
82238         local variable.
82240         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
82242         * elf/tst-unique3.cc: Add explicit declaration of gets.
82243         * elf/tst-unique3lib.cc: Likewise.
82244         * elf/tst-unique3lib2.cc: Likewise.
82245         * elf/tst-unique4.cc: Likewise.
82247         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
82249 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
82251         [BZ #13566]
82252         * assert/assert.h (static_assert): Don't define for C++.
82253         * libio/stdio.h (gets): Do declare for C++ <= C++11.
82254         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
82256 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
82258         * iconv/loop.c (single loop): Fix assertion in storing of
82259         remaining bytes.
82261         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
82263 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
82265         * posix/getconf.c: Update copyright year.
82266         * nss/getent.c: Likewise.
82267         * nss/makedb.c: Likewise.
82268         * iconv/iconvconfig.c: Likewise.
82269         * iconv/iconv_prog.c: Likewise.
82270         * elf/ldconfig.c: Likewise.
82271         * elf/pldd.c: Likewise.
82272         * elf/sotruss.ksh: Likewise.
82273         * catgets/gencat.c: Likewise.
82274         * csu/version.c: Likewise.
82275         * elf/ldd.bash.in: Likewise.
82276         * elf/sprof.c (print_version): Likewise.
82277         * locale/programs/locale.c: Likewise.
82278         * locale/programs/localedef.c: Likewise.
82279         * login/programs/pt_chown.c: Likewise.
82280         * nscd/nscd.c (print_version): Likewise.
82281         * debug/xtrace.sh: Likewise.
82282         * malloc/memusage.sh: Likewise.
82283         * malloc/mtrace.pl: Likewise.
82284         * debug/catchsegv.sh: Likewise.
82286 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
82288         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
82289         pure attribute.
82291 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
82293         [BZ #13533]
82294         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
82295         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
82296         transformations.
82297         * iconv/gconv_int.h: Likewise.
82298         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
82299         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
82300         from libc for GLIBC_2.16.
82301         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
82302         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
82303         * wcsmbs/uchar.h: Really define mbstate_t.
82304         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
82305         * wcsmbs/c16rtomb.c: New file.
82306         * wcsmbs/mbrtoc16.c: New file.
82307         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
82308         for C/POSIX locale.
82309         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
82310         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
82312         * wcsmbs/wchar.h: Add missing __restrict.
82314 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82316         [BZ #13532]
82317         * time/Makefile (routines): Add timespec_get.
82318         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
82319         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
82320         timespec for ISO C11.
82321         * time/timespec_get.c: New file.
82322         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
82323         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
82325         [BZ #13531]
82326         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
82327         * stdlib/stdlib.h: Declare aligned_alloc.
82328         * Versions.def: Add GLIBC_2.16 for libc.
82329         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
82331         [BZ 13527]
82332         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
82333         ISO C11.
82335         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
82336         code.
82338         [BZ #13528]
82339         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
82341         [BZ #13529]
82342         * assert/assert.h (static_assert): Define.
82344         * version.h: Update for 2.16 development version.
82346         [BZ #13526]
82347         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
82348         _ISOC11_SOURCE.
82350         * version.h (RELEASE): Bump for 2.15 release.
82351         * include/features.h (__GLIBC_MINOR__): Bump to 15.
82353         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
82354         Patch by Marek Polacek <mpolacek@redhat.com>.
82356         * bits/byteswap.h: Protect long long constants with __extension__.
82357         * sysdeps/i386/bits/byteswap.h: Likewise.
82358         * sysdeps/ia64/bits/byteswap.h: Likewise.
82359         * sysdeps/s390/bits/byteswap.h: Likewise.
82360         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82362 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82364         [BZ #13540]
82365         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
82366         destination buffer.
82367         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
82369 2011-12-23  Marek Polacek  <polacek@redhat.com>
82371         * elf/dl-addr.c (determine_info): Add inline keyword.
82372         * elf/tst-auditmod4b.c (check_avx): Likewise.
82373         * elf/tst-auditmod6b.c (check_avx): Likewise.
82374         * elf/tst-auditmod6c.c (check_avx): Likewise.
82375         * elf/tst-auditmod7b.c (check_avx): Likewise.
82377 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82379         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
82380         !__SSE_MATH__.
82382 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82384         [BZ #13540]
82385         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
82386         processing for last bytes.
82388 2011-08-06  Bruno Haible  <bruno@clisp.org>
82390         [BZ #13061]
82391         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
82392         U+0385, not to U+1FEE.
82394         [BZ #13062]
82395         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
82396         entry for U+00A5 U+0301.
82398 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82400         [BZ #13166]
82401         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
82402         buffer for the output is too small.
82404         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
82405         optimization.
82407         [BZ #13185]
82408         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
82409         SSE flags if possible.
82411 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82413         [BZ #13540]
82414         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
82415         processing for last bytes.
82417 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
82419         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
82420         (syscall-list-default-options, syscall-list-default-condition)
82421         (syscall-list-includes): Define.
82422         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
82423         list of ABIs and options and #if conditions for each ABI.  Do not
82424         handle common syscalls between ABIs specially.
82425         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
82426         Remove.
82427         (syscall-list-variants, syscall-list-32bit-options)
82428         (syscall-list-32bit-condition, syscall-list-64bit-options)
82429         (syscall-list-64bit-condition): Define.
82430         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
82431         (syscall-list-variants, syscall-list-32bit-options)
82432         (syscall-list-32bit-condition, syscall-list-64bit-options)
82433         (syscall-list-64bit-condition): Define.
82434         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
82435         Remove.
82436         (syscall-list-variants, syscall-list-32bit-options)
82437         (syscall-list-32bit-condition, syscall-list-64bit-options)
82438         (syscall-list-64bit-condition): Define.
82439         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
82440         Remove.
82441         (syscall-list-variants, syscall-list-32bit-options)
82442         (syscall-list-32bit-condition, syscall-list-64bit-options)
82443         (syscall-list-64bit-condition): Define.
82445 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82447         * locale/iso-639.def: Add brx entry.
82449         [BZ #13328]
82450         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
82451         Proposed by Mariusz_Cukr <marcukr@op.pl>.
82453         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
82454         __feraiseexcept_renamed.
82456 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82458         [BZ #13538]
82459         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
82460         EPOLLET with unsigned values.
82461         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82462         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82464         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
82465         to large cancellation.
82466         * math/s_cacoshf.c: Likewise.
82467         * math/s_cacoshl.c: Likewise.
82469 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
82471         [BZ #13305]
82472         [BZ #12786]
82473         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
82474         * math/s_cacoshf.c: Likewise.
82475         * math/s_cacoshl.c: Likewise.
82477 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82479         [BZ #13439]
82480         * iconv/gconv.h: Define __GCONV_SWAP.
82481         * iconvdata/unicode.c: The swap bit must be stored in __flags.
82482         * iconvdata/utf-16.c: Likewise.
82483         * iconvdata/utf-32.c: Likewise.
82485 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
82487         [BZ #13524]
82488         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
82489         numerator after shifting it by one limb.
82491 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
82493         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
82494         under [__USE_EXTERN_INLINES].
82496 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82498         [BZ #13446]
82499         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
82501 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82503         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
82504         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
82505         optimized code.
82506         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
82507         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
82508         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
82509         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
82510         for strncasecmp/strncasecmp_l compilation.
82511         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
82512         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
82514 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
82516         [BZ #13484]
82517         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
82518         of __asm__.
82520 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82522         [BZ #13506]
82523         * time/tzfile.c (__tzfile_read): Check values from file header.
82525 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
82527         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
82528         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
82529         * powerpc/powerpc32/dl-start.S: Likewise.
82530         * powerpc/powerpc32/elf/start.S: Likewise.
82531         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
82532         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
82533         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
82534         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
82535         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
82536         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
82537         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
82538         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
82539         * powerpc/powerpc32/fpu/s_round.S: Likewise.
82540         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
82541         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
82542         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
82543         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
82544         * powerpc/powerpc32/memset.S: Likewise.
82545         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
82546         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
82547         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
82548         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
82549         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
82550         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
82551         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
82552         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
82553         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
82554         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
82555         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
82556         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82557         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82559 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82561         * math/libm-test.inc: Added more nearbyint tests.
82562         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
82563         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
82564         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
82565         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
82567 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
82569         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
82570         FD_CLOEXEC.
82572 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82574         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
82575         Add wcscpy-ssse3 wcscpy-c.
82576         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
82577         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
82578         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
82579         * sysdeps/x86_64/wcschr.S: New file.
82580         * sysdeps/x86_64/wcsrchr.S: New file.
82581         * string/test-strcmp.c: Remove checking of wcscmp function for
82582         wrong alignments.
82583         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
82584         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
82585         wcsrchr-sse2 wcsrchr-c.
82586         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
82587         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
82588         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
82589         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
82590         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
82591         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
82592         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
82593         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
82594         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
82595         * wcsmbc/wcschr.c (WCSCHR): New macro.
82597 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82599         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
82600         * wcsmbs/test-wcsrchr.c: New file.
82601         * string/test-strrchr.c: Add wcsrchr support.
82602         (WIDE): New macro.
82603         * wcsmbs/test-wcscpy.c: New file.
82604         * string/test-strcpy.c: Add wcscpy support.
82605         (WIDE): New macro.
82607 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
82609         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
82610         the inner loop.
82612 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
82614         [BZ #13472]
82615         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
82617 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
82619         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
82620         Minor optimizations.
82622         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
82623         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
82624         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
82626 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
82628         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
82629         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
82630         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
82631         for gcc to avoid warnings.
82632         * inet/Makefile (tests): Add tst-checks.
82633         * inet/tst-checks.c: New file.
82635         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
82636         warning.
82638         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
82639         __wmemcmp_sse2.
82641         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
82642         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
82644         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
82646 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
82648         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
82649         problem.
82651         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
82653 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
82655         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
82656         conditional on GCC version.
82657         (__arch_compare_and_exchange_val_8_acq)
82658         (__arch_compare_and_exchange_val_16_acq)
82659         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
82660         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
82661         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
82663 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
82665         * sysdeps/sh/backtrace.c: New file.
82667 2011-12-02  Andreas Schwab  <schwab@redhat.com>
82669         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
82670         parenthesis.
82672 2011-12-01  Andreas Schwab  <schwab@redhat.com>
82674         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
82675         falling back to utime.
82677 2011-11-30  Andreas Schwab  <schwab@redhat.com>
82679         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
82680         expectations for float.
82682 2011-11-29  Andreas Schwab  <schwab@redhat.com>
82684         * locale/weight.h (findidx): Add parameter len.
82685         * locale/weightwc.h (findidx): Likewise.
82686         * posix/fnmatch_loop.c (FCT): Adjust caller.
82687         * posix/regcomp.c (build_equiv_class): Likewise.
82688         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
82689         * posix/regexec.c (check_node_accept_bytes): Likewise.
82690         * string/strcoll_l.c (STRCOLL): Likewise.
82691         * string/strxfrm_l.c (STRXFRM): Likewise.
82693 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
82695         * Makefile.in: Remove CVSOPT handling.
82696         * configure.in: Remove use of AC_REVISION.
82697         * iconvdata/Makefile (distribute): No need to filter out CVS.
82698         * scripts/list-sources.sh: Remove CVS, subversion and monotone
82699         handling.
82701 2011-11-16  Andreas Schwab  <schwab@redhat.com>
82703         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
82704         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
82705         [USE_AS_STRNCASECMP_L]: Likewise.
82706         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
82707         NO_TLS_DIRECT_SEG_REFS.
82708         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
82709         Fix argument offsets for non-PIC.
82710         [USE_AS_STRNCASECMP_L]: Likewise.
82711         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
82712         NO_TLS_DIRECT_SEG_REFS.
82714 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82716         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
82717         O_CLOEXEC.
82718         * locale/loadlocale.c (_nl_load_locale): Likewise.
82720 2011-11-15  Andreas Schwab  <schwab@redhat.com>
82722         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
82723         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
82724         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
82725         (SYSCALL_GETTIME): Set errno on error.
82727         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
82728         count references to noai6ai_cached.
82730 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82732         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
82734         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
82735         FD_CLOEXEC for /proc/self/maps.
82737         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
82738         FD_CLOEXEC for /proc/meminfo.
82740         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
82741         gai.conf.
82743         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
82744         FD_CLOEXEC for given file.
82746         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
82748         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
82749         FD_CLOEXEC for /etc/hosts.
82750         (_gethtent): Likewise.
82752         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
82754         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
82755         cancellation and set FD_CLOEXEC for /etc/netgroup.
82757         * nss/nss_files/files-key.c (search): Don't allow cancellation when
82758         reading /etc/publickey.
82760         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
82761         allow cancellation when reading /etc/group.
82763         * nss/nss_files/files-alias.c (internal_setent): Don't allow
82764         cancellation.
82765         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
82767         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
82768         when using data file.
82770         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
82772         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
82773         (write_nis_obj): Use "c" and "e" in fopen.
82775         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
82777         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
82779         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
82781         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
82783         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
82784         locale.alias.
82786         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
82788         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
82790         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
82792         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
82793         file parsing and set FD_CLOEXEC.
82795 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82797         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
82799 2011-11-14  Andreas Schwab  <schwab@redhat.com>
82801         * malloc/arena.c (arena_get2): Don't call reused_arena when
82802         _int_new_arena failed.
82804 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82806         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
82807         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
82808         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
82809         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82810         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82811         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
82812         to compile strcasecmp and strncasecmp.
82813         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
82814         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
82816         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
82818 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
82820         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
82821         locale-defines.sym to gen-as-const-headers.
82822         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
82823         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
82824         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
82825         to compile strcasecmp and strncasecmp.
82826         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
82827         strcasecmp_l and strncasecmp_l.
82828         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
82829         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
82830         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
82831         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
82832         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
82833         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
82834         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
82835         * sysdeps/i386/i686/multiarch/strncase.S: New file.
82836         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
82837         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
82838         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
82840 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
82842         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
82843         result of SYSDEP_GETTIME_CPU to retval.
82844         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
82845         parameter list to macro.  Remove trailing semicolon.  Adjust users.
82847         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
82848         variable.
82850         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
82851         mantissa words.
82852         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
82854         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
82855         from unused variable.
82857         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
82858         DWARF definitions.
82859         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
82860         for assembling.
82862         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
82863         over namespaces.
82865         * sunrpc/rpc_prot.c (rejected): Fix case value.
82867         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
82868         unsigned long long int to avoid warnings in shift.
82870         * posix/regex_internal.c (re_string_reconstruct): Actually use result
82871         of use of trans.
82872         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
82873         variable tmp.
82875         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
82876         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
82877         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
82879         * nis/nis_table.c (nis_list): Use variable of correct type for
82880         result of __follow_path call.
82882 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82884         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
82885         of math functions ceil, trunc, floor, round, and sqrt, when
82886         avaliable on the platform.
82887         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
82888         name clash.
82889         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82890         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82891         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82893 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
82895         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
82896         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
82898 2011-11-11  Roland McGrath  <roland@hack.frob.com>
82900         * include/unistd.h: Fix __readlink return type.
82901         Reported by Chris Metcalf <cmetcalf@tilera.com>.
82903 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
82905         * stdlib/ucontext.h: Undo last change for makecontext.
82907 2011-11-11  Andreas Schwab  <schwab@redhat.com>
82909         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
82911         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
82912         * setjmp/setjmp.h: Mark functions as non-leaf.
82913         * setjmp/bits/setjmp2.h: Likewise.
82914         * stdlib/ucontext.h: Likewise.
82916 2011-11-10  Andreas Schwab  <schwab@redhat.com>
82918         * malloc/arena.c (_int_new_arena): Don't increment narenas.
82919         (reused_arena): Don't check arena limit.
82920         (arena_get2): Atomically check arena limit.
82922 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
82924         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
82925         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
82927         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
82928         instructions.
82930 2011-11-07  Andreas Schwab  <schwab@redhat.com>
82932         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
82933         handler when locking.
82935         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82936         Fix size of allocated buffer.
82938 2011-11-04  Andreas Schwab  <schwab@redhat.com>
82940         [BZ #10103]
82941         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
82942         declarations for long double functions.
82943         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
82945         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
82947 2011-11-03  Andreas Schwab  <schwab@redhat.com>
82949         * nscd/nscd.c (main): Don't start AVC thread until credentials are
82950         installed.
82952         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
82953         is disabled.
82955 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82957         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
82959 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
82961         * include/alloca.h (stackinfo_alloca_round): Define.
82962         (extend_alloca): Use it.
82963         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
82964         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
82965         here.
82967         * scripts/check-local-headers.sh: Ignore libaudit.h.
82969         * nscd/Makefile (extra-objs): Make recursively expanded.
82971 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
82973         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
82974         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
82976         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
82977         * posix/tst-rfc3484-2.c: Likewise.
82978         * posix/tst-rfc3484-3.c: Likewise.
82980         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82981         process_vm_writev.
82982         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
82983         process_vm_writev.
82984         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
82985         process_vm_writev from libc using GLIBC_2.15 version.
82987         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
82989 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
82991         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
82992         stack usage.
82994 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
82996         [BZ #13367]
82997         * nss/getent.c (initgroups_keys): Show error message in case no group
82998         names are given.
83000         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
83001         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
83002         __bump_nl_timestamp.
83003         * nscd/connections (nscd_init): When host database is served open
83004         netlink socket and request notification about configuration changes.
83005         (main_loop_poll): Track netlink file descriptor and bump timestamp
83006         in case data becomes available.
83007         (main_loop_epoll): Likewise.
83008         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
83009         (database_pers_head): Add extra_data fileds.
83010         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
83011         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
83012         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
83013         Adjust caller.
83014         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
83015         in6ai data, call __free_in6ai.
83016         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
83017         Add -DHAVE_NETLINK.
83018         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
83019         interface information.  Reuse previous data if netlink timestamp
83020         is not changed.
83021         (__bump_nl_timestamp): New function.
83022         (__free_in6ai): New function.
83024 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
83026         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
83027         close_not_cancel_no_status here.
83028         (__check_pf): Reorganize code a bit to not call close twice if OOM.
83030 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83032         [BZ #13276]
83033         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
83034         return value.
83036         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
83037         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
83038         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
83040 2011-07-03  Andreas Jaeger  <aj@suse.de>
83042         [BZ #10709]
83043         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
83044         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
83045         * math/libm-test.inc (sin_test): Add test case.
83047 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83049         [BZ #13337]
83050         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
83051         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83053         * elf/chroot_canon.c (chroot_canon): Cleanups.
83055         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
83057         [BZ #13335]
83058         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
83059         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83061         * string/test-strchr.c: Make usable for strchrnul testing.
83062         * string/test-strchrnul.c: New file.
83063         * string/Makefile (strop-tests): Add strchrnul.
83065         * po/it.po: Update from translation team.
83066         * po/es.po: Likewise.
83068 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
83070         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
83071         the three constants needed as parameters.  Drop the others.
83072         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
83073         __m128i_strloadu_tolower.
83074         Create and initialize variable zero and use it in all the places
83075         where _mm_setzero_si128 was used.
83077         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
83078         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
83079         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
83080         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
83081         anymore.
83082         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
83083         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
83084         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
83085         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
83086         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
83087         __mpranred, __mptan.
83088         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
83089         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
83090         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
83091         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
83092         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
83093         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
83094         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
83095         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
83096         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
83098 2011-10-28  Andreas Schwab  <schwab@redhat.com>
83100         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
83101         redefine if SHARED.
83102         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
83104         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
83105         wide char related routines to wcsmbs subdir.
83107 2011-10-27  Andreas Schwab  <schwab@redhat.com>
83109         [BZ #13344]
83110         * misc/sys/cdefs.h (__THROWNL): Define.
83111         * posix/unistd.h: Use __THREADNL instead of __THREAD
83112         for memory synchronization functions.
83114 2011-10-26  Roland McGrath  <roland@hack.frob.com>
83116         [BZ #13349]
83117         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
83118         doesn't exist.
83119         * manual/stdio.texi (Obstack Streams): Node removed.
83121 2011-10-26  Andreas Schwab  <schwab@redhat.com>
83123         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
83124         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83125         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83127         * math/math_private.h (math_force_eval): Allow non-addressable
83128         arguments.
83129         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
83131 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83133         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
83134         file is not needed.
83136         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
83137         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
83138         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83139         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83140         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83141         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83142         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83143         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
83144         Add AVX variants.
83145         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
83146         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
83147         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
83148         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
83149         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
83150         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
83151         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
83152         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
83153         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
83154         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
83155         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
83156         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
83157         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
83158         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
83159         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
83160         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
83161         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
83162         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
83163         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
83165         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
83166         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
83168         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
83169         place.  Use VEX encoding when compiling for AVX.
83171 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83173         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
83174         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
83176         * string/test-strchr.c (do_test): Don't generate NUL bytes.
83178 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83180         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
83181         useless if() expression.
83182         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83183         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83184         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83185         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83186         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83187         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83188         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83189         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83190         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83191         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83192         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83193         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83194         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83195         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83196         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83197         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83198         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83199         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83200         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83202         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
83204 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83206         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
83207         condition.
83208         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83210 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83212         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
83213         .text section.  Avoid duplicate constants.
83214         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83215         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83216         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83217         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83218         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83219         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83220         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83221         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83222         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
83223         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
83224         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
83225         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
83226         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
83227         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
83228         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
83229         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
83230         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
83231         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
83232         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83233         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83234         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83235         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83236         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83237         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
83238         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
83239         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
83240         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
83241         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
83242         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
83243         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
83244         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
83245         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
83246         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
83247         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
83248         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
83249         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
83250         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
83251         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
83252         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
83253         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
83254         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
83255         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
83256         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
83257         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
83258         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
83260 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
83262         * sysdeps/x86_64/dla.h: Move to ...
83263         * sysdeps/x86_64/fpu/dla.h: ...here.
83264         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
83265         situations.  Use __builtin_fma only for gcc 4.6 and up.
83267         * config.make.in: Add have-mfma4 entry.
83268         * configure.in: Substitute libc_cv_cc_fma4.
83269         * math/Makefile (dbl-only-routines): Add sincostab.
83270         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
83271         Use __sincostab not sincos.
83272         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
83273         name is a macro.
83274         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83275         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83276         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83277         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
83278         using __copysign.
83279         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
83280         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
83281         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
83282         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
83283         and __inv.
83284         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
83285         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
83286         __copysign.
83287         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
83288         define aliases when function name is a macro.
83289         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
83290         sysdeps/ieee754/dbl-64/sincos.tbl.
83291         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
83292         fma4-enabled routines.
83293         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
83294         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
83295         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
83296         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
83297         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
83298         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
83299         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
83300         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
83301         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
83302         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
83303         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
83304         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
83305         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
83306         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
83307         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
83308         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
83309         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
83310         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
83311         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
83312         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
83313         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
83314         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
83315         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
83316         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
83317         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
83318         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
83319         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
83320         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
83321         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
83322         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
83324         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
83325         rename.
83326         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83327         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83328         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83329         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83330         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83331         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83332         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83333         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83335 2011-10-24  Andreas Schwab  <schwab@redhat.com>
83337         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
83339 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83341         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
83343         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
83344         prediction.
83345         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
83347         * string/strnlen.c: Don't define STRNLEN, reverse logic.
83348         Remove unused variable magic_bits.
83349         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
83351         * string/strnlen.c: Define and use STRNLEN macro.
83352         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
83353         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
83354         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
83355         * wcsmbs/wcslen.c: Define and use WCSLEN.
83356         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
83357         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
83358         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
83359         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
83360         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
83361         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
83362         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83364 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83366         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83367         strnlen-sse2-no-bsf.
83368         Rename strlen-no-bsf to strlen-sse2-no-bsf.
83369         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
83370         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
83371         Add strnlen support.
83372         (USE_AS_STRNLEN): New macro.
83373         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
83374         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
83375         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
83376         * sysdeps/x86_64/wcslen.S: New file.
83378 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
83380         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83381         XMM-moves are used for copying on small sizes.
83383 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83385         * wcsmbs/Makefile (strop-tests): Add wcschr.
83386         * wcsmbs/test-wcschr.c: New file.
83387         * string/test-strchr.c: Update.
83388         Add wcschr support.
83389         (WIDE): New macro.
83391 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83393         * wcsmbs/Makefile (strop-tests): Add wcslen.
83394         * wcsmbs/test-wcslen.c: New file.
83395         * string/test-strlen.c: Update.
83396         Add wcslen support.
83397         (WIDE): New macro.
83399 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83401         * po/it.po: Update from translation team.
83403 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83405         * sysdeps/x86_64/wcscmp.S: Update.
83406         Fix wrong comparison semantics.
83407         wcscmp shall use signed comparison not unsigned.
83408         Don't use substraction to avoid overflow bug.
83409         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
83410         * wcsmbc/wcscmp.c: Likewise.
83411         * string/test-strcmp.c: Likewise.
83412         Add new tests to check cases with negative values.
83414 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83416         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
83417         * sysdeps/x86_64/dla.h: ...here.  New file.
83418         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
83419         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83420         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83421         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83422         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83423         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83424         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83425         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83426         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83428 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
83430         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
83431         __ynl_finite aliases.
83433 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83435         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83437         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
83438         define DLA_FMA.
83439         [DLA_FMA] (EMULV): Use DLA_FMA.
83440         [DLA_FMA] (MUL12): Use EMULV.
83441         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
83442         that are not needed.
83443         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83444         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83445         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83446         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83447         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83448         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83449         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83451 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
83453         * math/s_nan.c: Undef __nan.
83454         * math/s_nanf.c: Undef __nanf.
83455         * math/s_nanl.c: Undef __nanl.
83456         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
83457         "math_private.h".
83459 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83461         * math/s_catan.c: Add branch predictions.
83462         * math/s_catanf.c: Likewise.
83463         * math/s_catanh.c: Likewise.
83464         * math/s_catanhf.c: Likewise.
83465         * math/s_catanhl.c: Likewise.
83466         * math/s_catanl.c: Likewise.
83467         * math/s_cexp.c: Likewise.
83468         * math/s_cexpf.c: Likewise.
83469         * math/s_cexpl.c: Likewise.
83470         * math/s_clog.c: Likewise.
83471         * math/s_clog10.c: Likewise.
83472         * math/s_clog10f.c: Likewise.
83473         * math/s_clog10l.c: Likewise.
83474         * math/s_clogf.c: Likewise.
83475         * math/s_clogl.c: Likewise.
83476         * math/s_csqrt.c: Likewise.
83477         * math/s_csqrtf.c: Likewise.
83478         * math/s_csqrtl.c: Likewise.
83479         * math/s_ctanf.c: Likewise.
83480         * math/s_ctanh.c: Likewise.
83481         * math/s_ctanhf.c: Likewise.
83482         * math/s_ctanhl.c: Likewise.
83483         * math/s_ctanl.c: Likewise.
83485         * math/math_private.h: Define __nan, __nanf, __nanl.
83486         * math/s_cacosh.c: Include <math_private.h>.
83487         * math/s_cacoshl.c: Likewise.
83488         * math/s_casinh.c: Likewise.
83489         * math/s_casinhf.c: Likewise.
83490         * math/s_casinhl.c: Likewise.
83491         * math/s_ccos.c: Rely entire on ccosh.
83492         * math/s_ccosf.c: Rely entire on ccoshf.
83493         * math/s_ccosl.c: Rely entirely on ccoshl.
83494         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
83495         Remove tests for FE_INVALID.
83496         * math/s_ccoshf.c: Likewise.
83497         * math/s_ccoshl.c: Likewise.
83498         * math/s_csin.c: Likewise.
83499         * math/s_csinf.c: Likewise.
83500         * math/s_csinh.c Likewise.
83501         * math/s_csinhf.c: Likewise.
83502         * math/s_csinhl.c: Likewise.
83503         * math/s_csinl.c: Likewise.
83504         * math/s_ctan.c: Likewise.
83505         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
83506         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
83507         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
83509 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
83511         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
83512         compilation problems.
83514         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
83515         __builtin_expect.
83517 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
83519         * sysdeps/i386/configure.in: Test for -mfma4 option.
83520         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
83521         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
83522         COMMON_CPUID_INDEX_80000001.
83523         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
83524         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
83525         use it if FMA3 is not supported.
83526         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
83528         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
83529         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83531 2011-10-20  Andreas Schwab  <schwab@redhat.com>
83533         [BZ #12892]
83534         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
83535         it would create a cycle with a link time dependency.
83537 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
83539         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
83540         instruction.
83541         * string/Makefile (strop-tests): Add rawmemchr.
83542         * string/test-rawmemchr.c: New file.
83544         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
83545         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
83546         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
83547         when compiling str{,n}casecmp and when AVX is available.  Hook up
83548         new optimized code in initializers.
83550 2011-10-19  Andreas Schwab  <schwab@redhat.com>
83552         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
83553         __feraiseexcept instead of feraiseexcept.
83555 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
83557         * math/math_private.h: Define defaults for libc_fetestexcept and
83558         libc_feupdateenv.
83559         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
83560         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
83561         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83562         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83563         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83564         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83565         libc_fetestexcept and libc_feupdateenv.
83567         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
83568         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
83569         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
83570         * sysdeps/x86_64/fpu/math_private.h: Define special version of
83571         libc_feholdexcept_setround.
83573         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
83574         Add s_nearbyint-c and s_nearbyintf-c.
83575         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
83576         nearbyintf inlines.
83577         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
83578         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
83579         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
83580         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
83582         * math/math_private.h: Define defaults for libc_fegetround,
83583         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
83584         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
83585         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
83586         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
83587         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
83588         standard functions.
83589         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83590         Remove comments and hacks for old compiler versions.
83591         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83592         libc_fegetround, libc_fesetround, libc_feholdexcept, and
83593         libc_feholdexceptl.
83595 2011-10-18  Andreas Schwab  <schwab@redhat.com>
83597         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83598         (__feraiseexcept_renamed): Add __NTH.
83599         (feraiseexcept): Add __NTH.  Rename local variables to fix
83600         namespace violations.
83602 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
83604         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
83606         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
83608         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
83609         recently added interfaces.
83610         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
83612         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
83613         about macro parameter expansion.
83615         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
83616         __NO_MATH_INLINES is defined.  Cleanups.
83618         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
83619         and __floorf is target has SSE4.1.
83620         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
83621         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
83622         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
83623         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
83625         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
83626         name.
83627         (floorf): Likewise.
83629         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
83631 2011-10-17  Andreas Schwab  <schwab@redhat.com>
83633         * misc/sys/cdefs.h: Fix last change.
83635         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
83636         database lookup.
83638 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
83640         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
83642         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
83643         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83644         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83645         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83646         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83647         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83648         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83649         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83650         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83651         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
83652         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
83653         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
83654         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
83655         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
83656         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
83657         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
83658         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
83659         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
83660         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
83661         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
83662         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
83663         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
83665         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
83666         ceil, ceilf, floor, floorf.
83668         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
83669         Perform IRELATIVE relocations last.
83671         * elf/do-rel.h: Add another parameter nrelative, replacing the
83672         local variable with the same name.  Change name of the function
83673         to end in Rel or Rela (uppercase).
83674         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
83675         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
83676         elf_dynamic_do_##reloc function.
83678 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83680         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
83681         is sufficient, at least on modern CPUs.
83683         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
83685         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
83686         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
83688         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
83689         __expl_finite.
83690         * math/bits/math-finite.h: Add entries for exp.
83691         * math/e_expl.c: Add __*_finite alias.
83692         * sysdeps/i386/fpu/e_exp.S: Likewise.
83693         * sysdeps/i386/fpu/e_expf.S: Likewise.
83694         * sysdeps/i386/fpu/e_expl.c: Likewise.
83695         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83696         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83697         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
83698         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
83699         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
83700         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
83701         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
83703         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
83704         is sufficient, at least on modern CPUs.
83706         * ctype/ctype-info.c (__ctype_init): Define.
83707         * include/ctype.h (__ctype_init): Declare.
83708         (__ctype_b_loc): The variable is always initialized.
83709         (__ctype_toupper_loc): Likewise.
83710         (__ctype_tolower_loc): Likewise.
83711         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
83712         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
83714 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
83716         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
83718         * configure.in: Also look in $cxxmachine/include for C++ system
83719         headers.
83721 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83723         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
83724         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
83725         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
83726         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
83727         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
83728         (USE_AS_WMEMCMP): New macro.
83729         Fixing indents.
83730         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
83731         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
83732         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
83733         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
83734         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83735         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
83736         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
83737         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
83738         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
83739         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
83740         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
83741         (USE_AS_WMEMCMP): New macro.
83742         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
83743         * sysdeps/string/test-memcmp.c: Update.
83744         Fix simple_wmemcmp.
83745         Add new tests.
83746         * wcsmbs/wmemcmp.c: Update.
83747         (WMEMCMP): New macro.
83748         Fix overflow bug.
83750 2011-10-12  Andreas Jaeger  <aj@suse.de>
83752         [BZ #13268]
83753         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
83755 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83757         * libio/iofwide.c (do_length): Avoid warning.
83759         * ctype/ctype.h (__isctype_f): Add missing __THROW.
83761 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
83763         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
83765         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
83766         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
83767         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
83768         * sysdeps/i386/i686/fpu/e_log.S: New file.
83769         * sysdeps/i386/i686/fpu/e_logf.S: New file.
83770         * sysdeps/i386/i686/fpu/e_logl.S: New file.
83772         * ctype/ctype.h: Add support for inlined isXXX functions when
83773         compiling C++ code.
83775 2011-10-14  Andreas Schwab  <schwab@redhat.com>
83777         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83779         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
83781 2011-10-13  Roland McGrath  <roland@hack.frob.com>
83783         [BZ #13291]
83784         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
83786 2011-10-13  Andreas Schwab  <schwab@redhat.com>
83788         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
83789         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
83790         feraiseexcept.
83792         * sysdeps/x86_64/memrchr.S: Check for zero size.
83794         * string/stratcliff.c: Add memrchr tests.
83796 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83798         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83799         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
83800         rawmemchr-sse2 rawmemchr-sse2-bsf.
83801         * sysdeps/i386/i686/multiarch/memchr.S: New file.
83802         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
83803         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
83804         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
83805         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
83806         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
83807         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
83808         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
83809         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
83810         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
83811         * string/memrchr.c (MEMRCHR): New macro.
83813 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
83815         Add integration with gcc's -ffinite-math-only and optimize wrapper
83816         functions in libm.
83817         * Versions.def: Define GLIBC_2.15 version for libm.
83818         * math/Makefile (headers): Add bits/math-finite.h.
83819         * math/bits/math-finite.h: New file.
83820         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
83821         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
83822         * math/e_acoshl.c: Add __*_finite alias.
83823         * math/e_acosl.c: Likewise.
83824         * math/e_asinl.c: Likewise.
83825         * math/e_atan2l.c: Likewise.
83826         * math/e_atanhl.c: Likewise.
83827         * math/e_coshl.c: Likewise.
83828         * math/e_exp10.c: Likewise.
83829         * math/e_exp10f.c: Likewise.
83830         * math/e_exp10l.c: Likewise.
83831         * math/e_exp2l.c: Likewise.
83832         * math/e_fmodl.c: Likewise.
83833         * math/e_gammal_r.c: Likewise.
83834         * math/e_hypotl.c: Likewise.
83835         * math/e_j0l.c: Likewise.
83836         * math/e_j1l.c: Likewise.
83837         * math/e_jnl.c: Likewise.
83838         * math/e_lgammal_r.c: Likewise.
83839         * math/e_log10l.c: Likewise.
83840         * math/e_log2l.c: Likewise.
83841         * math/e_logl.c: Likewise.
83842         * math/e_powl.c: Likewise.
83843         * math/e_sinhl.c: Likewise.
83844         * math/e_sqrtl.c: Likewise.
83845         * math/e_scalb.c: Completely rewritten and optimized.
83846         * math/e_scalbf.c: Likewise.
83847         * math/e_scalbl.c: Likewise.
83848         * math/w_acos.c: Likewise.
83849         * math/w_acosf.c: Likewise.
83850         * math/w_acosl.c: Likewise.
83851         * math/w_acosh.c: Likewise.
83852         * math/w_acoshf.c: Likewise.
83853         * math/w_acoshl.c: Likewise.
83854         * math/w_asin.c: Likewise.
83855         * math/w_asinf.c: Likewise.
83856         * math/w_asinl.c: Likewise.
83857         * math/w_atan2.c: Likewise.
83858         * math/w_atan2f.c: Likewise.
83859         * math/w_atan2l.c: Likewise.
83860         * math/w_atanh.c: Likewise.
83861         * math/w_atanhf.c: Likewise.
83862         * math/w_atanhl.c: Likewise.
83863         * math/w_exp10.c: Likewise.
83864         * math/w_exp10f.c: Likewise.
83865         * math/w_exp10l.c: Likewise.
83866         * math/w_fmod.c: Likewise.
83867         * math/w_fmodf.c: Likewise.
83868         * math/w_fmodl.c: Likewise.
83869         * math/w_j0.c: Likewise.
83870         * math/w_j0f.c: Likewise.
83871         * math/w_j0l.c: Likewise.
83872         * math/w_j1.c: Likewise.
83873         * math/w_j1f.c: Likewise.
83874         * math/w_j1l.c: Likewise.
83875         * math/w_jn.c: Likewise.
83876         * math/w_jnf.c: Likewise.
83877         * math/w_log.c: Likewise.
83878         * math/w_logf.c: Likewise.
83879         * math/w_logl.c: Likewise.
83880         * math/w_log10.c: Likewise.
83881         * math/w_log10f.c: Likewise.
83882         * math/w_log10l.c: Likewise.
83883         * math/w_log2.c: Likewise.
83884         * math/w_log2f.c: Likewise.
83885         * math/w_log2l.c: Likewise.
83886         * math/w_pow.c: Likewise.
83887         * math/w_powf.c: Likewise.
83888         * math/w_powl.c: Likewise.
83889         * math/w_remainder.c: Likewise.
83890         * math/w_remainderf.c: Likewise.
83891         * math/w_remainderl.c: Likewise.
83892         * math/w_scalb.c: Likewise.
83893         * math/w_scalbf.c: Likewise.
83894         * math/w_scalbl.c: Likewise.
83895         * math/w_sqrt.c: Likewise.
83896         * math/w_sqrtf.c: Likewise.
83897         * math/w_sqrtl.c: Likewise.
83898         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
83899         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
83900         used.
83901         * math/math_private.h: Declare __kernel_standard_f.
83902         * math/w_cosh.c: Remove cruft and optimize a bit.
83903         * math/w_coshf.c: Likewise.
83904         * math/w_coshl.c: Likewise.
83905         * math/w_exp2.c: Likewise.
83906         * math/w_exp2f.c: Likewise.
83907         * math/w_exp2l.c: Likewise.
83908         * math/w_hypot.c: Likewise.
83909         * math/w_hypotf.c: Likewise.
83910         * math/w_hypotl.c: Likewise.
83911         * math/w_lgamma.c: Likewise.
83912         * math/w_lgamma_r.c: Likewise.
83913         * math/w_lgammaf.c: Likewise.
83914         * math/w_lgammaf_r.c: Likewise.
83915         * math/w_lgammal.c: Likewise.
83916         * math/w_lgammal_r.c: Likewise.
83917         * math/w_sinh.c: Likewise.
83918         * math/w_sinhf.c: Likewise.
83919         * math/w_sinhl.c: Likewise.
83920         * math/w_tgamma.c: Likewise.
83921         * math/w_tgammaf.c: Likewise.
83922         * math/w_tgammal.c: Likewise.
83923         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83924         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83925         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
83926         Minor optimizations.  Pretty printing.  Remove cruft.
83927         * sysdeps/i386/fpu/e_acosf.S: Likewise.
83928         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83929         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83930         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83931         * sysdeps/i386/fpu/e_acosl.c: Likewise.
83932         * sysdeps/i386/fpu/e_asin.S: Likewise.
83933         * sysdeps/i386/fpu/e_asinf.S: Likewise.
83934         * sysdeps/i386/fpu/e_atan2.S: Likewise.
83935         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
83936         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
83937         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83938         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83939         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83940         * sysdeps/i386/fpu/e_exp10.S: Likewise.
83941         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
83942         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
83943         * sysdeps/i386/fpu/e_exp2.S: Likewise.
83944         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
83945         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
83946         * sysdeps/i386/fpu/e_fmod.S: Likewise.
83947         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
83948         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
83949         * sysdeps/i386/fpu/e_hypot.S: Likewise.
83950         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
83951         * sysdeps/i386/fpu/e_log.S: Likewise.
83952         * sysdeps/i386/fpu/e_log10.S: Likewise.
83953         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83954         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83955         * sysdeps/i386/fpu/e_log2.S: Likewise.
83956         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83957         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83958         * sysdeps/i386/fpu/e_logf.S: Likewise.
83959         * sysdeps/i386/fpu/e_logl.S: Likewise.
83960         * sysdeps/i386/fpu/e_pow.S: Likewise.
83961         * sysdeps/i386/fpu/e_powf.S: Likewise.
83962         * sysdeps/i386/fpu/e_powl.S: Likewise.
83963         * sysdeps/i386/fpu/e_remainder.S: Likewise.
83964         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
83965         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
83966         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83967         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83968         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83969         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
83970         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
83971         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
83972         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83973         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83974         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83975         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83976         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83977         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83978         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
83979         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83980         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83981         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83982         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83983         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83984         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83985         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83986         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83987         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83988         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83989         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83990         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83991         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83992         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83993         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83994         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83995         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83996         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83997         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83998         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83999         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84000         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
84001         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84002         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84003         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84004         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84005         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84006         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84007         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84008         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84009         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84010         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84011         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84012         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84013         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84014         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84015         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84016         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84017         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84018         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84019         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84020         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84021         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
84022         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84023         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84024         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84025         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84026         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84027         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84028         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84029         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84030         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84031         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84032         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84033         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84034         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84035         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84036         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84037         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84038         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84039         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84040         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
84041         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84042         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84043         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84044         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84045         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84046         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84047         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84048         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
84049         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84050         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84051         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84052         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84053         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84054         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
84055         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84056         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84057         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84058         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84059         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84060         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84061         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84062         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84063         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84064         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84065         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
84066         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84067         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84068         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84069         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
84070         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
84071         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
84072         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
84073         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
84074         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
84075         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
84076         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84077         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84078         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84079         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84080         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
84081         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84082         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
84083         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
84084         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
84085         (__isnanf): Likewise.
84086         (__isinf_ns): Likewise.
84087         (__isinf_nsf): Likewise.
84088         (__finite): Likewise.
84089         (__finitef): Likewise.
84090         (__ieee754_sqrt): Define as macro.
84091         (__ieee754_sqrtf): Define as macro.
84092         (__ieee754_sqrtl): Define as macro.
84093         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
84094         inlined copy.
84095         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
84096         __FINITE_MATH_ONLY__ consistent.
84097         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
84099 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
84101         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
84102         of rawmemchr.
84104         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
84106 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
84108         * po/ja.po: Update from translation team.
84110 2011-10-08  Roland McGrath  <roland@hack.frob.com>
84112         * locale/programs/locarchive.c (prepare_address_space): New function.
84113         (create_archive, enlarge_archive, open_archive): Use it.
84115         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
84116         inside [SHARED], where it is used.
84118         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
84120         * nss/getent.c (netgroup_keys): Remove unused variable.
84121         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84123 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
84125         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
84126         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
84127         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
84128         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
84129         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
84130         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
84131         * math/Makefile (libm-calls): Add s_isinf_ns.
84132         * math/divtc3.c: Use __isinf_nsl instead of isinf.
84133         * math/multc3.c: Likewise.
84134         * math/s_casin.c: Likewise.
84135         * math/s_casinf.c: Likewise.
84136         * math/s_casinl.c: Likewise.
84137         * math/s_ccos.c: Likewise.
84138         * math/s_ccosf.c: Likewise.
84139         * math/s_ccosl.c: Likewise.
84140         * math/s_ctan.c: Likewise.
84141         * math/s_ctanf.c: Likewise.
84142         * math/s_ctanh.c: Likewise.
84143         * math/s_ctanhf.c: Likewise.
84144         * math/s_ctanhl.c: Likewise.
84145         * math/s_ctanl.c: Likewise.
84146         * math/w_fmod.c: Likewise.
84147         * math/w_fmodf.c: Likewise.
84148         * math/w_fmodl.c: Likewise.
84149         * math/w_remainder.c: Likewise.
84150         * math/w_remainderf.c: Likewise.
84151         * math/w_remainderl.c: Likewise.
84152         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
84153         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
84154         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
84155         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
84156         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
84157         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
84158         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
84159         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
84161         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
84162         of the number.
84163         * stdio-common/printf_fphex.c: Likewise.
84164         * stdio-common/printf_size.c: Likewise.
84166         * math/e_exp10.c: Include math_private.h using <...> not "...".
84167         * math/e_exp10f.c: Likewise.
84168         * math/e_exp10l.c: Likewise.
84169         * math/e_exp2l.c: Likewise.
84170         * math/e_j0l.c: Likewise.
84171         * math/e_j1l.c: Likewise.
84172         * math/e_jnl.c: Likewise.
84173         * math/e_lgammal_r.c: Likewise.
84174         * math/e_rem_pio2l.c: Likewise.
84175         * math/e_scalb.c: Likewise.
84176         * math/e_scalbf.c: Likewise.
84177         * math/e_scalbl.c: Likewise.
84178         * math/k_cosl.c: Likewise.
84179         * math/k_sinl.c: Likewise.
84180         * math/k_tanl.c: Likewise.
84181         * math/s_cacoshf.c: Likewise.
84182         * math/s_catan.c: Likewise.
84183         * math/s_catanf.c: Likewise.
84184         * math/s_catanh.c: Likewise.
84185         * math/s_catanhf.c: Likewise.
84186         * math/s_catanhl.c: Likewise.
84187         * math/s_catanl.c: Likewise.
84188         * math/s_ccosh.c: Likewise.
84189         * math/s_ccoshf.c: Likewise.
84190         * math/s_ccoshl.c: Likewise.
84191         * math/s_cexp.c: Likewise.
84192         * math/s_cexpf.c: Likewise.
84193         * math/s_cexpl.c: Likewise.
84194         * math/s_clog.c: Likewise.
84195         * math/s_clog10.c: Likewise.
84196         * math/s_clog10f.c: Likewise.
84197         * math/s_clog10l.c: Likewise.
84198         * math/s_clogf.c: Likewise.
84199         * math/s_clogl.c: Likewise.
84200         * math/s_csin.c: Likewise.
84201         * math/s_csinf.c: Likewise.
84202         * math/s_csinh.c: Likewise.
84203         * math/s_csinhf.c: Likewise.
84204         * math/s_csinhl.c: Likewise.
84205         * math/s_csinl.c: Likewise.
84206         * math/s_csqrt.c: Likewise.
84207         * math/s_csqrtf.c: Likewise.
84208         * math/s_csqrtl.c: Likewise.
84209         * math/s_ctan.c: Likewise.
84210         * math/s_ctanf.c: Likewise.
84211         * math/s_ctanh.c: Likewise.
84212         * math/s_ctanhf.c: Likewise.
84213         * math/s_ctanhl.c: Likewise.
84214         * math/s_ctanl.c: Likewise.
84215         * math/s_ldexp.c: Likewise.
84216         * math/s_ldexpf.c: Likewise.
84217         * math/s_ldexpl.c: Likewise.
84218         * math/s_significand.c: Likewise.
84219         * math/s_significandf.c: Likewise.
84220         * math/s_significandl.c: Likewise.
84221         * math/w_acos.c: Likewise.
84222         * math/w_acosf.c: Likewise.
84223         * math/w_acosh.c: Likewise.
84224         * math/w_acoshf.c: Likewise.
84225         * math/w_acoshl.c: Likewise.
84226         * math/w_acosl.c: Likewise.
84227         * math/w_asin.c: Likewise.
84228         * math/w_asinf.c: Likewise.
84229         * math/w_asinl.c: Likewise.
84230         * math/w_atan2.c: Likewise.
84231         * math/w_atan2f.c: Likewise.
84232         * math/w_atan2l.c: Likewise.
84233         * math/w_atanh.c: Likewise.
84234         * math/w_atanhf.c: Likewise.
84235         * math/w_atanhl.c: Likewise.
84236         * math/w_cosh.c: Likewise.
84237         * math/w_coshf.c: Likewise.
84238         * math/w_coshl.c: Likewise.
84239         * math/w_dremf.c: Likewise.
84240         * math/w_exp10.c: Likewise.
84241         * math/w_exp10f.c: Likewise.
84242         * math/w_exp10l.c: Likewise.
84243         * math/w_exp2.c: Likewise.
84244         * math/w_exp2f.c: Likewise.
84245         * math/w_fmod.c: Likewise.
84246         * math/w_fmodf.c: Likewise.
84247         * math/w_fmodl.c: Likewise.
84248         * math/w_hypot.c: Likewise.
84249         * math/w_hypotf.c: Likewise.
84250         * math/w_hypotl.c: Likewise.
84251         * math/w_j0.c: Likewise.
84252         * math/w_j0f.c: Likewise.
84253         * math/w_j0l.c: Likewise.
84254         * math/w_j1.c: Likewise.
84255         * math/w_j1f.c: Likewise.
84256         * math/w_j1l.c: Likewise.
84257         * math/w_jn.c: Likewise.
84258         * math/w_jnf.c: Likewise.
84259         * math/w_jnl.c: Likewise.
84260         * math/w_lgamma.c: Likewise.
84261         * math/w_lgamma_r.c: Likewise.
84262         * math/w_lgammaf.c: Likewise.
84263         * math/w_lgammaf_r.c: Likewise.
84264         * math/w_lgammal.c: Likewise.
84265         * math/w_lgammal_r.c: Likewise.
84266         * math/w_log.c: Likewise.
84267         * math/w_log10.c: Likewise.
84268         * math/w_log10f.c: Likewise.
84269         * math/w_log10l.c: Likewise.
84270         * math/w_log2.c: Likewise.
84271         * math/w_log2f.c: Likewise.
84272         * math/w_log2l.c: Likewise.
84273         * math/w_logf.c: Likewise.
84274         * math/w_logl.c: Likewise.
84275         * math/w_pow.c: Likewise.
84276         * math/w_powf.c: Likewise.
84277         * math/w_powl.c: Likewise.
84278         * math/w_remainder.c: Likewise.
84279         * math/w_remainderf.c: Likewise.
84280         * math/w_remainderl.c: Likewise.
84281         * math/w_scalb.c: Likewise.
84282         * math/w_scalbf.c: Likewise.
84283         * math/w_scalbl.c: Likewise.
84284         * math/w_sinh.c: Likewise.
84285         * math/w_sinhf.c: Likewise.
84286         * math/w_sinhl.c: Likewise.
84287         * math/w_sqrt.c: Likewise.
84288         * math/w_sqrtf.c: Likewise.
84289         * math/w_sqrtl.c: Likewise.
84290         * math/w_tgamma.c: Likewise.
84291         * math/w_tgammaf.c: Likewise.
84292         * math/w_tgammal.c: Likewise.
84294         * po/ja.po: Update from translation team.
84296 2011-09-29  Andreas Jaeger  <aj@suse.de>
84298         [BZ #13179]
84299         * sunrpc/netname.c (netname2host): Fix logic.
84301         [BZ #6779]
84302         [BZ #6783]
84303         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
84304         correctly.
84305         * math/w_remainder.c (__remainder): Likewise.
84306         * math/w_remainderf.c (__remainderf): Likewise.
84307         * math/libm-test.inc (remainder_test): Add test cases.
84309 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84311         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
84312         sdiv_qrnnd.
84314 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84316         * string/test-memcmp.c: Avoid unncessary #defines.
84317         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84319 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84321         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
84322         Use new sse2 version for core i3 - i7 as it's faster
84323         than sse42 version.
84324         (bit_Prefer_PMINUB_for_stringop): New.
84325         * sysdeps/x86_64/rawmemchr.S: Update.
84326         Replace with faster SSE2 version.
84327         * sysdeps/x86_64/memrchr.S: New file.
84328         * sysdeps/x86_64/memchr.S: Update.
84329         Replace with faster SSE2 version.
84331 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
84333         * elf/dl-load.c (lose): Add cast to avoid warning.
84335 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84337         * po/ca.po: Update from translation team.
84339         * inet/getnetgrent_r.c: Hook up nscd.
84340         * nscd/Makefile (routines): Add nscd_netgroup.
84341         (nscd-modules): Add netgroupcache.
84342         (CFLAGS-netgroupcache.c): Define.
84343         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
84344         (cache_search): Add const to second parameter.
84345         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
84346         INNETGR.
84347         (dbs): Add netgrdb entry.
84348         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
84349         (verify_persistent_db): Handle netgrdb.
84350         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
84351         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
84352         GETFDNETGR.
84353         (netgroup_response_header): Define.
84354         (innetgroup_response_header): Define.
84355         (datahead): Add netgroup_response_header and innetgroup_response_header
84356         elements.
84357         * nscd/nscd.conf: Add entries for netgroup cache.
84358         * nscd/nscd.h (dbtype): Add netgrdb.
84359         (_PATH_NSCD_NETGROUP_DB): Define.
84360         (netgroup_iov_disabled): Declare.
84361         (xmalloc, xcalloc, xrealloc): Move declarations here.
84362         (cache_search): Adjust prototype.
84363         Add netgroup-related prototypes.
84364         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
84365         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
84366         (__nscd_innetgr): Declare.
84367         * nscd/selinux.c (perms): Use access_vector_t as element type and
84368         add netgroup-related initializers.
84369         * nscd/netgroupcache.c: New file.
84370         * nscd/nscd_netgroup.c: New file.
84371         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
84372         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
84373         For four parameters use innetgr.
84374         * nss/nss_files/files-init.c: Add definition and callback for netgr.
84375         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
84376         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
84377         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
84379         * nscd/connections.c (register_traced_file): Don't register file
84380         for disabled databases.
84382 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
84384         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
84386         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
84387         from tree and freeing node.
84389 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
84391         * nss/nsswitch.c (__nss_database_lookup): Handle
84392         nss_parse_service_list out of memory case.
84394 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
84396         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
84397         out of memory case.
84399 2011-10-04  Andreas Schwab  <schwab@redhat.com>
84401         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
84402         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
84403         pass it down.
84404         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
84405         elf_machine_rela, elf_machine_lazy_rel.
84406         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
84407         (ELF_DYNAMIC_DO_REL): Likewise.
84408         (ELF_DYNAMIC_DO_RELA): Likewise.
84409         (ELF_DYNAMIC_RELOCATE): Likewise.
84410         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
84411         to ELF_DYNAMIC_DO_REL.
84412         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
84413         (dl_main): In trace mode always set __RTLD_NOIFUNC.
84414         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
84415         elf_machine_rela.
84416         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
84417         skip_ifunc, don't call ifunc function if non-zero.
84418         (elf_machine_rela): Likewise.
84419         (elf_machine_lazy_rel): Likewise.
84420         (elf_machine_lazy_rela): Likewise.
84421         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
84422         (elf_machine_lazy_rel): Likewise.
84423         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
84424         Likewise.
84425         (elf_machine_lazy_rel): Likewise.
84426         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84427         Likewise.
84428         (elf_machine_lazy_rel): Likewise.
84429         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
84430         (elf_machine_lazy_rel): Likewise.
84431         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
84432         (elf_machine_lazy_rel): Likewise.
84433         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
84434         (elf_machine_lazy_rel): Likewise.
84435         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
84436         (elf_machine_lazy_rel): Likewise.
84437         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
84438         (elf_machine_lazy_rel): Likewise.
84439         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
84440         (elf_machine_lazy_rel): Likewise.
84442 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
84444         * nss/nss_files/files-init.c (_nss_files_init): Use static
84445         initialization for all the *_traced_file variables.
84447 2011-09-28  Andreas Schwab  <schwab@redhat.com>
84449         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84451 2011-09-27  Roland McGrath  <roland@hack.frob.com>
84453         [BZ #13226]
84454         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
84456 2011-09-27  Andreas Schwab  <schwab@redhat.com>
84458         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84459         Reread the line before reparsing it.
84461 2011-09-26  Andreas Schwab  <schwab@redhat.com>
84463         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
84465 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
84466             Maxim Kuvyrkov  <maxim@codesourcery.com>
84467             Joseph Myers  <joseph@codesourcery.com>
84469         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
84470         if needed for __stack_chk_guard.
84472 2011-09-19  Roland McGrath  <roland@hack.frob.com>
84474         * sysdeps/posix/spawni.c (script_execute): Always define it.
84475         It will be optimized away if unused.
84476         (maybe_script_execute): New function.
84477         (__spawni): Call it.
84479         * Makerules: Don't include tls.make.
84480         (config-tls): Always set to thread.
84481         * tls.make.c: File removed.
84483 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
84485         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
84486         * config.make.in (CPPFLAGS-config): New substituted variable.
84488 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84490         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
84492         [BZ #13192]
84493         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
84494         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
84496 2011-09-15  Roland McGrath  <roland@hack.frob.com>
84498         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
84499         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
84500         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84501         (CALL_FAIL): Likewise.
84502         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
84503         (CALL_FAIL): Macro removed.
84504         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
84506 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84508         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
84509         for __FINITE_MATH_ONLY__ == 1.
84511 2011-09-15  Andreas Schwab  <schwab@redhat.com>
84513         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
84514         __ieee754_sqrt instead of sqrt.
84515         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
84516         __ieee754_sqrtf instead of sqrtf.
84517         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
84518         __floorf instead of floorf.
84519         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
84520         __floorf, __truncf instead of floorf, truncf.
84522 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
84524         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
84526         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
84527         __extern_always_inline.
84528         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
84529         32-bit.
84531 2011-09-14  Andreas Schwab  <schwab@redhat.com>
84533         * elf/rtld.c (dl_main): Also relocate in dependency order when
84534         doing symbol dependency testing.
84536 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
84538         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84539         Always define `refsym'.
84541 2011-09-13  Andreas Schwab  <schwab@redhat.com>
84543         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
84544         (__FD_ELT): Renamed from __FDELT.
84545         * misc/bits/select2.h (__FD_ELT): Likewise.
84546         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
84547         __FD_MASK instead of __FDELT, __FDMASK.
84548         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84549         Likewise.
84550         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84551         Likewise.
84553         * elf/Makefile (gen-ldd): Fix pattern.
84555         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
84556         (init_tls): Likewise.
84558 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
84560         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
84562 2011-09-12  Andreas Schwab  <schwab@redhat.com>
84564         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
84565         `struct cmsghdr *' instead of `void *'.
84566         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
84567         Likewise.
84569 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
84571         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
84572         if non-absolute.
84573         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
84574         ldd_rewrite_script.
84576 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
84578         * configure.in: Remove --with-tls option.
84579         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
84580         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
84581         out in case it is missing.
84582         * sysdeps/ia64/elf/configure.in: Likewise.
84583         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
84584         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
84585         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
84586         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
84587         * sysdeps/sh/elf/configure.in: Likewise.
84588         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
84589         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84590         * sysdeps/x86_64/elf/configure.in: Likewise.
84591         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
84592         * sysdeps/mach/hurd/tls.h: Likewise.
84594         [BZ #13067]
84595         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
84597         [BZ #13090]
84598         * configure.in: Fix use of AC_INIT.
84600         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
84602 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
84604         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
84605         __set_errno.
84606         * malloc/hooks.c: Likewise.
84608         [BZ #11929]
84609         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
84610         variables statically.
84611         (narenas): Initialize.
84612         (list_lock): Initialize.
84613         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
84614         initializtion of main_arena and list_lock.  Small cleanups.
84615         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
84616         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
84617         Add initializers to main_arena and mp_.
84618         (malloc_state): Remove pagesize member.  Change all users to use
84619         GLRO(dl_pagesize).
84621         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
84622         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
84623         is always initialized.
84625         * malloc/malloc.c: Removed unused configurations and dead code.
84626         * malloc/arena.c: Likewise.
84627         * malloc/hooks.c: Likewise.
84628         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
84630         * include/tls.h: Removed.  USE___THREAD must always be defined.
84631         * bits/libc-tsd.h: Don't handle !USE___THREAD.
84632         * elf/dl-libc.c: Likewise.
84633         * elf/dl-tsd.c: Likewise.
84634         * include/errno.h: Likewise.
84635         * include/netdb.h: Likewise.
84636         * include/resolv.h: Likewise.
84637         * inet/herrno-loc.c: Likewise.
84638         * inet/herrno.c: Likewise.
84639         * malloc/arena.c: Likewise.
84640         * malloc/hooks.c: Likewise.
84641         * malloc/malloc.c: Likewise.
84642         * resolv/res-state.c: Likewise.
84643         * resolv/res_libc.c: Likewise.
84644         * sysdeps/i386/dl-machine.h: Likewise.
84645         * sysdeps/ia64/dl-machine.h: Likewise.
84646         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
84647         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
84648         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
84649         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
84650         * sysdeps/sh/dl-machine.h: Likewise.
84651         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84652         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84653         * sysdeps/unix/i386/sysdep.S: Likewise.
84654         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
84655         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
84656         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
84657         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
84658         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
84659         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
84660         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
84661         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84662         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84663         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
84664         * sysdeps/unix/x86_64/sysdep.S: Likewise.
84665         * sysdeps/x86_64/dl-machine.h: Likewise.
84666         * tls.make.c: Likewise.
84668         * configure.in: Remove --with-__thread option.  Make tests for
84669         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
84670         tls_model attribute fail if no support is available.  Remove
84671         USE_IN_LIBIO.
84672         * Makeconfig: Adjust for dropped configure option.  All features are
84673         now mandatory.
84674         * Makerules: Likewise.
84675         * Versions.def: Likewise.
84676         * argp/argp-fmtstream.c: Likewise.
84677         * argp/argp-fmtstream.h: Likewise.
84678         * argp/argp-help.c: Likewise.
84679         * assert/assert.c: Likewise.
84680         * config.h.in: Likewise.
84681         * config.make.in: Likewise.
84682         * configure: Likewise.
84683         * configure.in: Likewise.
84684         * csu/Versions: Likewise.
84685         * csu/init.c: Likewise.
84686         * elf/tst-audit2.c: Likewise.
84687         * elf/tst-tls10.c: Likewise.
84688         * elf/tst-tls10.h: Likewise.
84689         * elf/tst-tls11.c: Likewise.
84690         * elf/tst-tls12.c: Likewise.
84691         * elf/tst-tls14.c: Likewise.
84692         * elf/tst-tlsmod11.c: Likewise.
84693         * elf/tst-tlsmod12.c: Likewise.
84694         * elf/tst-tlsmod13.c: Likewise.
84695         * elf/tst-tlsmod13a.c: Likewise.
84696         * elf/tst-tlsmod14a.c: Likewise.
84697         * elf/tst-tlsmod15b.c: Likewise.
84698         * elf/tst-tlsmod16a.c: Likewise.
84699         * elf/tst-tlsmod16b.c: Likewise.
84700         * elf/tst-tlsmod7.c: Likewise.
84701         * elf/tst-tlsmod8.c: Likewise.
84702         * elf/tst-tlsmod9.c: Likewise.
84703         * gmon/gmon.c: Likewise.
84704         * grp/fgetgrent_r.c: Likewise.
84705         * grp/putgrent.c: Likewise.
84706         * hurd/fopenport.c: Likewise.
84707         * include/libc-symbols.h: Likewise.
84708         * include/tls.h: Likewise.
84709         * intl/gettextP.h: Likewise.
84710         * intl/loadinfo.h: Likewise.
84711         * locale/global-locale.c: Likewise.
84712         * locale/localeinfo.h: Likewise.
84713         * mach/devstream.c: Likewise.
84714         * malloc/arena.c: Likewise.
84715         * malloc/set-freeres.c: Likewise.
84716         * misc/err.c: Likewise.
84717         * misc/getttyent.c: Likewise.
84718         * misc/mntent_r.c: Likewise.
84719         * posix/getopt.c: Likewise.
84720         * posix/wordexp.c: Likewise.
84721         * pwd/fgetpwent_r.c: Likewise.
84722         * resolv/Versions: Likewise.
84723         * resolv/res_hconf.c: Likewise.
84724         * shadow/fgetspent_r.c: Likewise.
84725         * shadow/putspent.c: Likewise.
84726         * stdio-common/printf_fphex.c: Likewise.
84727         * stdio-common/tmpfile.c: Likewise.
84728         * stdlib/abort.c: Likewise.
84729         * stdlib/fmtmsg.c: Likewise.
84730         * sunrpc/auth_unix.c: Likewise.
84731         * sunrpc/clnt_perr.c: Likewise.
84732         * sunrpc/clnt_tcp.c: Likewise.
84733         * sunrpc/clnt_udp.c: Likewise.
84734         * sunrpc/clnt_unix.c: Likewise.
84735         * sunrpc/openchild.c: Likewise.
84736         * sunrpc/svc_simple.c: Likewise.
84737         * sunrpc/svc_tcp.c: Likewise.
84738         * sunrpc/svc_udp.c: Likewise.
84739         * sunrpc/svc_unix.c: Likewise.
84740         * sunrpc/xdr.c: Likewise.
84741         * sunrpc/xdr_array.c: Likewise.
84742         * sunrpc/xdr_rec.c: Likewise.
84743         * sunrpc/xdr_ref.c: Likewise.
84744         * sunrpc/xdr_stdio.c: Likewise.
84746 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84748         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84750 2011-07-03  Andreas Jaeger  <aj@suse.de>
84752         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
84753         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
84754         regenerate with gen-libm-tests.pl.
84756 2010-05-12  Petr Baudis  <pasky@suse.cz>
84758         [BZ #11589]
84759         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
84760         around j0() zero points by switching to j1().
84761         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84762         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84763         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84764         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84766 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84768         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
84769         instead of 0.
84770         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
84771         instead of 0.
84772         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84773         Patch in part by Pavel Roskin <proski@gnu.org>.
84775         [BZ #13138]
84776         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
84777         realloc.
84778         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
84779         Free memory block if necessary.
84781         [BZ #12847]
84782         * libio/genops.c (INTDEF): For string streams the _lock pointer can
84783         be NULL.  Don't lock in this case.
84785 2011-09-09  Roland McGrath  <roland@hack.frob.com>
84787         * elf/elf.h (ELFOSABI_GNU): New macro.
84788         (ELFOSABI_LINUX): Define to that.
84790 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
84792         * string/strncat.c (strncat): Undef the symbol in case it has been
84793         defined in bits/string.h.
84795 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84797         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
84799         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
84800         link map.
84802 2011-08-17  Andreas Jaeger  <aj@suse.de>
84804         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
84806 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
84807             Ian Lance Taylor  <iant@google.com>
84809         * math/libm-test.inc (lround_test): New testcase.
84810         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
84812 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
84814         * Makefile: Remove support for automatic cvs check-ins.
84815         * Makerules: Likewise.
84816         * config.make.in: Likewise.
84817         * configure.in: Likewise.
84818         * intl/Makefile: Likewise.
84819         * locale/Makefile: Likewise.
84820         * po/Makefile: Likewise.
84821         * posix/Makefile: Likewise.
84822         * sysdeps/gnu/Makefile: Likewise.
84823         * sysdeps/mach/hurd/Makefile: Likewise.
84824         * sysdeps/sparc/sparc32/Makefile: Likewise.
84826         [BZ #13118]
84827         * posix/Makefile (bug-regex32-ENV): Define.
84828         Patch by John Stanley <jpsinthemix@verizon.net>.
84830         * misc/Makefile (headers): Add bits/select2.h.
84831         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
84832         * misc/bits/select2.h: New file.
84833         * include/bits/select2.h: New file.
84834         * debug/Makefile (routines): Add fdelt_chk.
84835         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
84836         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
84837         FD_ISSET.
84838         * debug/fdelt_chk.c: New file.
84840         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
84841         * wcsmbs/test-wmemcmp.c: Likewise.
84842         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
84843         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
84845 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84847         * string/Makefile (strop-tests): Add memcmp.
84848         * string/test-wmemcmp.c: New file.
84849         * string/test-memcmp.c: Add wmemcmp support.
84851 2011-09-08  Roland McGrath  <roland@hack.frob.com>
84853         [BZ #13153]
84854         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
84855         2011-07-19 change.
84857         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
84858         garbage value in a __mach_port_mod_refs call in the cases of the
84859         task-self and thread-self ports.
84861 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84863         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
84865 2011-09-08  Andreas Schwab  <schwab@redhat.com>
84867         * elf/dl-load.c (lose): Check for non-null L.
84869 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84871         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
84873         * elf/dl-libc.c (dlerror_run): Pass back error code from
84874         dl_catch_error.
84876         [BZ #13123]
84877         * elf/dl-load.c (lose): Free l_origin if it is valid.
84879         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
84880         names.
84881         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
84882         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84883         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84884         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84885         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
84886         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
84888 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84890         * sysdeps/powerpc/fpu/e_hypot.c: New file.
84891         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
84892         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
84893         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
84894         * sysdeps/powerpc/fpu/k_cosf.c: New file.
84895         * sysdeps/powerpc/fpu/k_sinf.c: New file.
84896         * sysdeps/powerpc/fpu/s_cosf.c: New file.
84897         * sysdeps/powerpc/fpu/s_sinf.c: New file.
84898         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
84899         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
84901 2011-08-15  Alan Modra  <amodra@gmail.com>
84903         [BZ #13092]
84904         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
84905         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
84906         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
84907         ppc_mcount to static-only-routines.
84908         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
84909         __mcount_internal.
84910         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
84911         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
84913 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
84915         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
84916         for finite and infinity parameters.
84918 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84920         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
84921         and add nop instructions for throughput optimization.
84922         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
84924 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
84926         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
84927         aligned copy for power7 with vector-scalar instructions.
84928         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
84930 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
84932         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
84933         AVX check.
84935 2011-09-07  Andreas Schwab  <schwab@redhat.com>
84937         [BZ #13144]
84938         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
84939         last change.
84941 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84943         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84944         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
84945         syscall wrapper around clock_gettime in __vdso_clock_gettime.
84946         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
84947         clock_gettime.
84949 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84951         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
84952         Forgot to demangle the pointer.
84954         * sysdeps/i386/sysdep.h: Define atom_text_section.
84955         * sysdeps/x86_64/sysdep.h: Likewise.
84956         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
84957         section with atom_text_section.
84958         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84959         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84960         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
84961         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84962         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
84964         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
84965         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
84966         already be defined.  Change to take two parameters and don't assign
84967         result to variable.  Adjust all users.
84968         Define INTERNAL_GETTIME if not already defined.
84969         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
84970         call.
84971         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
84972         HAVE_CLOCK_GETTIME_VSYSCALL.
84973         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
84975         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
84976         gettimeofday vsyscall, just use time.
84978 2011-09-06  Andreas Schwab  <schwab@redhat.com>
84980         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
84981         <errno.h>.
84983 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84985         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
84986         syscall on x86-64.
84987         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
84988         syscall.
84989         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
84990         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
84991         syscall if possible.
84993 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84995         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
84996         e_ident.  Don't pass to find_mapsXX.
84997         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
84999 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85002         strchr-sse2-no-bsf strrchr-sse2-no-bsf
85003         * sysdeps/x86_64/multiarch/strchr.S: Update.
85004         Check bit_slow_BSF bit.
85005         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
85006         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
85007         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
85009 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85011         [BZ #13134]
85012         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
85013         before glibc 2.15.
85014         (tryshell): Define.
85015         (__spawni): Change last parameter to be flag.  Test
85016         SPAWN_XFLAGS_USE_PATH flag to use path or not.
85017         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
85018         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
85019         * posix/spawni.c: Likewise.
85020         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
85021         * posix/spawnp.c: Likewise.  Change normal version to use
85022         SPAWN_XFLAGS_USE_PATH.
85023         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
85024         SPAWN_XFLAGS_TRY_SHELL.
85026         [BZ #13150]
85027         * posix/glob.h: Remove gcc 1.x support.
85029         [BZ #13068]
85030         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
85032 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85034         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85035         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
85036         strrchr-sse2-bsf
85037         * sysdeps/i386/i686/multiarch/strchr.S: New file.
85038         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
85039         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
85040         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
85041         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
85042         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
85044 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85046         * sysdeps/x86_64/wcscmp.S: New file.
85048         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
85049         wcscmp-c wcscmp-sse2
85050         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
85051         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
85052         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
85053         * wcsmbs/wcscmp.c: Allow renaming.
85055 2011-09-05  David S. Miller  <davem@davemloft.net>
85057         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
85058         stack slot, rather than the struct return pointer slot.
85059         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
85060         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
85061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
85062         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
85064 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85066         * po/ja.po: Update from translation team.
85068         [BZ #13144]
85069         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
85070         kernel in 64-bit binaries.
85072 2011-09-01  David S. Miller  <davem@davemloft.net>
85074         * elf/elf.h (HWCAP_SPARC_*): Move to..
85075         * sysdeps/sparc/sysdep.h: this new file and add new values.
85076         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
85077         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
85078         _DL_HWCAP_COUNT to 24.
85079         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
85080         entries.
85081         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
85082         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
85083         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
85084         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
85085         instead of magic constants.
85086         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85088 2011-08-31  David S. Miller  <davem@davemloft.net>
85090         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
85091         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
85092         Reimplement to do errno handling inline.
85093         (SYSCALL_ERROR_HANDLER): New macro.
85094         (__SYSCALL_STRING): Do not do errno handling in asm.
85095         (__CLONE_SYSCALL_STRING): Delete.
85096         (__INTERNAL_SYSCALL_STRING): Delete.
85097         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
85098         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
85099         (PSEUDO): Reimplement to do errno handling inline.
85100         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
85101         (SYSCALL_ERROR_HANDLER): New macro.
85102         (__SYSCALL_STRING): Do not do errno handling in asm.
85103         (__CLONE_SYSCALL_STRING): Delete.
85104         (__INTERNAL_SYSCALL_STRING): Delete.
85105         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
85106         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
85107         i386.
85108         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
85109         (inline_syscall*): Add 'err' argument.
85110         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
85111         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
85112         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
85113         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
85115         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
85116         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
85118 2011-08-30  Andreas Schwab  <schwab@redhat.com>
85120         * elf/rtld.c (dl_main): Relocate objects in dependency order.
85122 2011-08-29  Jiri Olsa <jolsa@redhat.com>
85124         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
85125         directive.
85127 2011-08-24  David S. Miller  <davem@davemloft.net>
85129         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
85131 2011-08-24  Andreas Schwab  <schwab@redhat.com>
85133         * elf/Makefile: Add rules to build and run unload8 test.
85134         * elf/unload8.c: New file.
85135         * elf/unload8mod1.c: New file.
85136         * elf/unload8mod1x.c: New file.
85137         * elf/unload8mod2.c: New file.
85138         * elf/unload8mod3.c: New file.
85140         * elf/dl-close.c (_dl_close_worker): Reset private search list if
85141         it wasn't used.
85143 2011-08-23  David S. Miller  <davem@davemloft.net>
85145         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
85146         subtract stack bias.
85147         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
85148         %sp not %fp in calculations.
85149         (_JMPBUF_UNWINDS_ADJ): Likewise.
85151         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
85152         (aio_suspend): Call it to force an exception region around the
85153         AIO_MISC_WAIT() invocation.
85155 2011-08-23  Andreas Schwab  <schwab@redhat.com>
85157         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
85158         backslash.
85160 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
85162         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
85163         protection macro.
85164         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
85165         and <dl-machine.h>.
85166         (Elf64_FuncDesc): Remove.
85168 2011-08-22  David S. Miller  <davem@davemloft.net>
85170         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
85171         sigaltstack check, add missing cfi directives.
85172         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
85173         missing cfi directives, and sigaltstack handling.
85175 2011-08-16  Andreas Schwab  <schwab@redhat.com>
85177         [BZ #11724]
85178         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
85179         object is seen twice.
85180         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85182         * elf/Makefile (distribute): Add tst-initorder2.c.
85183         (tests): Add tst-initorder2.
85184         (modules-names): Add tst-initorder2a tst-initorder2b
85185         tst-initorder2c tst-initorder2d.  Add rules to build them.
85186         ($(objpfx)tst-initorder2.out): New rule.
85187         * elf/tst-initorder2.c: New file.
85188         * elf/tst-initorder2.exp: New file.
85190 2011-08-22  Andreas Schwab  <schwab@redhat.com>
85192         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
85194         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
85195         dependencies back to end of function.
85197         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85198         $(elfobjdir)/ld.so.
85200 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
85202         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
85203         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
85204         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
85205         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
85206         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
85207         of __vdso_gettimeofday.
85208         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
85209         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
85210         attribute_hidden.
85211         (_libc_vdso_platform_setup): Remove initialization of
85212         __vdso_gettimeofday and __vdso_time.
85214 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85216         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
85217         and fgetc_unlocked.
85218         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
85219         getc_unlocked.
85221         * elf/dl-open.c (add_to_global): Report additions to the global scope
85222         for LD_DEBUG=scopes.
85223         (dl_open_worker): Also print scope of newly loaded dependencies.
85224         (_dl_show_scope): Indicate if there is no scope.
85226         [BZ #13114]
85227         * stdio-common/Makefile (tests): Add bug24.
85228         * stdio-common/bug24.c: New file.
85230 2011-08-19  Andreas Jaeger  <aj@suse.de>
85232         [BZ #13114]
85233         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
85234         non-existant file when using close-on-exec mode.
85236 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85238         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
85239         the very first instruction.
85241         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
85242         the CFI state in the end.
85243         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
85244         inclusion of dl-trampoline.h.
85245         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
85247 2011-08-19  Andreas Schwab  <schwab@redhat.com>
85249         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
85250         expectations for long double.
85252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
85253         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
85255 2011-08-14  David S. Miller  <davem@davemloft.net>
85257         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
85258         artificual limit depends upon the system page size.
85260 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85262         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
85263         * resolv/Makefile: Define CFLAGS-libresolv.
85265 2011-08-17  Andreas Schwab  <schwab@redhat.com>
85267         * nss/makedb.c (compute_tables): Make variables used in nested
85268         function static.
85270 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85272         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
85273         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
85274         if buffer was too small.
85276         * elf/pldd.c (main): Attach to all threads in the process.
85277         Rewrite /proc handling to use *at functions.
85279 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
85281         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
85282         specifies first scope to show.
85283         (dl_open_worker): Update callers.  Move printing scope of new
85284         object to before the relocation.
85285         * elf/rtld.c (dl_main): Update _dl_show_scope call.
85286         * sysdeps/generic/ldsodefs.h: Update declaration.
85288         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
85289         string for the scope number.
85291 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
85293         * nscd/servicescache.c (cache_addserv): Make sure written is always
85294         initialized.
85296 2011-08-14  Roland McGrath  <roland@hack.frob.com>
85298         * sysdeps/i386/i486/bits/atomic.h
85299         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
85300         statement expression, so as to suppress "set but not used" warning.
85301         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
85303         * string/strncat.c (STRNCAT): Use prototype definition.
85305         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
85306         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
85307         -Iprograms here.
85308         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
85309         (localedef-modules): Add localedef.
85310         (locale-modules): Add locale.
85312         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
85313         * elf/rtld.c (dl_main): Invert order of assignment in last change,
85314         to avoid a warning.
85316 2011-08-14  David S. Miller  <davem@davemloft.net>
85318         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
85319         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
85321 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
85323         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
85324         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
85325         * elf/rtld.c (dl_main): Set l_name of vDSO.
85326         Call _dl_show_scope when DL_DEBUG_SCOPES.
85327         (process_dl_debug): Recognize scopes flag and also set it for all.
85328         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
85329         Declare _dl_show_scope.
85331         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
85332         (do_dlopen): Pass caller_dlopen to dl_open.
85333         (__libc_dlopen_mode): Initialize caller_dlopen.
85335         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
85336         of libc.  Make tolower call locale-independent.  Optimize a bit by
85337         using isdigit instead of isalnum.
85338         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
85340 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
85342         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
85343         was a dependency or dynamically loaded.
85345 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
85347         * intl/l10nflist.c: Allow architecture-specific pop function.
85348         * sysdeps/x86_64/l10nflist.c: New file.
85350         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
85351         classification.
85353 2011-08-10  Andreas Schwab  <schwab@redhat.com>
85355         * include/dirent.h: Add libc_hidden_proto for scandirat and
85356         scandirat64.  Don't declare __scandirat64.
85357         * dirent/scandirat.c: Add libc_hidden_def.
85358         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
85359         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
85361 2011-08-10  David S. Miller  <davem@davemloft.net>
85363         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
85364         enum.
85365         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85366         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85367         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85369 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
85371         * Versions.def [libc]: Add GLIBC_2.15.
85372         * dirent/Makefile (routines): Add scandirat and scandirat64.
85373         * dirent/Versions [libc]: Export scandirat and scandirat64 for
85374         GLIBC_2.15.
85375         * dirent/dirent.h: Declare scandirat and scandirat64.
85376         * dirent/scandirat.c: New file.
85377         * dirent/scandirat64.c: New file.
85378         * sysdeps/wordsize-64/scandirat.c: New file.
85379         * sysdeps/wordsize-64/scandirat64.c: New file.
85380         * dirent/opendir.c: Define opendirat.
85381         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
85382         using scandirat.
85383         * dirent/scandir64.c: Adjust for scandir.c change.
85384         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
85385         __scandirat64, and __scandir_cancel_handler.
85386         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
85387         additional parameter and use openat instead of open (outside of ld.so).
85388         Add new __opendir as wrapper around __opendirat.
85389         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
85390         here without requiring old scandirat implementation.
85392 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
85394         * dirent/scandir.c (cancel_handler): Renamed to
85395         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
85396         defined.  Adjust users.
85397         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
85398         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
85400 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
85402         * string/test-string.h (IMPL): Use __STRING to expand name and then
85403         stringify it.
85405         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
85406         of cleanups.
85408 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85410         * string/Makefile: Update.
85411         (strop-tests): Append strncat.
85412         * string/test-wcscmp.c: New file.
85413         New comprehensive test for wcscmp.
85414         * string/test-strcmp.c: Update.
85415         (WIDE): New define.
85417 2011-07-22  Andreas Schwab  <schwab@redhat.com>
85419         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
85420         line.
85422 2011-07-26  Andreas Schwab  <schwab@redhat.com>
85424         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85425         encoding to ACE if AI_IDN.
85427 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
85429         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
85430         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
85432 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85434         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
85435         Fix overflow bug in strncat.
85436         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
85438         * string/test-strncat.c: Update.
85439         Add new tests for checking overflow bugs.
85441 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85443         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85444         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
85445         * sysdeps/i386/i686/multiarch/strcat.S: New file.
85446         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
85447         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
85448         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
85449         * sysdeps/i386/i686/multiarch/strncat.S: New file.
85450         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
85451         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
85453         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
85454         (USE_AS_STRCAT): Define.
85455         Add strcat and strncat support.
85456         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85458 2011-07-25  Andreas Schwab  <schwab@redhat.com>
85460         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
85461         __n bigger than INT_MAX+1.
85462         (__strncmp_g): Likewise.
85464 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
85466         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
85467         * libio/stido.h: Likewise.
85469         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
85470         (AF_NFC): Define.
85471         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
85472         (AF_NFC): Define.
85474         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
85475         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85476         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85477         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
85478         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85480         [BZ #13021]
85481         * scripts/test-installation.pl: Don't expect libnss_test1 to be
85482         installed.
85484         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
85485         typo.
85486         (_dl_x86_64_save_sse): Likewise.
85488 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
85490         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
85491         OSXSAVE.
85492         (_dl_x86_64_save_sse): Likewise.
85494         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
85496         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
85498 2011-07-21  Andreas Schwab  <schwab@redhat.com>
85500         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
85501         change.
85502         (_dl_x86_64_save_sse): Use correct AVX check.
85504 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85506         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
85507         bug in strncpy/strncat.
85508         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
85510 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
85512         * string/tester.c (test_strcat): Add tests for different alignments
85513         of source and destination.
85514         (test_strncat): Likewise.
85516 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85518         [BZ #12852]
85519         * posix/glob.c (glob): Check passed in values before using them in
85520         expressions to avoid some overflows.
85521         (glob_in_dir): Likewise.
85523         [BZ #13007]
85524         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
85525         check for AVX enablement so that we don't crash with old kernels and
85526         new hardware.
85527         * elf/tst-audit4.c: Add same checks here.
85528         * elf/tst-audit6.c: Likewise.
85530         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
85532 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
85534         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
85536 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85538         * po/cs.po: Update from translation team.
85539         * po/bg.po: Likewise.
85541 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
85543         * misc/sys/cdefs.h: Add support for const attribute.
85544         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
85545         to gnu_dev_{major,minor,makedev} functions.
85547 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
85549         * intl/dcigettext.c (get_output_charset): Add missing bracket.
85551 2011-07-20  Andreas Schwab  <schwab@redhat.com>
85553         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
85554         strlen results.
85556 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85558         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
85559         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
85560         register in order to avoid conflicts with the soft frame pointer
85561         being held in r11 when necessary.
85562         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
85563         (INTERNAL_VSYSCALL_NCS): Likewise.
85565 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
85567         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
85568         * elf/dl-fini.c (_dl_fini): Adjust caller.
85569         * elf/dl-close.c (_dl_close_worker): Likewise.
85570         * sysdeps/generic/ldsodefs.h: Adjust declaration.
85572 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85574         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
85575         "aux_cache->nlibs < 0".
85577         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
85578         in the reload-count case.
85580 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85582         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85583         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
85584         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
85585         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
85586         * sysdeps/x86_64/multiarch/strcat.S: New file.
85587         * sysdeps/x86_64/multiarch/strncat.S: New file.
85588         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
85589         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
85590         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
85591         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
85592         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
85593         (USE_AS_STRCAT): Define.
85594         Add strcat and strncat support.
85595         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85596         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
85597         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
85598         * string/strncat.c: Update.
85599         (USE_AS_STRNCAT): Define.
85600         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85601         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
85602         and i7.
85603         * sysdeps/x86_64/multiarch/init-arch.h
85604         (bit_Prefer_PMINUB_for_stringop): New.
85605         (index_Prefer_PMINUB_for_stringop): Likewise.
85606         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
85607         bit_Prefer_PMINUB_for_stringop.
85609 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85611         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
85612         buffer64.
85613         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
85614         of casting of buffer.
85615         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
85616         buffer32 and buffer64.
85617         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
85618         writes instead of casting of buffer.
85619         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
85620         buffer32.
85621         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
85622         casting of buffer.
85624 2011-07-19  Andreas Schwab  <schwab@redhat.com>
85626         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
85628 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85630         * nscd/nscd.c (termination_handler): Don't do anything for a database
85631         if it has not yet been initialized.
85633 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85635         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85637 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85639         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85641 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85643         * po/nl.po: Update from translation team.
85644         * po/sv.po: Likewise.
85646 2011-07-16  Roland McGrath  <roland@hack.frob.com>
85648         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
85649         now disallowed by GCC.
85651         * configure.in (use-default-link): Default to yes if a test -shared
85652         link meets our qualifications.
85653         * configure: Regenerated.
85655         * config.make.in (output-format): New variable.
85656         * configure.in: Check for ld --print-output-format support.
85657         * configure: Regenerated.
85658         * Makerules ($(common-objpfx)format.lds)
85659         [$(output-format) != unknown]: Just use $(output-format),
85660         instead of the linker-script munging.
85662 2011-07-14  Roland McGrath  <roland@hack.frob.com>
85664         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
85665         of $(common-objpfx)shlib.lds.
85666         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
85668         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
85669         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
85671         * configure.in (-z relro check): Adjust test code to add a large
85672         writable data section after it.
85673         * configure: Regenerated.
85675 2011-07-11  Roland McGrath  <roland@hack.frob.com>
85677         * configure.in (-z relro check): Fix test code to make the variable
85678         truly const.
85679         * configure: Regenerated.
85681 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
85683         * nscd/nscd.h (struct traced_file): Define.
85684         (struct database_dyn): Remove inotify_descr, reset_res, and filename
85685         elements.  Add traced_files.
85686         (inotify_fd): Declare.
85687         (register_traced_file): Declare.
85688         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
85689         (inotify_fd): Export.
85690         (resolv_conf_descr): Remove.
85691         (nscd_init): Move inotify descriptor creation to main.
85692         Don't register files for notification here.
85693         (register_traced_file): New function.
85694         (invalidate_cache): Don't use reset_res to determine whether to call
85695         res_init, go through the list of registered files.
85696         (main_loop_poll): The inotify descriptors are now stored in the
85697         structures for the traced files.
85698         (main_loop_epoll): Likewise.
85699         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
85700         to __nss_disable_nscd.
85701         * nscd/cache.c (prune_cache): There is no single inotify descriptor
85702         for a database anymore.  Check the records for all the registered
85703         files instead.
85704         * nss/Makefile (libnss_files-routines): Add files-init.
85705         (libnss_db-routines): Add db-init.
85706         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
85707         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
85708         * nss/nss_db/db-init.c: New file.
85709         * nss/nss_files/files-init.c: New file.
85710         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
85711         __nss_lookup_function.
85712         (__nss_lookup_function): Call nss_load_library.
85713         (nss_load_all_libraries): New function.
85714         (__nss_disable_nscd): Take parameter with callback function for files
85715         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
85716         used for the cached services.
85717         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
85718         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
85719         options for features to all the files in nscd.
85721         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
85723 2011-07-10  Roland McGrath  <roland@hack.frob.com>
85725         * csu/elf-init.c (__libc_csu_init): Comment typo.
85727 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
85729         * po/pl.po: Update from translation team.
85730         * po/ja.po: Likewise.
85731         * po/ru.po: Likewise.
85732         * po/ko.po: Likewise.
85733         * po/fr.po: Likewise.
85735 2011-07-09  Roland McGrath  <roland@hack.frob.com>
85737         * configure.in (.ctors/.dtors header and trailer check):
85738         Use an empirical test on a built program.
85739         * configure: Regenerated.
85741         * configure.in (-z relro check): Use an empirical test on a built DSO.
85742         Detect, but do not require, on ia64.
85743         * configure: Regenerated.
85745         * configure.in (READELF): Find it with AC_CHECK_TOOL.
85746         Update tests that use readelf to use $READELF instead.
85747         * configure: Regenerated.
85749 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
85751         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
85752         if the result is not used.
85754 2011-07-05  Andreas Jaeger  <aj@suse.de>
85756         [BZ#9696]
85757         * stdlib/tst-strtod.c: Add testcase.
85759 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
85761         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
85762         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
85763         The latter has a higher limit.  Take additional parameter to pass to
85764         the new function.
85765         (__pathconf): Pass file to __statfs_link_max.
85766         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
85767         __statfs_link_max.
85768         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
85769         __statfs_link_max.
85771         [BZ #12868]
85772         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
85773         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85774         Handle Lustre.
85775         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
85776         (__statfs_filesize_max): Likewise.
85777         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
85779 2011-07-05  Andreas Jaeger  <aj@suse.de>
85781         * resolv/res_comp.c (dn_skipname): Remove unused variable.
85783 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
85785         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
85786         `status' variable.
85787         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
85788         Likewise.
85790 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
85792         * Makefile (strop-tests): Add strncat.
85793         * string/test-strncat.c: New file.
85795 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
85797         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
85799 2011-06-21  Andreas Jaeger  <aj@suse.de>
85801         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
85802         Copy rule from iconvdata/Makefile.
85804 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85806         [BZ #12922]
85807         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
85808         but no long options are defined, just return 'W'.
85810 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
85812         [BZ #9696]
85813         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
85815 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85817         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
85818         netgroups to read.
85819         (innetgr): Likewise.
85821 2011-07-05  Roland McGrath  <roland@hack.frob.com>
85823         * config.make.in (install_root): Default to $(DESTDIR).
85825 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
85827         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
85829 2011-07-02  Roland McGrath  <roland@hack.frob.com>
85831         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
85833         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
85834         containing directory rather than embedding absolute directory names.
85836         * scripts/check-local-headers.sh: Rewritten using awk.
85837         Match by word, not by line.  Print error messages for matches.
85838         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
85840         * Makerules [shlib-lds-flags empty]:
85841         ($(common-objpfx)libc_pic.opts): New target.
85842         ($(common-objpfx)libc_pic.os.clean): New target.
85843         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
85845         * config.make.in (OBJCOPY): New variable.
85846         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
85847         * configure: Regenerated.
85849         * config.make.in (use-default-link): New variable.
85850         * configure.in (use_default_link): Grok --with-default-link to set it.
85851         * configure: Regenerated.
85852         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
85853         (shlib-lds, shlib-lds-flags): Define to empty.
85855         * Makerules (shlib-lds): New variable.
85856         (shlib-lds-flags): New variable.
85857         (build-shlib, build-moduile, build-module-asneeded): Use it.
85858         ($(common-objpfx)libc.so): Use $(shlib-lds).
85859         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
85860         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
85862         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
85863         DT_FLAGS/DT_FLAGS_1 with zero flags.
85865         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
85866         linker script munging.
85868 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
85870         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
85871         as 128-bit value.
85872         * crypt/sha512.c (sha512_process_block): Perform total addition using
85873         128-bit if possible.
85874         (__sha512_finish_ctx): Likewise.
85875         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
85876         as 64-bit value.
85877         * crypt/sha256.c (SWAP64): Define.
85878         (sha256_process_block): Perform total addition using 64-bit if
85879         possible.
85880         (__sha256_finish_ctx): Likewise.
85882 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
85884         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
85885         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85886         * nscd/hstcache.c (cache_addhst): Likewise.
85887         * nscd/grpcache.c (cache_addgr): Likewise.
85888         * nscd/aicache.c (addhstaiX): Likewise.
85889         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
85891 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
85893         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
85894         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85895         * nscd/hstcache.c (cache_addhst): Likewise.
85896         * nscd/grpcache.c (cache_addgr): Likewise.
85897         * nscd/aicache.c (addhstaiX): Likewise.
85899 2011-07-01  Andreas Schwab  <schwab@redhat.com>
85901         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
85902         domain only when needed.
85904 2011-06-30  Andreas Schwab  <schwab@redhat.com>
85906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
85907         is always restored.
85909 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
85911         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
85912         are re-adding the entry.
85913         * nscd/servicescache.c (cache_addserv): Likewise.
85915 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
85917         * sysdeps/generic/dl-irel.h: fix protection against multiple
85918         inclusions.
85919         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
85921 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
85923         [BZ #12935]
85924         * malloc/memusage.sh: Fix quoting in message.
85925         * debug/xtrace.sh: Likewise.
85927         * configure.in: Remove support for --experimental-malloc option, make
85928         it the default.
85929         * config.make.in: Likewise.
85930         * malloc/Makefile: Likewise.
85932 2011-06-27  Andreas Schwab  <schwab@redhat.com>
85934         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
85935         two-byte characters.
85937 2011-06-27  Roland McGrath  <roland@hack.frob.com>
85939         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
85940         AC_CACHE_CHECK invocation.
85941         * configure: Regenerated.
85943         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
85945 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
85947         [BZ #12350]
85948         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
85949         bit from old_res_options.
85951         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
85953         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
85954         value type for setfct.
85956 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
85958         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85959         __gettimeofday instead of gettimeofday.
85961 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
85963         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
85965 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
85967         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
85969         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
85970         info.
85972 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85974         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85975         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85976         strcpy-sse2-unaligned strncpy-sse2-unaligned
85977         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
85978         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
85979         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
85980         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
85981         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
85982         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
85983         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
85984         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
85985         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
85986         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
85987         (STRCPY): Support SSE2 and SSSE3 versions.
85989 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
85991         [BZ #12874]
85992         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
85993         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
85994         kernels which artificially limit size of requests.
85996 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85998         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85999         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86000         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
86001         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
86002         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
86003         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
86004         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
86005         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
86006         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
86007         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
86008         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
86009         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
86010         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
86011         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
86012         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
86013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86014         Enable unaligned load optimization for Intel Core i3, i5 and i7
86015         processors.
86016         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
86017         Define.
86018         (index_Fast_Unaligned_Load): Define.
86019         (HAS_FAST_UNALIGNED_LOAD): Define.
86021 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
86023         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
86025 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86027         [BZ #12907]
86028         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
86029         until it is clear that the information is realy needed.
86030         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
86032 2011-06-22  Andreas Schwab  <schwab@redhat.com>
86034         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
86036 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86038         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86039         /sys/devices/system/cpu/online if it is usable.
86041         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
86042         reading the information from the /proc filesystem to once a second.
86044 2011-06-21  Andreas Jaeger  <aj@suse.de>
86046         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
86047         NULL after inclusion of kernel headers.
86049 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
86051         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
86052         calls to internal_setent.
86054         [BZ #12885]
86055         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
86056         addresses using gethostbyname4_r ignore IPv4 addresses.
86058         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
86059         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
86061         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
86063 2011-06-20  David S. Miller  <davem@davemloft.net>
86065         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
86066         inclusions.
86067         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
86069         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
86070         (elf_irel): Use it.
86071         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
86072         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
86073         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
86074         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
86075         * sysdeps/x86_64/dl-irel.h: Likewise.
86077         * elf/dl-runtime.c: Use elf_ifunc_invoke.
86078         * elf/dl-sym.c: Likewise.
86080 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86082         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
86083         need to dereference resplen2.
86085 2011-06-14  Andreas Schwab  <schwab@redhat.com>
86087         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
86089 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86091         * Makeconfig: Define vardbdir and inst_vardbdir.
86092         * nss/Makefile: Add rules to install db-Makefile.
86094         * nss/nss_db/db-XXX.c: Cleanup.
86096         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
86097         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
86098         GLIBC_PRIVATE.
86099         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
86100         * nss/makedb.c: Implement -g option to specify that value strings
86101         are generated and should not be added to table iterated over for
86102         get*ent calls.
86103         * nss/nss_db/db-initgroups.c: New file.
86105         * nss/getent.c: Add support for initgroups lookups through getgrouplist
86106         interface.
86108         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
86109         (internal_getgrouplist): Adjust to name change.
86110         Update use_initgroups_entry if this is not the first call.
86111         * nss/databases.def: Add initgroups entry.
86113         * nss/makedb.c (compute_tables): Check result of multiple hash table
86114         sizes to minimize maximum chain length.
86116 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
86118         * Versions.def: Add entry for libnss_db.
86119         * shlib-versions: Likewise.
86120         * nss/Makefile: Add rules to build libnss_db.
86121         * nss/Versions: Add libnss_db information.  Organize libnss_files
86122         entries better.
86123         * nss/db-Makefile: Add gshadow support.  Change rules for the new
86124         makedb progra.  Some minor improvements to generate smaller files.
86125         * nss/nss_db/nss_db.h: Move NSS database header data structures to
86126         here from...
86127         * nss/makedb.c: ...here.
86128         Improve database format to be smaller and require less memory at
86129         runtime.
86130         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
86131         db anymore.
86132         * nss/nss_db/db-netgrp.c: Likewise.
86133         * nss/nss_db/db-open.c: Likewise.
86134         * nss/nss_files/flies-XXX.x: Adjust comments.
86135         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
86136         * nss/nss_files/files-grp.c: Likewise.
86137         * nss/nss_files/files-hosts.c: Likewise.
86138         * nss/nss_files/files-network.c: Likewise.
86139         * nss/nss_files/files-proto.c: Likewise.
86140         * nss/nss_files/files-pwd.c: Likewise.
86141         * nss/nss_files/files-rpc.c: Likewise.
86142         * nss/nss_files/files-service.c: Likewise.
86143         * nss/nss_files/files-sgrp.c: Likewise.
86144         * nss/nss_files/files-spwd.c: Likewise.
86145         * nss/nss_db/db-alias.c: Removed.
86146         * nss/nss_db/dummy-db.h: Removed.
86148 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
86150         * nss/makedb.c: Rewritten to not use database library.
86151         * nss/Makefile: Update to build new makedb program.
86153 2011-06-14  Andreas Jaeger  <aj@suse.de>
86155         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
86156         memset declaration.
86158 2011-06-10  Andreas Schwab  <schwab@redhat.com>
86160         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
86161         tmpbuf.
86163 2011-06-10  Roland McGrath  <roland@hack.frob.com>
86165         * Makerules (shlib.lds): Fail if the linker script comes out empty.
86166         * elf/Makefile ($(objpfx)ld.so): Likewise.
86168         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
86169         Don't list ld.so twice in dependencies.
86171         * posix/bug-regex31.c: Include <stdlib.h>.
86173         * nscd/hstcache.c (cache_addhst): Remove unused variable.
86175         * nis/nss_compat/compat-spwd.c
86176         (getspent_next_nss_netgr): Remove unused variable.
86177         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
86179         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
86180         nonmembers" output to use the right array.
86182         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
86184         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
86186         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
86187         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
86188         * catgets/gencat.c (read_input_file): Likewise.
86189         * locale/programs/locarchive.c (enlarge_archive): Likewise.
86191         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
86192         variable definition inside #if's controlling its use.
86194         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
86196         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
86198         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
86200         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
86201         unreachable code.
86203         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
86205         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
86206         * configure: Regenerated.
86208         * Makerules: Revert last change.
86209         * elf/Makefile: Likewise.
86211 2011-06-09  Roland McGrath  <roland@hack.frob.com>
86213         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
86214         * elf/Makefile ($(objpfx)librtld.os): Likewise.
86215         (reloc-link): Likewise.
86217 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
86219         * elf/Makefile: Add rules to build pldd.
86220         * elf/pldd.c: New file.
86221         * elf/pldd-xx.c: New file.
86223 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
86225         * version.h: Update for 2.15 development version.
86227 2011-06-07  David S. Miller  <davem@davemloft.net>
86229         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
86230         ifuncs.
86231         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
86232         elf_machine_lazy_rel): Likewise.
86233         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
86234         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
86235         elf_machine_lazy_rel): Likewise.
86236         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
86237         dl_hwcap via passed in argument.
86238         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
86239         Likewise.
86241 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86243         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
86245 2011-06-06  Roland McGrath  <roland@hack.frob.com>
86247         [BZ #12849]
86248         * manual/fdl-1.1.texi: New file, verbatim from:
86249         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
86250         * manual/lgpl-2.1.texi: New file, verbatim from:
86251         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
86252         * manual/Makefile (licenses): New variable, list those new file names.
86253         (texis): Use it.
86254         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
86256         * manual/fdl.texi: File removed.
86257         * manual/lesser.texi: File removed.
86258         * manual/libc.texinfo (Copying, Documentation License):
86259         Use new @include file names, put @appendix directive before @include.
86261 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
86263         [BZ #12841]
86264         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
86265         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
86266         (mq_open): Add __NTH.
86268 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
86270         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86271         Assume Intel Core i3/i5/i7 processor if AVX is available.
86273 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86275         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86276         typo.
86278 2011-05-31  Andreas Schwab  <schwab@redhat.com>
86280         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
86281         memory.  Use alloca_account.  Fix memory leak when retrying.
86283 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86285         * version.h (RELEASE): Bump for 2.14 release.
86286         * include/features.h (__GLIBC_MINOR__): Bump to 14.
86288         * config.make.in (RANLIB): Remove entry.
86290 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
86292         * po/Makefile (po-sed-cmd): Add ksh to extensions.
86293         (libc.pot): Work around missing support for .ksh extension in xgettext.
86295         [BZ #12684]
86296         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
86297         if both request failed.
86298         (send_dg): In case of server errors clear resplen or *resplen2.
86300         [BZ #12454]
86301         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
86302         when there are multiple maps.
86303         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
86304         (_dl_fini): Remove test here.
86306         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
86308 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
86310         [BZ #12350]
86311         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
86312         bit from old_res_options.
86313         (gaih_inet): Likewise.
86315         [BZ #11099]
86316         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
86317         as signed.
86319         * resolv/res_init.c (res_setoptions): Make the code more compact.
86321         [BZ #11558]
86322         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
86323         set RES_USEVC.
86325         [BZ #11634]
86326         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
86328         * malloc/malloc.h: Mark malloc hook variables as deprecated.
86330         [BZ #11781]
86331         * malloc/malloc.h: Declare malloc hook variables as volatile.
86333         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
86334         in last patch.
86336         [BZ #11799]
86337         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
86338         raise in the comment.
86339         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86340         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86341         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
86343 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
86345         [BZ #12811]
86346         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
86347         grow the buffers more if it already has to be sufficient.
86348         (build_wcs_upper_buffer): Likewise.
86349         * posix/regexec.c (check_matching): Likewise.
86350         (clean_state_log_if_needed): Likewise.
86351         (extend_buffers): Don't enlarge buffers beyond size of the input
86352         buffer.
86353         Patches mostly by Emil Wojak <emil@wojak.eu>.
86354         * posix/bug-regex32.c: New file.
86355         * posix/Makefile (tests): Add bug-regex32.
86357         * locale/findlocale.c (_nl_find_locale): Return right away if
86358         _nl_explode_name failed.
86359         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
86361         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
86363         * debug/xtrace.sh: Unify messages.
86364         * malloc/memusage.sh: Likewise.
86366         [BZ #12813]
86367         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
86368         time symbol from vDSO.  Substitute with vsyscall if not available.
86369         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
86370         __vdso_time.
86372         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
86373         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
86374         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
86375         Add sendmmsg and internal_sendmmsg.
86376         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
86377         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
86378         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
86380         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
86381         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
86382         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
86384 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
86386         [BZ #12813]
86387         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
86388         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
86389         available.
86390         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
86391         __vdso_getcpu.
86393         [BZ #12814]
86394         * iconvdata/Makefile (tests): Add bug-iconv9.
86395         * iconvdata/bug-iconv9.c: New file.
86397 2011-05-27  Andreas Schwab  <schwab@redhat.com>
86399         [BZ #12814]
86400         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
86402 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
86404         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86405         (struct user_regs_struct): Change intcs field back to cs.
86407 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
86409         * po/ja.po: Update from translation team.
86411 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
86413         [BZ #12795]
86414         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
86415         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
86417 2011-05-20  Andreas Schwab  <schwab@redhat.com>
86419         * stdlib/longlong.h: Update from GCC.
86421 2011-05-23  Andreas Schwab  <schwab@redhat.com>
86423         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
86424         parameter name.
86425         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
86426         Add parameter name.
86427         (__sysconf): Pass it down.
86429 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
86431         [BZ #12671]
86432         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
86433         some situations.
86434         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
86435         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
86436         add in in __libc_use_alloca calls.  Adjust callers.
86437         (glob): Use malloc in some situations.
86439         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
86440         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
86441         pltexit.
86443 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
86445         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
86446         and CLOCK_BOOTTIME_ALARM.
86448         [BZ #12782]
86449         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
86450         is returned.
86452         * string/_strerror.c (__strerror_r): Print negative errors as signed
86453         numbers.
86455         [BZ #12777]
86456         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
86457         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
86458         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
86460         * configure.in: Fix typo in redirection and correct removal of test
86461         files in two cases.
86463         [BZ #12788]
86464         * locale/setlocale.c (new_composite_name): Fix test to check for
86465         identical name of all categories.
86467         [BZ #12792]
86468         * libio/filedoalloc.c (local_isatty): New function.
86469         (_IO_file_doallocate): Use local_isatty.
86470         * stdio-common/perror.c (perror): In case a new stream is used
86471         forward the stream error.
86472         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
86473         error flag.
86475 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
86477         [BZ #11884]
86478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
86479         alloca.
86480         * include/alloca.h (extend_alloca_account): Define.
86482         [BZ #11857]
86483         * posix/regex.h: Fix comments with documentation of user-accessible
86484         fields after compilation and describe correct free'ing of pattern
86485         after re_compile_pattern.
86486         Patch by Reuben Thomas <rrt@sc3d.org>.
86488 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
86490         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
86491         and -mno-altivec to prevent the compiler from using Altivec and/or
86492         VSX instructions when the corresponding registers are not available.
86494 2011-05-19  Andreas Schwab  <schwab@redhat.com>
86496         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
86498 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
86500         * libio/freopen.c (freopen): Use __dup2, not dup2.
86501         * libio/freopen64.c (freopen64): Likewise.
86503 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
86505         [BZ #12775]
86506         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
86507         * math/Makefile (tests): Add test-powl.
86508         (CFLAGS-test-powl.c): Define.
86509         * math/test-powl.c: New file.
86511 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
86513         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
86515 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
86517         [BZ #11837]
86518         * iconvdata/gb18030.c: Update to GB18020-2005.
86520 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
86522         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
86523         RE_SYNTAX_POSIX_AWK): Update to match recent development.
86524         Patch by Aharon Robbins <arnold@skeeve.com>.
86526         [BZ #11892]
86527         * stdlib/putenv.c (putenv): Don't always create copy of the variable
86528         on the stack.
86530         [BZ #11895]
86531         * misc/pselect.c (__pselect): Handle timeout value errors hidden
86532         through underflows.
86534         [BZ #12766]
86535         * misc/error.c (error_at_line): Ensure file_name and old_file_name
86536         point to strings before performing equality test for error_one_per_line
86537         mode.
86539         [BZ #11697]
86540         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
86542         [BZ #11820]
86543         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86544         (struct user_fpregs_struct): Avoid __uint*_t types.
86546         [BZ #6420]
86547         * malloc/mtrace.c (tr_where): Add additional parameter to point to
86548         symbol info.  Use it instead of calling _dl_addr locally.
86549         (lock_and_info): New function.
86550         (tr_freehook): Call lock_and_info and pass symbol info as additional
86551         parameter to tr_where.
86552         (tr_mallochook): Likewise.
86553         (tr_reallochook): Likewise.
86554         (tr_memalignhook): Likewise.
86556         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
86557         used and couldn't be at all thread-safe.
86559 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
86561         * libio/freopen.c (freopen): Don't close old file descriptor
86562         before the new one is opened.  Instead dup the new file descriptor
86563         to the old one after the new stream is created.
86564         * libio/freopen64.c (freopen64): Likewise.
86565         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
86566         * libio/fileops.c (_IO_new_file_close_it): Handle new
86567         _IO_FLAGS2_NOCLOSE flag.
86568         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
86569         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
86570         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
86571         _IO_FLAGS2_NOCLOSE flag.
86572         * include/unistd.h: Add hidden_proto for dup3.
86573         Define __have_dup3.
86574         * io/dup3.c: Define hidden symbol.
86575         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
86577         [BZ #7101]
86578         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
86579         when an incomplete long option is used.
86580         * posix/tst-getopt_long1.c: New file.
86581         * posix/Makefile (tests): Add tst-getopt_long1.
86583         [BZ #10138]
86584         * scripts/config.guess: Update from autoconf-2.68.
86585         * scripts/config.sub: Likewise.
86587         [BZ #10157]
86588         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
86589         tests into ...
86590         (has_cpuclock): ...this.  New function.
86591         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
86592         macro here based on has_cpuclock code.
86594         [BZ #10149]
86595         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86596         First byte (not low byte) is now always NUL.
86597         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
86599         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86600         Use non-cancelable interfaces.
86602         [BZ #9809]
86603         * locale/iso-639.def: Add entry for Sorani.
86605         [BZ #11901]
86606         * include/stdlib.h: Move include protection to the right place.
86607         Define abort_msg_s.  Declare __abort_msg with it.
86608         * stdlib/abort.c (__abort_msg): Adjust type.
86609         * assert/assert.c (__assert_fail_base): New function.  Majority
86610         of code from __assert_fail.  Allocate memory for __abort_msg with
86611         mmap.
86612         (__assert_fail): Now call __assert_fail_base.
86613         * assert/assert-perr.c: Remove bulk of implementation.  Use
86614         __assert_fail_base.
86615         * include/assert.hL Declare __assert_fail_base.
86616         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
86617         mmap.
86618         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
86620 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
86622         [BZ #11952]
86623         [BZ #12453]
86624         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
86625         until all modules are registered in the DTV.
86626         * elf/Makefile: Add rules to build and run tst-tls19.
86627         * elf/tst-tls19.c: New file.
86628         * elf/tst-tls19mod1.c: New file.
86629         * elf/tst-tls19mod2.c: New file.
86630         * elf/tst-tls19mod3.c: New file.
86631         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
86633         [BZ #12083]
86634         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
86635         correctly.
86637         [BZ #12601]
86638         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
86639         two-byte sequence errors.
86640         * iconvdata/Makefile (tests): Add bug-iconv8.
86641         * iconvdata/bug-iconv8.c: New file.
86643         [BZ #12626]
86644         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
86645         buf2 definition.
86647         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
86649         [BZ #12432]
86650         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
86651         (dummy_getcfa): New function.
86652         (init): Get _Unwind_GetCFA address, use dummy if not found.
86653         (backtrace_helper): In recursion check, also check whether CFA changes.
86654         (__backtrace): Completely initialize arg.
86656         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
86657         storing incomplete byte sequence in state object.  Avoid testing for
86658         guaranteed too small input if we know there is enough data available.
86660 2011-05-11  Andreas Schwab  <schwab@redhat.com>
86662         * Makeconfig (+link-pie): Indent.
86663         * Rules (binaries-pie): Define if $(have-fpie) and
86664         $(build-shared).
86665         (binaries-shared): Also filter out $(binaries-pie).
86666         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
86667         * nscd/Makefile (others-pie): Add nscd.
86668         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
86669         ($(objpfx)nscd): Remove command override.
86670         * login/Makefile (others-pie): Add pt_chown.
86671         ($(objpfx)pt_chown): Remove command override.
86672         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
86673         remove command overrides.
86675 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
86677         * libio/tst_putwc.c: Fix error messages.
86679         [BZ #12724]
86680         * libio/fileops.c (_IO_new_file_close_it): Always flush when
86681         currently writing and seek to current position when not.
86682         * libio/Makefile (tests): Add bug-fclose1.
86683         * libio/bug-fclose1.c: New file.
86685 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
86687         [BZ #12511]
86688         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
86689         don't set DF_1_NODELETE here.
86690         (do_lookup_x): When entering new entry test for copy relocation
86691         and if necessary set DF_1_NODELETE flag.
86692         * elf/tst-unique4.cc: New file.
86693         * elf/tst-unique4.h: New file.
86694         * elf/tst-unique4lib.cc: New file.
86695         * elf/Makefile: Add rules to build and run tst-unique4.
86696         Patch by Piotr Bury <pbury@goahead.com>.
86698 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
86700         [BZ #12052]
86701         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
86703         [BZ #12625]
86704         * misc/mntent_r.c (addmntent): Flush the stream after the output
86706         [BZ #12393]
86707         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
86708         (is_trusted_path_normalize): Skip initial colon.  Append slash
86709         to empty buffer.  Duplicate is_trusted_path code but allow
86710         constructed patch to be prefix.
86711         (is_dst): Allow $ORIGIN followed by /.
86712         (_dl_dst_substitute): Correct clearing of check_for_trusted.
86713         Correct testing of result of is_trusted_path_normalize
86714         (decompose_rpath): Fix warning.
86716 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
86718         [BZ #11257]
86719         * grp/initgroups.c (internal_getgrouplist): When we found the service
86720         list through the initgroups entry in nsswitch.conf do not always
86721         continue on a successful lookup.  Don't always use the
86722         __nss_group_database value if it is set.
86723         * nss/nsswitch.conf (initgroups): Change action for successful db
86724         lookup to continue for compatibility.
86726 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
86728         [BZ #11532]
86729         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
86730         and CP774 modules.
86731         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
86732         and CP774 modules.
86733         * iconvdata/tst-tables.sh: Likewise.
86734         * iconvdata/cp770.c: New file.
86735         * iconvdata/cp771.c: New file.
86736         * iconvdata/cp772.c: New file.
86737         * iconvdata/cp773.c: New file.
86738         * iconvdata/cp774.c: New file.
86739         * iconvdata/testdata/CP770: New file.
86740         * iconvdata/testdata/CP770..UTF8: New file.
86741         * iconvdata/testdata/CP771: New file.
86742         * iconvdata/testdata/CP771..UTF8: New file.
86743         * iconvdata/testdata/CP772: New file.
86744         * iconvdata/testdata/CP772..UTF8: New file.
86745         * iconvdata/testdata/CP773: New file.
86746         * iconvdata/testdata/CP773..UTF8: New file.
86747         * iconvdata/testdata/CP774: New file.
86748         * iconvdata/testdata/CP774..UTF8: New file.
86750         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
86751         END CHARMAP line.
86752         * iconvdata/gen-8bit-gap.sh: Likewise.
86753         * iconvdata/gen-8bit.sh: Likewise.
86755         * locale/iso-639.def: Add ary entry.
86757         [BZ #11258]
86758         * locale/C-translit.h.in: Add U20A1 transliteration.
86760         [BZ #12178]
86761         * locale/iso-639.def: Add wae entry.
86762         Patch by Kevin Bortis <bortis@translate-wae.ch>.
86764         [BZ #12545]
86765         * locale/programs/localedef.c (construct_output_path): Use ssize_t
86766         for n.
86768         [BZ #12711]
86769         * locale/C-translit.h.in: Add entry for U20B9.
86770         Patch by pravin.d.s@gmail.com.
86772 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
86774         [BZ #12713]
86775         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
86776         ENAMETOOLONG use generic getcwd.
86777         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
86778         in rtld.  Use *stat64.
86779         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
86780         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
86781         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
86782         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
86783         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
86784         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
86785         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
86786         __fstatat64 macros.
86787         * include/dirent.h: Add libc_hidden_proto for rewinddir.
86788         * dirent/rewinddir.c: Add libc_hidden_def.
86789         * sysdeps/mach/hurd/rewinddir.c: Likewise.
86790         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
86792         * include/dirent.h (__alloc_dir): Add flags parameter.
86793         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
86794         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
86795         __alloc_dir.
86796         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
86797         from fdopendir if O_CLOEXEC is already set.
86799 2011-03-15  Alan Modra  <amodra@gmail.com>
86801         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
86802         l_tls_firstbyte_offset non-zero.  Save padding offset in
86803         l_tls_firstbyte_offset for later use.
86804         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
86805         freeing static tls block.
86807 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
86809         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
86810         where #ifdef was intended.  The intent is to prevent ARG_MAX from
86811         being defined by the kernel headers.
86813 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
86815         [BZ #12734]
86816         * resolv/resolv.h: Define RES_NOTLDQUERY.
86817         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
86818         no-tld-query and set RES_NOTLDQUERY.
86819         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
86820         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
86821         modern BIND to search name as TLD unless forbidden.
86823 2011-05-07  Petr Baudis  <pasky@suse.cz>
86824             Ulrich Drepper  <drepper@gmail.com>
86826         [BZ #12393]
86827         * elf/dl-load.c (fillin_rpath): Move trusted path check...
86828         (is_trusted_path): ...to here.
86829         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
86830         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
86831         using is_trusted_path_normalize() in setuid scripts.
86833 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
86835         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
86836         __BEGIN/__END_DECLS.
86838 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
86840         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
86841         NSS_STATUS_NOTFOUND if no record was found.
86843 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86845         * sunrpc/Makefile (headers): Add rpc/netdb.h.
86846         (headers-not-in-tirpc): Remove rpc/netdb.h
86847         * resolv/netdb.h: Revert last change.
86849 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86851         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
86852         circular dependency between libgcc.a and libc.a.
86854 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86856         * resolv/netdb.h: Don't include <rpc/netdb.h>.
86857         * nis/Makefile: Don't install rpcsvc/*.
86858         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
86859         instead of <rpc/types.h>.
86860         (MAXHOSTNAMELEN): Define.
86862 2011-05-03  Andreas Schwab  <schwab@redhat.com>
86864         * elf/ldconfig.c (add_dir): Don't crash on empty path.
86866 2011-04-28  Maciej Babinski  <mbabinski@google.com>
86868         [BZ #12714]
86869         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
86870         gethostbyname4_r when IPv6 results are possible.
86872 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
86874         [BZ #12723]
86875         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
86876         _PC_PIPE_BUF handling.
86878 2011-04-30  Bruno Haible  <bruno@clisp.org>
86880         [BZ #12717]
86881         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
86882         * resolv/netdb.h (getnameinfo): Change type of flags parameter
86883         to 'int'.
86884         * inet/getnameinfo.c (getnameinfo): Likewise.
86886 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
86888         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
86889         to groups setting in database lookup.
86890         * nss/nsswitch.conf: Add initgroups entry.
86892 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
86894         [BZ #12685]
86895         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
86896         mode string.
86897         Patch by Eric Blake <eblake@redhat.com>.
86899 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
86901         * sunrpc/Makefile (need-export-routines): Add svc_run.
86902         (routines): Remove svc_run.
86903         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
86904         * sunrpc/clnt_perr.c (clnt_perrno): Export.
86905         * sunrpc/svc_run.c (svc_run): Likewise.
86906         * sunrpc/svc_udp.c (svcudp_create): Likewise.
86908 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
86910         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
86911         problem in reallocation in last patch.
86913 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
86915         * sunrpc/Makefile: Move inclusion of Rules.
86917 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86919         * nss/nss_files/files-initgroups.c: New file.
86920         * nss/Makefile (libnss_files-routines): Add files-initgroups.
86921         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
86922         _nss_files_initgroups_dyn.
86924 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
86926         * elf/elf.h (R_ARM_IRELATIVE): Define.
86928 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86930         * po/ru.po: Update from translation team.
86932 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86934         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
86935         dependencies.
86937 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
86939         [BZ #12653]
86940         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
86941         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
86942         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86943         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
86944         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
86946 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
86948         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
86949         differing bytes.
86950         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
86951         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
86952         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86954 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86956         [BZ #12420]
86957         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
86958         storing it.
86959         * stdlib/bug-getcontext.c: New file.
86960         * stdlib/Makefile: Add rules to build and run bug-getcontext.
86962 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86964         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
86965         instructions into .machine "z9-109".
86966         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
86967         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
86969 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86971         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
86972         between environment variables and auxiliary vector.
86974 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
86976         * Makefile: Add rules to build linkobj/libc.so.
86977         * include/libc-symbols.h: Define libc_hidden_nolink.
86978         * include/rpc/auth.h: Mark functions which are to be hidden.
86979         * include/rpc/auth_des.h: Likewise.
86980         * include/rpc/auth_unix.h: Likewise.
86981         * include/rpc/clnt.h: Likewise.
86982         * include/rpc/des_crypt.h: Likewise.
86983         * include/rpc/key_prot.h: Likewise.
86984         * include/rpc/pmap_clnt.h: Likewise.
86985         * include/rpc/pmap_prot.h: Likewise.
86986         * include/rpc/pmap_rmt.h: Likewise.
86987         * include/rpc/rpc_msg.h: Likewise.
86988         * include/rpc/svc.h: Likewise.
86989         * include/rpc/svc_auth.h: Likewise.
86990         * include/rpc/xdr.h: Likewise.
86991         * nis/Makefile: Link all DSOs against linkobj/libc.so.
86992         * nss/Makefile: Likewise.
86993         * sunrpc/Makefile: Don't install headers.  Build library with normal
86994         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
86995         * sunrpc/auth_des.c: Hide exported symbols by default, export some
86996         for the compat linking library.  Remove use of INTDEF/INTUSE.
86997         * sunrpc/auth_none.c: Likewise.
86998         * sunrpc/auth_unix.c: Likewise.
86999         * sunrpc/authdes_prot.c: Likewise.
87000         * sunrpc/authuxprot.c: Likewise.
87001         * sunrpc/clnt_gen.c: Likewise.
87002         * sunrpc/clnt_perr.c: Likewise.
87003         * sunrpc/clnt_raw.c: Likewise.
87004         * sunrpc/clnt_simp.c: Likewise.
87005         * sunrpc/clnt_tcp.c: Likewise.
87006         * sunrpc/clnt_udp.c: Likewise.
87007         * sunrpc/clnt_unix.c: Likewise.
87008         * sunrpc/des_crypt.c: Likewise.
87009         * sunrpc/des_soft.c: Likewise.
87010         * sunrpc/get_myaddr.c: Likewise.
87011         * sunrpc/key_call.c: Likewise.
87012         * sunrpc/key_prot.c: Likewise.
87013         * sunrpc/netname.c: Likewise.
87014         * sunrpc/pm_getmaps.c: Likewise.
87015         * sunrpc/pm_getport.c: Likewise.
87016         * sunrpc/pmap_clnt.c: Likewise.
87017         * sunrpc/pmap_prot.c: Likewise.
87018         * sunrpc/pmap_prot2.c: Likewise.
87019         * sunrpc/pmap_rmt.c: Likewise.
87020         * sunrpc/publickey.c: Likewise.
87021         * sunrpc/rpc_cmsg.c: Likewise.
87022         * sunrpc/rpc_common.c: Likewise.
87023         * sunrpc/rpc_dtable.c: Likewise.
87024         * sunrpc/rpc_prot.c: Likewise.
87025         * sunrpc/rpc_thread.c: Likewise.
87026         * sunrpc/rtime.c: Likewise.
87027         * sunrpc/svc.c: Likewise.
87028         * sunrpc/svc_auth.c: Likewise.
87029         * sunrpc/svc_authux.c: Likewise.
87030         * sunrpc/svc_raw.c: Likewise.
87031         * sunrpc/svc_run.c: Likewise.
87032         * sunrpc/svc_simple.c: Likewise.
87033         * sunrpc/svc_tcp.c: Likewise.
87034         * sunrpc/svc_udp.c: Likewise.
87035         * sunrpc/svc_unix.c: Likewise.
87036         * sunrpc/svcauth_des.c: Likewise.
87037         * sunrpc/xcrypt.c: Likewise.
87038         * sunrpc/xdr.c: Likewise.
87039         * sunrpc/xdr_array.c: Likewise.
87040         * sunrpc/xdr_float.c: Likewise.
87041         * sunrpc/xdr_intXX_t.c: Likewise.
87042         * sunrpc/xdr_mem.c: Likewise.
87043         * sunrpc/xdr_rec.c: Likewise.
87044         * sunrpc/xdr_ref.c: Likewise.
87045         * sunrpc/xdr_sizeof.c: Likewise.
87046         * sunrpc/xdr_stdio.c: Likewise.
87048 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
87050         [BZ #12650]
87051         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
87052         * sysdeps/ia64/dl-tls.h: Likewise.
87053         * sysdeps/powerpc/dl-tls.h: Likewise.
87054         * sysdeps/s390/dl-tls.h: Likewise.
87055         * sysdeps/sh/dl-tls.h: Likewise.
87056         * sysdeps/sparc/dl-tls.h: Likewise.
87057         * sysdeps/x86_64/dl-tls.h: Likewise.
87058         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
87060 2011-03-14  Andreas Schwab  <schwab@redhat.com>
87062         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
87063         rpath element also skip the following colon.
87064         (expand_dynamic_string_token): Add is_path parameter and pass
87065         down to DL_DST_REQUIRED and _dl_dst_substitute.
87066         (decompose_rpath): Call expand_dynamic_string_token with
87067         non-zero is_path.  Ignore empty rpaths.
87068         (_dl_map_object_from_fd): Call expand_dynamic_string_token
87069         with zero is_path.
87071 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
87073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
87074         Make cancelable.
87076 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
87078         [BZ #12655]
87079         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
87080         Patch by Filipe David Manana <fdmanana@apache.org>.
87082 2011-04-07  Andreas Schwab  <schwab@redhat.com>
87084         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
87085         Maintain aligned stack.
87086         (CHECK_RSP): Remove unused macro.
87088 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
87090         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
87091         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
87093 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
87095         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
87097         * include/features.h: Mention __USE_XOPEN2K8 in comment.
87099 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
87101         [BZ #12518]
87102         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
87103         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
87104         * sysdeps/x86_64/memmove.c: New file.
87105         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
87106         (memcpy): Renamed to ...
87107         (__new_memcpy): This.
87108         (memcpy): Provide GLIBC_2_14 memcpy.
87109         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
87110         (memcpy): Provide GLIBC_2_2_5 memcpy.
87112 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87114         [BZ #12631]
87115         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
87117 2011-03-30  Andreas Schwab  <schwab@redhat.com>
87119         * misc/syncfs.c: New file.
87120         * misc/Makefile (routines): Add syncfs.
87121         * posix/unistd.h: Declare syncfs.
87122         * sysdeps/unix/syscalls.list: Add syncfs.
87124 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87126         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
87127         open_by_handle_at.
87128         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87129         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87130         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87131         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87132         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87133         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
87134         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87136 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87138         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
87139         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87140         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
87141         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87142         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87143         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87144         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87146         * io/Makefile: Compile fallocate.c, fallocate64.c, and
87147         sync_file_range.c with -fexceptions.
87148         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
87149         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
87150         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
87151         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
87152         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
87153         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
87154         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
87155         sync_file_range as cancellation point
87156         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
87157         now a wrapper around __call_sync_file_range with cancellation handling.
87158         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
87159         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
87160         function name to __call_sync_file_range.
87161         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
87162         Add call_sync_file_range.
87164 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87166         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87167         bits/timex.h.
87169 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87171         * iconv/iconv.h: Fix typo in comment.
87172         * io/fcntl.h: Likewise.
87173         * libio/stdio.h: Likewise.
87174         * posix/spawn.h: Likewise.
87175         * posix/unistd.h: Likewise.
87176         * stdlib/stdlib.h: Likewise.
87177         * time/time.h: Likewise.
87178         * wcsmbs/wchar.h: Likewise.
87180         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
87181         open_by_handle): Add.
87182         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
87183         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
87184         Augment a few comments.
87185         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87186         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87187         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87188         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87189         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87190         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
87191         open_by_handle.
87193         * io/fcntl.h (AT_EMPTY_PATH): Define.
87195 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
87197         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
87198         * sysdeps/unix/sysv/linux/bits/time.h: New file.
87199         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
87200         to...
87201         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
87202         * Versions.def: Add GLIBC_2.14.
87203         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
87204         Export.
87206 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
87208         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
87209         round counter.
87210         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87212 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
87214         [BZ #12597]
87215         * string/test-strncmp.c (do_page_test): New function.
87216         (check2): Likewise.
87217         (test_main): Call check2.
87218         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
87220 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
87222         [BZ #12587]
87223         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
87224         Handle cache information in CPU leaf 4.
87225         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87227 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
87229         [BZ #12583]
87230         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
87231         character representation.
87232         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
87234 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
87236         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
87237         END(__isnan) to END(__isnanf) to match function entry point/label
87238         EALIGN(__isnanf,...).
87240 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
87242         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
87244 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
87246         [BZ #12510]
87247         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
87248         copy from the symbol referenced in the relocation to initialize the
87249         used variable.
87250         Patch by Piotr Bury <pbury@goahead.com>.
87251         * elf/Makefile: Add rules to build and tst-unique3.
87252         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
87253         * elf/tst-unique3.cc: New file.
87254         * elf/tst-unique3.h: New file.
87255         * elf/tst-unique3lib.cc: New file.
87256         * elf/tst-unique3lib2.cc: New file.
87258         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
87260 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
87262         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
87263         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
87264         to _start.
87266 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
87268         * elf/dl-load.c (_dl_map_object): If we are looking for the first
87269         to-be-loaded object along a path to loader is ld.so.
87271 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87272             Ulrich Drepper  <drepper@gmail.com>
87274         * sysdeps/x86_64/memset.S: After aligning destination, code
87275         branches to different locations depending on the value of
87276         misalignment, when multiarch is enabled. Fix this.
87278 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87280         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
87281         Set _x86_64_preferred_memory_instruction for AMD processsors.
87282         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87283         Set bit_Prefer_SSE_for_memop for AMD processors.
87285 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
87287         * libio/fmemopen.c (fmemopen): Optimize a bit.
87289 2011-03-03  Andreas Schwab  <schwab@redhat.com>
87291         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
87293 2011-03-03  Roland McGrath  <roland@redhat.com>
87295         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
87297 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
87299         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
87300         __bzero_ultra1 instead of __memset_ultra1.
87302 2011-02-23  Andreas Schwab  <schwab@redhat.com>
87303             Ulrich Drepper  <drepper@gmail.com>
87305         [BZ #12509]
87306         * include/link.h (struct link_map): Add l_orig_initfini.
87307         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
87308         returning unsuccessfully.
87309         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
87310         close of a file loaded at startup, restore the original l_initfini
87311         list.
87312         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
87313         list, store the pointer.
87314         * elf/Makefile ($(objpfx)noload-mem): New rule.
87315         (noload-ENV): Define.
87316         (tests): Add $(objpfx)noload-mem.
87317         * elf/noload.c: Include <memcheck.h>.
87318         (main): Call mtrace.  Close all opened handles.
87320 2011-02-17  Andreas Schwab  <schwab@redhat.com>
87322         [BZ #12454]
87323         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
87324         dependencies are missing.
87326 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87328         Fix __if_freereq crash: Unlike the generic version which uses free,
87329         Hurd needs munmap.
87330         * sysdeps/mach/hurd/ifreq.h: New file.
87332 2011-01-27  Petr Baudis  <pasky@suse.cz>
87333             Ulrich Drepper  <drepper@gmail.com>
87335         [BZ 12445]#
87336         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
87337         to extend_alloca().
87338         * stdio-common/bug23.c: New file.
87339         * stdio-common/Makefile (tests): Add bug23.
87341 2010-09-28  Andreas Schwab  <schwab@redhat.com>
87342             Ulrich Drepper  <drepper@gmail.com>
87344         [BZ #12489]
87345         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
87346         before performing relro protection.  At old place add assertion
87347         to make sure nothing changed.
87349 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
87350             Glauber de Oliveira Costa  <glommer@gmail.com>
87352         * elf/elf.h: Add new ARM TLS relocs.
87354 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
87356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
87357         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
87358         cast from r3.
87359         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
87360         'tests' variable.
87361         * sysdeps/wordsize-64/tst-writev.c: New file.
87363 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
87365         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
87366         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
87367         insns in _dl_start to prevent a TOC reference before relocs are
87368         resolved.
87370 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
87372         [BZ #12469]
87373         * Makeconfig: Remove RANLIB definition.
87374         * Makerules: Don't use RANLIB.
87375         * aclocal.m4: Remove ranlib test.
87376         * configure.in: No need to check for ranlib.
87377         * elf/rtld-Rules: Don't use RANLIB.
87379 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87381         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
87382         protection macro.
87383         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
87384         inclusion protection macro.
87386         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
87387         SIGRTMIN and SIGRTMAX and print information in that case only when
87388         SIGRTMIN is defined.
87390 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
87392         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
87393         arginfo fn returning -1.
87395         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
87396         and thousands string is zero terminated.
87398 2011-02-03  Andreas Schwab  <schwab@redhat.com>
87400         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
87401         sysdeps/unix/sysv/linux/bits/socket.h.
87403 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87405         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
87406         (__CPU_COUNT): Remove old macros.
87407         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
87408         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
87409         (__CPU_ALLOC, __CPU_FREE): Add macros.
87410         (__sched_cpualloc, __sched_cpufree): Add declarations.
87412 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
87414         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
87415         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
87416         * nscd/aicache.c (addhstaiX): Return timeout of added value.
87417         (readdhstai): Return value of addhstaiX call.
87418         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
87419         (addgrbyX): Return value returned by cache_addgr.
87420         (readdgrbyname): Return value returned by addgrbyX.
87421         (readdgrbygid): Likewise.
87422         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
87423         (addpwbyX): Return value returned by cache_addpw.
87424         (readdpwbyname): Return value returned by addhstbyX.
87425         (readdpwbyuid): Likewise.
87426         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
87427         (addservbyX): Return value returned by cache_addserv.
87428         (readdservbyname): Return value returned by addservbyX:
87429         (readdservbyport): Likewise.
87430         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
87431         (addhstbyX): Return value returned by cache_addhst.
87432         (readdhstbyname): Return value returned by addhstbyX.
87433         (readdhstbyaddr): Likewise.
87434         (readdhstbynamev6): Likewise.
87435         (readdhstbyaddrv6): Likewise.
87436         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
87437         (readdinitgroups): Return value returned by addinitgroupsX.
87438         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
87439         (prune_cache): Keep track of timeout value of re-added entries.
87440         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
87441         * nscd/nscd.h: Adjust prototypes of readd* functions.
87443 2011-02-04  Roland McGrath  <roland@redhat.com>
87445         * nis/nis_server.c (nis_servstate): Use the right name for 0.
87446         (nis_stats): Likewise.
87447         * nis/nis_modify.c (nis_modify): Likewise.
87448         * nis/nis_remove.c (nis_remove): Likewise.
87449         * nis/nis_add.c (nis_add): Likewise.
87451         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
87453         * posix/fnmatch_loop.c: Add some consts.
87455         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
87457 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
87459         [BZ #12460]
87460         * config.make.in (config-cflags-novzeroupper): Define.
87461         * configure.in: Substitute libc_cv_cc_novzeroupper.
87462         * elf/Makefile (AVX-CFLAGS): Define.
87463         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
87464         (CFLAGS-tst-auditmod4a.c): Likewise.
87465         (CFLAGS-tst-auditmod4b.c): Likewise.
87466         (CFLAGS-tst-auditmod6b.c): Likewise.
87467         (CFLAGS-tst-auditmod6c.c): Likewise.
87468         (CFLAGS-tst-auditmod7b.c): Likewise.
87469         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
87471 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
87473         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
87474         function to the callback.
87475         Patch partly by Jiri Olsa <jolsa@redhat.com>.
87477 2011-02-02  Andreas Schwab  <schwab@redhat.com>
87479         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
87480         of errno.
87482 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
87484         [BZ #11724]
87485         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
87486         of constructors.
87487         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
87488         of destructors.
87489         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
87491         [BZ #11724]
87492         * elf/Makefile: Add rules to build and run new test.
87493         * elf/tst-initorder.c: New file.
87494         * elf/tst-initorder.exp: New file.
87495         * elf/tst-initordera1.c: New file.
87496         * elf/tst-initordera2.c: New file.
87497         * elf/tst-initordera3.c: New file.
87498         * elf/tst-initordera4.c: New file.
87499         * elf/tst-initorderb1.c: New file.
87500         * elf/tst-initorderb2.c: New file.
87501         * elf/tst-order-a1.c: New file.
87502         * elf/tst-order-a2.c: New file.
87503         * elf/tst-order-a3.c: New file.
87504         * elf/tst-order-a4.c: New file.
87505         * elf/tst-order-b1.c: New file.
87506         * elf/tst-order-b2.c: New file.
87507         * elf/tst-order-main.c: New file.
87508         New test case by George Gensure <werkt0@gmail.com>.
87510 2010-10-01  Andreas Schwab  <schwab@redhat.com>
87512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87513         decoding ACE if AI_CANONIDN.
87515 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
87517         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
87519 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
87521         * version.h (RELEASE): Bump for 2.13 release.
87522         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
87524         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
87526         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
87527         MADV_NOHUGEPAGE.
87528         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
87529         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
87530         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
87531         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
87532         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
87533         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87535         * posix/getconf.c: Update copyright year.
87536         * catgets/gencat.c: Likewise.
87537         * csu/version.c: Likewise.
87538         * debug/catchsegv.sh: Likewise.
87539         * debug/xtrace.sh: Likewise.
87540         * elf/ldconfig.c: Likewise.
87541         * elf/ldd.bash.in: Likewise.
87542         * elf/sprof.c (print_version): Likewise.
87543         * iconv/iconv_prog.c: Likewise.
87544         * iconv/iconvconfig.c: Likewise.
87545         * locale/programs/locale.c: Likewise.
87546         * locale/programs/localedef.c: Likewise.
87547         * malloc/memusage.sh: Likewise.
87548         * malloc/mtrace.pl: Likewise.
87549         * nscd/nscd.c (print_version): Likewise.
87550         * nss/getent.c: Likewise.
87552         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
87553         PF_CAIF, and PF_ALG.
87554         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87556 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
87558         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
87559         (modules-names): Use them.
87560         (ifunc-test-modules, ifunc-pie-tests): Define.
87561         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
87562         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
87563         (test-extras): Likewise.
87564         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
87565         $(compile-command.c).
87566         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
87567         (all-built-dso): Define.
87568         (check-textrel.out, check-execstack.out): Depend on it.
87570         * configure.in: Don't override --enable-multi-arch.
87572 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
87574         [BZ #6812]
87575         * nscd/hstcache.c (tryagain): Define.
87576         (cache_addhst): Return tryagain not notfound for temporary errors.
87577         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
87578         failed.
87580 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
87582         [BZ #10563]
87583         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
87584         to make the syscall.
87585         * sysdeps/unix/sysv/linux/setgroups.c: New file.
87587         [BZ #12378]
87588         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
87589         and fall back to matching as normal character if the string ends before
87590         the matching ']' is found.  This is what POSIX requires.
87591         * posix/testfnm.c: Adjust test result.
87592         * posix/globtest.sh: Adjust test result.  Add new test.
87593         * posix/tst-fnmatch.input: Likewise.
87594         * posix/tst-fnmatch2.c: Add new test.
87596 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
87598         * elf/Makefile (check-execstack): Revert last change.  Depend on
87599         check-execstack.h.
87600         (check-execstack.h): New target.
87601         (generated): Add check-execstack.h.
87602         * elf/check-execstack.c: Include "check-execstack.h".
87603         (main): Revert last change.
87604         (handle_file): Return zero if GNU_STACK is absent and
87605         DEFAULT_STACK_PERMS doesn't include PF_X.
87607 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
87609         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
87610         in child fails because the descriptor is already closed.
87611         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
87612         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
87613         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
87615         [BZ #12397]
87616         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
87617         syscall.
87619         [BZ #10484]
87620         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
87621         temporary buffer used to handle multi lookups locally.
87622         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
87624 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87626         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
87627         loader is ld.so.
87629 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
87631         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
87632         alignment for SSE2.
87634 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87636         [BZ #12394]
87637         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
87638         characters.  When rounding increased number of integer digits recompute
87639         number of groups.
87640         * stdio-common/tst-grouping.c: New file.
87641         * stdio-common/Makefile: Add rules to build and run tst-grouping.
87643 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
87645         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
87646         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
87648         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
87649         void.
87650         * bits/select.h: Likewise.
87652 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
87654         * po/ja.po: Update from translation team.
87656 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
87658         [BZ #11155]
87659         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
87660         implementation just like for lxstat, fxstatat, et al.
87662 2010-12-27  Jim Meyering  <meyering@redhat.com>
87664         [BZ #12348]
87665         * posix/regexec.c (build_trtable): Return failure indication upon
87666         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
87668 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
87670         [BZ #12201]
87671         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
87672         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
87673         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
87674         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
87676         [BZ #12207]
87677         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
87679         [BZ #12204]
87680         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
87681         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
87683 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
87685         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
87686         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
87687         script has SORT_BY_INIT_PRIORITY.
87688         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
87689         NO_CTORS_DTORS_SECTIONS is defined.
87690         * elf/soinit.c: Likewise.
87691         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
87692         NO_CTORS_DTORS_SECTIONS is defined.
87693         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
87694         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
87695         * sysdeps/sh/init-first.c: Likewise.
87696         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
87698 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
87700         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
87701         always use the slow path.
87703 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
87705         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
87706         similar rule which adds the sysdep directories to the header search in
87707         order to pick up the correct platform stackinfo.h.
87708         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
87709         perform test if it is, otherwise return successfully without testing.
87710         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
87711         DEFAULT_STACK_PERMS define in stackinfo.h.
87712         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
87713         defined in stackinfo.h.
87714         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
87715         DEFAULT_STACK_PERMS defined in stackinfo.h.
87716         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
87717         * sysdeps/ia64/stackinfo.h: Likewise.
87718         * sysdeps/s390/stackinfo.h: Likewise.
87719         * sysdeps/sh/stackinfo.h: Likewise.
87720         * sysdeps/sparc/stackinfo.h: Likewise.
87721         * sysdeps/x86_64/stackinfo.h: Likewise.
87722         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
87723         PF_X for powerpc64.  Retain PF_X for powerpc32.
87725 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
87727         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
87728         accurately.
87729         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
87730         GETDENTS_64BIT_ALIGNED.
87732 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
87734         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
87736 2010-12-10  Andreas Schwab  <schwab@redhat.com>
87738         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
87739         _GNU_SOURCE.
87741         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
87742         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
87743         Remove __restrict.
87744         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
87745         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
87747 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
87749         [BZ #11655]
87750         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
87751         are initialized.
87753 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
87755         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
87757 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
87759         * po/it.po: Update from translation team.
87761 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
87763         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
87764         unused codes.
87766 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
87768         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
87770 2010-11-24  Andreas Schwab  <schwab@redhat.com>
87772         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
87773         specially.
87774         (gaih_getanswer_slice): Likewise.
87776 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
87778         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
87780 2010-05-31  Petr Baudis  <pasky@suse.cz>
87782         [BZ #11149]
87783         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
87784         silently even in the chroot mode.
87786 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
87788         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
87789         last patch a bit.  Pretty printing
87791 2010-05-31  Petr Baudis <pasky@suse.cz>
87793         [BZ #10085]
87794         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
87795         initialization of skip_initgroups_dyn.
87797 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
87799         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
87800         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87802 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
87804         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
87806 2010-11-11  Andreas Schwab  <schwab@redhat.com>
87808         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
87809         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
87810         (tst-fnmatch-ENV): Set MALLOC_TRACE.
87811         ($(objpfx)tst-fnmatch-mem): New rule.
87812         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
87813         * posix/tst-fnmatch.c (main): Call mtrace.
87815 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
87817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87818         Support Intel processor model 6 and model 0x2c.
87820 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
87822         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
87823           signed comparison.
87825 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
87827         [BZ #12205]
87828         * string/test-strncasecmp.c (check_result): New function.
87829         (do_one_test): Use it.
87830         (check1): New function.
87831         (test_main): Use it.
87832         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
87833         Support strcasecmp and strncasecmp.
87835 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
87837         [BZ #12194]
87838         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
87839         * sysdeps/x86_64/bits/byteswap.h: Likewise.
87841 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
87843         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
87844         IFUNC support.
87845         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87846         memset-x86-64.
87847         * sysdeps/x86_64/multiarch/bzero.S: New file.
87848         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
87849         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
87850         * sysdeps/x86_64/multiarch/memset.S: New file.
87851         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
87852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87853         Set bit_Prefer_SSE_for_memop for Intel processors.
87854         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
87855         Define.
87856         (index_Prefer_SSE_for_memop): Define.
87857         (HAS_PREFER_SSE_FOR_MEMOP): Define.
87859 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
87861         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
87862         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
87864 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
87866         [BZ #12191]
87867         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87868         (__x86_64_raw_data_cache_size_half): Likewise.
87869         (__x86_64_raw_shared_cache_size): Likewise.
87870         (__x86_64_raw_shared_cache_size_half): Likewise.
87872         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87873         (__x86_64_raw_data_cache_size_half): Likewise.
87874         (__x86_64_raw_shared_cache_size): Likewise.
87875         (__x86_64_raw_shared_cache_size_half): Likewise.
87876         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
87877         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
87878         and __x86_64_raw_shared_cache_size_half.  Round
87879         __x86_64_data_cache_size_half, __x86_64_data_cache_size
87880         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
87881         to multiple of 256 bytes.
87883 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
87885         [BZ #12167]
87886         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
87887         of inacessible symlinks.  Verify result of symlink before returning it.
87888         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
87889         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
87891 2010-10-28  Erich Ritz  <erichritz@gmail.com>
87893         * math/math.h (isinf): Fix typo in comment.
87895 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
87897         * po/da.po: Update from translation team.
87899 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
87901         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
87902         is added to the list.
87904 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87905             Ulrich Drepper  <drepper@gmail.com>
87907         * elf/dl-object.c (_dl_new_object): Don't append the new object to
87908         the global list here.  Move code to...
87909         (_dl_add_to_namespace_list): ...here.  New function.
87910         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
87911         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
87912         * elf/dl-load.c (lose): Don't remove the element from the list.
87913         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
87914         (_dl_map_object): Likewise.
87916 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
87918         [BZ #12159]
87919         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
87920         into all bytes of SSE register.
87921         Patch by Richard Li <richardpku@gmail.com>.
87923 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
87925         [BZ #12140]
87926         * malloc/malloc.c (_int_free): Fill correct number of bytes when
87927         perturbing.
87929 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
87931         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
87932         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
87933         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
87934         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
87936         submachine.
87937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
87939 2010-10-22  Andreas Schwab  <schwab@redhat.com>
87941         * include/dlfcn.h (__RTLD_SECURE): Define.
87942         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
87943         mode & __RTLD_SECURE instead.
87944         (open_path): Rename preloaded parameter to secure.
87945         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
87946         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
87947         * elf/dl-deps.c (openaux): Likewise.
87948         * elf/rtld.c (struct map_args): Remove is_preloaded.
87949         (map_doit): Don't use it.
87950         (dl_main): Likewise.
87951         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
87952         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
87954 2010-09-09  Andreas Schwab  <schwab@redhat.com>
87956         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
87957         (sysd-rules-targets): Remove duplicates.
87958         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
87959         rtld-%.$o dependency.
87961 2010-10-18  Andreas Schwab  <schwab@redhat.com>
87963         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
87964         _dl_map_object do it.
87966 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
87968         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
87969         fast fma builtins, define the macros in the C99 standard.
87970         (FP_FAST_FMAF): Likewise.
87971         (FP_FAST_FMAL): Likewise.
87972         * sysdeps/x86_64/bits/mathdef.h: Likewise.
87974         * bits/mathdef.h: Update copyright year.
87975         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87977 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
87979         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
87980         builtins, define the macros in the C99 standard.
87981         (FP_FAST_FMAF): Likewise.
87982         (FP_FAST_FMAL): Likewise.
87983         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
87984         multiply/add.
87985         (FP_FAST_FMAF): Likewise.
87987 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
87989         [BZ #3268]
87990         * math/libm-test.inc (fma_test): Some new testcases.
87991         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
87992         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
87993         y and infinite z.  Do multiplication by C already in long double.
87994         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
87995         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
87996         y and infinite z.  Do bitwise or of inexact bit into u.d.
87997         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
87998         * sysdeps/i386/fpu/s_fmaf.S: Removed.
87999         * sysdeps/i386/fpu/s_fma.S: Removed.
88000         * sysdeps/i386/fpu/s_fmal.S: Removed.
88002 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
88004         [BZ #3268]
88005         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
88006         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
88007         computation is not scheduled after fetestexcept.  Fix value
88008         of minimum denormal long double.
88010 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
88012         [BZ #3268]
88013         * math/libm-test.inc (fma_test): Add some more tests.
88014         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
88015         correctly.
88017 2010-10-15  Andreas Schwab  <schwab@redhat.com>
88019         * scripts/data/localplt-s390-linux-gnu.data: New file.
88020         * scripts/data/localplt-s390x-linux-gnu.data: New file.
88022 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
88024         [BZ #3268]
88025         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
88026         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
88027         instead of dbl-64.
88028         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
88029         inlines.
88030         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
88031         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
88032         if one of x and y is very large and the other is subnormal.
88033         * sysdeps/s390/fpu/s_fmaf.c: New file.
88034         * sysdeps/s390/fpu/s_fma.c: New file.
88035         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
88036         * sysdeps/powerpc/fpu/s_fma.S: New file.
88037         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
88038         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
88039         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
88041 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
88043         [BZ #3268]
88044         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
88045         fma tests.
88046         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
88047         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
88048         * sysdeps/i386/i686/multiarch/s_fma.c: Include
88049         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
88050         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
88051         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
88052         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
88054 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
88056         [BZ #12078]
88057         * posix/regcomp.c (parse_branch): One more memory leak plugged.
88058         * posix/bug-regex31.input: Add test case.
88060 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88062         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
88063         * posix/bug-regex31.input: New file.
88065         [BZ #12078]
88066         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
88067         (parse_sub_exp): Fix last change, use postorder.
88069         * posix/bug-regex31.c: New file.
88070         * posix/Makefile: Add rules to build and run bug-regex31.
88072         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
88074         [BZ #12078]
88075         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
88077         [BZ #12108]
88078         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
88079         to have entries in sys_siglist.
88081         [BZ #12093]
88082         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
88083         be NULL.
88085 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
88087         [BZ #3268]
88088         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
88089         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
88090         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
88091         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
88092         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88093         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
88094         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
88095         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
88096         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
88097         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
88098         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
88099         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
88100         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
88101         * math/ftestexcept.c (fetestexcept): Likewise.
88102         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
88103         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
88104         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
88105         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
88106         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
88107         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
88108         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
88110 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88112         [BZ #12107]
88113         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
88114         newline.
88116 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
88118         * string/bug-strstr1.c: New file.
88119         * string/Makefile: Add rules to build and run bug-strstr1.
88121 2010-10-05  Eric Blake  <eblake@redhat.com>
88123         [BZ #12092]
88124         * string/str-two-way.h (two_way_long_needle): Always clear memory
88125         when skipping input due to the shift table.
88127 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
88129         [BZ #12005]
88130         * malloc/mcheck.c: Handle large requests.
88132         [BZ #12077]
88133         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
88134         for strncmp and strncasecmp.
88135         * string/stratcliff.c: Add tests for strcmp and strncmp.
88136         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
88138 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
88140         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
88141         __set_fpscr.
88143 2010-09-30  Andreas Jaeger  <aj@suse.de>
88145         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
88146         (CGROUP_SUPER_MAGIC): Define.
88147         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88148         Handle btrfs and cgroup file systems.
88149         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
88150         Likewise.
88152 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
88154         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
88155         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
88157 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88159         [BZ #12067]
88160         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
88161         trying to locate the ELF header.
88163 2010-09-27  Andreas Schwab  <schwab@redhat.com>
88165         [BZ #11611]
88166         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
88167         Mask out sign-bit copies when constructing f_fsid.
88169 2010-09-24  Petr Baudis <pasky@suse.cz>
88171         * debug/stack_chk_fail_local.c: Add missing licence exception.
88172         * debug/warning-nop.c: Likewise.
88174 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
88176         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
88177         implementing getdents64 using getdents syscall, set d_type if
88178         __ASSUME_GETDENTS32_D_TYPE.
88180 2010-09-16  Andreas Schwab  <schwab@redhat.com>
88182         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
88183         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
88185 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
88187         [BZ #12037]
88188         * posix/unistd.h: Undo change of feature selection for ftruncate from
88189         2010-01-11.
88191 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
88193         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
88194         detection.
88196 2010-09-20  Andreas Schwab  <schwab@redhat.com>
88198         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
88199         fanotify_mark.
88200         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88202 2010-09-14  Andreas Schwab  <schwab@redhat.com>
88204         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
88205         variables after CHECK_SP call.
88206         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
88208 2010-09-13  Andreas Schwab  <schwab@redhat.com>
88209             Ulrich Drepper  <drepper@redhat.com>
88211         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
88212         re-relocationg ld.so.
88213         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
88214         _dl_init_paths call.
88215         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
88216         here anymore.
88218 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
88220         * resolv/res_init.c (__res_vinit): Count the default server we added.
88222 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
88223             Ulrich Drepper  <drepper@redhat.com>
88225         [BZ #11968]
88226         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88227         (____longjmp_chk): Use %ebx for saving value across system call.
88228         Add unwind info.
88230 2010-09-06  Andreas Schwab  <schwab@redhat.com>
88232         * manual/Makefile: Don't mix pattern rules with normal rules.
88234 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
88236         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
88237         operation.
88238         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
88239         * libio/iofopncook.c (_IO_cookie_init): Likewise.
88240         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
88241         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
88242         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88243         Likewise.
88245 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
88247         [BZ #11979]
88248         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
88249         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
88251 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
88253         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
88254         * sysdeps/x86_64/addmul_1.S: Likewise.
88255         * sysdeps/x86_64/lshift.S: Likewise.
88256         * sysdeps/x86_64/mul_1.S: Likewise.
88257         * sysdeps/x86_64/rshift.S: Likewise.
88258         * sysdeps/x86_64/sub_n.S: Likewise.
88259         * sysdeps/x86_64/submul_1.S: Likewise.
88261 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88263         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
88264         Define __sched_param instead of SCHED_* and sched_param when
88265         <bits/sched.h> is included with __need_schedparam defined.
88266         * bits/sched.h [__need_schedparam]
88267         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
88268         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
88269         (__defined_schedparam): Define to 1.
88270         (__sched_param): New structure, identical to sched_param.
88271         (__need_schedparam): Undefine.
88273 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
88275         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
88276         (epoll_create1): Declare.
88278         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
88280 2010-08-31  Andreas Schwab  <schwab@redhat.com>
88282         [BZ #7066]
88283         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
88284         shifting retval into place.
88286 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
88288         * nis/rpcsvc/nis.h: Update copyright notice.
88289         * nis/rpcsvc/nis.x: Likewise.
88290         * nis/rpcsvc/nis_callback.h: Likewise.
88291         * nis/rpcsvc/nis_callback.x: Likewise.
88292         * nis/rpcsvc/nis_object.x: Likewise.
88293         * nis/rpcsvc/nis_tags.h: Likewise.
88294         * nis/rpcsvc/yp.h: Likewise.
88295         * nis/rpcsvc/yp.x: Likewise.
88296         * nis/rpcsvc/ypupd.h: Likewise.
88297         * nis/yp_xdr.c: Likewise.
88298         * nis/ypupdate_xdr.c: Likewise.
88300         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
88301         mainly the body of pmap_getport.  Add parameters to specify timeouts.
88302         (pmap_getport): Use __libc_rpc_getport.
88303         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
88304         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
88305         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
88307 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
88309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
88310         fanotify_mark.
88312 2010-08-27  Roland McGrath  <roland@redhat.com>
88314         * sysdeps/i386/i686/multiarch/Makefile
88315         (CFLAGS-varshift.c): New variable.
88317 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
88319         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
88320         * sysdeps/i386/i686/multiarch/varshift.c: New file.
88322         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
88324         * sysdeps/x86_64/strlen.S: Minimal code improvement.
88326 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
88328         * sysdeps/x86_64/strlen.S: Unroll the loop.
88329         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88330         strlen-sse2 strlen-sse2-bsf.
88331         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
88332         __strlen_no_bsf if bit_Slow_BSF is set.
88333         (__strlen_sse42): Removed.
88334         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
88335         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
88337 2010-08-25  Roland McGrath  <roland@redhat.com>
88339         * sysdeps/x86_64/multiarch/varshift.S: File removed.
88340         * sysdeps/x86_64/multiarch/varshift.c: New file.
88341         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
88342         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
88343         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
88344         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
88346 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
88348         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88349         strlen-sse2 strlen-sse2-bsf.
88350         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
88351         __strlen_sse2_bsf if bit_Slow_BSF is unset.
88352         (__strlen_sse2): Removed.
88353         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
88354         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
88355         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
88356         bit_Slow_BSF for Atom.
88357         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
88358         (index_Slow_BSF): Define.
88359         (HAS_SLOW_BSF): Define.
88361 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
88363         [BZ #10851]
88364         * resolv/res_init.c (__res_vinit): When no server address at all
88365         is given default to loopback.
88367 2010-08-24  Roland McGrath  <roland@redhat.com>
88369         * configure.in: Remove config-name.h generation.
88370         * configure: Regenerated.
88371         * config-name.in: File removed.
88372         * scripts/config-uname.sh: New file.
88373         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
88374         ($(objdir)config-name.h): New target.
88376         * sunrpc/rpc_parse.h: Avoid nested comment.
88378 2010-08-24  Richard Henderson  <rth@redhat.com>
88379             Ulrich Drepper  <drepper@redhat.com>
88380             H.J. Lu  <hongjiu.lu@intel.com>
88382         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
88383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
88384         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
88385         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
88386         _mm_alignr_epi8 with _mm_loadu_si128.
88387         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
88388         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
88389         (__m128i_shift_right): Removed.
88390         * sysdeps/i386/i686/multiarch/varshift.h: New file.
88391         * sysdeps/i386/i686/multiarch/varshift.S: New file.
88392         * sysdeps/x86_64/multiarch/varshift.h: New file.
88393         * sysdeps/x86_64/multiarch/varshift.S: New file.
88395 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
88397         * configure.in: Move assembler checks to before sysdep dir checking.
88399 2010-08-20  Petr Baudis  <pasky@suse.cz>
88401         * LICENSES: Sync the sunrpc license.
88403 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
88405         * sunrpc/auth_des.c: Update copyright notice once again.
88406         * sunrpc/auth_none.c: Likewise.
88407         * sunrpc/auth_unix.c: Likewise.
88408         * sunrpc/authdes_prot.c: Likewise.
88409         * sunrpc/authuxprot.c: Likewise.
88410         * sunrpc/bindrsvprt.c: Likewise.
88411         * sunrpc/clnt_gen.c: Likewise.
88412         * sunrpc/clnt_perr.c: Likewise.
88413         * sunrpc/clnt_raw.c: Likewise.
88414         * sunrpc/clnt_simp.c: Likewise.
88415         * sunrpc/clnt_tcp.c: Likewise.
88416         * sunrpc/clnt_udp.c: Likewise.
88417         * sunrpc/clnt_unix.c: Likewise.
88418         * sunrpc/des_crypt.c: Likewise.
88419         * sunrpc/des_soft.c: Likewise.
88420         * sunrpc/get_myaddr.c: Likewise.
88421         * sunrpc/getrpcport.c: Likewise.
88422         * sunrpc/key_call.c: Likewise.
88423         * sunrpc/key_prot.c: Likewise.
88424         * sunrpc/openchild.c: Likewise.
88425         * sunrpc/pm_getmaps.c: Likewise.
88426         * sunrpc/pm_getport.c: Likewise.
88427         * sunrpc/pmap_clnt.c: Likewise.
88428         * sunrpc/pmap_prot.c: Likewise.
88429         * sunrpc/pmap_prot2.c: Likewise.
88430         * sunrpc/pmap_rmt.c: Likewise.
88431         * sunrpc/rpc/auth.h: Likewise.
88432         * sunrpc/rpc/auth_unix.h: Likewise.
88433         * sunrpc/rpc/clnt.h: Likewise.
88434         * sunrpc/rpc/des_crypt.h: Likewise.
88435         * sunrpc/rpc/key_prot.h: Likewise.
88436         * sunrpc/rpc/netdb.h: Likewise.
88437         * sunrpc/rpc/pmap_clnt.h: Likewise.
88438         * sunrpc/rpc/pmap_prot.h: Likewise.
88439         * sunrpc/rpc/pmap_rmt.h: Likewise.
88440         * sunrpc/rpc/rpc.h: Likewise.
88441         * sunrpc/rpc/rpc_des.h: Likewise.
88442         * sunrpc/rpc/rpc_msg.h: Likewise.
88443         * sunrpc/rpc/svc.h: Likewise.
88444         * sunrpc/rpc/svc_auth.h: Likewise.
88445         * sunrpc/rpc/types.h: Likewise.
88446         * sunrpc/rpc/xdr.h: Likewise.
88447         * sunrpc/rpc_clntout.c: Likewise.
88448         * sunrpc/rpc_cmsg.c: Likewise.
88449         * sunrpc/rpc_common.c: Likewise.
88450         * sunrpc/rpc_cout.c: Likewise.
88451         * sunrpc/rpc_dtable.c: Likewise.
88452         * sunrpc/rpc_hout.c: Likewise.
88453         * sunrpc/rpc_main.c: Likewise.
88454         * sunrpc/rpc_parse.c: Likewise.
88455         * sunrpc/rpc_parse.h: Likewise.
88456         * sunrpc/rpc_prot.c: Likewise.
88457         * sunrpc/rpc_sample.c: Likewise.
88458         * sunrpc/rpc_scan.c: Likewise.
88459         * sunrpc/rpc_scan.h: Likewise.
88460         * sunrpc/rpc_svcout.c: Likewise.
88461         * sunrpc/rpc_tblout.c: Likewise.
88462         * sunrpc/rpc_util.c: Likewise.
88463         * sunrpc/rpc_util.h: Likewise.
88464         * sunrpc/rpcinfo.c: Likewise.
88465         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
88466         * sunrpc/rpcsvc/key_prot.x: Likewise.
88467         * sunrpc/rpcsvc/klm_prot.x: Likewise.
88468         * sunrpc/rpcsvc/mount.x: Likewise.
88469         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
88470         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
88471         * sunrpc/rpcsvc/rex.x: Likewise.
88472         * sunrpc/rpcsvc/rstat.x: Likewise.
88473         * sunrpc/rpcsvc/rusers.x: Likewise.
88474         * sunrpc/rpcsvc/sm_inter.x: Likewise.
88475         * sunrpc/rpcsvc/spray.x: Likewise.
88476         * sunrpc/rpcsvc/yppasswd.x: Likewise.
88477         * sunrpc/rtime.c: Likewise.
88478         * sunrpc/svc.c: Likewise.
88479         * sunrpc/svc_auth.c: Likewise.
88480         * sunrpc/svc_authux.c: Likewise.
88481         * sunrpc/svc_raw.c: Likewise.
88482         * sunrpc/svc_run.c: Likewise.
88483         * sunrpc/svc_simple.c: Likewise.
88484         * sunrpc/svc_tcp.c: Likewise.
88485         * sunrpc/svc_udp.c: Likewise.
88486         * sunrpc/svc_unix.c: Likewise.
88487         * sunrpc/svcauth_des.c: Likewise.
88488         * sunrpc/xcrypt.c: Likewise.
88489         * sunrpc/xdr.c: Likewise.
88490         * sunrpc/xdr_array.c: Likewise.
88491         * sunrpc/xdr_float.c: Likewise.
88492         * sunrpc/xdr_mem.c: Likewise.
88493         * sunrpc/xdr_rec.c: Likewise.
88494         * sunrpc/xdr_ref.c: Likewise.
88495         * sunrpc/xdr_sizeof.c: Likewise.
88496         * sunrpc/xdr_stdio.c: Likewise.
88498         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
88499         handling.
88501 2010-08-19  Andreas Schwab  <schwab@redhat.com>
88503         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
88505 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
88507         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
88508         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
88509         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
88510         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
88511         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
88512         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
88513         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
88514         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
88515         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
88516         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
88517         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
88518         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
88519         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
88520         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
88522 2010-07-26  Anton Blanchard  <anton@samba.org>
88524         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
88525         * malloc/arena.c (heap_trim): Likewise.
88527 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
88529         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
88530         here.  Not...
88531         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
88532         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
88534 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
88536         * sysdeps/i386/elf/Makefile: New file.
88538 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88540         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
88541         from fanotify_init.
88542         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
88543         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88545 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
88547         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
88548         of strncasecmp_l.
88549         * sysdeps/multiarch/strcmp.S: Likewise.
88551 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
88553         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88554         strncase_l-nonascii.
88555         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88556         Add strncase_l-ssse3.
88557         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
88558         * sysdeps/x86_64/strcmp.S: Likewise.
88559         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
88560         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
88561         * sysdeps/x86_64/strncase.S: New file.
88562         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
88563         * sysdeps/x86_64/strncase_l.S: New file.
88564         * string/Makefile (strop-tests): Add strncasecmp.
88565         * string/test-strncasecmp.c: New file.
88567         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
88568         warning.
88570         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
88571         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
88573 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88575         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
88577 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
88579         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
88580         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
88581         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
88583 2010-05-01  Alan Modra  <amodra@gmail.com>
88585         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
88586         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
88587         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
88588         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
88589         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
88590         tidying.  Don't tail-call __sigjmp_save for static lib.
88591         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
88592         save location.
88593         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
88594         (CALL_MCOUNT): Add eh info, and nop after bl.
88595         (TAIL_CALL_SYSCALL_ERROR): New macro.
88596         (PSEUDO_RET): Use it.
88597         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
88598         Correct save location of integer regs and cr.
88599         (_dl_profile_resolve): Correct cr save location.  Delete nops
88600         after bl when SHARED.  Reduce cfi size a little by better
88601         placement of cfi directives.
88602         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
88603         make a stack frame.  Instead use parm save area as a temp.
88604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
88605         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
88606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
88607         Don't make a stack frame for parent, use parm save area.
88608         Increase child stack frame to 112 bytes.  Don't save unused reg,
88609         and adjust reg usage.  Set up cfi on error recovery and
88610         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
88611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
88612         (__makecontext): Add dummy nop after jump to exit.
88613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
88614         Use correct parm save area and cr save, reduce stack frame.
88615         Correct cfi for possible PSEUDO_RET frame setup.
88616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
88617         Branch to local label emitted by PSEUDO_RET rather than
88618         __syscall_error.
88620 2010-08-12  Andreas Schwab  <schwab@redhat.com>
88622         [BZ #11904]
88623         * locale/programs/locale.c (print_assignment): New function.
88624         (show_locale_vars): Use it.
88626 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
88628         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
88629         field.
88630         (struct statfs64): Likewise.
88631         (_STATFS_F_FLAGS): Define.
88632         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
88633         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88634         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
88635         (ST_VALID): Define locally.
88636         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
88637         __statvfs_getflags, use the provided value.
88638         * sysdeps/unix/sysv/linux/kernel-features.h: Define
88639         __ASSUME_STATFS_F_FLAGS.
88641         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
88643         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
88644         Add sys/fanotify.h.
88645         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
88646         fanotify_mask for GLIBC_2.13.
88647         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
88648         fanotify_init and fanotify_mark.
88649         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88650         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
88652         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
88653         Add prlimit.
88654         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
88655         prlimit64 for GLIBC_2.13.
88656         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
88657         prlimit64.
88658         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
88659         syscall.
88660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
88661         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88662         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
88663         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
88664         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
88665         add prlimit alias.
88666         * sysdeps/unix/sysv/linux/prlimit.c: New file.
88668         [BZ #11903]
88669         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
88670         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
88672         * nss/Makefile: Add rules to build and run tst-nss-test1.
88673         * shlib-versions: Add entry for libnss_test1.
88674         * nss/nss_test1.c: New file.
88675         * nss/tst-nss-test1.c: New file.
88677         * nss/nsswitch.c (__nss_database_custom): Define new variable.
88678         (__nss_configure_lookup): Set appropriate entry in
88679         __nss_configure_lookup to true.
88680         * nss/nsswitch.h: Define enum with indeces of databases in
88681         databases and __nss_database_custom arrays.  Declare
88682         __nss_database_custom.
88683         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
88684         to avoid using nscd when custom rules are installed.
88685         * nss/getXXbyYY_r.c: Likewise.
88686         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
88688         * nss/nss_files/files-parse.c: Whitespace fixes.
88690 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
88692         [BZ #11883]
88693         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
88694         * posix/fnmatch_loop.c: Likewise.
88696 2010-07-17  Andi Kleen  <ak@linux.intel.com>
88698         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
88699         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
88700         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
88701         * Versions.def [GLIBC_2.13]: Add.
88703 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
88705         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88706         Also fail if tpwd after pwuid call is NULL.
88708 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88710         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
88711         when converting to ms.
88713 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88715         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
88716         EOPNOTSUPP errors with ENOTTY.
88717         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
88718         EOPNOTSUPP errors with ENOTTY.
88720 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
88722         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88723         Add strcasecmp_l-ssse3.
88724         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
88725         strcasecmp.
88726         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
88727         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
88728         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
88730 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
88732         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
88734         * string/Makefile (strop-tests): Add strcasecmp.
88735         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88736         strcasecmp_l-nonascii.
88737         (gen-as-const-headers): Add locale-defines.sym.
88738         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
88739         * sysdeps/x86_64/strcasecmp.S: New file.
88740         * sysdeps/x86_64/strcasecmp_l.S: New file.
88741         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
88742         * sysdeps/x86_64/locale-defines.sym: New file.
88743         * string/test-strcasecmp.c: New file.
88745         * string/test-strcasestr.c: Test both ends of the range of characters.
88746         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
88748 2010-07-29  Roland McGrath  <roland@redhat.com>
88750         [BZ #11856]
88751         * manual/locale.texi (Yes-or-No Questions): Fix example code.
88753 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
88755         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
88756         for ld.so.
88758 2010-07-27  Andreas Schwab  <schwab@redhat.com>
88760         * manual/memory.texi (Malloc Tunable Parameters): Document
88761         M_PERTURB.
88763 2010-07-26  Roland McGrath  <roland@redhat.com>
88765         [BZ #11840]
88766         * configure.in (-fgnu89-inline check): Set and substitute
88767         gnu89_inline, not libc_cv_gnu89_inline.
88768         * configure: Regenerated.
88769         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
88771 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
88773         * string/test-strnlen.c: New file.
88774         * string/Makefile (strop-tests): Add strnlen.
88775         * string/tester.c (test_strnlen): Add a few more test cases.
88776         * string/tst-strlen.c: Better error reporting.
88778         * sysdeps/x86_64/strnlen.S: New file.
88780 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
88782         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
88783         lower-latency instructions.
88785 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
88787         * string/test-strcasestr.c: New file.
88788         * string/test-strstr.c: New file.
88789         * string/Makefile (strop-tests): Add strstr and strcasestr.
88790         * string/str-two-way.h: Don't undefine MAX.
88791         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
88793 2010-07-21  Andreas Schwab  <schwab@redhat.com>
88795         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88796         strcasestr-nonascii.
88797         (CFLAGS-strcasestr-nonascii.c): Define.
88798         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
88799         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
88800         Remove unused attribute.
88802 2010-07-20  Roland McGrath  <roland@redhat.com>
88804         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
88805         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
88806         ld.so.cache was broken.  With it, there is no way to disable dsocaps
88807         like LD_HWCAP_MASK can disable hwcaps.
88809 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88811         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
88813 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
88815         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
88816         call in strcasestr.
88817         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
88818         __strcasestr_sse42_nonascii.
88819         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
88820         strcasestr-nonascii.c.
88821         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
88823 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
88825         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
88826         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
88827         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
88828         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
88830 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
88832         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
88833         fcntl.
88835 2010-07-06  Andreas Schwab  <schwab@redhat.com>
88837         [BZ #11577]
88838         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
88839         dl_signal_cerror.
88841 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
88843         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
88844         _PC_PIPE_BUF using F_GETPIPE_SZ.
88846 2010-07-05  Roland McGrath  <roland@redhat.com>
88848         * manual/arith.texi (Rounding Functions): Fix rint description
88849         implicit in round description.
88851 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
88853         * elf/Makefile: Fix linking for a few tests to make recent linker
88854         happy.
88856 2010-06-30  Andreas Schwab  <schwab@redhat.com>
88858         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88859         $(common-objpfx)libc_nonshared.a.
88861 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
88863         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
88864         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
88865         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88866         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88867         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
88868         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
88869         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88870         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
88872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
88873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
88874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
88876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
88878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
88879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
88880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
88881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
88883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
88885         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
88886         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
88887         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
88888         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
88889         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
88890         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
88891         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
88892         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
88893         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
88894         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
88895         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
88896         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
88897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
88898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
88899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
88900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
88901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
88902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
88903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
88904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
88905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
88906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
88907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
88908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
88909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
88910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
88912 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
88914         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
88915         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
88916         * string/memmove.c (memmove): Renamed to ...
88917         (MEMMOVE): ...this.  Default to memmove.
88918         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
88919         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
88920         (END_CHK): Define.
88921         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88922         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
88923         mempcpy-ssse3-back memmove-ssse3-back.
88924         * sysdeps/x86_64/multiarch/bcopy.S: New file .
88925         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
88926         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
88927         * sysdeps/x86_64/multiarch/memcpy.S: New file.
88928         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
88929         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
88930         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
88931         * sysdeps/x86_64/multiarch/memmove.c: New file.
88932         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
88933         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
88934         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
88935         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
88936         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
88937         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
88938         Define.
88939         (index_Fast_Copy_Backward): Define.
88940         (HAS_ARCH_FEATURE): Define.
88941         (HAS_FAST_REP_STRING): Define.
88942         (HAS_FAST_COPY_BACKWARD): Define.
88944 2010-06-21  Andreas Schwab  <schwab@redhat.com>
88946         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88947         Restore proper fallback handling.
88949 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
88951         [BZ #11701]
88952         * posix/group_member.c (__group_member): Correct checking loop.
88954         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
88955         OOM in getpwuid_r correctly.  Return error number when the caller
88956         should return, otherwise -1.
88957         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
88958         call returning > 0 value.
88959         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
88961 2010-06-07  Andreas Schwab  <schwab@redhat.com>
88963         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
88964         libc_nonshared.a from targets in modules-names.
88966 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
88968         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
88969         requires it.
88971 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
88973         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
88974         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
88975         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
88976         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
88978 2010-06-02  Andreas Schwab  <schwab@redhat.com>
88980         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
88982 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
88984         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
88985         and F_GETPIPE_SZ.
88986         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88987         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88988         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88989         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88990         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88991         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88993 2010-06-14  Roland McGrath  <roland@redhat.com>
88995         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
88997 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
88999         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
89000         __REDIRECT followed by __THROW.
89001         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
89002         * posix/getopt.h (getopt): Likewise.
89004 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89006         * hurd/lookup-at.c (__file_name_lookup_at): Accept
89007         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
89008         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
89009         in AT_FLAGS.
89010         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
89011         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
89013 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
89015         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
89017 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
89019         [BZ #11640]
89020         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89021         Properly check family and model.
89023 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
89025         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
89027 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
89029         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
89031 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
89033         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
89034         symbol reference.
89036 2010-05-19  Andreas Schwab  <schwab@redhat.com>
89038         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
89039         symbol reference.
89041 2010-05-21  Andreas Schwab  <schwab@redhat.com>
89043         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
89044         and internal_recvmmsg.
89045         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
89046         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
89047         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
89048         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
89050         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
89051         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
89052         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
89054 2010-05-20  Andreas Schwab  <schwab@redhat.com>
89056         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
89058 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
89060         POWER7 optimizations.
89061         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
89062         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
89064 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
89066         * version.h: Update for 2.13 development version.
89068 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
89070         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
89071         exceptions.  Return 0.
89073 2010-05-07  Roland McGrath  <roland@redhat.com>
89075         * elf/ldconfig.c (main): Add a const.
89077 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
89079         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
89080         (args_options): Add no-idn option.
89081         (ahosts_keys_int): Add idn_flags to ai_flags.
89082         (parse_option): Handle 'i' option to clear idn_flags.
89084         * malloc/malloc.c (_int_free): Possible race in the most recently
89085         added check.  Only act on the data if no current modification
89086         happened.
89088 See ChangeLog.17 for earlier changes.